TuttleOFX
1
|
SeExpr plugin. More...
#include <SeExprPlugin.hpp>
Public Types | |
typedef float | Scalar |
Public Member Functions | |
SeExprPlugin (OfxImageEffectHandle handle) | |
SeExprProcessParams< 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 | getClipPreferences (OFX::ClipPreferencesSetter &clipPreferences) |
get the clip preferences | |
void | render (const OFX::RenderArguments &args) |
The overridden render function. | |
Data Fields | |
OFX::ChoiceParam * | _paramInput |
OFX::StringParam * | _paramCode |
OFX::StringParam * | _paramFile |
OFX::Double2DParam * | _paramTextureOffset |
Private Attributes | |
OFX::InstanceChangedArgs | _instanceChangedArgs |
SeExpr plugin.
Definition at line 25 of file SeExprPlugin.hpp.
typedef float tuttle::plugin::seExpr::SeExprPlugin::Scalar |
Definition at line 28 of file SeExprPlugin.hpp.
tuttle::plugin::seExpr::SeExprPlugin::SeExprPlugin | ( | OfxImageEffectHandle | handle | ) |
Definition at line 13 of file SeExprPlugin.cpp.
References _instanceChangedArgs, _paramCode, _paramFile, _paramInput, _paramTextureOffset, changedParam(), OFX::ParamSet::fetchChoiceParam(), OFX::ParamSet::fetchDouble2DParam(), OFX::ParamSet::fetchStringParam(), tuttle::plugin::seExpr::kParamChooseInput(), tuttle::plugin::seExpr::kParamSeExprCode(), tuttle::plugin::seExpr::kParamTextureOffset(), and tuttle::plugin::kTuttlePluginFilename.
void tuttle::plugin::seExpr::SeExprPlugin::changedParam | ( | const OFX::InstanceChangedArgs & | args, |
const std::string & | paramName | ||
) | [virtual] |
called when a param has just had its value changed
Reimplemented from tuttle::plugin::GeneratorPlugin.
Definition at line 66 of file SeExprPlugin.cpp.
References _paramCode, _paramFile, _paramInput, tuttle::plugin::seExpr::eParamChooseInputCode, tuttle::plugin::seExpr::eParamChooseInputFile, OFX::ChoiceParam::getValue(), tuttle::plugin::seExpr::kParamChooseInput(), tuttle::plugin::seExpr::kParamSeExprCode(), tuttle::plugin::kTuttlePluginFilename, OFX::Param::setIsSecretAndDisabled(), and OFX::ChoiceParam::setValue().
Referenced by SeExprPlugin().
void tuttle::plugin::seExpr::SeExprPlugin::getClipPreferences | ( | OFX::ClipPreferencesSetter & | clipPreferences | ) | [virtual] |
get the clip preferences
Reimplemented from tuttle::plugin::GeneratorPlugin.
Definition at line 101 of file SeExprPlugin.cpp.
SeExprProcessParams< SeExprPlugin::Scalar > tuttle::plugin::seExpr::SeExprPlugin::getProcessParams | ( | const OfxPointD & | renderScale = OFX::kNoRenderScale | ) | const |
Definition at line 24 of file SeExprPlugin.cpp.
References tuttle::plugin::seExpr::SeExprProcessParams< Scalar >::_code, tuttle::plugin::seExpr::SeExprProcessParams< Scalar >::_inputType, _paramCode, _paramFile, _paramInput, tuttle::plugin::seExpr::SeExprProcessParams< Scalar >::_paramTextureOffset, _paramTextureOffset, tuttle::plugin::seExpr::eParamChooseInputCode, tuttle::plugin::seExpr::eParamChooseInputFile, OFX::Double2DParam::getValue(), OFX::StringParam::getValue(), OFX::ChoiceParam::getValue(), OfxPointD::x, and OfxPointD::y.
void tuttle::plugin::seExpr::SeExprPlugin::render | ( | const OFX::RenderArguments & | args | ) | [virtual] |
The overridden render function.
[in] | args | Rendering parameters |
Reimplemented from tuttle::plugin::GeneratorPlugin.
Definition at line 110 of file SeExprPlugin.cpp.
Definition at line 46 of file SeExprPlugin.hpp.
Referenced by SeExprPlugin().
Definition at line 42 of file SeExprPlugin.hpp.
Referenced by changedParam(), getProcessParams(), and SeExprPlugin().
Definition at line 43 of file SeExprPlugin.hpp.
Referenced by changedParam(), getProcessParams(), and SeExprPlugin().
Definition at line 41 of file SeExprPlugin.hpp.
Referenced by changedParam(), getProcessParams(), and SeExprPlugin().
Definition at line 44 of file SeExprPlugin.hpp.
Referenced by getProcessParams(), and SeExprPlugin().