#include <automation.h>
Inherited by AAutomation, and VAutomation.

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 Automation & | operator= (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 | |
| Autos * | autos [AUTOMATION_TOTAL] |
| EDL * | edl |
| Track * | track |
Static Public Attributes | |
| static int | autogrouptypes_fixedrange [] |
Definition at line 31 of file automation.h.
| Automation::~Automation | ( | ) | [virtual] |
| 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().

| 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().

| Automation & Automation::operator= | ( | Automation & | automation | ) | [virtual] |
Definition at line 81 of file automation.C.
References copy_from().

| 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().

| 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().

| int Automation::copy | ( | int64_t | start, | |
| int64_t | end, | |||
| FileXML * | xml, | |||
| int | default_only, | |||
| int | autos_only | |||
| ) |
Definition at line 156 of file automation.C.
References FileXML::append_newline(), FileXML::append_tag(), autos, BCTEXTLEN, 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::dump | ( | ) | [virtual] |
Definition at line 343 of file automation.C.
References autos, Autos::dump(), and xml_titles.
Referenced by Track::dump().

| 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().

| void Automation::get_projector | ( | float * | x, | |
| float * | y, | |||
| float * | z, | |||
| int64_t | position, | |||
| int | direction | |||
| ) | [virtual] |
Reimplemented in VAutomation.
Definition at line 288 of file automation.C.
Referenced by VTrack::calculate_output_transfer(), CWindowCanvas::do_mask(), CWindowCanvas::draw_bezier(), VTrack::get_projection(), and PluginServer::get_projector().
| 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().

| 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().

| 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().

| 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().

| 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().

| int64_t Automation::get_length | ( | ) |
Definition at line 307 of file automation.C.
References autos, and Autos::get_length().
Referenced by Track::get_length().

| 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.

int Automation::autogrouptypes_fixedrange [static] |
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] |
Definition at line 101 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(), 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(), VModule::render(), VirtualVNode::render_as_module(), VirtualANode::render_as_module(), VirtualVNode::render_mask(), resample(), MWindow::resize_track(), straighten(), CWindowCanvas::test_bezier(), VTrack::translate(), VPatchGUI::update(), CWindowMaskGUI::update(), APatchGUI::update(), VFadePatch::update_edl(), AFadePatch::update_edl(), and ~Automation().
Definition at line 104 of file automation.h.
Referenced by VAutomation::create_objects(), create_objects(), AAutomation::create_objects(), get_extents(), and paste().
Definition at line 105 of file automation.h.
Referenced by VAutomation::create_objects(), create_objects(), AAutomation::create_objects(), KeyframePopupCopy::handle_event(), and KeyframePopup::update().
1.5.5