TuttleOFX  1
tuttle::plugin::floodFill::FloodFillProcess< View > Class Template Reference

FloodFill process. More...

#include <FloodFillProcess.hpp>

Inheritance diagram for tuttle::plugin::floodFill::FloodFillProcess< View >:
Collaboration diagram for tuttle::plugin::floodFill::FloodFillProcess< View >:

Public Types

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

Public Member Functions

 FloodFillProcess (FloodFillPlugin &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

FloodFillPlugin_plugin
 Rendering plugin.
FloodFillProcessParams< Scalar_params
 parameters
bool _isConstantImage
Scalar _lowerThres
Scalar _upperThres

Detailed Description

template<class View>
class tuttle::plugin::floodFill::FloodFillProcess< View >

FloodFill process.

Definition at line 16 of file FloodFillProcess.hpp.


Member Typedef Documentation

template<class View >
typedef boost::gil::channel_type<View>::type tuttle::plugin::floodFill::FloodFillProcess< View >::Channel

Definition at line 20 of file FloodFillProcess.hpp.

template<class View >
typedef View::value_type tuttle::plugin::floodFill::FloodFillProcess< View >::Pixel

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

Definition at line 19 of file FloodFillProcess.hpp.

template<class View >
typedef float tuttle::plugin::floodFill::FloodFillProcess< View >::Scalar

Definition at line 21 of file FloodFillProcess.hpp.


Constructor & Destructor Documentation

Definition at line 22 of file FloodFillProcess.tcc.

References tuttle::plugin::ImageProcessor::setNoMultiThreading().

Here is the call graph for this function:


Member Function Documentation

template<class View >
void tuttle::plugin::floodFill::FloodFillProcess< View >::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 67 of file FloodFillProcess.tcc.

References tuttle::plugin::floodFill::eParamMethod4, tuttle::plugin::floodFill::eParamMethod8, tuttle::plugin::floodFill::eParamMethodBruteForce, tuttle::plugin::merge::fill_pixels(), tuttle::plugin::ofxToGil(), tuttle::rectangleReduce(), and tuttle::rectanglesIntersection().

Here is the call graph for this function:


Field Documentation

template<class View >
bool tuttle::plugin::floodFill::FloodFillProcess< View >::_isConstantImage [protected]

Definition at line 26 of file FloodFillProcess.hpp.

template<class View >
Scalar tuttle::plugin::floodFill::FloodFillProcess< View >::_lowerThres [protected]

Definition at line 27 of file FloodFillProcess.hpp.

parameters

Definition at line 24 of file FloodFillProcess.hpp.

template<class View >
FloodFillPlugin& tuttle::plugin::floodFill::FloodFillProcess< View >::_plugin [protected]

Rendering plugin.

Definition at line 23 of file FloodFillProcess.hpp.

template<class View >
Scalar tuttle::plugin::floodFill::FloodFillProcess< View >::_upperThres [protected]

Definition at line 28 of file FloodFillProcess.hpp.


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