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

Track Class Reference

#include <track.h>

Inheritance diagram for Track:

ATrack VTrack VTrack List of all members.

Public Member Functions

 Track (EDL *edl, Tracks *tracks)
 Track ()
virtual ~Track ()
int create_objects ()
int get_id ()
virtual int load_defaults (Defaults *defaults)
int load (FileXML *file, int track_offset, uint32_t load_flags)
virtual int save_header (FileXML *file)
virtual int save_derived (FileXML *file)
virtual int load_header (FileXML *file, uint32_t load_flags)
virtual int load_derived (FileXML *file, uint32_t load_flags)
void equivalent_output (Track *track, double *result)
virtual void copy_from (Track *track)
Trackoperator= (Track &track)
virtual PluginSetnew_plugins ()
virtual void synchronize_params (Track *track)
virtual int vertical_span (Theme *theme)
int64_t horizontal_span ()
void resample (double old_rate, double new_rate)
double get_length ()
void get_source_dimensions (double position, int &w, int &h)
void insert_asset (Asset *asset, double length, double position, int track_number)
Plugininsert_effect (char *title, SharedLocation *shared_location, KeyFrame *keyframe, PluginSet *plugin_set, double start, double length, int plugin_type)
void insert_plugin_set (Track *track, double position)
void detach_effect (Plugin *plugin)
void insert_track (Track *track, double position, int replace_default, int edit_plugins)
void optimize ()
int is_muted (int64_t position, int direction)
void move_plugins_up (PluginSet *plugin_set)
void move_plugins_down (PluginSet *plugin_set)
void remove_pluginset (PluginSet *plugin_set)
void remove_asset (Asset *asset)
virtual int64_t to_units (double position, int round)
virtual double to_doubleunits (double position)
virtual double from_units (int64_t position)
virtual int identical (int64_t sample1, int64_t sample2)
Pluginget_current_plugin (double position, int plugin_set, int direction, int convert_units, int use_nudge)
Pluginget_current_transition (double position, int direction, int convert_units, int use_nudge)
void detach_shared_effects (int module)
int is_synthesis (RenderEngine *renderengine, int64_t position, int direction)
virtual int channel_is_playable (int64_t position, int direction, int *do_channel)
virtual int direct_copy_possible (int64_t start, int direction, int use_nudge)
int plugin_used (int64_t position, int64_t direction)
virtual int copy_settings (Track *track)
void shift_keyframes (double position, double length, int convert_units)
void shift_effects (double position, double length, int convert_units)
void change_plugins (SharedLocation &old_location, SharedLocation &new_location, int do_swap)
void change_modules (int old_location, int new_location, int do_swap)
int load_automation (FileXML *file)
int load_edits (FileXML *file)
virtual int change_channels (int oldchannels, int newchannels)
virtual int dump ()
int copy (double start, double end, FileXML *file, char *output_path="")
int copy_assets (double start, double end, ArrayList< Asset * > *asset_list)
virtual int copy_derived (int64_t start, int64_t end, FileXML *file)
virtual int paste_derived (int64_t start, int64_t end, int64_t total_length, FileXML *file, int &current_channel)
int clear (double start, double end, int edit_edits, int edit_labels, int clear_plugins, int convert_units, Edits *trim_edits)
void clear_automation (double selectionstart, double selectionend, int shift_autos, int default_only)
virtual int clear_automation_derived (AutoConf *auto_conf, double selectionstart, double selectionend, int shift_autos=1)
virtual int clear_derived (double start, double end)
int copy_automation (double selectionstart, double selectionend, FileXML *file, int default_only, int autos_only)
virtual int copy_automation_derived (AutoConf *auto_conf, double selectionstart, double selectionend, FileXML *file)
int paste_automation (double selectionstart, double total_length, double frame_rate, int64_t sample_rate, FileXML *file, int default_only)
virtual int paste_automation_derived (double selectionstart, double selectionend, double total_length, FileXML *file, int shift_autos, int &current_pan)
int paste_auto_silence (double start, double end)
virtual int paste_auto_silence_derived (int64_t start, int64_t end)
int scale_time (float rate_scale, int scale_edits, int scale_autos, int64_t start, int64_t end)
virtual int scale_time_derived (float rate_scale, int scale_edits, int scale_autos, int64_t start, int64_t end)
int purge_asset (Asset *asset)
int asset_used (Asset *asset)
int clear_handle (double start, double end, int clear_labels, int clear_plugins, double &distance)
int paste_silence (double start, double end, int edit_plugins)
virtual int select_translation (int cursor_x, int cursor_y)
virtual int update_translation (int cursor_x, int cursor_y, int shift_down)
int select_auto (AutoConf *auto_conf, int cursor_x, int cursor_y)
virtual int select_auto_derived (float zoom_units, float view_start, AutoConf *auto_conf, int cursor_x, int cursor_y)
int move_auto (AutoConf *auto_conf, int cursor_x, int cursor_y, int shift_down)
virtual int move_auto_derived (float zoom_units, float view_start, AutoConf *auto_conf, int cursor_x, int cursor_y, int shift_down)
int release_auto ()
virtual int release_auto_derived ()
int automation_is_used (int64_t start, int64_t end)
virtual int automation_is_used_derived (int64_t start, int64_t end)
int popup_transition (int cursor_x, int cursor_y)
int modify_edithandles (double oldposition, double newposition, int currentend, int handle_mode, int edit_labels, int edit_plugins)
int modify_pluginhandles (double oldposition, double newposition, int currentend, int handle_mode, int edit_labels, Edits *trim_edits)
int select_edit (int cursor_x, int cursor_y, double &new_start, double &new_end)
virtual int end_translation ()
virtual int reset_translation (int64_t start, int64_t end)
int feather_edits (int64_t start, int64_t end, int64_t units)
int64_t get_feather (int64_t selectionstart, int64_t selectionend)
int number_of ()
virtual int get_dimensions (double &view_start, double &view_units, double &zoom_units)
int64_t edit_change_duration (int64_t input_position, int64_t input_length, int reverse, int test_transitions, int use_nudge)
int64_t plugin_change_duration (int64_t input_position, int64_t input_length, int reverse, int use_nudge)
int need_edit (Edit *current, int test_transitions)
int playable_edit (int64_t position, int direction)

