TuttleOFX  1
tuttle::plugin::print::PrintPlugin Class Reference

Print plugin. More...

#include <PrintPlugin.hpp>

Inheritance diagram for tuttle::plugin::print::PrintPlugin:
Collaboration diagram for tuttle::plugin::print::PrintPlugin:

Public Types

typedef float Scalar

Public Member Functions

 PrintPlugin (OfxImageEffectHandle handle)
PrintProcessParams< 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.

Data Fields

OFX::ChoiceParam_paramMode
OFX::ChoiceParam_paramOutput
OFX::ChoiceParam_paramColor
OFX::Int2DParam_paramPixel
OFX::Int2DParam_paramRegionMin
OFX::Int2DParam_paramRegionMax
OFX::IntParam_paramOutputColumns
OFX::BooleanParam_paramFlip
OFX::BooleanParam_paramOpenGlWindow

Private Member Functions

void updateParams ()

Detailed Description

Print plugin.

Definition at line 28 of file PrintPlugin.hpp.


Member Typedef Documentation

Definition at line 31 of file PrintPlugin.hpp.


Constructor & Destructor Documentation


Member Function Documentation

void tuttle::plugin::print::PrintPlugin::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 67 of file PrintPlugin.cpp.

References updateParams().

Here is the call graph for this function:

bool tuttle::plugin::print::PrintPlugin::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 73 of file PrintPlugin.cpp.

void tuttle::plugin::print::PrintPlugin::render ( const OFX::RenderArguments args) [virtual]

The overridden render function.

Parameters:
[in]argsRendering parameters

Implements OFX::ImageEffect.

Definition at line 82 of file PrintPlugin.cpp.

void tuttle::plugin::print::PrintPlugin::updateParams ( ) [private]

Field Documentation


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