TuttleOFX
1
|
MathOperator process. More...
#include <MathOperatorProcess.hpp>
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) |
MathOperator process.
Definition at line 15 of file MathOperatorProcess.hpp.
typedef boost::gil::channel_type<View>::type tuttle::plugin::mathOperator::MathOperatorProcess< View >::Channel |
Definition at line 19 of file MathOperatorProcess.hpp.
typedef View::value_type tuttle::plugin::mathOperator::MathOperatorProcess< View >::Pixel |
Reimplemented from tuttle::plugin::ImageGilProcessor< View >.
Definition at line 18 of file MathOperatorProcess.hpp.
typedef float tuttle::plugin::mathOperator::MathOperatorProcess< View >::Scalar |
Definition at line 20 of file MathOperatorProcess.hpp.
tuttle::plugin::mathOperator::MathOperatorProcess< View >::MathOperatorProcess | ( | MathOperatorPlugin & | effect | ) |
Definition at line 12 of file MathOperatorProcess.tcc.
void tuttle::plugin::mathOperator::MathOperatorProcess< View >::multiThreadProcessImages | ( | const OfxRectI & | procWindowRoW | ) | [virtual] |
Function called by rendering thread each time a process must be done.
[in] | procWindowRoW | Processing window |
Implements tuttle::plugin::ImageProcessor.
Definition at line 30 of file MathOperatorProcess.tcc.
References tuttle::plugin::mathOperator::eMathOperatorOperatorLn, tuttle::plugin::mathOperator::eMathOperatorOperatorLog, tuttle::plugin::mathOperator::eMathOperatorOperatorMultiply, tuttle::plugin::mathOperator::eMathOperatorOperatorPlus, tuttle::plugin::mathOperator::eMathOperatorOperatorPow, and tuttle::plugin::mathOperator::eMathOperatorOperatorSqrt.
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.
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.
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.
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.
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.
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.
void tuttle::plugin::mathOperator::MathOperatorProcess< View >::setup | ( | const OFX::RenderArguments & | args | ) | [virtual] |
Reimplemented from tuttle::plugin::ImageGilFilterProcessor< View >.
Definition at line 19 of file MathOperatorProcess.tcc.
References OFX::RenderArguments::renderScale.
MathOperatorProcessParams<Scalar> tuttle::plugin::mathOperator::MathOperatorProcess< View >::_params [protected] |
parameters
Definition at line 23 of file MathOperatorProcess.hpp.
MathOperatorPlugin& tuttle::plugin::mathOperator::MathOperatorProcess< View >::_plugin [protected] |
Rendering plugin.
Definition at line 22 of file MathOperatorProcess.hpp.