TuttleOFX  1
tuttle::plugin::mathOperator::MathOperatorProcess< View > Class Template Reference

MathOperator process. More...

#include <MathOperatorProcess.hpp>

Inheritance diagram for tuttle::plugin::mathOperator::MathOperatorProcess< View >:
Collaboration diagram for tuttle::plugin::mathOperator::MathOperatorProcess< View >:

Public Types

typedef View::value_type Pixel
typedef
boost::gil::channel_type< View >
::type 
Channel
typedef float Scalar

Public Member Functions

 MathOperatorProcess (MathOperatorPlugin &effect)
void setup (const OFX::RenderArguments &args)
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 Function called by rendering thread each time a process must be done.

Protected Attributes

MathOperatorPlugin_plugin
 Rendering plugin.
MathOperatorProcessParams< Scalar_params
 parameters

Private Member Functions

void processImagePlus (OfxRectI &procWindowOutput, const OfxRectI &procWindowRoW, const boost::gil::rgba32f_pixel_t &values, const boost::gil::rgba8_pixel_t &processChannel)
void processImageMultiply (OfxRectI &procWindowOutput, const OfxRectI &procWindowRoW, const boost::gil::rgba32f_pixel_t &values, const boost::gil::rgba8_pixel_t &processChannel)
void processImagePow (OfxRectI &procWindowOutput, const OfxRectI &procWindowRoW, const boost::gil::rgba32f_pixel_t &values, const boost::gil::rgba8_pixel_t &processChannel)
void processImageSqrt (OfxRectI &procWindowOutput, const OfxRectI &procWindowRoW, const boost::gil::rgba32f_pixel_t &values, const boost::gil::rgba8_pixel_t &processChannel)
void processImageLog (OfxRectI &procWindowOutput, const OfxRectI &procWindowRoW, const boost::gil::rgba32f_pixel_t &values, const boost::gil::rgba8_pixel_t &processChannel)
void processImageLn (OfxRectI &procWindowOutput, const OfxRectI &procWindowRoW, const boost::gil::rgba32f_pixel_t &values, const boost::gil::rgba8_pixel_t &processChannel)

Detailed Description

template<class View>
class tuttle::plugin::mathOperator::MathOperatorProcess< View >

MathOperator process.

Definition at line 15 of file MathOperatorProcess.hpp.


Member Typedef Documentation

template<class View >
typedef boost::gil::channel_type<View>::type tuttle::plugin::mathOperator::MathOperatorProcess< View >::Channel

Definition at line 19 of file MathOperatorProcess.hpp.

template<class View >
typedef View::value_type tuttle::plugin::mathOperator::MathOperatorProcess< View >::Pixel

Reimplemented from tuttle::plugin::ImageGilProcessor< View >.

Definition at line 18 of file MathOperatorProcess.hpp.

template<class View >
typedef float tuttle::plugin::mathOperator::MathOperatorProcess< View >::Scalar

Definition at line 20 of file MathOperatorProcess.hpp.


Constructor & Destructor Documentation

Definition at line 12 of file MathOperatorProcess.tcc.


Member Function Documentation

template<class View >
void tuttle::plugin::mathOperator::MathOperatorProcess< View >::processImageLn ( OfxRectI procWindowOutput,
const OfxRectI procWindowRoW,
const boost::gil::rgba32f_pixel_t &  values,
const boost::gil::rgba8_pixel_t &  processChannel 
) [private]

Definition at line 158 of file MathOperatorAlgorithm.hpp.

References boost::gil::color_convert(), OfxPointI::x, OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<class View >
void tuttle::plugin::mathOperator::MathOperatorProcess< View >::processImageLog ( OfxRectI procWindowOutput,
const OfxRectI procWindowRoW,
const boost::gil::rgba32f_pixel_t &  values,
const boost::gil::rgba8_pixel_t &  processChannel 
) [private]

Definition at line 195 of file MathOperatorAlgorithm.hpp.

References boost::gil::color_convert(), OfxPointI::x, OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<class View >
void tuttle::plugin::mathOperator::MathOperatorProcess< View >::processImageMultiply ( OfxRectI procWindowOutput,
const OfxRectI procWindowRoW,
const boost::gil::rgba32f_pixel_t &  values,
const boost::gil::rgba8_pixel_t &  processChannel 
) [private]

Definition at line 49 of file MathOperatorAlgorithm.hpp.

References boost::gil::color_convert(), OfxPointI::x, OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<class View >
void tuttle::plugin::mathOperator::MathOperatorProcess< View >::processImagePlus ( OfxRectI procWindowOutput,
const OfxRectI procWindowRoW,
const boost::gil::rgba32f_pixel_t &  values,
const boost::gil::rgba8_pixel_t &  processChannel 
) [private]

Definition at line 13 of file MathOperatorAlgorithm.hpp.

References boost::gil::color_convert(), OfxPointI::x, OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<class View >
void tuttle::plugin::mathOperator::MathOperatorProcess< View >::processImagePow ( OfxRectI procWindowOutput,
const OfxRectI procWindowRoW,
const boost::gil::rgba32f_pixel_t &  values,
const boost::gil::rgba8_pixel_t &  processChannel 
) [private]

Definition at line 85 of file MathOperatorAlgorithm.hpp.

References boost::gil::color_convert(), OfxPointI::x, OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<class View >
void tuttle::plugin::mathOperator::MathOperatorProcess< View >::processImageSqrt ( OfxRectI procWindowOutput,
const OfxRectI procWindowRoW,
const boost::gil::rgba32f_pixel_t &  values,
const boost::gil::rgba8_pixel_t &  processChannel 
) [private]

Definition at line 122 of file MathOperatorAlgorithm.hpp.

References boost::gil::color_convert(), OfxPointI::x, OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<class View >
void tuttle::plugin::mathOperator::MathOperatorProcess< View >::setup ( const OFX::RenderArguments args) [virtual]

Field Documentation

parameters

Definition at line 23 of file MathOperatorProcess.hpp.

Rendering plugin.

Definition at line 22 of file MathOperatorProcess.hpp.


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