TuttleOFX  1
tuttle::plugin::flip::FlipProcess< View > Class Template Reference

Base class. More...

#include <FlipProcess.hpp>

Inheritance diagram for tuttle::plugin::flip::FlipProcess< View >:
Collaboration diagram for tuttle::plugin::flip::FlipProcess< View >:

Public Types

typedef View::value_type Pixel

Public Member Functions

 FlipProcess (FlipPlugin &instance)
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

FlipPlugin_plugin
 Rendering plugin.
FlipProcessParams _params
 process parameters

Detailed Description

template<class View>
class tuttle::plugin::flip::FlipProcess< View >

Base class.

Definition at line 17 of file FlipProcess.hpp.


Member Typedef Documentation

template<class View>
typedef View::value_type tuttle::plugin::flip::FlipProcess< View >::Pixel

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

Definition at line 20 of file FlipProcess.hpp.


Constructor & Destructor Documentation

template<class View >
tuttle::plugin::flip::FlipProcess< View >::FlipProcess ( FlipPlugin instance)

Definition at line 11 of file FlipProcess.tcc.


Member Function Documentation

template<class View >
void tuttle::plugin::flip::FlipProcess< View >::multiThreadProcessImages ( const OfxRectI procWindowRoW) [virtual]

Function called by rendering thread each time a process must be done.

Parameters:
[in]procWindowRoWProcessing window in RoW
Todo:
Need an option to choose the center and modify the ouput RoD. Here (inputRoD == outputRod), so we use the center of the inputRoD.
Todo:
Need to do the same thing than for flip. this->_dstPixelRod.x1 could be different from 0.

Implements tuttle::plugin::ImageProcessor.

Definition at line 28 of file FlipProcess.tcc.

References tuttle::plugin::merge::copy_pixels(), terry::subimage_view(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

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

Field Documentation

template<class View>
FlipProcessParams tuttle::plugin::flip::FlipProcess< View >::_params [protected]

process parameters

Definition at line 24 of file FlipProcess.hpp.

template<class View>
FlipPlugin& tuttle::plugin::flip::FlipProcess< View >::_plugin [protected]

Rendering plugin.

Definition at line 23 of file FlipProcess.hpp.


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