TuttleOFX
1
|
OCIO LUT plugin. More...
#include <OCIOLutPlugin.hpp>
Public Member Functions | |
OCIOLutPlugin (OfxImageEffectHandle handle) | |
void | render (const OFX::RenderArguments &args) |
The overridden render function. | |
OCIOLutProcessParams | getProcessParams (const OfxPointD &renderScale=OFX::kNoRenderScale) const |
EInterpolationType | getInterpolationType () const |
OCIO_NAMESPACE::Interpolation | getOCIOInterpolationType (EInterpolationType tuttleInterpolationType) const |
Data Fields | |
OFX::StringParam * | _paramFilename |
OFX::ChoiceParam * | _paramInterpolationType |
OCIO LUT plugin.
Definition at line 26 of file OCIOLutPlugin.hpp.
tuttle::plugin::ocio::lut::OCIOLutPlugin::OCIOLutPlugin | ( | OfxImageEffectHandle | handle | ) |
Definition at line 19 of file OCIOLutPlugin.cpp.
References _paramFilename, _paramInterpolationType, OFX::ParamSet::fetchChoiceParam(), OFX::ParamSet::fetchStringParam(), tuttle::plugin::ocio::lut::kParamInterpolationType, and tuttle::plugin::kTuttlePluginFilename.
EInterpolationType tuttle::plugin::ocio::lut::OCIOLutPlugin::getInterpolationType | ( | ) | const [inline] |
Definition at line 41 of file OCIOLutPlugin.hpp.
References _paramInterpolationType, and OFX::ChoiceParam::getValue().
OCIO_NAMESPACE::Interpolation tuttle::plugin::ocio::lut::OCIOLutPlugin::getOCIOInterpolationType | ( | EInterpolationType | tuttleInterpolationType | ) | const [inline] |
Definition at line 46 of file OCIOLutPlugin.hpp.
References tuttle::plugin::ocio::lut::eInterpolationTypeLinear, tuttle::plugin::ocio::lut::eInterpolationTypeNearest, and tuttle::plugin::ocio::lut::eInterpolationTypeTetrahedral.
Referenced by getProcessParams().
OCIOLutProcessParams tuttle::plugin::ocio::lut::OCIOLutPlugin::getProcessParams | ( | const OfxPointD & | renderScale = OFX::kNoRenderScale | ) | const |
Definition at line 84 of file OCIOLutPlugin.cpp.
References tuttle::plugin::ocio::lut::OCIOLutProcessParams::_interpolationType, _paramFilename, _paramInterpolationType, getOCIOInterpolationType(), OFX::StringParam::getValue(), and OFX::ChoiceParam::getValue().
void tuttle::plugin::ocio::lut::OCIOLutPlugin::render | ( | const OFX::RenderArguments & | args | ) | [virtual] |
The overridden render function.
[in] | args | Rendering parameters |
Implements OFX::ImageEffect.
Definition at line 31 of file OCIOLutPlugin.cpp.
References tuttle::plugin::ImageEffectGilPlugin::_clipDst, OFX::eBitDepthCustom, OFX::eBitDepthFloat, OFX::eBitDepthNone, OFX::eBitDepthUByte, OFX::eBitDepthUShort, OFX::ePixelComponentAlpha, OFX::ePixelComponentCustom, OFX::ePixelComponentNone, OFX::ePixelComponentRGB, OFX::ePixelComponentRGBA, OFX::Clip::getPixelComponents(), OFX::Clip::getPixelDepth(), OFX::mapBitDepthEnumToString(), and OFX::mapPixelComponentEnumToString().
Definition at line 36 of file OCIOLutPlugin.hpp.
Referenced by getProcessParams(), and OCIOLutPlugin().
Definition at line 37 of file OCIOLutPlugin.hpp.
Referenced by getInterpolationType(), getProcessParams(), and OCIOLutPlugin().