TuttleOFX  1
tuttle::plugin::gamma::GammaPlugin Class Reference

Gamma plugin. More...

#include <GammaPlugin.hpp>

Inheritance diagram for tuttle::plugin::gamma::GammaPlugin:
Collaboration diagram for tuttle::plugin::gamma::GammaPlugin:

Public Types

typedef float Scalar

Public Member Functions

 GammaPlugin (OfxImageEffectHandle handle)
void render (const OFX::RenderArguments &args)
 The overridden render function.
void changedParam (const OFX::InstanceChangedArgs &args, const std::string &paramName)
 called when a param has just had its value changed
GammaProcessParams< ScalargetProcessParams (const OfxPointD &renderScale=OFX::kNoRenderScale) const
EGammaType getGammaType () const

Data Fields

OFX::ChoiceParam_gammaType
OFX::DoubleParam_master
OFX::DoubleParam_red
OFX::DoubleParam_green
OFX::DoubleParam_blue
OFX::DoubleParam_alpha
OFX::BooleanParam_invert

Detailed Description

Gamma plugin.

Definition at line 24 of file GammaPlugin.hpp.


Member Typedef Documentation

Definition at line 27 of file GammaPlugin.hpp.


Constructor & Destructor Documentation


Member Function Documentation

void tuttle::plugin::gamma::GammaPlugin::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 92 of file GammaPlugin.cpp.

References _alpha, _blue, _green, _master, _red, tuttle::plugin::gamma::eGammaTypeChannels, tuttle::plugin::gamma::eGammaTypeGlobal, getGammaType(), tuttle::plugin::gamma::kGammaType, and OFX::Param::setIsSecretAndDisabled().

Referenced by GammaPlugin().

Here is the call graph for this function:

EGammaType tuttle::plugin::gamma::GammaPlugin::getGammaType ( ) const [inline]

Definition at line 46 of file GammaPlugin.hpp.

References _gammaType, and OFX::ChoiceParam::getValue().

Referenced by changedParam().

Here is the call graph for this function:

void tuttle::plugin::gamma::GammaPlugin::render ( const OFX::RenderArguments args) [virtual]

The overridden render function.

Parameters:
[in]argsRendering parameters

Implements OFX::ImageEffect.

Definition at line 87 of file GammaPlugin.cpp.


Field Documentation


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