Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

FloatAutos Class Reference

#include <floatautos.h>

Inheritance diagram for FloatAutos:

Autos List of all members.

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 dump ()
Autoadd_auto (int64_t position, float value)
Autoappend_auto ()
Autonew_auto ()

Public Attributes

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

Auto * FloatAutos::add_auto int64_t  position,
float  value

Definition at line 33 of file floatautos.C.

References Autos::autoof(), new_auto(), Auto::position, and FloatAuto::value.

Auto* FloatAutos::append_auto  ) 

Reimplemented from Autos.

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

Definition at line 58 of file floatautos.C.

References FloatAuto::control_in_value, FloatAuto::control_out_value, Autos::default_auto, Auto::position, and FloatAuto::value.

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

Definition at line 25 of file floatautos.C.

void FloatAutos::dump  )  [virtual]

Reimplemented from Autos.

Definition at line 451 of file floatautos.C.

References Autos::default_auto, and Auto::position.

double FloatAutos::get_automation_constant int64_t  start,
int64_t  end

Reimplemented from Autos.

Definition at line 184 of file floatautos.C.

References Autos::default_auto, and Autos::get_neighbors().

void FloatAutos::get_extents float *  min,
float *  max,
int *  coords_undefined,
int64_t  unit_start,
int64_t  unit_end

Reimplemented from Autos.

Definition at line 368 of file floatautos.C.

References FloatAuto::control_in_value, FloatAuto::control_out_value, Track::data_type, Autos::default_auto, Autos::edl, EDLSession::frame_rate, get_value(), EDL::local_session, MIN, Auto::position, EDLSession::sample_rate, EDL::session, Autos::track, TRACK_VIDEO, FloatAuto::value, and LocalSession::zoom_sample.

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

Definition at line 308 of file floatautos.C.

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

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

Definition at line 53 of file floatautos.C.

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

Definition at line 204 of file floatautos.C.

References Autos::default_auto, Autos::get_next_auto(), Autos::get_prev_auto(), and Auto::position.

Referenced by TrackCanvas::draw_floatline(), get_extents(), TrackCanvas::synchronize_autos(), TrackCanvas::test_floatline(), and APatchGUI::update().

Auto * FloatAutos::new_auto  )  [virtual]

Reimplemented from Autos.

Definition at line 46 of file floatautos.C.

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

Referenced by add_auto().

Member Data Documentation

float FloatAutos::default_

Definition at line 50 of file floatautos.h.

Referenced by new_auto().

The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:15 2006 for Cinelerra-svn by  doxygen 1.4.4