Automation Class Reference

#include <automation.h>

Inherited by AAutomation, and VAutomation.

Collaboration diagram for Automation:

Collaboration graph
[legend]

Public Member Functions

 Automation (EDL *edl, Track *track)
virtual ~Automation ()
int autogrouptype (int autoidx, Track *track)
virtual int create_objects ()
void equivalent_output (Automation *automation, int64_t *result)
virtual Automationoperator= (Automation &automation)
virtual void copy_from (Automation *automation)
int load (FileXML *file)
int copy (int64_t start, int64_t end, FileXML *xml, int default_only, int autos_only)
virtual void dump ()
virtual int direct_copy_possible (int64_t start, int direction)
virtual int direct_copy_possible_derived (int64_t start, int direction)
int paste (int64_t start, int64_t length, double scale, FileXML *file, int default_only, AutoConf *autoconf)
virtual void get_projector (float *x, float *y, float *z, int64_t position, int direction)
virtual void get_camera (float *x, float *y, float *z, int64_t position, int direction)
void clear (int64_t start, int64_t end, AutoConf *autoconf, int shift_autos)
void straighten (int64_t start, int64_t end, AutoConf *autoconf)
void paste_silence (int64_t start, int64_t end)
void insert_track (Automation *automation, int64_t start_unit, int64_t length_units, int replace_default)
void resample (double old_rate, double new_rate)
int64_t get_length ()
virtual void get_extents (float *min, float *max, int *coords_undefined, int64_t unit_start, int64_t unit_end, int autogrouptype)

Data Fields

Autosautos [AUTOMATION_TOTAL]
EDLedl
Tracktrack

Static Public Attributes

static int autogrouptypes_fixedrange []

Detailed Description

Definition at line 31 of file automation.h.


Constructor & Destructor Documentation

Automation::Automation ( EDL edl,
Track track 
)

Definition at line 27 of file automation.C.

References autos.

Automation::~Automation (  )  [virtual]

Definition at line 34 of file automation.C.

References autos.


Member Function Documentation

int Automation::autogrouptype ( int  autoidx,
Track track 
)

Definition at line 42 of file automation.C.

References Track::data_type, and TRACK_AUDIO.

Referenced by VAutomation::create_objects(), and TrackCanvas::do_keyframes().

int Automation::create_objects (  )  [virtual]

Reimplemented in AAutomation, and VAutomation.

Definition at line 72 of file automation.C.

References Autos::autogrouptype, Autos::autoidx, autos, Autos::create_objects(), edl, and track.

Referenced by VTrack::create_objects(), VAutomation::create_objects(), ATrack::create_objects(), and AAutomation::create_objects().

Here is the call graph for this function:

void Automation::equivalent_output ( Automation automation,
int64_t *  result 
)

Definition at line 88 of file automation.C.

References autos, and Autos::equivalent_output().

Referenced by Track::equivalent_output().

Here is the call graph for this function:

Automation & Automation::operator= ( Automation automation  )  [virtual]

Definition at line 81 of file automation.C.

References copy_from().

Here is the call graph for this function:

void Automation::copy_from ( Automation automation  )  [virtual]

Definition at line 97 of file automation.C.

References autos, and Autos::copy_from().

Referenced by Track::copy_from(), operator=(), and Track::synchronize_params().

Here is the call graph for this function:

int Automation::load ( FileXML file  ) 

Definition at line 123 of file automation.C.

References autos, Autos::load(), FileXML::tag, XMLTag::title_is(), and xml_titles.

Referenced by Track::load().

Here is the call graph for this function:

int Automation::copy ( int64_t  start,
int64_t  end,
FileXML xml,
int  default_only,
int  autos_only 
)

void Automation::dump (  )  [virtual]

Definition at line 343 of file automation.C.

References autos, Autos::dump(), and xml_titles.

Referenced by Track::dump().

Here is the call graph for this function:

int Automation::direct_copy_possible ( int64_t  start,
int  direction 
) [virtual]

Reimplemented in VAutomation.

Definition at line 280 of file automation.C.

Referenced by VTrack::direct_copy_possible(), and VAutomation::direct_copy_possible().

virtual int Automation::direct_copy_possible_derived ( int64_t  start,
int  direction 
) [inline, virtual]

Definition at line 52 of file automation.h.

int Automation::paste ( int64_t  start,
int64_t  length,
double  scale,
FileXML file,
int  default_only,
AutoConf autoconf 
)

Definition at line 136 of file automation.C.

References EDLSession::auto_conf, AutoConf::autos, autos, edl, Autos::paste(), EDL::session, FileXML::tag, XMLTag::title_is(), and xml_titles.

Referenced by Track::paste_automation().

Here is the call graph for this function:

void Automation::get_projector ( float *  x,
float *  y,
float *  z,
int64_t  position,
int  direction 
) [virtual]

void Automation::get_camera ( float *  x,
float *  y,
float *  z,
int64_t  position,
int  direction 
) [virtual]

Reimplemented in VAutomation.

Definition at line 296 of file automation.C.

Referenced by VTrack::calculate_input_transfer(), and PluginServer::get_camera().

void Automation::clear ( int64_t  start,
int64_t  end,
AutoConf autoconf,
int  shift_autos 
)

Definition at line 187 of file automation.C.

References AutoConf::autos, autos, Autos::clear(), and AutoConf::set_all().

Referenced by Track::clear(), Track::clear_automation(), and Tracks::move_edits().

Here is the call graph for this function:

void Automation::straighten ( int64_t  start,
int64_t  end,
AutoConf autoconf 
)

Definition at line 212 of file automation.C.

References AutoConf::autos, autos, AutoConf::set_all(), and Autos::straighten().

Referenced by Track::straighten_automation().

Here is the call graph for this function:

void Automation::paste_silence ( int64_t  start,
int64_t  end 
)

Definition at line 237 of file automation.C.

References autos, and Autos::paste_silence().

Referenced by Edits::clear_handle(), and Track::shift_keyframes().

Here is the call graph for this function:

void Automation::insert_track ( Automation automation,
int64_t  start_unit,
int64_t  length_units,
int  replace_default 
)

Definition at line 250 of file automation.C.

References autos, and Autos::insert_track().

Referenced by Track::insert_track().

Here is the call graph for this function:

void Automation::resample ( double  old_rate,
double  new_rate 
)

Definition at line 269 of file automation.C.

References autos, and Autos::resample().

Referenced by Track::resample().

Here is the call graph for this function:

int64_t Automation::get_length (  ) 

Definition at line 307 of file automation.C.

References autos, and Autos::get_length().

Referenced by Track::get_length().

Here is the call graph for this function:

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

Definition at line 325 of file automation.C.

References EDLSession::auto_conf, AutoConf::autos, autos, edl, Autos::get_extents(), and EDL::session.

Here is the call graph for this function:


Field Documentation

Initial value:

{
        0,
        0,
        0,
        0,
        0,
        1
}

Definition at line 34 of file automation.h.

Referenced by MWindow::fit_autos(), LocalSession::load_defaults(), LocalSession::load_xml(), LocalSession::save_defaults(), and LocalSession::save_xml().

Autos* Automation::autos[AUTOMATION_TOTAL]


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

Generated on Mon Apr 28 14:11:20 2008 for Cinelerra by  doxygen 1.5.5