TuttleOFX  1
OFX::Int2DParamDescriptor Class Reference

Wraps up an 2d integer param. More...

#include <ofxsParam.h>

Inheritance diagram for OFX::Int2DParamDescriptor:
Collaboration diagram for OFX::Int2DParamDescriptor:

Public Member Functions

void setDimensionLabels (const std::string &x, const std::string &y)
 set the dimension labels
void setDefault (int x, int y)
 set the default value, default is 0
void setRange (int minX, int minY, int maxX, int maxY)
 set the hard min/max range, default is INT_MIN, INT_MAX
void setDisplayRange (int minX, int minY, int maxX, int maxY)
 set the display min and max, default is to be the same as the range param

Protected Member Functions

 mDeclareProtectedAssignAndCC (Int2DParamDescriptor)
 Int2DParamDescriptor (void)
 Int2DParamDescriptor (const std::string &name, OfxPropertySetHandle props)
 hidden constructor

Friends

class ParamSetDescriptor

Detailed Description

Wraps up an 2d integer param.

Definition at line 347 of file ofxsParam.h.


Constructor & Destructor Documentation

OFX::Int2DParamDescriptor::Int2DParamDescriptor ( void  ) [inline, protected]

Definition at line 351 of file ofxsParam.h.

OFX::Int2DParamDescriptor::Int2DParamDescriptor ( const std::string &  name,
OfxPropertySetHandle  props 
) [protected]

hidden constructor

ctor

Definition at line 281 of file ofxsParams.cpp.


Member Function Documentation

OFX::Int2DParamDescriptor::mDeclareProtectedAssignAndCC ( Int2DParamDescriptor  ) [protected]
void OFX::Int2DParamDescriptor::setDefault ( int  x,
int  y 
)

set the default value, default is 0

Definition at line 286 of file ofxsParams.cpp.

References OFX::ParamDescriptor::getProps(), kOfxParamPropDefault, and OFX::PropertySet::propSetInt().

Referenced by tuttle::plugin::av::addOptionsFromAVOption(), and tuttle::plugin::describeGeneratorParamsInContext().

Here is the call graph for this function:

void OFX::Int2DParamDescriptor::setDimensionLabels ( const std::string &  x,
const std::string &  y 
)

set the dimension labels

Definition at line 312 of file ofxsParams.cpp.

References OFX::ParamDescriptor::getProps(), kOfxParamPropDimensionLabel, and OFX::PropertySet::propSetString().

Here is the call graph for this function:

void OFX::Int2DParamDescriptor::setDisplayRange ( int  minX,
int  minY,
int  maxX,
int  maxY 
)

set the display min and max, default is to be the same as the range param

Definition at line 303 of file ofxsParams.cpp.

References OFX::ParamDescriptor::getProps(), kOfxParamPropDisplayMax, kOfxParamPropDisplayMin, and OFX::PropertySet::propSetInt().

Here is the call graph for this function:

void OFX::Int2DParamDescriptor::setRange ( int  minX,
int  minY,
int  maxX,
int  maxY 
)

set the hard min/max range, default is INT_MIN, INT_MAX

Definition at line 293 of file ofxsParams.cpp.

References OFX::ParamDescriptor::getProps(), kOfxParamPropMax, kOfxParamPropMin, and OFX::PropertySet::propSetInt().

Referenced by tuttle::plugin::describeGeneratorParamsInContext().

Here is the call graph for this function:


Friends And Related Function Documentation

friend class ParamSetDescriptor [friend]

Reimplemented from OFX::ValueParamDescriptor.

Definition at line 357 of file ofxsParam.h.


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