|
TuttleOFX
1
|
Wraps up an RGB param. More...
#include <ofxsParam.h>


Public Member Functions | |
| void | setDefault (double r, double g, double b, double a) |
| set the default value, default is 0 | |
| void | getDefault (double &r, double &g, double &b, double &a) const |
| get default value | |
| OfxRGBAColourD | getDefault () const |
| void | getValue (double &r, double &g, double &b, double &a) const |
| get value | |
| OfxRGBAColourD | getValue () const |
| void | getValueAtTime (double t, double &r, double &g, double &b, double &a) const |
| get the value at a time | |
| OfxRGBAColourD | getValueAtTime (double t) const |
| void | setValue (double r, double g, double b, double a) |
| set value | |
| void | setValueAtTime (double t, double r, double g, double b, double a) |
| set the value at a time, implicitly adds a keyframe | |
Protected Member Functions | |
| RGBAParam (const ParamSet *paramSet, const std::string &name, OfxParamHandle handle) | |
| hidden constructor | |
Private Member Functions | |
| mDeclareProtectedAssignAndCC (RGBAParam) | |
| RGBAParam (void) | |
Friends | |
| class | ParamSet |
Wraps up an RGB param.
Definition at line 1458 of file ofxsParam.h.
| OFX::RGBAParam::RGBAParam | ( | void | ) | [inline, private] |
Definition at line 1462 of file ofxsParam.h.
| OFX::RGBAParam::RGBAParam | ( | const ParamSet * | paramSet, |
| const std::string & | name, | ||
| OfxParamHandle | handle | ||
| ) | [protected] |
hidden constructor
Definition at line 1992 of file ofxsParams.cpp.
| void OFX::RGBAParam::getDefault | ( | double & | r, |
| double & | g, | ||
| double & | b, | ||
| double & | a | ||
| ) | const |
get default value
het the default value
Definition at line 2006 of file ofxsParams.cpp.
References OFX::Attribute::getProps(), kOfxParamPropDefault, and OFX::PropertySet::propGetDouble().

| OfxRGBAColourD OFX::RGBAParam::getDefault | ( | void | ) | const [inline] |
Definition at line 1476 of file ofxsParam.h.
References OfxRGBAColourD::a, OfxRGBAColourD::b, OfxRGBAColourD::g, getDefault(), and OfxRGBAColourD::r.
Referenced by getDefault().

| void OFX::RGBAParam::getValue | ( | double & | r, |
| double & | g, | ||
| double & | b, | ||
| double & | a | ||
| ) | const |
get value
Definition at line 2015 of file ofxsParams.cpp.
References OFX::Param::_paramHandle, OFX::Private::gParamSuite, OfxParameterSuiteV1::paramGetValue, and OFX::throwSuiteStatusException().
Referenced by tuttle::plugin::interact::ColorRGBAParam::getColor(), tuttle::plugin::colorTransform::ColorTransformPlugin::getProcessParams(), tuttle::plugin::fade::FadePlugin::getProcessParams(), tuttle::plugin::crop::CropPlugin::getProcessParams(), tuttle::plugin::normalize::NormalizePlugin::getProcessParams(), tuttle::plugin::text::TextPlugin::getProcessParams(), tuttle::plugin::colorSpaceKeyer::ColorSpaceKeyerPlugin::updateGeodesicForms(), tuttle::plugin::colorCubeViewer::ColorCubeViewerPlugin::updateGeodesicForms(), tuttle::plugin::colorCubeViewer::ColorCubeViewerPlugin::updateProcessGeodesicForms(), and tuttle::plugin::colorSpaceKeyer::ColorSpaceKeyerPlugin::updateProcessGeodesicForms().

| OfxRGBAColourD OFX::RGBAParam::getValue | ( | void | ) | const [inline] |
Definition at line 1480 of file ofxsParam.h.
References OfxRGBAColourD::a, OfxRGBAColourD::b, OfxRGBAColourD::g, getValue(), and OfxRGBAColourD::r.
Referenced by getValue().

| void OFX::RGBAParam::getValueAtTime | ( | double | t, |
| double & | r, | ||
| double & | g, | ||
| double & | b, | ||
| double & | a | ||
| ) | const |
get the value at a time
Definition at line 2023 of file ofxsParams.cpp.
References OFX::Param::_paramHandle, OFX::Private::gParamSuite, OfxParameterSuiteV1::paramGetValueAtTime, and OFX::throwSuiteStatusException().

| OfxRGBAColourD OFX::RGBAParam::getValueAtTime | ( | double | t | ) | const [inline] |
Definition at line 1484 of file ofxsParam.h.
References OfxRGBAColourD::a, OfxRGBAColourD::b, OfxRGBAColourD::g, getValueAtTime(), and OfxRGBAColourD::r.
Referenced by getValueAtTime().

| OFX::RGBAParam::mDeclareProtectedAssignAndCC | ( | RGBAParam | ) | [private] |
| void OFX::RGBAParam::setDefault | ( | double | r, |
| double | g, | ||
| double | b, | ||
| double | a | ||
| ) |
set the default value, default is 0
set the default value
Definition at line 1997 of file ofxsParams.cpp.
References OFX::Attribute::getProps(), kOfxParamPropDefault, and OFX::PropertySet::propSetDouble().

| void OFX::RGBAParam::setValue | ( | double | r, |
| double | g, | ||
| double | b, | ||
| double | a | ||
| ) |
set value
Definition at line 2031 of file ofxsParams.cpp.
References OFX::Param::_paramHandle, OFX::Private::gParamSuite, OfxParameterSuiteV1::paramSetValue, and OFX::throwSuiteStatusException().
Referenced by tuttle::plugin::colorCubeViewer::ColorCubeViewerPlugin::changedParam(), tuttle::plugin::colorSpaceKeyer::ColorSpaceKeyerPlugin::changedParam(), tuttle::plugin::set0123ParamValues(), tuttle::plugin::set012ParamValues(), tuttle::plugin::av::AVOptionPlugin< IOPlugin >::setParameters(), tuttle::plugin::setRGBAParamValues(), and tuttle::plugin::setRGBParamValues().

| void OFX::RGBAParam::setValueAtTime | ( | double | t, |
| double | r, | ||
| double | g, | ||
| double | b, | ||
| double | a | ||
| ) |
set the value at a time, implicitly adds a keyframe
Definition at line 2039 of file ofxsParams.cpp.
References OFX::Param::_paramHandle, OFX::Private::gParamSuite, OfxParameterSuiteV1::paramSetValueAtTime, OFX::throwHostMissingSuiteException(), and OFX::throwSuiteStatusException().
Referenced by tuttle::plugin::set0123ParamValuesAtTime(), tuttle::plugin::set012ParamValuesAtTime(), tuttle::plugin::setRGBAParamValuesAtTime(), and tuttle::plugin::setRGBParamValuesAtTime().

friend class ParamSet [friend] |
Reimplemented from OFX::ValueParam.
Definition at line 1468 of file ofxsParam.h.