Public Attributes

EDLedl
Trackstracks
Editsedits
ArrayList< PluginSet * > plugin_set
Automationautomation
int y_pixel
int expand_view
int draw
int gang
char title [BCTEXTLEN]
int play
int record
int64_t nudge
int data_type
int64_t old_view_start
int pixel
int track_w
int track_h

Private Attributes

int id

Detailed Description

Definition at line 34 of file track.h.


Constructor & Destructor Documentation

Track::Track EDL edl,
Tracks tracks
 

Definition at line 33 of file track.C.

References draw, expand_view, gang, EDL::next_id(), nudge, EDLSession::output_h, EDLSession::output_w, play, record, EDL::session, title, track_h, track_w, and y_pixel.

Track::Track  ) 
 

Definition at line 837 of file track.C.

References y_pixel.

Track::~Track  )  [virtual]
 

Definition at line 50 of file track.C.

References automation, edits, and plugin_set.


Member Function Documentation

int Track::asset_used Asset asset  ) 
 

Definition at line 1431 of file track.C.

References Edit::asset, and edits.

Referenced by Tracks::asset_used().

int Track::automation_is_used int64_t  start,
int64_t  end
 

virtual int Track::automation_is_used_derived int64_t  start,
int64_t  end
[inline, virtual]
 

Definition at line 278 of file track.h.

virtual int Track::change_channels int  oldchannels,
int  newchannels
[inline, virtual]
 

Definition at line 200 of file track.h.

Referenced by Tracks::change_channels().

void Track::change_modules int  old_location,
int  new_location,
int  do_swap
 

Definition at line 1246 of file track.C.

References SharedLocation::module, plugin_set, Plugin::plugin_type, and Plugin::shared_location.

Referenced by Tracks::change_modules().

void Track::change_plugins SharedLocation old_location,
SharedLocation new_location,
int  do_swap
 

Definition at line 1226 of file track.C.

References plugin_set, Plugin::plugin_type, and Plugin::shared_location.

Referenced by Tracks::change_plugins().

int Track::channel_is_playable int64_t  position,
int  direction,
int *  do_channel
[virtual]
 

Reimplemented in VTrack.

Definition at line 1446 of file track.C.

Referenced by PlayableTracks::is_playable().

int Track::clear double  start,
double  end,
int  edit_edits,
int  edit_labels,
int  clear_plugins,
int  convert_units,
Edits trim_edits
 

Definition at line 1108 of file track.C.

References automation, Edits::clear(), Automation::clear(), edits, plugin_set, and to_units().

Referenced by Tracks::clear(), and Edits::clear_recursive().

void Track::clear_automation double  selectionstart,
double  selectionend,
int  shift_autos,
int  default_only
 

Definition at line 986 of file track.C.

References EDLSession::auto_conf, automation, Automation::clear(), edl, plugin_set, AutoConf::plugins, EDL::session, and to_units().

Referenced by Tracks::clear_automation(), and Tracks::clear_default_keyframe().

virtual int Track::clear_automation_derived AutoConf auto_conf,
double  selectionstart,
double  selectionend,
int  shift_autos = 1
[inline, virtual]
 

Definition at line 228 of file track.h.

virtual int Track::clear_derived double  start,
double  end
[inline, virtual]
 

Definition at line 232 of file track.h.

int Track::clear_handle double  start,
double  end,
int  clear_labels,
int  clear_plugins,
double &  distance
 

Definition at line 1140 of file track.C.

References Edits::clear_handle(), and edits.

Referenced by Tracks::clear_handle().

int Track::copy double  start,
double  end,
FileXML file,
char *  output_path = ""
 

Definition at line 1007 of file track.C.

References FileXML::append_newline(), FileXML::append_tag(), FileXML::append_text(), automation, Automation::copy(), Edits::copy(), copy_derived(), draw, edits, expand_view, gang, nudge, play, plugin_set, record, save_derived(), save_header(), AutoConf::set_all(), XMLTag::set_property(), XMLTag::set_title(), FileXML::tag, title, to_units(), track_h, and track_w.

Referenced by Tracks::copy().

int Track::copy_assets double  start,
double  end,
ArrayList< Asset * > *  asset_list
 

Definition at line 1073 of file track.C.

References Edit::asset, Edits::editof(), edits, Edit::startproject, and to_units().

Referenced by EDL::copy_assets().

int Track::copy_automation double  selectionstart,
double  selectionend,
FileXML file,
int  default_only,
int  autos_only
 

Definition at line 879 of file track.C.

References FileXML::append_newline(), FileXML::append_tag(), EDLSession::auto_conf, automation, Automation::copy(), edl, plugin_set, AutoConf::plugins, save_header(), EDL::session, XMLTag::set_title(), FileXML::tag, and to_units().

Referenced by Tracks::copy_automation().

virtual int Track::copy_automation_derived AutoConf auto_conf,
double  selectionstart,
double  selectionend,
FileXML file
[inline, virtual]
 

Definition at line 240 of file track.h.

virtual int Track::copy_derived int64_t  start,
int64_t  end,
FileXML file
[inline, virtual]
 

Reimplemented in VTrack.

Definition at line 213 of file track.h.

Referenced by copy().

void Track::copy_from Track track  )  [virtual]
 

Definition at line 167 of file track.C.

References automation, Automation::copy_from(), PluginSet::copy_from(), Edits::copy_from(), copy_settings(), edits, edl, plugin_set, track_h, and track_w.

Referenced by Tracks::copy_from(), and operator=().

