FloatAutos Class Reference

#include <floatautos.h>

Inherits Autos.

Collaboration diagram for FloatAutos:

Collaboration graph
[legend]

Public Member Functions

 FloatAutos (EDL *edl, Track *track, float default_)
 ~FloatAutos ()
int draw_joining_line (BC_SubWindow *canvas, int vertical, int center_pixel, int x1, int y1, int x2, int y2)
int get_testy (float slope, int cursor_x, int ax, int ay)
int automation_is_constant (int64_t start, int64_t length, int direction, double &constant)
double get_automation_constant (int64_t start, int64_t end)
float get_value (int64_t position, int direction, FloatAuto *&previous, FloatAuto *&next)
void get_fade_automation (double &slope, double &intercept, int64_t input_position, int64_t &slope_len, int direction)
void get_extents (float *min, float *max, int *coords_undefined, int64_t unit_start, int64_t unit_end)
void straighten (int64_t start, int64_t end)
void dump ()
Autoadd_auto (int64_t position, float value)
Autoappend_auto ()
Autonew_auto ()

Data Fields

float default_

Detailed Description

Definition at line 10 of file floatautos.h.


Constructor & Destructor Documentation

FloatAutos::FloatAutos ( EDL edl,
Track track,
float  default_ 
)

Definition at line 12 of file floatautos.C.

References Autos::type.

FloatAutos::~FloatAutos (  ) 

Definition at line 21 of file floatautos.C.


Member Function Documentation

int FloatAutos::draw_joining_line ( BC_SubWindow canvas,
int  vertical,
int  center_pixel,
int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 60 of file floatautos.C.

References BC_WindowBase::draw_line().

Here is the call graph for this function:

int FloatAutos::get_testy ( float  slope,
int  cursor_x,
int  ax,
int  ay 
)

Definition at line 88 of file floatautos.C.

int FloatAutos::automation_is_constant ( int64_t  start,
int64_t  length,
int  direction,
double &  constant 
)

double FloatAutos::get_automation_constant ( int64_t  start,
int64_t  end 
) [virtual]

Reimplemented from Autos.

Definition at line 219 of file floatautos.C.

References Autos::default_auto, List< Auto >::first, and Autos::get_neighbors().

Here is the call graph for this function:

float FloatAutos::get_value ( int64_t  position,
int  direction,
FloatAuto *&  previous,
FloatAuto *&  next 
)

void FloatAutos::get_fade_automation ( double &  slope,
double &  intercept,
int64_t  input_position,
int64_t &  slope_len,
int  direction 
)

Definition at line 343 of file floatautos.C.

References Autos::get_next_auto(), Autos::get_prev_auto(), MIN, Auto::position, and FloatAuto::value.

Here is the call graph for this function:

void FloatAutos::get_extents ( float *  min,
float *  max,
int *  coords_undefined,
int64_t  unit_start,
int64_t  unit_end 
) [virtual]

void FloatAutos::straighten ( int64_t  start,
int64_t  end 
) [virtual]

void FloatAutos::dump (  )  [virtual]

Reimplemented from Autos.

Definition at line 486 of file floatautos.C.

References Autos::default_auto, List< Auto >::first, NEXT, and Auto::position.

Auto * FloatAutos::add_auto ( int64_t  position,
float  value 
)

Definition at line 68 of file floatautos.C.

References Autos::autoof(), List< Auto >::insert_before(), new_auto(), Auto::position, and FloatAuto::value.

Here is the call graph for this function:

Auto* FloatAutos::append_auto (  ) 

Reimplemented from Autos.

Auto * FloatAutos::new_auto (  )  [virtual]

Reimplemented from Autos.

Definition at line 81 of file floatautos.C.

References default_, Autos::edl, FloatAuto::FloatAuto(), and FloatAuto::value.

Referenced by add_auto().

Here is the call graph for this function:


Field Documentation

Definition at line 52 of file floatautos.h.

Referenced by new_auto().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:26:02 2008 for Cinelerra by  doxygen 1.5.5