TuttleOFX  1
tuttle::plugin::merge::MergeProcess< View, Functor > Class Template Reference

Merge process. More...

#include <MergeProcess.hpp>

Inheritance diagram for tuttle::plugin::merge::MergeProcess< View, Functor >:
Collaboration diagram for tuttle::plugin::merge::MergeProcess< View, Functor >:

Public Types

typedef View::value_type Pixel

Public Member Functions

 MergeProcess (MergePlugin &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

MergePlugin_plugin
 Rendering plugin.
MergeProcessParams
< MergePlugin::Scalar
_params
View _srcViewA
 Source view A.
View _srcViewB
 Source view B.
boost::scoped_ptr< OFX::Image_srcA
boost::scoped_ptr< OFX::Image_srcB
OfxRectI _srcPixelRodA
OfxRectI _srcPixelRodB

Detailed Description

template<class View, class Functor>
class tuttle::plugin::merge::MergeProcess< View, Functor >

Merge process.

Definition at line 18 of file MergeProcess.hpp.


Member Typedef Documentation

template<class View, class Functor>
typedef View::value_type tuttle::plugin::merge::MergeProcess< View, Functor >::Pixel

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

Definition at line 21 of file MergeProcess.hpp.


Constructor & Destructor Documentation

template<class View , class Functor >
tuttle::plugin::merge::MergeProcess< View, Functor >::MergeProcess ( MergePlugin instance)

Definition at line 23 of file MergeProcess.tcc.


Member Function Documentation

template<class View , class Functor >
void tuttle::plugin::merge::MergeProcess< View, Functor >::multiThreadProcessImages ( const OfxRectI procWindowRoW) [virtual]

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

Parameters:
[in]procWindowRoWProcessing window in RoW
Todo:
tuttle: fill only the good regions

Implements tuttle::plugin::ImageProcessor.

Definition at line 232 of file MergeProcess.tcc.

References tuttle::plugin::merge::eParamRodA, tuttle::plugin::merge::eParamRodB, tuttle::plugin::merge::eParamRodIntersect, tuttle::plugin::merge::eParamRodUnion, tuttle::plugin::merge::fillAroundIntersection(), terry::merge_views(), tuttle::rectanglesIntersection(), terry::subimage_view(), and tuttle::translateRegion().

Here is the call graph for this function:

template<class View , class Functor >
void tuttle::plugin::merge::MergeProcess< View, Functor >::setup ( const OFX::RenderArguments args) [virtual]

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

Definition at line 29 of file MergeProcess.tcc.

References OFX::getImageEffectHostDescription(), OFX::RenderArguments::renderScale, and OFX::RenderArguments::time.

Here is the call graph for this function:


Field Documentation

template<class View, class Functor>
MergeProcessParams<MergePlugin::Scalar> tuttle::plugin::merge::MergeProcess< View, Functor >::_params [protected]

Definition at line 26 of file MergeProcess.hpp.

template<class View, class Functor>
MergePlugin& tuttle::plugin::merge::MergeProcess< View, Functor >::_plugin [protected]

Rendering plugin.

Definition at line 24 of file MergeProcess.hpp.

template<class View, class Functor>
boost::scoped_ptr<OFX::Image> tuttle::plugin::merge::MergeProcess< View, Functor >::_srcA [protected]

Definition at line 30 of file MergeProcess.hpp.

template<class View, class Functor>
boost::scoped_ptr<OFX::Image> tuttle::plugin::merge::MergeProcess< View, Functor >::_srcB [protected]

Definition at line 31 of file MergeProcess.hpp.

template<class View, class Functor>
OfxRectI tuttle::plugin::merge::MergeProcess< View, Functor >::_srcPixelRodA [protected]

Definition at line 32 of file MergeProcess.hpp.

template<class View, class Functor>
OfxRectI tuttle::plugin::merge::MergeProcess< View, Functor >::_srcPixelRodB [protected]

Definition at line 33 of file MergeProcess.hpp.

template<class View, class Functor>
View tuttle::plugin::merge::MergeProcess< View, Functor >::_srcViewA [protected]

Source view A.

Definition at line 28 of file MergeProcess.hpp.

template<class View, class Functor>
View tuttle::plugin::merge::MergeProcess< View, Functor >::_srcViewB [protected]

Source view B.

Definition at line 29 of file MergeProcess.hpp.


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