#include <maskauto.h>
Inherits Auto.

Public Member Functions | |
| MaskAuto (EDL *edl, MaskAutos *autos) | |
| ~MaskAuto () | |
| int | operator== (Auto &that) |
| int | operator== (MaskAuto &that) |
| int | identical (MaskAuto *src) |
| void | load (FileXML *file) |
| void | copy (int64_t start, int64_t end, FileXML *file, int default_auto) |
| void | copy_from (Auto *src) |
| int | interpolate_from (Auto *a1, Auto *a2, int64_t position) |
| void | copy_from (MaskAuto *src) |
| void | dump () |
| SubMask * | get_submask (int number) |
| void | translate_submasks (float translate_x, float translate_y) |
Data Fields | |
| ArrayList< SubMask * > | masks |
| int | mode |
| float | feather |
| int | value |
| int | apply_before_plugins |
Definition at line 41 of file maskauto.h.
Definition at line 189 of file maskauto.C.
References ArrayList< TYPE >::append(), apply_before_plugins, feather, masks, mode, and value.

| MaskAuto::~MaskAuto | ( | ) |
Definition at line 204 of file maskauto.C.
References masks, and ArrayList< TYPE >::remove_all_objects().

| int MaskAuto::operator== | ( | Auto & | that | ) | [virtual] |
Reimplemented from Auto.
Definition at line 209 of file maskauto.C.
References identical().

| int MaskAuto::operator== | ( | MaskAuto & | that | ) |
Definition at line 216 of file maskauto.C.
References identical().

| int MaskAuto::identical | ( | MaskAuto * | src | ) |
Definition at line 222 of file maskauto.C.
References apply_before_plugins, feather, masks, mode, ArrayList< TYPE >::total, value, and ArrayList< TYPE >::values.
Referenced by operator==().
| void MaskAuto::load | ( | FileXML * | file | ) | [virtual] |
Reimplemented from Auto.
Definition at line 310 of file maskauto.C.
References apply_before_plugins, feather, XMLTag::get_property(), SubMask::load(), masks, mode, FileXML::read_tag(), FileXML::tag, XMLTag::title_is(), ArrayList< TYPE >::total, value, and ArrayList< TYPE >::values.

| void MaskAuto::copy | ( | int64_t | start, | |
| int64_t | end, | |||
| FileXML * | file, | |||
| int | default_auto | |||
| ) | [virtual] |
Reimplemented from Auto.
Definition at line 342 of file maskauto.C.
References FileXML::append_newline(), FileXML::append_tag(), apply_before_plugins, SubMask::copy(), feather, masks, mode, Auto::position, XMLTag::set_property(), XMLTag::set_title(), FileXML::tag, ArrayList< TYPE >::total, value, and ArrayList< TYPE >::values.

| void MaskAuto::copy_from | ( | Auto * | src | ) | [virtual] |
Reimplemented from Auto.
Definition at line 236 of file maskauto.C.
Referenced by interpolate_from().
Reimplemented from Auto.
Definition at line 259 of file maskauto.C.
References ArrayList< TYPE >::append(), apply_before_plugins, MaskAutos::avg_points(), copy_from(), feather, masks, MIN, mode, SubMask::points, Auto::position, ArrayList< TYPE >::remove_all_objects(), ArrayList< TYPE >::total, value, and ArrayList< TYPE >::values.

| void MaskAuto::copy_from | ( | MaskAuto * | src | ) |
Definition at line 241 of file maskauto.C.
References ArrayList< TYPE >::append(), apply_before_plugins, SubMask::copy_from(), Auto::copy_from(), feather, masks, mode, ArrayList< TYPE >::remove_all_objects(), ArrayList< TYPE >::total, value, and ArrayList< TYPE >::values.

| void MaskAuto::dump | ( | ) |
Definition at line 370 of file maskauto.C.
References SubMask::dump(), masks, mode, ArrayList< TYPE >::total, value, and ArrayList< TYPE >::values.

| SubMask * MaskAuto::get_submask | ( | int | number | ) |
Definition at line 304 of file maskauto.C.
References CLAMP, masks, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.
Referenced by CWindowCanvas::do_mask(), CWindowMaskGUI::get_keyframe(), MaskAutos::get_points(), MaskAutos::mask_exists(), VirtualVNode::render_mask(), and translate_submasks().
| void MaskAuto::translate_submasks | ( | float | translate_x, | |
| float | translate_y | |||
| ) |
Definition at line 380 of file maskauto.C.
References get_submask(), masks, SubMask::points, ArrayList< TYPE >::total, ArrayList< TYPE >::values, MaskPoint::x, and MaskPoint::y.

Definition at line 63 of file maskauto.h.
Referenced by copy(), SubMask::copy(), copy_from(), dump(), get_submask(), identical(), interpolate_from(), load(), MaskAutos::mask_exists(), MaskAuto(), VirtualVNode::render_mask(), translate_submasks(), and ~MaskAuto().
| int MaskAuto::mode |
Definition at line 65 of file maskauto.h.
Referenced by copy(), copy_from(), MaskEngine::do_mask(), Playback3D::do_mask_sync(), dump(), identical(), interpolate_from(), load(), and MaskAuto().
| float MaskAuto::feather |
Definition at line 66 of file maskauto.h.
Referenced by copy(), copy_from(), Playback3D::do_mask_sync(), CWindowMaskFeather::handle_event(), identical(), interpolate_from(), load(), MaskAuto(), and CWindowMaskGUI::update().
| int MaskAuto::value |
Definition at line 68 of file maskauto.h.
Referenced by copy(), copy_from(), Playback3D::do_mask_sync(), dump(), CWindowMaskValue::handle_event(), identical(), interpolate_from(), load(), MaskAuto(), VirtualVNode::render_mask(), and CWindowMaskGUI::update().
Definition at line 69 of file maskauto.h.
Referenced by copy(), copy_from(), CWindowMaskBeforePlugins::handle_event(), identical(), interpolate_from(), load(), MaskAuto(), and CWindowMaskGUI::update().
1.5.5