int Track::copy_settings Track track  )  [virtual]
 

Reimplemented in ATrack, and VTrack.

Definition at line 63 of file track.C.

References draw, expand_view, gang, nudge, play, record, title, track_h, and track_w.

Referenced by copy_from(), VTrack::copy_settings(), ATrack::copy_settings(), and insert_track().

int Track::create_objects  ) 
 

Reimplemented in ATrack, and VTrack.

Definition at line 57 of file track.C.

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

void Track::detach_effect Plugin plugin  ) 
 

Definition at line 600 of file track.C.

References PluginSet::clear(), Edits::length(), Edit::length, PluginSet::optimize(), Edits::paste_silence(), plugin_set, and Edit::startproject.

Referenced by PluginPopupDetach::handle_event().

void Track::detach_shared_effects int  module  ) 
 

Definition at line 639 of file track.C.

References PluginSet::clear(), Edits::length(), Edit::length, SharedLocation::module, PluginSet::optimize(), Edits::paste_silence(), plugin_set, Plugin::plugin_type, Plugin::shared_location, and Edit::startproject.

Referenced by Tracks::detach_shared_effects().

int Track::direct_copy_possible int64_t  start,
int  direction,
int  use_nudge
[virtual]
 

Reimplemented in VTrack.

Definition at line 1476 of file track.C.

Referenced by PackageRenderer::direct_copy_possible(), and VRender::get_use_vconsole().

int Track::dump  )  [virtual]
 

Definition at line 799 of file track.C.

References automation, data_type, Automation::dump(), Edit::dump(), edits, plugin_set, and title.

Referenced by Tracks::dump(), and Edits::split_edit().

int64_t Track::edit_change_duration int64_t  input_position,
int64_t  input_length,
int  reverse,
int  test_transitions,
int  use_nudge
 

Definition at line 1308 of file track.C.

References Edit::asset, edits, Edits::length(), Edit::length, need_edit(), nudge, Edit::startproject, and Edit::transition.

Referenced by VirtualConsole::test_reconfigure().

virtual int Track::end_translation  )  [inline, virtual]
 

Reimplemented in VTrack.

Definition at line 299 of file track.h.

void Track::equivalent_output Track track,
double *  result
 

Definition at line 88 of file track.C.

References automation, data_type, edits, Edits::equivalent_output(), Automation::equivalent_output(), from_units(), MIN, nudge, play, plugin_set, Edit::startproject, track_h, and track_w.

Referenced by Tracks::equivalent_output().

int Track::feather_edits int64_t  start,
int64_t  end,
int64_t  units
 

double Track::from_units int64_t  position  )  [virtual]
 

Reimplemented in ATrack, and VTrack.

Definition at line 1491 of file track.C.

Referenced by PatchGUI::calculate_nudge_text(), Edits::clear_handle(), TrackCanvas::do_autos(), TrackCanvas::do_edit_handles(), TrackCanvas::do_edits(), TrackCanvas::do_plugin_autos(), TrackCanvas::do_plugin_handles(), TrackCanvas::do_plugins(), TrackCanvas::drag_stop(), IndexFile::draw_index(), TrackCanvas::draw_paste_destination(), TrackCanvas::draw_transitions(), TrackCanvas::edit_dimensions(), equivalent_output(), Edit::frame_w(), Tracks::get_affected_edits(), TrackCanvas::get_drop_position(), get_length(), Edits::modify_handles(), Tracks::move_effect(), TrackCanvas::plugin_dimensions(), TrackCanvas::synchronize_autos(), TransitionPopup::update(), KeyframePopup::update(), TrackCanvas::update_drag_auto(), TrackCanvas::update_drag_floatauto(), TrackCanvas::update_drag_pluginauto(), and TrackCanvas::update_drag_toggleauto().

Plugin * Track::get_current_plugin double  position,
int  plugin_set,
int  direction,
int  convert_units,
int  use_nudge
 

Definition at line 687 of file track.C.

References Edit::length, nudge, Edit::startproject, and to_units().

Referenced by SharedLocation::calculate_title(), Module::create_new_attachments(), PluginDialog::create_objects(), VirtualNode::expand_as_module(), EDL::get_shared_plugins(), insert_effect(), is_synthesis(), Plugin::is_synthesis(), plugin_used(), and Module::test_plugins().

Plugin * Track::get_current_transition double  position,
int  direction,
int  convert_units,
int  use_nudge
 

Definition at line 735 of file track.C.

References edits, Edit::length, nudge, Edit::startproject, to_units(), and Edit::transition.

Referenced by VTrack::direct_copy_possible(), and Module::update_transition().

virtual int Track::get_dimensions double &  view_start,
double &  view_units,
double &  zoom_units
[inline, virtual]
 

Reimplemented in ATrack, and VTrack.

Definition at line 310 of file track.h.

int64_t Track::get_feather int64_t  selectionstart,
int64_t  selectionend
 

int Track::get_id  ) 
 

Definition at line 77 of file track.C.

References id.

Referenced by PatchGUI::PatchGUI(), and PatchBay::update().

double Track::get_length  ) 
 

Definition at line 208 of file track.C.

References automation, edits, from_units(), Automation::get_length(), Edits::length(), and plugin_set.

Referenced by Tracks::concatenate_tracks(), TrackCanvas::drag_stop(), TrackCanvas::draw_highlighting(), horizontal_span(), insert_effect(), MWindow::insert_effects_cwindow(), insert_plugin_set(), insert_track(), Tracks::move_effect(), MWindow::paste_edls(), Tracks::total_length(), Tracks::total_playable_length(), Tracks::total_recordable_length(), and Tracks::total_video_length().

void Track::get_source_dimensions double  position,
int &  w,
int &  h
 

Definition at line 241 of file track.C.

References Edit::asset, edits, Asset::height, Edit::length, Edit::startproject, to_units(), and Asset::width.

