TuttleOFX  1
tuttle::plugin::viewer::ViewerPlugin Class Reference

Viewer plugin. More...

#include <ViewerPlugin.hpp>

Inheritance diagram for tuttle::plugin::viewer::ViewerPlugin:
Collaboration diagram for tuttle::plugin::viewer::ViewerPlugin:

Public Types

typedef float Scalar

Public Member Functions

 ViewerPlugin (OfxImageEffectHandle handle)
ViewerProcessParams< ScalargetProcessParams (const OfxPointD &renderScale=OFX::kNoRenderScale) const
void changedParam (const OFX::InstanceChangedArgs &args, const std::string &paramName)
 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.

Detailed Description

Viewer plugin.

Definition at line 21 of file ViewerPlugin.hpp.


Member Typedef Documentation

Definition at line 24 of file ViewerPlugin.hpp.


Constructor & Destructor Documentation

tuttle::plugin::viewer::ViewerPlugin::ViewerPlugin ( OfxImageEffectHandle  handle)

Definition at line 12 of file ViewerPlugin.cpp.


Member Function Documentation

void tuttle::plugin::viewer::ViewerPlugin::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 24 of file ViewerPlugin.cpp.

ViewerProcessParams< ViewerPlugin::Scalar > tuttle::plugin::viewer::ViewerPlugin::getProcessParams ( const OfxPointD renderScale = OFX::kNoRenderScale) const

Definition at line 18 of file ViewerPlugin.cpp.

bool tuttle::plugin::viewer::ViewerPlugin::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 28 of file ViewerPlugin.cpp.


The documentation for this class was generated from the following files: