TuttleOFX  1
tuttle::plugin::component::ComponentPlugin Class Reference

Component plugin. More...

#include <ComponentPlugin.hpp>

Inheritance diagram for tuttle::plugin::component::ComponentPlugin:
Collaboration diagram for tuttle::plugin::component::ComponentPlugin:

Public Types

typedef float Scalar

Public Member Functions

 ComponentPlugin (OfxImageEffectHandle handle)
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 getClipPreferences (OFX::ClipPreferencesSetter &clipPreferences)
 get the clip preferences
void render (const OFX::RenderArguments &args)
 The overridden render function.

Data Fields

OFX::ChoiceParam_paramToComponent
OFX::ChoiceParam_paramToGrayMethod
OFX::BooleanParam_paramPremultiplied

Detailed Description

Component plugin.

Definition at line 15 of file ComponentPlugin.hpp.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

void tuttle::plugin::component::ComponentPlugin::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 21 of file ComponentPlugin.cpp.

bool tuttle::plugin::component::ComponentPlugin::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 57 of file ComponentPlugin.cpp.

void tuttle::plugin::component::ComponentPlugin::render ( const OFX::RenderArguments args) [virtual]

The overridden render function.

Parameters:
[in]argsRendering parameters

Implements OFX::ImageEffect.

Definition at line 119 of file ComponentPlugin.cpp.

References tuttle::plugin::ImageEffectGilPlugin::_clipDst, and tuttle::plugin::ImageEffectGilPlugin::_clipSrc.


Field Documentation


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