#include <floatautos.h>
Inherits Autos.

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 | straighten (int64_t start, int64_t end) |
| void | dump () |
| Auto * | add_auto (int64_t position, float value) |
| Auto * | append_auto () |
| Auto * | new_auto () |
Data Fields | |
| float | default_ |
Definition at line 10 of file floatautos.h.
| FloatAutos::~FloatAutos | ( | ) |
Definition at line 21 of file floatautos.C.
| int FloatAutos::draw_joining_line | ( | BC_SubWindow * | canvas, | |
| int | vertical, | |||
| int | center_pixel, | |||
| int | x1, | |||
| int | y1, | |||
| int | x2, | |||
| int | y2 | |||
| ) |
Definition at line 60 of file floatautos.C.
References BC_WindowBase::draw_line().

| int FloatAutos::get_testy | ( | float | slope, | |
| int | cursor_x, | |||
| int | ax, | |||
| int | ay | |||
| ) |
Definition at line 88 of file floatautos.C.
| int FloatAutos::automation_is_constant | ( | int64_t | start, | |
| int64_t | length, | |||
| int | direction, | |||
| double & | constant | |||
| ) |
Definition at line 93 of file floatautos.C.
References FloatAuto::control_in_value, FloatAuto::control_out_value, Autos::default_auto, EQUIV, List< Auto >::first, List< Auto >::last, NEXT, Auto::position, List< Auto >::total(), and FloatAuto::value.

| double FloatAutos::get_automation_constant | ( | int64_t | start, | |
| int64_t | end | |||
| ) | [virtual] |
Reimplemented from Autos.
Definition at line 219 of file floatautos.C.
References Autos::default_auto, List< Auto >::first, and Autos::get_neighbors().

| float FloatAutos::get_value | ( | int64_t | position, | |
| int | direction, | |||
| FloatAuto *& | previous, | |||
| FloatAuto *& | next | |||
| ) |
Definition at line 239 of file floatautos.C.
References FloatAuto::control_in_value, FloatAuto::control_out_value, Autos::default_auto, EQUIV, Autos::get_next_auto(), Autos::get_prev_auto(), Auto::position, t, and FloatAuto::value.
Referenced by TrackCanvas::draw_floatline(), get_extents(), TrackCanvas::synchronize_autos(), CWindowCanvas::test_bezier(), TrackCanvas::test_floatline(), and APatchGUI::update().

| void FloatAutos::get_fade_automation | ( | double & | slope, | |
| double & | intercept, | |||
| int64_t | input_position, | |||
| int64_t & | slope_len, | |||
| int | direction | |||
| ) |
Definition at line 343 of file floatautos.C.
References Autos::get_next_auto(), Autos::get_prev_auto(), MIN, Auto::position, and FloatAuto::value.

| void FloatAutos::get_extents | ( | float * | min, | |
| float * | max, | |||
| int * | coords_undefined, | |||
| int64_t | unit_start, | |||
| int64_t | unit_end | |||
| ) | [virtual] |
Reimplemented from Autos.
Definition at line 403 of file floatautos.C.
References Track::data_type, Autos::default_auto, Autos::edl, List< Auto >::first, EDLSession::frame_rate, get_value(), EDL::local_session, MAX, MIN, ListItem< Auto >::next, NEXT, Auto::position, EDLSession::sample_rate, EDL::session, Autos::track, TRACK_VIDEO, FloatAuto::value, and LocalSession::zoom_sample.

| void FloatAutos::straighten | ( | int64_t | start, | |
| int64_t | end | |||
| ) | [virtual] |
Reimplemented from Autos.
Definition at line 25 of file floatautos.C.
References FloatAuto::control_in_position, FloatAuto::control_in_value, FloatAuto::control_out_position, FloatAuto::control_out_value, List< Auto >::first, NEXT, Auto::position, PREVIOUS, Track::to_units(), Autos::track, and FloatAuto::value.

| void FloatAutos::dump | ( | ) | [virtual] |
Reimplemented from Autos.
Definition at line 486 of file floatautos.C.
References Autos::default_auto, List< Auto >::first, NEXT, and Auto::position.
| Auto * FloatAutos::add_auto | ( | int64_t | position, | |
| float | value | |||
| ) |
Definition at line 68 of file floatautos.C.
References Autos::autoof(), List< Auto >::insert_before(), new_auto(), Auto::position, and FloatAuto::value.

| Auto * FloatAutos::new_auto | ( | ) | [virtual] |
Reimplemented from Autos.
Definition at line 81 of file floatautos.C.
References default_, Autos::edl, FloatAuto::FloatAuto(), and FloatAuto::value.
Referenced by add_auto().

| float FloatAutos::default_ |
1.5.5