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

Automation Class Reference

#include <automation.h>

Inheritance diagram for Automation:

AAutomation VAutomation List of all members.

Public Member Functions

 Automation (EDL *edl, Track *track)
virtual ~Automation ()
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 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)

Public Attributes

Autosautos [AUTOMATION_TOTAL]
EDLedl
Tracktrack

Detailed Description

Definition at line 16 of file automation.h.


Constructor & Destructor Documentation

Automation::Automation EDL edl,
Track track
 

Definition at line 15 of file automation.C.

References autos.

Automation::~Automation  )  [virtual]
 

Definition at line 22 of file automation.C.

References autos.


Member Function Documentation

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

Definition at line 143 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().

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

Definition at line 112 of file automation.C.

References FileXML::append_newline(), FileXML::append_tag(), autos, Autos::copy(), XMLTag::set_title(), FileXML::tag, and xml_titles.

Referenced by Track::copy(), Track::copy_automation(), KeyframePopupCopy::handle_event(), and Tracks::move_edits().

void Automation::copy_from Automation automation  )  [virtual]
 

Definition at line 53 of file automation.C.

References autos, and Autos::copy_from().

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

int Automation::create_objects  )  [virtual]
 

Reimplemented in AAutomation, and VAutomation.

Definition at line 30 of file automation.C.

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

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

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

Reimplemented in VAutomation.

Definition at line 211 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 35 of file automation.h.

void Automation::dump  )  [virtual]
 

Definition at line 272 of file automation.C.

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

Referenced by Track::dump().

void Automation::equivalent_output Automation automation,
int64_t *  result
 

Definition at line 44 of file automation.C.

References autos, and Autos::equivalent_output().

Referenced by Track::equivalent_output().

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

Reimplemented in VAutomation.

Definition at line 227 of file automation.C.

Referenced by VTrack::calculate_input_transfer().

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

Definition at line 256 of file automation.C.

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

Referenced by Tracks::get_automation_extents().

int64_t Automation::get_length  ) 
 

Definition at line 238 of file automation.C.

References autos, and Autos::get_length().

Referenced by Track::get_length().

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

Reimplemented in VAutomation.

Definition at line 219 of file automation.C.

Referenced by VTrack::calculate_output_transfer(), CWindowCanvas::do_mask(), CWindowCanvas::draw_bezier(), and VTrack::get_projection().

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

Definition at line 181 of file automation.C.

References autos, and Autos::insert_track().

Referenced by Track::insert_track().

int Automation::load FileXML file  ) 
 

Definition at line 79 of file automation.C.

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

Referenced by Track::load().

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

Definition at line 37 of file automation.C.

References copy_from().

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

Definition at line 92 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 Tracks::move_edits(), and Track::paste_automation().

void Automation::paste_silence int64_t  start,
int64_t  end
 

Definition at line 168 of file automation.C.

References autos, and Autos::paste_silence().

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

void Automation::resample double  old_rate,
double  new_rate
 

Definition at line 200 of file automation.C.

References autos, and Autos::resample().

Referenced by Track::resample().


Member Data Documentation

Autos* Automation::autos[AUTOMATION_TOTAL]
 

Definition at line 80 of file automation.h.

Referenced by Tracks::add_audio_track(), Automation(), MutePatch::button_press_event(), CWindow::calculate_affected_autos(), clear(), copy(), copy_from(), VAutomation::create_objects(), CWindowMaskGUI::create_objects(), create_objects(), AAutomation::create_objects(), PatchBay::cursor_motion_event(), VAutomation::direct_copy_possible(), TrackCanvas::do_keyframes(), CWindowCanvas::do_mask(), dump(), equivalent_output(), VAutomation::get_camera(), get_extents(), VModePatch::get_keyframe(), VFadePatch::get_keyframe(), MutePatch::get_keyframe(), CWindowMaskGUI::get_keyframe(), APanPatch::get_keyframe(), AFadePatch::get_keyframe(), get_length(), VAutomation::get_projector(), VModePatch::handle_event(), CWindowMaskDelete::handle_event(), CWindowMaskMode::handle_event(), CWindowProjectorMiddle::handle_event(), CWindowProjectorCenter::handle_event(), CWindowProjectorGUI::handle_event(), CWindowCameraMiddle::handle_event(), CWindowCameraCenter::handle_event(), CWindowCameraGUI::handle_event(), APanPatch::handle_event(), insert_track(), load(), paste(), paste_silence(), EDL::rechannel(), VirtualVNode::render_as_module(), VirtualANode::render_as_module(), VirtualVNode::render_projector(), resample(), MWindow::resize_track(), Tracks::select_all(), TrackCanvas::synchronize_autos(), PatchBay::synchronize_faders(), CWindowCanvas::test_bezier(), Tracks::total_of(), VTrack::translate(), VPatchGUI::update(), CWindowMaskGUI::update(), APatchGUI::update(), VFadePatch::update_edl(), AFadePatch::update_edl(), and ~Automation().

EDL* Automation::edl
 

Definition at line 83 of file automation.h.

Referenced by VAutomation::create_objects(), create_objects(), AAutomation::create_objects(), get_extents(), and paste().

Track* Automation::track
 

Definition at line 84 of file automation.h.

Referenced by VAutomation::create_objects(), create_objects(), AAutomation::create_objects(), KeyframePopupCopy::handle_event(), and KeyframePopup::update().


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