TuttleOFX
1
|
Dummy plugin. More...
#include <DummyPlugin.hpp>
Public Types | |
typedef float | Scalar |
Public Member Functions | |
DummyPlugin (OfxImageEffectHandle handle) | |
DummyProcessParams< 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 | |
bool | isIdentity (const OFX::RenderArguments &args, OFX::Clip *&identityClip, double &identityTime) |
client is identity function, returns the clip and time for the identity function | |
void | render (const OFX::RenderArguments &args) |
The overridden render function. |
Dummy plugin.
Definition at line 21 of file DummyPlugin.hpp.
typedef float tuttle::plugin::dummy::DummyPlugin::Scalar |
Definition at line 24 of file DummyPlugin.hpp.
tuttle::plugin::dummy::DummyPlugin::DummyPlugin | ( | OfxImageEffectHandle | handle | ) |
Definition at line 12 of file DummyPlugin.cpp.
void tuttle::plugin::dummy::DummyPlugin::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 23 of file DummyPlugin.cpp.
DummyProcessParams< DummyPlugin::Scalar > tuttle::plugin::dummy::DummyPlugin::getProcessParams | ( | const OfxPointD & | renderScale = OFX::kNoRenderScale | ) | const |
Definition at line 17 of file DummyPlugin.cpp.
bool tuttle::plugin::dummy::DummyPlugin::isIdentity | ( | const OFX::RenderArguments & | args, |
OFX::Clip *& | identityClip, | ||
double & | identityTime | ||
) | [virtual] |
client is identity function, returns the clip and time for the identity function
If the effect would do no processing for the given param set and render arguments, then this function should return true and set the identityClip pointer to point to the clip that is the identity and identityTime to be the time at which to access the clip for the identity operation.
Reimplemented from OFX::ImageEffect.
Definition at line 27 of file DummyPlugin.cpp.
void tuttle::plugin::dummy::DummyPlugin::render | ( | const OFX::RenderArguments & | args | ) | [virtual] |
The overridden render function.
[in] | args | Rendering parameters |
Implements OFX::ImageEffect.
Definition at line 36 of file DummyPlugin.cpp.