ShapeWipeMain Class Reference

#include <shapewipe.h>

Inherits PluginVClient.

Collaboration diagram for ShapeWipeMain:

Collaboration graph
[legend]

Public Member Functions

 ShapeWipeMain (PluginServer *server)
 ~ShapeWipeMain ()
void load_configuration ()
int process_realtime (VFrame *incoming, VFrame *outgoing)
int load_defaults ()
int save_defaults ()
void save_data (KeyFrame *keyframe)
void read_data (KeyFrame *keyframe)
int show_gui ()
void raise_window ()
int uses_gui ()
int is_transition ()
int is_video ()
char * plugin_title ()
int set_string ()
VFramenew_picon ()
int read_pattern_image (int new_frame_width, int new_frame_height)
void reset_pattern_image ()

Data Fields

int direction
char filename [BCTEXTLEN]
char last_read_filename [BCTEXTLEN]
unsigned char ** pattern_image
unsigned char min_value
unsigned char max_value
int frame_width
int frame_height
int antialias
int preserve_aspect
int last_preserve_aspect
ShapeWipeThread * thread
BC_Hashdefaults

Detailed Description

Definition at line 112 of file shapewipe.h.


Constructor & Destructor Documentation

ShapeWipeMain::ShapeWipeMain ( PluginServer server  ) 

Definition at line 231 of file shapewipe.C.

References antialias(), NULL, and PLUGIN_CONSTRUCTOR_MACRO.

Here is the call graph for this function:

ShapeWipeMain::~ShapeWipeMain (  ) 

Definition at line 246 of file shapewipe.C.

References PLUGIN_DESTRUCTOR_MACRO, and reset_pattern_image().

Here is the call graph for this function:


Member Function Documentation

void ShapeWipeMain::load_configuration (  ) 

Definition at line 327 of file shapewipe.C.

References PluginClient::get_prev_keyframe(), PluginClient::get_source_position(), and read_data().

Referenced by process_realtime().

Here is the call graph for this function:

int ShapeWipeMain::process_realtime ( VFrame incoming,
VFrame outgoing 
) [virtual]

int ShapeWipeMain::load_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 267 of file shapewipe.C.

References antialias, BCASTDIR, BCTEXTLEN, defaults, direction, filename, BC_Hash::get(), BC_Hash::load(), and preserve_aspect.

Here is the call graph for this function:

int ShapeWipeMain::save_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 284 of file shapewipe.C.

References antialias, defaults, direction, filename, preserve_aspect, BC_Hash::save(), and BC_Hash::update().

Here is the call graph for this function:

void ShapeWipeMain::save_data ( KeyFrame keyframe  )  [virtual]

void ShapeWipeMain::read_data ( KeyFrame keyframe  )  [virtual]

Reimplemented from PluginClient.

Definition at line 309 of file shapewipe.C.

References antialias, KeyFrame::data, direction, filename, XMLTag::get_property(), PluginVClient::input, preserve_aspect, FileXML::read_tag(), FileXML::set_shared_string(), FileXML::tag, and XMLTag::title_is().

Referenced by load_configuration().

Here is the call graph for this function:

int ShapeWipeMain::show_gui (  )  [virtual]

Reimplemented from PluginClient.

void ShapeWipeMain::raise_window (  )  [virtual]

Reimplemented from PluginClient.

int ShapeWipeMain::uses_gui (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 255 of file shapewipe.C.

int ShapeWipeMain::is_transition (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 254 of file shapewipe.C.

int ShapeWipeMain::is_video (  )  [virtual]

Reimplemented from PluginVClient.

Definition at line 253 of file shapewipe.C.

char * ShapeWipeMain::plugin_title (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 252 of file shapewipe.C.

References N_.

int ShapeWipeMain::set_string (  )  [virtual]

Reimplemented from PluginClient.

VFrame * ShapeWipeMain::new_picon (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 262 of file shapewipe.C.

References picon_png.

int ShapeWipeMain::read_pattern_image ( int  new_frame_width,
int  new_frame_height 
)

Definition at line 332 of file shapewipe.C.

References PluginVClient::aspect_h, PluginVClient::aspect_w, fclose(), filename, fopen(), fp, frame_height, frame_width, fread(), header, height, max_value, min_value, pattern_image, preserve_aspect, and width.

Referenced by process_realtime().

Here is the call graph for this function:

void ShapeWipeMain::reset_pattern_image (  ) 

Definition at line 485 of file shapewipe.C.

References frame_height, max_value, min_value, NULL, and pattern_image.

Referenced by process_realtime(), and ~ShapeWipeMain().


Field Documentation

char ShapeWipeMain::filename[BCTEXTLEN]

Definition at line 138 of file shapewipe.h.

Referenced by process_realtime().

Definition at line 139 of file shapewipe.h.

Referenced by process_realtime(), read_pattern_image(), and reset_pattern_image().

unsigned char ShapeWipeMain::min_value

Definition at line 140 of file shapewipe.h.

Referenced by process_realtime(), read_pattern_image(), and reset_pattern_image().

unsigned char ShapeWipeMain::max_value

Definition at line 141 of file shapewipe.h.

Referenced by process_realtime(), read_pattern_image(), and reset_pattern_image().

Definition at line 142 of file shapewipe.h.

Referenced by read_pattern_image().

Definition at line 143 of file shapewipe.h.

Referenced by read_pattern_image(), and reset_pattern_image().

Definition at line 146 of file shapewipe.h.

Referenced by process_realtime().

ShapeWipeThread* ShapeWipeMain::thread

Definition at line 147 of file shapewipe.h.

Definition at line 148 of file shapewipe.h.

Referenced by load_defaults(), and save_defaults().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:43:08 2008 for Cinelerra by  doxygen 1.5.5