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

MaskAuto Class Reference

#include <maskauto.h>

Inheritance diagram for MaskAuto:

Auto List of all members.

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 ()
SubMaskget_submask (int number)
void translate_submasks (float translate_x, float translate_y)

Public Attributes

ArrayList< SubMask * > masks
int mode
float feather
int value

Detailed Description

Definition at line 41 of file maskauto.h.


Constructor & Destructor Documentation

MaskAuto::MaskAuto EDL edl,
MaskAutos autos
 

Definition at line 189 of file maskauto.C.

References feather, masks, mode, and value.

MaskAuto::~MaskAuto  ) 
 

Definition at line 203 of file maskauto.C.

References masks.


Member Function Documentation

void MaskAuto::copy int64_t  start,
int64_t  end,
FileXML file,
int  default_auto
[virtual]
 

Reimplemented from Auto.

Definition at line 337 of file maskauto.C.

References FileXML::append_newline(), FileXML::append_tag(), feather, masks, mode, Auto::position, XMLTag::set_property(), XMLTag::set_title(), FileXML::tag, and value.

void MaskAuto::copy_from MaskAuto src  ) 
 

Definition at line 239 of file maskauto.C.

References Auto::copy_from(), feather, masks, mode, and value.

void MaskAuto::copy_from Auto src  )  [virtual]
 

Reimplemented from Auto.

Definition at line 234 of file maskauto.C.

Referenced by interpolate_from().

void MaskAuto::dump  ) 
 

Definition at line 363 of file maskauto.C.

References masks, mode, and value.

SubMask * MaskAuto::get_submask int  number  ) 
 

Definition at line 300 of file maskauto.C.

References CLAMP, and masks.

Referenced by MaskEngine::do_mask(), CWindowCanvas::do_mask(), CWindowMaskGUI::get_keyframe(), MaskAutos::get_points(), CWindowMaskDelete::handle_event(), MaskAutos::mask_exists(), MaskAutos::translate_masks(), and translate_submasks().

int MaskAuto::identical MaskAuto src  ) 
 

Definition at line 221 of file maskauto.C.

References feather, masks, mode, and value.

Referenced by operator==().

int MaskAuto::interpolate_from Auto a1,
Auto a2,
int64_t  position
[virtual]
 

Reimplemented from Auto.

Definition at line 256 of file maskauto.C.

References MaskAutos::avg_points(), copy_from(), feather, masks, MIN, mode, SubMask::points, Auto::position, and value.

void MaskAuto::load FileXML file  )  [virtual]
 

Reimplemented from Auto.

Definition at line 306 of file maskauto.C.

References feather, XMLTag::get_property(), SubMask::load(), masks, mode, FileXML::read_tag(), FileXML::tag, XMLTag::title_is(), and value.

int MaskAuto::operator== MaskAuto that  ) 
 

Definition at line 215 of file maskauto.C.

References identical().

int MaskAuto::operator== Auto that  )  [virtual]
 

Reimplemented from Auto.

Definition at line 208 of file maskauto.C.

References identical().

void MaskAuto::translate_submasks float  translate_x,
float  translate_y
 

Definition at line 373 of file maskauto.C.

References get_submask(), masks, and SubMask::points.

Referenced by MaskAutos::translate_masks().


Member Data Documentation

float MaskAuto::feather
 

Definition at line 66 of file maskauto.h.

Referenced by copy(), copy_from(), MaskEngine::do_mask(), CWindowMaskFeather::handle_event(), identical(), interpolate_from(), load(), MaskAuto(), and CWindowMaskGUI::update().

ArrayList<SubMask*> MaskAuto::masks
 

Definition at line 63 of file maskauto.h.

Referenced by copy(), SubMask::copy(), copy_from(), MaskEngine::do_mask(), dump(), get_submask(), identical(), interpolate_from(), load(), MaskAutos::mask_exists(), MaskAuto(), MaskAutos::total_submasks(), MaskAutos::translate_masks(), translate_submasks(), and ~MaskAuto().

int MaskAuto::mode
 

Definition at line 65 of file maskauto.h.

Referenced by copy(), copy_from(), MaskEngine::do_mask(), dump(), identical(), interpolate_from(), load(), and MaskAuto().

int MaskAuto::value
 

Definition at line 68 of file maskauto.h.

Referenced by copy(), copy_from(), MaskEngine::do_mask(), dump(), CWindowMaskValue::handle_event(), identical(), interpolate_from(), load(), MaskAuto(), and CWindowMaskGUI::update().


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