TuttleOFX
1
|
IdKeyer plugin. More...
#include <IdKeyerPlugin.hpp>
Public Types | |
typedef std::vector < OFX::RGBAParam * > | RGBAParamVector |
Public Member Functions | |
IdKeyerPlugin (OfxImageEffectHandle handle) | |
void | render (const OFX::RenderArguments &args) |
The overridden render function. | |
void | changedParam (const OFX::InstanceChangedArgs &args, const std::string ¶mName) |
called when a param has just had its value changed | |
template<class View > | |
IdKeyerProcessParams< View > | getProcessParams () const |
Data Fields | |
RGBAParamVector | _paramColors |
OFX::IntParam * | _paramNbPoints |
OFX::BooleanParam * | _paramUseAlpha |
OFX::DoubleParam * | _paramTolerance |
Private Attributes | |
OFX::InstanceChangedArgs | _instanceChangedArgs |
IdKeyer plugin.
Definition at line 24 of file IdKeyerPlugin.hpp.
typedef std::vector<OFX::RGBAParam*> tuttle::plugin::idKeyer::IdKeyerPlugin::RGBAParamVector |
Definition at line 37 of file IdKeyerPlugin.hpp.
tuttle::plugin::idKeyer::IdKeyerPlugin::IdKeyerPlugin | ( | OfxImageEffectHandle | handle | ) |
Definition at line 19 of file IdKeyerPlugin.cpp.
References _instanceChangedArgs, _paramColors, _paramNbPoints, _paramTolerance, _paramUseAlpha, changedParam(), OFX::ParamSet::fetchBooleanParam(), OFX::ParamSet::fetchDoubleParam(), OFX::ParamSet::fetchIntParam(), OFX::ParamSet::fetchRGBAParam(), tuttle::plugin::idKeyer::getColorParamName(), tuttle::plugin::idKeyer::kMaxNbPoints, tuttle::plugin::idKeyer::kParamNbPoints, tuttle::plugin::idKeyer::kParamTolerance, and tuttle::plugin::idKeyer::kParamUseAlpha.
void tuttle::plugin::idKeyer::IdKeyerPlugin::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 86 of file IdKeyerPlugin.cpp.
References _paramColors, _paramNbPoints, OFX::IntParam::getValue(), tuttle::plugin::idKeyer::kMaxNbPoints, and tuttle::plugin::idKeyer::kParamNbPoints.
Referenced by IdKeyerPlugin().
IdKeyerProcessParams< View > tuttle::plugin::idKeyer::IdKeyerPlugin::getProcessParams | ( | ) | const |
Definition at line 36 of file IdKeyerPlugin.cpp.
References tuttle::plugin::idKeyer::IdKeyerProcessParams< View >::_colors, _paramColors, _paramNbPoints, _paramTolerance, _paramUseAlpha, tuttle::plugin::idKeyer::IdKeyerProcessParams< View >::_tolerance, tuttle::plugin::idKeyer::IdKeyerProcessParams< View >::_useAlpha, OfxRGBAColourD::a, OfxRGBAColourD::b, OfxRGBAColourD::g, OFX::IntParam::getValue(), OFX::DoubleParam::getValue(), OFX::BooleanParam::getValue(), and OfxRGBAColourD::r.
void tuttle::plugin::idKeyer::IdKeyerPlugin::render | ( | const OFX::RenderArguments & | args | ) | [virtual] |
The overridden render function.
[in] | args | Rendering parameters |
Implements OFX::ImageEffect.
Definition at line 61 of file IdKeyerPlugin.cpp.
References tuttle::plugin::ImageEffectGilPlugin::_clipDst, OFX::ePixelComponentAlpha, OFX::ePixelComponentCustom, OFX::ePixelComponentNone, OFX::ePixelComponentRGB, OFX::ePixelComponentRGBA, OFX::Clip::getPixelComponents(), OFX::Clip::getPixelDepth(), and OFX::mapPixelComponentEnumToString().
Definition at line 45 of file IdKeyerPlugin.hpp.
Referenced by IdKeyerPlugin().
Definition at line 39 of file IdKeyerPlugin.hpp.
Referenced by changedParam(), getProcessParams(), and IdKeyerPlugin().
Definition at line 40 of file IdKeyerPlugin.hpp.
Referenced by changedParam(), getProcessParams(), and IdKeyerPlugin().
Definition at line 42 of file IdKeyerPlugin.hpp.
Referenced by getProcessParams(), and IdKeyerPlugin().
Definition at line 41 of file IdKeyerPlugin.hpp.
Referenced by getProcessParams(), and IdKeyerPlugin().