TuttleOFX  1
tuttle::plugin::component::ComponentProcess< SView, DView > Class Template Reference

Component process. More...

#include <ComponentProcess.hpp>

Inheritance diagram for tuttle::plugin::component::ComponentProcess< SView, DView >:
Collaboration diagram for tuttle::plugin::component::ComponentProcess< SView, DView >:

Public Types

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

Public Member Functions

 ComponentProcess (ComponentPlugin &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

ComponentPlugin_plugin
 Rendering plugin.
terry::color::components::ConvertionParameters _params
 parameters

Detailed Description

template<class SView, class DView>
class tuttle::plugin::component::ComponentProcess< SView, DView >

Component process.

Definition at line 16 of file ComponentProcess.hpp.


Member Typedef Documentation

template<class SView , class DView >
typedef boost::gil::channel_type<SView>::type tuttle::plugin::component::ComponentProcess< SView, DView >::Channel

Definition at line 20 of file ComponentProcess.hpp.

template<class SView , class DView >
typedef SView::value_type tuttle::plugin::component::ComponentProcess< SView, DView >::Pixel

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

Definition at line 19 of file ComponentProcess.hpp.

template<class SView , class DView >
typedef float tuttle::plugin::component::ComponentProcess< SView, DView >::Scalar

Definition at line 21 of file ComponentProcess.hpp.


Constructor & Destructor Documentation

template<class SView , class DView >
tuttle::plugin::component::ComponentProcess< SView, DView >::ComponentProcess ( ComponentPlugin effect)

Definition at line 10 of file ComponentProcess.tcc.


Member Function Documentation

template<class SView , class DView >
void tuttle::plugin::component::ComponentProcess< SView, DView >::multiThreadProcessImages ( const OfxRectI procWindowRoW) [virtual]

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

Parameters:
[in]procWindowRoWProcessing window

Implements tuttle::plugin::ImageProcessor.

Definition at line 31 of file ComponentProcess.tcc.

References terry::color::components::convertComponentsView(), terry::subimage_view(), tuttle::translateRegion(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<class SView , class DView >
void tuttle::plugin::component::ComponentProcess< SView, DView >::setup ( const OFX::RenderArguments args) [virtual]

Reimplemented from tuttle::plugin::ImageGilFilterProcessor< SView, DView >.

Definition at line 17 of file ComponentProcess.tcc.


Field Documentation

template<class SView , class DView >
terry::color::components::ConvertionParameters tuttle::plugin::component::ComponentProcess< SView, DView >::_params [protected]

parameters

Definition at line 24 of file ComponentProcess.hpp.

template<class SView , class DView >
ComponentPlugin& tuttle::plugin::component::ComponentProcess< SView, DView >::_plugin [protected]

Rendering plugin.

Definition at line 23 of file ComponentProcess.hpp.


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