TuttleOFX  1
tuttle::plugin::pushPixel::PushPixelPlugin Class Reference

PushPixel plugin. More...

#include <PushPixelPlugin.hpp>

Inheritance diagram for tuttle::plugin::pushPixel::PushPixelPlugin:
Collaboration diagram for tuttle::plugin::pushPixel::PushPixelPlugin:

Public Types

typedef float Scalar

Public Member Functions

 PushPixelPlugin (OfxImageEffectHandle handle)
PushPixelProcessParams< ScalargetProcessParams (const OfxPointD &renderScale=OFX::kNoRenderScale) const
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 getRegionsOfInterest (const OFX::RegionsOfInterestArguments &args, OFX::RegionOfInterestSetter &rois)
 the get region of interest action
void render (const OFX::RenderArguments &args)
 The overridden render function.

Data Fields

OFX::Clip_clipSrc
 Source image clip.
OFX::Clip_clipMask
 Mask clip.
OFX::Clip_clipDst
 Destination image clip.
OFX::ChoiceParam_paramOutput
OFX::DoubleParam_paramSize
OFX::BooleanParam_paramNormalizedKernel
OFX::DoubleParam_paramIntensity
OFX::DoubleParam_paramAngle
OFX::ChoiceParam_paramInterpolation
 interpolation method
OFX::ChoiceParam_paramBorder

Detailed Description

PushPixel plugin.

Definition at line 35 of file PushPixelPlugin.hpp.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

void tuttle::plugin::pushPixel::PushPixelPlugin::getRegionsOfInterest ( const OFX::RegionsOfInterestArguments args,
OFX::RegionOfInterestSetter rois 
) [virtual]
bool tuttle::plugin::pushPixel::PushPixelPlugin::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 80 of file PushPixelPlugin.cpp.

References _clipSrc, tuttle::plugin::pushPixel::PushPixelProcessParams< Scalar >::_intensity, tuttle::plugin::pushPixel::PushPixelProcessParams< Scalar >::_size, getProcessParams(), and OFX::RenderArguments::time.

Here is the call graph for this function:

void tuttle::plugin::pushPixel::PushPixelPlugin::render ( const OFX::RenderArguments args) [virtual]

The overridden render function.

Parameters:
[in]argsRendering parameters

Implements OFX::ImageEffect.

Definition at line 120 of file PushPixelPlugin.cpp.

References _clipDst, _clipSrc, OFX::eBitDepthCustom, OFX::eBitDepthFloat, OFX::eBitDepthNone, OFX::eBitDepthUByte, OFX::eBitDepthUShort, OFX::ePixelComponentRGBA, OFX::Clip::getPixelComponents(), OFX::Clip::getPixelDepth(), tuttle::plugin::ImageProcessor::setupAndProcess(), and TUTTLE_LOG_FATAL.

Here is the call graph for this function:


Field Documentation

Destination image clip.

Definition at line 55 of file PushPixelPlugin.hpp.

Referenced by PushPixelPlugin(), and render().


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