TuttleOFX
1
|
Common base to all double param types. More...
#include <ofxsParam.h>
Public Member Functions | |
void | setDoubleType (DoubleTypeEnum v) |
set the type of the double param, defaults to eDoubleTypePlain | |
void | setIncrement (double v) |
set the sensitivity of any gui slider | |
void | setDigits (int v) |
set the number of digits printed after a decimal point in any gui | |
Protected Member Functions | |
mDeclareProtectedAssignAndCC (BaseDoubleParamDescriptor) | |
BaseDoubleParamDescriptor (void) | |
BaseDoubleParamDescriptor (const std::string &name, ParamTypeEnum type, OfxPropertySetHandle props) | |
hidden constructor | |
Friends | |
class | ParamSetDescriptor |
Common base to all double param types.
Definition at line 410 of file ofxsParam.h.
OFX::BaseDoubleParamDescriptor::BaseDoubleParamDescriptor | ( | void | ) | [inline, protected] |
Definition at line 414 of file ofxsParam.h.
OFX::BaseDoubleParamDescriptor::BaseDoubleParamDescriptor | ( | const std::string & | name, |
ParamTypeEnum | type, | ||
OfxPropertySetHandle | props | ||
) | [protected] |
hidden constructor
Definition at line 369 of file ofxsParams.cpp.
OFX::BaseDoubleParamDescriptor::mDeclareProtectedAssignAndCC | ( | BaseDoubleParamDescriptor | ) | [protected] |
void OFX::BaseDoubleParamDescriptor::setDigits | ( | int | v | ) |
set the number of digits printed after a decimal point in any gui
Definition at line 421 of file ofxsParams.cpp.
References OFX::ParamDescriptor::getProps(), kOfxParamPropDigits, and OFX::PropertySet::propSetInt().
void OFX::BaseDoubleParamDescriptor::setDoubleType | ( | DoubleTypeEnum | v | ) |
set the type of the double param, defaults to eDoubleTypePlain
Definition at line 374 of file ofxsParams.cpp.
References OFX::eDoubleTypeAbsoluteTime, OFX::eDoubleTypeAngle, OFX::eDoubleTypeNormalisedX, OFX::eDoubleTypeNormalisedXAbsolute, OFX::eDoubleTypeNormalisedXY, OFX::eDoubleTypeNormalisedXYAbsolute, OFX::eDoubleTypeNormalisedY, OFX::eDoubleTypeNormalisedYAbsolute, OFX::eDoubleTypePlain, OFX::eDoubleTypeScale, OFX::eDoubleTypeTime, OFX::ParamDescriptor::getProps(), kOfxParamDoubleTypeAbsoluteTime, kOfxParamDoubleTypeAngle, kOfxParamDoubleTypeNormalisedX, kOfxParamDoubleTypeNormalisedXAbsolute, kOfxParamDoubleTypeNormalisedXY, kOfxParamDoubleTypeNormalisedXYAbsolute, kOfxParamDoubleTypeNormalisedY, kOfxParamDoubleTypeNormalisedYAbsolute, kOfxParamDoubleTypePlain, kOfxParamDoubleTypeScale, kOfxParamDoubleTypeTime, kOfxParamPropDoubleType, and OFX::PropertySet::propSetString().
void OFX::BaseDoubleParamDescriptor::setIncrement | ( | double | v | ) |
set the sensitivity of any gui slider
Definition at line 415 of file ofxsParams.cpp.
References OFX::ParamDescriptor::getProps(), kOfxParamPropIncrement, and OFX::PropertySet::propSetDouble().
friend class ParamSetDescriptor [friend] |
Reimplemented from OFX::ValueParamDescriptor.
Reimplemented in OFX::Double3DParamDescriptor, OFX::Double2DParamDescriptor, and OFX::DoubleParamDescriptor.
Definition at line 420 of file ofxsParam.h.