TuttleOFX  1
tuttle::plugin::crop::CropProcess< View > Class Template Reference

Base class. More...

#include <CropProcess.hpp>

Inheritance diagram for tuttle::plugin::crop::CropProcess< View >:
Collaboration diagram for tuttle::plugin::crop::CropProcess< View >:

Public Types

typedef View::value_type Pixel

Public Member Functions

 CropProcess (CropPlugin &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

CropPlugin_plugin
 Rendering plugin.
CropProcessParams< Pixel_params
 process parameters

Detailed Description

template<class View>
class tuttle::plugin::crop::CropProcess< View >

Base class.

Definition at line 17 of file CropProcess.hpp.


Member Typedef Documentation

template<class View>
typedef View::value_type tuttle::plugin::crop::CropProcess< View >::Pixel

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

Definition at line 20 of file CropProcess.hpp.


Constructor & Destructor Documentation

template<class View >
tuttle::plugin::crop::CropProcess< View >::CropProcess ( CropPlugin instance)

Definition at line 18 of file CropProcess.tcc.


Member Function Documentation

template<class View >
void tuttle::plugin::crop::CropProcess< 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 37 of file CropProcess.tcc.

References tuttle::plugin::merge::copy_pixels(), tuttle::plugin::merge::fill_pixels(), tuttle::plugin::ofxToGil(), tuttle::rectanglesIntersection(), terry::subimage_view(), and tuttle::translateRegion().

Here is the call graph for this function:

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

Field Documentation

template<class View>
CropProcessParams<Pixel> tuttle::plugin::crop::CropProcess< View >::_params [protected]

process parameters

Definition at line 24 of file CropProcess.hpp.

template<class View>
CropPlugin& tuttle::plugin::crop::CropProcess< View >::_plugin [protected]

Rendering plugin.

Definition at line 23 of file CropProcess.hpp.


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