Referenced by CWindowCameraBottom::handle_event(), CWindowCameraTop::handle_event(), CWindowCameraRight::handle_event(), and CWindowCameraLeft::handle_event().

int64_t Track::horizontal_span  ) 
 

Definition at line 258 of file track.C.

References edl, get_length(), EDL::local_session, EDLSession::sample_rate, EDL::session, and LocalSession::zoom_sample.

Referenced by EDL::get_tracks_width().

virtual int Track::identical int64_t  sample1,
int64_t  sample2
[inline, virtual]
 

Reimplemented in ATrack, and VTrack.

Definition at line 105 of file track.h.

void Track::insert_asset Asset asset,
double  length,
double  position,
int  track_number
 

Definition at line 341 of file track.C.

References edits, Edits::insert_asset(), and to_units().

Referenced by EDL::insert_asset().

Plugin * Track::insert_effect char *  title,
SharedLocation shared_location,
KeyFrame keyframe,
PluginSet plugin_set,
double  start,
double  length,
int  plugin_type
 

Definition at line 412 of file track.C.

References edl, expand_view, get_current_plugin(), get_length(), LocalSession::get_selectionend(), LocalSession::get_selectionstart(), PluginSet::insert_plugin(), Edit::length, EDL::local_session, SharedLocation::module, SharedLocation::plugin, Edit::startproject, to_units(), and tracks.

Referenced by MWindow::insert_effect(), and Tracks::move_effect().

void Track::insert_plugin_set Track track,
double  position
 

Definition at line 391 of file track.C.

References edl, get_length(), plugin_set, shift_effects(), and to_units().

Referenced by insert_track().

void Track::insert_track Track track,
double  position,
int  replace_default,
int  edit_plugins
 

Definition at line 367 of file track.C.

References automation, copy_settings(), edits, get_length(), Edits::insert_edits(), insert_plugin_set(), Automation::insert_track(), optimize(), and to_units().

Referenced by Tracks::concatenate_tracks(), and MWindow::paste_edls().

int Track::is_muted int64_t  position,
int  direction
 

int Track::is_synthesis RenderEngine renderengine,
int64_t  position,
int  direction
 

Definition at line 144 of file track.C.

References get_current_plugin(), Plugin::is_synthesis(), and plugin_set.

Referenced by PlayableTracks::is_playable(), and Plugin::is_synthesis().

int Track::load FileXML file,
int  track_offset,
uint32_t  load_flags
 

Definition at line 267 of file track.C.

References automation, draw, edits, edl, expand_view, gang, XMLTag::get_property(), PluginSet::load(), Edits::load(), Automation::load(), load_derived(), load_header(), nudge, play, plugin_set, FileXML::read_tag(), FileXML::read_text_until(), record, FileXML::tag, title, XMLTag::title_is(), track_h, and track_w.

Referenced by Tracks::load().

int Track::load_automation FileXML file  ) 
 

int Track::load_defaults Defaults *  defaults  )  [virtual]
 

Reimplemented in ATrack, and VTrack.

Definition at line 83 of file track.C.

Referenced by VTrack::load_defaults(), and ATrack::load_defaults().

virtual int Track::load_derived FileXML file,
uint32_t  load_flags
[inline, virtual]
 

Reimplemented in ATrack, and VTrack.

Definition at line 48 of file track.h.

Referenced by load().

int Track::load_edits FileXML file  ) 
 

virtual int Track::load_header FileXML file,
uint32_t  load_flags
[inline, virtual]
 

Reimplemented in ATrack, and VTrack.

Definition at line 47 of file track.h.

Referenced by load().

int Track::modify_edithandles double  oldposition,
double  newposition,
int  currentend,
int  handle_mode,
int  edit_labels,
int  edit_plugins
 

Definition at line 1156 of file track.C.

References edits, and Edits::modify_handles().

Referenced by Tracks::modify_edithandles().

int Track::modify_pluginhandles double  oldposition,
double  newposition,
int  currentend,
int  handle_mode,
int  edit_labels,
Edits trim_edits
 

Definition at line 1176 of file track.C.

References plugin_set.

Referenced by Tracks::modify_pluginhandles().

int Track::move_auto AutoConf auto_conf,
int  cursor_x,
int  cursor_y,
int  shift_down
 

Definition at line 868 of file track.C.

Referenced by Tracks::move_auto().

virtual int Track::move_auto_derived float  zoom_units,
float  view_start,
AutoConf auto_conf,
int  cursor_x,
int  cursor_y,
int  shift_down
[inline, virtual]
 

Reimplemented in VTrack, and VTrack.

Definition at line 273 of file track.h.

void Track::move_plugins_down PluginSet plugin_set  ) 
 

Definition at line 521 of file track.C.

References Tracks::change_plugins(), SharedLocation::module, Tracks::number_of(), SharedLocation::plugin, and tracks.

Referenced by MWindow::move_plugins_down().

void Track::move_plugins_up PluginSet plugin_set  ) 
 

Definition at line 499 of file track.C.

References Tracks::change_plugins(), SharedLocation::module, Tracks::number_of(), SharedLocation::plugin, and tracks.

Referenced by MWindow::move_plugins_up().

int Track::need_edit Edit current,
int  test_transitions
 

Definition at line 1285 of file track.C.

References Edit::asset, and Edit::transition.

Referenced by edit_change_duration().

virtual PluginSet* Track::new_plugins  )  [inline, virtual]
 

Reimplemented in ATrack, and VTrack.

Definition at line 53 of file track.h.

int Track::number_of  ) 
 

Definition at line 844 of file track.C.

References Tracks::number_of(), and tracks.

Referenced by Plugin::identical_location().

Track & Track::operator= Track track  ) 
 

Definition at line 185 of file track.C.

References copy_from().

void Track::optimize  ) 
 

Definition at line 672 of file track.C.

References edits, Edits::optimize(), plugin_set, and remove_pluginset().

