TuttleOFX
1
|
FloodFill plugin. More...
#include <FloodFillPlugin.hpp>
Public Types | |
typedef float | Scalar |
Public Member Functions | |
FloodFillPlugin (OfxImageEffectHandle handle) | |
FloodFillProcessParams< Scalar > | getProcessParams (const OfxPointD &renderScale=OFX::kNoRenderScale) const |
void | changedParam (const OFX::InstanceChangedArgs &args, const std::string ¶mName) |
called when a param has just had its value changed | |
void | render (const OFX::RenderArguments &args) |
The overridden render function. | |
Data Fields | |
OFX::DoubleParam * | _paramUpperThres |
OFX::DoubleParam * | _paramLowerThres |
OFX::BooleanParam * | _paramRelativeMinMax |
OFX::ChoiceParam * | _paramMethod |
FloodFill plugin.
Definition at line 24 of file FloodFillPlugin.hpp.
typedef float tuttle::plugin::floodFill::FloodFillPlugin::Scalar |
Definition at line 27 of file FloodFillPlugin.hpp.
tuttle::plugin::floodFill::FloodFillPlugin::FloodFillPlugin | ( | OfxImageEffectHandle | handle | ) |
Definition at line 12 of file FloodFillPlugin.cpp.
References _paramLowerThres, _paramMethod, _paramRelativeMinMax, _paramUpperThres, OFX::ParamSet::fetchBooleanParam(), OFX::ParamSet::fetchChoiceParam(), OFX::ParamSet::fetchDoubleParam(), tuttle::plugin::floodFill::kParamLowerThres, tuttle::plugin::floodFill::kParamMethod, tuttle::plugin::floodFill::kParamMinMaxRelative, and tuttle::plugin::floodFill::kParamUpperThres.
void tuttle::plugin::floodFill::FloodFillPlugin::changedParam | ( | const OFX::InstanceChangedArgs & | args, |
const std::string & | paramName | ||
) | [virtual] |
called when a param has just had its value changed
Reimplemented from OFX::ImageEffect.
Definition at line 33 of file FloodFillPlugin.cpp.
FloodFillProcessParams< FloodFillPlugin::Scalar > tuttle::plugin::floodFill::FloodFillPlugin::getProcessParams | ( | const OfxPointD & | renderScale = OFX::kNoRenderScale | ) | const |
Definition at line 21 of file FloodFillPlugin.cpp.
References tuttle::plugin::floodFill::FloodFillProcessParams< Scalar >::_lowerThres, tuttle::plugin::floodFill::FloodFillProcessParams< Scalar >::_method, _paramLowerThres, _paramMethod, _paramRelativeMinMax, _paramUpperThres, tuttle::plugin::floodFill::FloodFillProcessParams< Scalar >::_relativeMinMax, tuttle::plugin::floodFill::FloodFillProcessParams< Scalar >::_upperThres, OFX::DoubleParam::getValue(), OFX::ChoiceParam::getValue(), and OFX::BooleanParam::getValue().
void tuttle::plugin::floodFill::FloodFillPlugin::render | ( | const OFX::RenderArguments & | args | ) | [virtual] |
The overridden render function.
[in] | args | Rendering parameters |
Implements OFX::ImageEffect.
Definition at line 41 of file FloodFillPlugin.cpp.
Definition at line 41 of file FloodFillPlugin.hpp.
Referenced by FloodFillPlugin(), and getProcessParams().
Definition at line 43 of file FloodFillPlugin.hpp.
Referenced by FloodFillPlugin(), and getProcessParams().
Definition at line 42 of file FloodFillPlugin.hpp.
Referenced by FloodFillPlugin(), and getProcessParams().
Definition at line 40 of file FloodFillPlugin.hpp.
Referenced by FloodFillPlugin(), and getProcessParams().