TuttleOFX
1
|
Wraps up a 2D double param. More...
#include <ofxsParam.h>
Public Member Functions | |
void | setDimensionLabels (const std::string &x, const std::string &y) |
set the dimension labels | |
void | setDefault (double x, double y) |
set the default value, default is 0 | |
void | setRange (double minX, double minY, double maxX, double maxY) |
set the hard min/max range, default is INT_MIN, INT_MAX | |
void | setDisplayRange (double minX, double minY, double maxX, double maxY) |
set the display min and max, default is to be the same as the range param | |
Protected Member Functions | |
mDeclareProtectedAssignAndCC (Double2DParamDescriptor) | |
Double2DParamDescriptor (void) | |
Double2DParamDescriptor (const std::string &name, OfxPropertySetHandle props) | |
hidden constructor | |
Friends | |
class | ParamSetDescriptor |
Wraps up a 2D double param.
Definition at line 463 of file ofxsParam.h.
OFX::Double2DParamDescriptor::Double2DParamDescriptor | ( | void | ) | [inline, protected] |
Definition at line 467 of file ofxsParam.h.
OFX::Double2DParamDescriptor::Double2DParamDescriptor | ( | const std::string & | name, |
OfxPropertySetHandle | props | ||
) | [protected] |
OFX::Double2DParamDescriptor::mDeclareProtectedAssignAndCC | ( | Double2DParamDescriptor | ) | [protected] |
void OFX::Double2DParamDescriptor::setDefault | ( | double | x, |
double | y | ||
) |
set the default value, default is 0
Definition at line 463 of file ofxsParams.cpp.
References OFX::ParamDescriptor::getProps(), kOfxParamPropDefault, and OFX::PropertySet::propSetDouble().
void OFX::Double2DParamDescriptor::setDimensionLabels | ( | const std::string & | x, |
const std::string & | y | ||
) |
set the dimension labels
Definition at line 489 of file ofxsParams.cpp.
References OFX::ParamDescriptor::getProps(), kOfxParamPropDimensionLabel, and OFX::PropertySet::propSetString().
void OFX::Double2DParamDescriptor::setDisplayRange | ( | double | minX, |
double | minY, | ||
double | maxX, | ||
double | maxY | ||
) |
set the display min and max, default is to be the same as the range param
Definition at line 480 of file ofxsParams.cpp.
References OFX::ParamDescriptor::getProps(), kOfxParamPropDisplayMax, kOfxParamPropDisplayMin, and OFX::PropertySet::propSetDouble().
void OFX::Double2DParamDescriptor::setRange | ( | double | minX, |
double | minY, | ||
double | maxX, | ||
double | maxY | ||
) |
set the hard min/max range, default is INT_MIN, INT_MAX
set the hard min/max range, default is DOUBLE_MIN, DOUBLE_MAX
Definition at line 470 of file ofxsParams.cpp.
References OFX::ParamDescriptor::getProps(), kOfxParamPropMax, kOfxParamPropMin, and OFX::PropertySet::propSetDouble().
friend class ParamSetDescriptor [friend] |
Reimplemented from OFX::BaseDoubleParamDescriptor.
Definition at line 473 of file ofxsParam.h.