Referenced by MWindow::insert_effect(), insert_track(), Tracks::move_edits(), Tracks::move_effect(), EDL::optimize(), and remove_asset().

int Track::paste_auto_silence double  start,
double  end
 

virtual int Track::paste_auto_silence_derived int64_t  start,
int64_t  end
[inline, virtual]
 

Definition at line 257 of file track.h.

int Track::paste_automation double  selectionstart,
double  total_length,
double  frame_rate,
int64_t  sample_rate,
FileXML file,
int  default_only
 

Definition at line 925 of file track.C.

References automation, data_type, edl, EDLSession::frame_rate, Automation::paste(), PluginSet::paste_keyframes(), FileXML::read_tag(), EDLSession::sample_rate, EDL::session, FileXML::tag, XMLTag::title_is(), to_units(), and TRACK_AUDIO.

Referenced by Tracks::paste_automation().

virtual int Track::paste_automation_derived double  selectionstart,
double  selectionend,
double  total_length,
FileXML file,
int  shift_autos,
int &  current_pan
[inline, virtual]
 

Definition at line 250 of file track.h.

virtual int Track::paste_derived int64_t  start,
int64_t  end,
int64_t  total_length,
FileXML file,
int &  current_channel
[inline, virtual]
 

Reimplemented in ATrack, and VTrack.

Definition at line 214 of file track.h.

int Track::paste_silence double  start,
double  end,
int  edit_plugins
 

Definition at line 1200 of file track.C.

References edits, Edits::optimize(), Edits::paste_silence(), shift_effects(), shift_keyframes(), and to_units().

Referenced by Tracks::paste_silence().

int Track::playable_edit int64_t  position,
int  direction
 

Definition at line 1268 of file track.C.

References Edit::asset, edits, Edit::length, Edit::startproject, and Edit::transition.

Referenced by PlayableTracks::is_playable().

int64_t Track::plugin_change_duration int64_t  input_position,
int64_t  input_length,
int  reverse,
int  use_nudge
 

Definition at line 1291 of file track.C.

References nudge, and plugin_set.

Referenced by VirtualConsole::test_reconfigure().

int Track::plugin_used int64_t  position,
int64_t  direction
 

Definition at line 1452 of file track.C.

References get_current_plugin(), Plugin::on, plugin_set, and Plugin::plugin_type.

Referenced by VTrack::direct_copy_possible(), and PlayableTracks::is_playable().

int Track::popup_transition int  cursor_x,
int  cursor_y
 

Definition at line 1149 of file track.C.

Referenced by Tracks::popup_transition().

int Track::purge_asset Asset asset  ) 
 

Definition at line 1426 of file track.C.

Referenced by Tracks::purge_asset().

int Track::release_auto  ) 
 

Definition at line 873 of file track.C.

virtual int Track::release_auto_derived  )  [inline, virtual]
 

Reimplemented in VTrack.

Definition at line 275 of file track.h.

void Track::remove_asset Asset asset  ) 
 

Definition at line 544 of file track.C.

References Edit::asset, edits, and optimize().

Referenced by EDL::remove_from_project().

void Track::remove_pluginset PluginSet plugin_set  ) 
 

Definition at line 556 of file track.C.

References Tracks::change_plugins(), SharedLocation::module, Tracks::number_of(), SharedLocation::plugin, and tracks.

Referenced by optimize().

void Track::resample double  old_rate,
double  new_rate
 

Definition at line 630 of file track.C.

References automation, edits, nudge, plugin_set, Automation::resample(), and Edits::resample().

Referenced by EDL::resample().

virtual int Track::reset_translation int64_t  start,
int64_t  end
[inline, virtual]
 

Definition at line 300 of file track.h.

virtual int Track::save_derived FileXML file  )  [inline, virtual]
 

Reimplemented in ATrack, VTrack, and VTrack.

Definition at line 46 of file track.h.

Referenced by copy().

virtual int Track::save_header FileXML file  )  [inline, virtual]
 

Reimplemented in ATrack, and VTrack.

Definition at line 45 of file track.h.

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

int Track::scale_time float  rate_scale,
int  scale_edits,
int  scale_autos,
int64_t  start,
int64_t  end
 

Definition at line 1221 of file track.C.

Referenced by Tracks::scale_time().

virtual int Track::scale_time_derived float  rate_scale,
int  scale_edits,
int  scale_autos,
int64_t  start,
int64_t  end
[inline, virtual]
 

Definition at line 259 of file track.h.

int Track::select_auto AutoConf auto_conf,
int  cursor_x,
int  cursor_y
 

Definition at line 863 of file track.C.

Referenced by Tracks::select_auto().

virtual int Track::select_auto_derived float  zoom_units,
float  view_start,
AutoConf auto_conf,
int  cursor_x,
int  cursor_y
[inline, virtual]
 

Reimplemented in VTrack, and VTrack.

Definition at line 271 of file track.h.

int Track::select_edit int  cursor_x,
int  cursor_y,
double &  new_start,
double &  new_end
 

Definition at line 1213 of file track.C.

virtual int Track::select_translation int  cursor_x,
int  cursor_y
[inline, virtual]
 

Reimplemented in VTrack.

Definition at line 268 of file track.h.

void Track::shift_effects double  position,
double  length,
int  convert_units
 

Definition at line 586 of file track.C.

References plugin_set, and to_units().

Referenced by Edits::clear_handle(), insert_plugin_set(), paste_silence(), and Edits::shift_effects_recursive().

void Track::shift_keyframes double  position,
double  length,
int  convert_units
 

Definition at line 573 of file track.C.

References automation, Automation::paste_silence(), and to_units().

Referenced by paste_silence(), and Edits::shift_keyframes_recursive().

void Track::synchronize_params Track track  )  [virtual]
 

Reimplemented in ATrack, and VTrack.

Definition at line 779 of file track.C.

References automation, Automation::copy_from(), edits, nudge, plugin_set, and Edit::synchronize_params().

