Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages | Examples

vetFilterGeometricParameters Class Reference

Inheritance diagram for vetFilterGeometricParameters:

vetFilterParameters

Public Types

enum  RUNMODE

Public Member Functions

 vetFilterGeometricParameters (RUNMODE mode=vetFilterGeometricParameters::DO_NOTHING)
 ~vetFilterGeometricParameters ()
void reset ()
void setRunMode (RUNMODE mode)
RUNMODE getRunMode ()
void setRotationDegree (float degree)
void setResizeDimension (unsigned int width, unsigned int height)
float getRotationDegree ()
unsigned int getResizeDimensionWidth ()
unsigned int getResizeDimensionHeight ()
void forceOutputSize (bool value=true)
bool isForceOutputSizeEnabled ()
VETRESULT saveToStreamXML (FILE *fp)
 Serialize class to XML format. Class' tag is <vetCoder_MOVParameters>.
VETRESULT loadFromStreamXML (FILE *fp)
 Deserialize class from XML format. Class' tag must be <vetCoder_MOVParameters>.

Protected Attributes

RUNMODE runMode
float par_Rotation
unsigned int par_ResizeWidth
unsigned int par_ResizeHeight
bool par_forzeSize

Friends

class vetFilterGeometric

Detailed Description

Definition at line 41 of file vetFilterGeometric.h.


Member Function Documentation

int vetFilterGeometricParameters::loadFromStreamXML FILE *  fp  )  [virtual]
 

Deserialize class from XML format. Class' tag must be <vetCoder_MOVParameters>.

Parameters:
[in] fp input stream's pointer
Returns:
VETRET_OK if everything is fine, VETRET_INTERNAL_ERR else.

Implements vetFilterParameters.

Definition at line 801 of file vetFilterGeometric.cpp.

References vetFilterParameters::currentBuffer, par_forzeSize, par_ResizeHeight, par_ResizeWidth, par_Rotation, runMode, and VETRET_OK.

int vetFilterGeometricParameters::saveToStreamXML FILE *  fp  )  [virtual]
 

Serialize class to XML format. Class' tag is <vetCoder_MOVParameters>.

Parameters:
[in] fp output stream's pointer
Returns:
VETRET_OK if everything is fine, VETRET_INTERNAL_ERR else.

Implements vetFilterParameters.

Definition at line 770 of file vetFilterGeometric.cpp.

References vetFilterParameters::currentBuffer, par_forzeSize, par_ResizeHeight, par_ResizeWidth, par_Rotation, runMode, VETRET_INTERNAL_ERR, VETRET_OK, and VETRET_PARAM_ERR.


The documentation for this class was generated from the following files:
Generated on Tue Jan 24 11:59:34 2006 for VETLib by  doxygen 1.4.4