TuttleOFX  1
tuttle::plugin::fade::FadeProcess< View > Class Template Reference

Fade process. More...

#include <FadeProcess.hpp>

Inheritance diagram for tuttle::plugin::fade::FadeProcess< View >:
Collaboration diagram for tuttle::plugin::fade::FadeProcess< View >:

Public Types

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

Public Member Functions

 FadeProcess (FadePlugin &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

FadePlugin_plugin
 Rendering plugin.
FadeProcessParams _params
 parameters
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 tuttle::plugin::fade::FadeProcess< View >

Fade process.

Definition at line 15 of file FadeProcess.hpp.


Member Typedef Documentation

template<class View >
typedef boost::gil::channel_type<View>::type tuttle::plugin::fade::FadeProcess< View >::Channel

Definition at line 19 of file FadeProcess.hpp.

template<class View >
typedef View::value_type tuttle::plugin::fade::FadeProcess< View >::Pixel

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

Definition at line 18 of file FadeProcess.hpp.

template<class View >
typedef float tuttle::plugin::fade::FadeProcess< View >::Scalar

Definition at line 20 of file FadeProcess.hpp.


Constructor & Destructor Documentation

template<class View >
tuttle::plugin::fade::FadeProcess< View >::FadeProcess ( FadePlugin effect)

Definition at line 61 of file FadeProcess.tcc.


Member Function Documentation

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

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

Parameters:
[in]procWindowRoWProcessing window
Todo:
tuttle: fill only the good regions
Todo:
tuttle: add color choice fill A and B fill only the good regions
Todo:
tuttle: fill only the good regions
Todo:
tuttle: fill only the good regions
Todo:
tuttle: fill only the good regions
Todo:
tuttle: fill only the good regions

Implements tuttle::plugin::ImageProcessor.

Definition at line 133 of file FadeProcess.tcc.

References boost::gil::color_convert(), tuttle::plugin::merge::copy_pixels(), tuttle::plugin::fade::eParamRodA, tuttle::plugin::fade::eParamRodB, tuttle::plugin::fade::eParamRodIntersect, tuttle::plugin::fade::eParamRodUnion, tuttle::plugin::merge::fill_pixels(), terry::merge_views(), tuttle::rectanglesIntersection(), terry::subimage_view(), terry::algorithm::transform_pixels_progress(), tuttle::translateRegion(), OfxPointI::x, OfxRectI::x1, OfxRectI::x2, OfxPointI::y, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

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

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

Definition at line 68 of file FadeProcess.tcc.

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

Here is the call graph for this function:


Field Documentation

template<class View >
FadeProcessParams tuttle::plugin::fade::FadeProcess< View >::_params [protected]

parameters

Definition at line 23 of file FadeProcess.hpp.

template<class View >
FadePlugin& tuttle::plugin::fade::FadeProcess< View >::_plugin [protected]

Rendering plugin.

Definition at line 22 of file FadeProcess.hpp.

template<class View >
boost::scoped_ptr<OFX::Image> tuttle::plugin::fade::FadeProcess< View >::_srcA [protected]

Definition at line 27 of file FadeProcess.hpp.

template<class View >
boost::scoped_ptr<OFX::Image> tuttle::plugin::fade::FadeProcess< View >::_srcB [protected]

Definition at line 28 of file FadeProcess.hpp.

template<class View >
OfxRectI tuttle::plugin::fade::FadeProcess< View >::_srcPixelRodA [protected]

Definition at line 29 of file FadeProcess.hpp.

template<class View >
OfxRectI tuttle::plugin::fade::FadeProcess< View >::_srcPixelRodB [protected]

Definition at line 30 of file FadeProcess.hpp.

template<class View >
View tuttle::plugin::fade::FadeProcess< View >::_srcViewA [protected]

Source view A.

Definition at line 25 of file FadeProcess.hpp.

template<class View >
View tuttle::plugin::fade::FadeProcess< View >::_srcViewB [protected]

Source view B.

Definition at line 26 of file FadeProcess.hpp.


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