Referenced by VTrack::synchronize_params(), EDL::synchronize_params(), and ATrack::synchronize_params().

double Track::to_doubleunits double  position  )  [virtual]
 

Reimplemented in ATrack, and VTrack.

Definition at line 1486 of file track.C.

Referenced by TrackCanvas::calculate_viewport().

int64_t Track::to_units double  position,
int  round
[virtual]
 

Reimplemented in ATrack, and VTrack.

Definition at line 1481 of file track.C.

Referenced by PatchGUI::calculate_nudge(), clear(), clear_automation(), copy(), copy_assets(), copy_automation(), CWindowCanvas::do_mask(), TrackCanvas::drag_stop(), CWindowCanvas::draw_bezier(), TrackCanvas::draw_paste_destination(), Autos::get_auto_at_position(), Autos::get_auto_for_editing(), Tracks::get_automation_extents(), get_current_plugin(), get_current_transition(), TrackCanvas::get_drop_position(), Plugin::get_keyframe(), MutePatch::get_keyframe(), Plugin::get_next_keyframe(), Autos::get_prev_auto(), Plugin::get_prev_keyframe(), get_source_dimensions(), TransitionLengthText::handle_event(), insert_asset(), Edits::insert_edits(), insert_effect(), insert_plugin_set(), insert_track(), Edit::insert_transition(), Edits::load_edit(), Edits::modify_handles(), Tracks::move_edits(), Tracks::paste_audio_transition(), paste_automation(), paste_silence(), Tracks::paste_video_transition(), shift_effects(), shift_keyframes(), TrackCanvas::test_toggleline(), and Tracks::total_of().

virtual int Track::update_translation int  cursor_x,
int  cursor_y,
int  shift_down
[inline, virtual]
 

Reimplemented in VTrack.

Definition at line 269 of file track.h.

int Track::vertical_span Theme theme  )  [virtual]
 

Reimplemented in ATrack, and VTrack.

Definition at line 192 of file track.C.

References edl, expand_view, EDL::local_session, Theme::plugin_bg_data, plugin_set, EDL::session, EDLSession::show_titles, Theme::title_bg_data, and LocalSession::zoom_track.

Referenced by PatchBay::cursor_motion_event(), TrackCanvas::draw_paste_destination(), EDL::get_tracks_height(), PatchBay::is_over_track(), TrackCanvas::track_dimensions(), VPatchGUI::update(), PatchGUI::update(), APatchGUI::update(), Tracks::update_y_pixels(), VTrack::vertical_span(), and ATrack::vertical_span().


Member Data Documentation

Automation* Track::automation
 

Definition at line 160 of file track.h.

Referenced by Tracks::add_audio_track(), MutePatch::button_press_event(), CWindow::calculate_affected_autos(), VTrack::calculate_input_transfer(), VTrack::calculate_output_transfer(), clear(), clear_automation(), Edits::clear_handle(), copy(), copy_automation(), copy_from(), VTrack::create_objects(), CWindowMaskGUI::create_objects(), ATrack::create_objects(), PatchBay::cursor_motion_event(), VTrack::direct_copy_possible(), TrackCanvas::do_keyframes(), CWindowCanvas::do_mask(), CWindowCanvas::draw_bezier(), dump(), equivalent_output(), Tracks::get_automation_extents(), VModePatch::get_keyframe(), VFadePatch::get_keyframe(), MutePatch::get_keyframe(), CWindowMaskGUI::get_keyframe(), APanPatch::get_keyframe(), AFadePatch::get_keyframe(), get_length(), VTrack::get_projection(), VModePatch::handle_event(), KeyframePopupCopy::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(), Tracks::move_edits(), paste_automation(), EDL::rechannel(), VirtualVNode::render_as_module(), VirtualANode::render_as_module(), VirtualVNode::render_projector(), resample(), MWindow::resize_track(), Tracks::select_all(), shift_keyframes(), TrackCanvas::synchronize_autos(), PatchBay::synchronize_faders(), synchronize_params(), CWindowCanvas::test_bezier(), Tracks::total_of(), VTrack::translate(), VPatchGUI::update(), CWindowMaskGUI::update(), APatchGUI::update(), VFadePatch::update_edl(), AFadePatch::update_edl(), and ~Track().

int Track::data_type
 

Definition at line 177 of file track.h.

Referenced by NudgePopup::activate_menu(), Tracks::add_audio_track(), ATrack::ATrack(), CWindow::calculate_affected_track(), NudgePatch::calculate_increment(), Tracks::concatenate_tracks(), Tracks::copy_from(), MWindow::detach_transition(), PackageRenderer::direct_copy_possible(), TrackCanvas::do_plugins(), TrackCanvas::drag_stop(), ResourcePixmap::draw_data(), TrackCanvas::draw_highlighting(), TrackCanvas::draw_paste_destination(), TrackCanvas::draw_resources(), TrackCanvas::draw_transitions(), dump(), Tracks::equivalent_output(), equivalent_output(), FloatAutos::get_extents(), TrackList::get_playable_type(), TrackList::get_recordable_type(), EDL::get_shared_plugins(), EDL::get_shared_tracks(), TransitionLengthText::handle_event(), EditPopupAddTrack::handle_event(), EDL::insert_asset(), MWindow::insert_effect(), PlayableTracks::is_playable(), Plugin::is_synthesis(), VirtualConsole::module_number(), Tracks::move_edits(), Tracks::paste_audio_transition(), Tracks::paste_automation(), paste_automation(), MWindow::paste_edls(), Tracks::paste_video_transition(), Tracks::playable_audio_tracks(), Tracks::playable_video_tracks(), EDL::rechannel(), Tracks::recordable_audio_tracks(), Tracks::recordable_video_tracks(), RecordableATracks::RecordableATracks(), RecordableVTracks::RecordableVTracks(), EDL::resample(), ResourcePixmap::ResourcePixmap(), Tracks::scale_time(), VTrack::set_default_title(), ATrack::set_default_title(), NudgePatch::set_value(), MWindow::show_plugin(), PluginDialogThread::start_window(), TrackCanvas::synchronize_autos(), PatchBay::synchronize_faders(), PatchBay::synchronize_nudge(), MWindow::test_plugins(), VirtualConsole::test_reconfigure(), Tracks::total_audio_tracks(), Tracks::total_playable_vtracks(), Tracks::total_video_length(), Tracks::total_video_tracks(), Tracks::translate_camera(), Tracks::translate_projector(), PatchBay::update(), EditPopup::update(), Module::update_transition(), and VTrack::VTrack().

