TuttleOFX  1
tuttle::plugin::constant::ConstantProcess< View > Class Template Reference

#include <ConstantProcess.hpp>

Inheritance diagram for tuttle::plugin::constant::ConstantProcess< View >:
Collaboration diagram for tuttle::plugin::constant::ConstantProcess< View >:

Public Types

typedef View::value_type Pixel
typedef View::point_t Point
typedef
terry::generator::ConstantColorViewFactory
< Pixel >::ConstantVirtualView 
ConstantVirtualView

Public Member Functions

 ConstantProcess (ConstantPlugin &instance)
void setup (const OFX::RenderArguments &args)
ConstantParams< View > getParams ()
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 Function called by rendering thread each time a process must be done.

Protected Attributes

ConstantPlugin_plugin
 Rendering plugin.
ConstantParams< View > _params

Detailed Description

template<class View>
class tuttle::plugin::constant::ConstantProcess< View >

Definition at line 29 of file ConstantProcess.hpp.


Member Typedef Documentation

template<class View >
typedef View::value_type tuttle::plugin::constant::ConstantProcess< View >::Pixel

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

Definition at line 32 of file ConstantProcess.hpp.

template<class View >
typedef View::point_t tuttle::plugin::constant::ConstantProcess< View >::Point

Definition at line 33 of file ConstantProcess.hpp.


Constructor & Destructor Documentation

template<class View >
tuttle::plugin::constant::ConstantProcess< View >::ConstantProcess ( ConstantPlugin instance)

Definition at line 14 of file ConstantProcess.tcc.


Member Function Documentation

template<class View >
ConstantParams< View > tuttle::plugin::constant::ConstantProcess< View >::getParams ( )

Definition at line 19 of file ConstantProcess.tcc.

References boost::gil::color_convert().

Here is the call graph for this function:

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

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

Parameters:
[in]procWindowRoWProcessing window in RoW

Implements tuttle::plugin::ImageProcessor.

Definition at line 43 of file ConstantProcess.tcc.

References terry::subimage_view(), terry::algorithm::transform_pixels_progress(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

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

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

Definition at line 30 of file ConstantProcess.tcc.


Field Documentation

template<class View >
ConstantParams<View> tuttle::plugin::constant::ConstantProcess< View >::_params [protected]

Definition at line 39 of file ConstantProcess.hpp.

template<class View >
ConstantPlugin& tuttle::plugin::constant::ConstantProcess< View >::_plugin [protected]

Rendering plugin.

Definition at line 37 of file ConstantProcess.hpp.


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