int Track::draw
 

Definition at line 165 of file track.h.

Referenced by DrawPatch::button_press_event(), copy(), copy_settings(), PatchBay::cursor_motion_event(), ResourcePixmap::draw_data(), load(), MWindow::paste_edls(), Tracks::select_all(), Tracks::total_of(), Track(), PatchGUI::update(), and VTrack::VTrack().

Edits* Track::edits
 

Definition at line 157 of file track.h.

Referenced by asset_used(), clear(), clear_handle(), copy(), copy_assets(), copy_from(), VTrack::create_derived_objs(), VTrack::create_objects(), ATrack::create_objects(), PackageRenderer::direct_copy_possible(), TrackCanvas::do_edit_handles(), TrackCanvas::do_edits(), TrackCanvas::do_transitions(), TrackCanvas::drag_motion(), TrackCanvas::draw_paste_destination(), TrackCanvas::draw_resources(), TrackCanvas::draw_transitions(), dump(), Edit::Edit(), edit_change_duration(), VTrack::end_translation(), equivalent_output(), Tracks::get_affected_edits(), get_current_transition(), TrackCanvas::get_drop_position(), get_length(), get_source_dimensions(), VRender::get_use_vconsole(), insert_asset(), insert_track(), VTrack::length(), ATrack::length(), load(), modify_edithandles(), Tracks::move_edits(), optimize(), Tracks::paste_audio_transition(), VTrack::paste_output(), paste_silence(), Tracks::paste_video_transition(), playable_edit(), remove_asset(), VTrack::render(), VModule::render(), AModule::render(), resample(), VTrack::reset_translation(), VTrack::scale_video(), VTrack::select_translation(), synchronize_params(), MWindow::test_plugins(), TransitionHandles::update(), EditHandles::update(), VTrack::update_translation(), and ~Track().

EDL* Track::edl
 

Definition at line 154 of file track.h.

Referenced by NudgePatch::calculate_increment(), PatchGUI::calculate_nudge_text(), VTrack::calculate_output_transfer(), VTrack::channel_is_playable(), clear_automation(), copy_automation(), copy_from(), VTrack::create_derived_objs(), VTrack::create_objects(), ATrack::create_objects(), VTrack::direct_copy_possible(), VTrack::from_units(), ATrack::from_units(), VTrack::get_dimensions(), ATrack::get_dimensions(), VTrack::get_projection(), horizontal_span(), insert_effect(), insert_plugin_set(), load(), VTrack::new_plugins(), ATrack::new_plugins(), paste_automation(), VTrack::to_doubleunits(), ATrack::to_doubleunits(), VTrack::to_units(), ATrack::to_units(), and vertical_span().

int Track::expand_view
 

Definition at line 164 of file track.h.

Referenced by ExpandPatch::button_press_event(), copy(), copy_settings(), PatchBay::cursor_motion_event(), TrackCanvas::do_plugin_autos(), TrackCanvas::do_plugins(), TrackCanvas::draw_plugins(), insert_effect(), load(), Tracks::select_all(), Tracks::total_of(), Track(), PatchGUI::update(), VTrack::vertical_span(), vertical_span(), and ATrack::vertical_span().

int Track::gang
 

Definition at line 169 of file track.h.

Referenced by GangPatch::button_press_event(), copy(), copy_settings(), PatchBay::cursor_motion_event(), VFadePatch::handle_event(), AFadePatch::handle_event(), load(), Tracks::select_all(), NudgePatch::set_value(), TrackCanvas::synchronize_autos(), PatchBay::synchronize_faders(), PatchBay::synchronize_nudge(), Tracks::total_of(), Track(), and PatchGUI::update().

int Track::id [private]
 

Definition at line 341 of file track.h.

Referenced by get_id().

int64_t Track::nudge
 

Definition at line 175 of file track.h.

Referenced by PatchGUI::calculate_nudge_text(), copy(), copy_settings(), VTrack::direct_copy_possible(), PackageRenderer::direct_copy_possible(), edit_change_duration(), Edits::editof(), equivalent_output(), get_current_plugin(), get_current_transition(), VirtualNode::get_mute_fragment(), Edits::get_playable_edit(), PlayableTracks::is_playable(), load(), plugin_change_duration(), VirtualVConsole::process_buffer(), VirtualAConsole::process_buffer(), VEdit::read_frame(), VModule::render(), AModule::render(), VirtualANode::render_fade(), VirtualANode::render_pan(), resample(), NudgePatch::set_value(), PatchBay::synchronize_nudge(), synchronize_params(), and Track().

int64_t Track::old_view_start
 

Definition at line 331 of file track.h.

int Track::pixel
 

Definition at line 332 of file track.h.

Referenced by VTrack::select_translation().

int Track::play
 

Definition at line 171 of file track.h.

Referenced by PlayPatch::button_press_event(), Tracks::concatenate_tracks(), copy(), copy_settings(), PatchBay::cursor_motion_event(), equivalent_output(), PlayableTracks::is_playable(), load(), Tracks::playable_audio_tracks(), Tracks::playable_video_tracks(), Tracks::select_all(), Tracks::total_of(), Tracks::total_playable_vtracks(), Track(), and PatchGUI::update().

ArrayList<PluginSet*> Track::plugin_set
 

Definition at line 159 of file track.h.

Referenced by change_modules(), change_plugins(), clear(), clear_automation(), copy(), copy_automation(), copy_from(), Module::create_new_attachments(), detach_effect(), detach_shared_effects(), TrackCanvas::do_plugin_autos(), TrackCanvas::do_plugin_handles(), TrackCanvas::do_plugins(), TrackCanvas::drag_motion(), TrackCanvas::drag_stop(), TrackCanvas::draw_plugins(), dump(), equivalent_output(), VirtualNode::expand_as_module(), get_length(), PluginSet::get_number(), Plugin::get_shared_location(), EDL::get_shared_plugins(), insert_plugin_set(), is_synthesis(), load(), modify_pluginhandles(), optimize(), PluginSet::paste_keyframes(), plugin_change_duration(), plugin_used(), resample(), shift_effects(), synchronize_params(), MWindow::test_plugins(), Module::test_plugins(), TrackCanvas::update_drag_pluginauto(), MWindow::update_plugin_states(), vertical_span(), Module::~Module(), and ~Track().

int Track::record
 

Definition at line 172 of file track.h.

Referenced by RecordPatch::button_press_event(), CWindow::calculate_affected_track(), Tracks::clear(), Tracks::clear_automation(), Tracks::clear_default_keyframe(), Tracks::clear_handle(), Tracks::concatenate_tracks(), Tracks::copy(), copy(), EDL::copy_assets(), Tracks::copy_automation(), copy_settings(), PatchBay::cursor_motion_event(), TrackCanvas::do_edits(), TrackCanvas::do_float_autos(), TrackCanvas::do_plugins(), TrackCanvas::do_toggle_autos(), TrackCanvas::draw_paste_destination(), Tracks::get_affected_edits(), Tracks::get_automation_extents(), EditPopupTitle::handle_event(), EDL::insert_asset(), MWindowGUI::keypress_event(), load(), Tracks::modify_edithandles(), Tracks::modify_pluginhandles(), Tracks::move_edits(), Tracks::move_tracks_down(), Tracks::move_tracks_up(), Tracks::paste_audio_transition(), Tracks::paste_automation(), MWindow::paste_edls(), Tracks::paste_silence(), Tracks::paste_video_transition(), Tracks::recordable_audio_tracks(), Tracks::recordable_video_tracks(), RecordableATracks::RecordableATracks(), RecordableVTracks::RecordableVTracks(), Tracks::scale_time(), Tracks::select_all(), TrackCanvas::synchronize_autos(), PatchBay::synchronize_faders(), PatchBay::synchronize_nudge(), Tracks::total_of(), Tracks::total_recordable_length(), Track(), and PatchGUI::update().

char Track::title[BCTEXTLEN]
 

Definition at line 170 of file track.h.

Referenced by SharedLocation::calculate_title(), copy(), copy_settings(), PluginDialog::create_objects(), VirtualNode::dump(), dump(), Module::dump(), PluginServer::generate_display_title(), TitlePatch::handle_event(), load(), VirtualVNode::read_data(), VModule::render(), VirtualVNode::render_as_module(), VirtualVNode::render_as_plugin(), VirtualVNode::render_fade(), VirtualVNode::render_projector(), VTrack::set_default_title(), ATrack::set_default_title(), Track(), and PatchGUI::update().

int Track::track_h
 

Definition at line 334 of file track.h.

Referenced by VTrack::calculate_input_transfer(), VTrack::calculate_output_transfer(), copy(), copy_from(), copy_settings(), VTrack::direct_copy_possible(), CWindowCanvas::do_mask(), TrackCanvas::do_tracks(), TrackCanvas::drag_motion(), CWindowCanvas::draw_bezier(), TrackCanvas::draw_highlighting(), equivalent_output(), CWindowProjectorBottom::handle_event(), CWindowProjectorTop::handle_event(), CWindowCameraBottom::handle_event(), CWindowCameraTop::handle_event(), VModule::import_frame(), load(), MWindow::match_output_size(), VirtualVConsole::process_buffer(), VModule::render(), MWindow::resize_track(), ResizeTrackThread::start_window(), Track(), VTrack::vertical_span(), and ATrack::vertical_span().

int Track::track_w
 

Definition at line 334 of file track.h.

Referenced by VTrack::calculate_input_transfer(), VTrack::calculate_output_transfer(), copy(), copy_from(), copy_settings(), VTrack::direct_copy_possible(), CWindowCanvas::do_mask(), TrackCanvas::do_tracks(), TrackCanvas::drag_motion(), CWindowCanvas::draw_bezier(), TrackCanvas::draw_highlighting(), equivalent_output(), CWindowProjectorRight::handle_event(), CWindowProjectorLeft::handle_event(), CWindowCameraRight::handle_event(), CWindowCameraLeft::handle_event(), VModule::import_frame(), load(), MWindow::match_output_size(), VirtualVConsole::process_buffer(), VModule::render(), MWindow::resize_track(), ResizeTrackThread::start_window(), and Track().

Tracks* Track::tracks
 

Definition at line 155 of file track.h.

Referenced by EditPopupResize::EditPopupResize(), VTrack::get_dimensions(), EditPopupResize::handle_event(), insert_effect(), move_plugins_down(), move_plugins_up(), number_of(), and remove_pluginset().

int Track::y_pixel
 

Definition at line 163 of file track.h.

Referenced by TrackCanvas::calculate_viewport(), PatchBay::cursor_motion_event(), TrackCanvas::do_plugin_autos(), TrackCanvas::draw_paste_destination(), TrackCanvas::draw_resources(), TrackCanvas::edit_dimensions(), PatchBay::is_over_track(), TrackCanvas::plugin_dimensions(), Track(), TrackCanvas::track_dimensions(), PatchBay::update(), and Tracks::update_y_pixels().


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