TuttleOFX  1
tuttle::plugin::warp::WarpProcess< View > Class Template Reference

Warp process. More...

#include <WarpProcess.hpp>

Inheritance diagram for tuttle::plugin::warp::WarpProcess< View >:
Collaboration diagram for tuttle::plugin::warp::WarpProcess< View >:

Public Types

typedef View::value_type Pixel
typedef
boost::gil::channel_type< View >
::type 
Channel
typedef WarpPlugin::Scalar Scalar
typedef View::point_t Point
typedef View::coord_t Coord
typedef terry::image_from_view
< View >::type 
Image

Public Member Functions

 WarpProcess (WarpPlugin &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

WarpPlugin_plugin
 Rendering plugin.
OFX::Clip_clipSrcB
 Source B.
boost::scoped_ptr< OFX::Image_srcB
OfxRectI _srcBPixelRod
View _srcBView
WarpProcessParams< Scalar_params
 parameters
TPS_Morpher< Scalar_tpsA
TPS_Morpher< Scalar_tpsB

Detailed Description

template<class View>
class tuttle::plugin::warp::WarpProcess< View >

Warp process.

Definition at line 18 of file WarpProcess.hpp.


Member Typedef Documentation

template<class View>
typedef boost::gil::channel_type<View>::type tuttle::plugin::warp::WarpProcess< View >::Channel

Definition at line 22 of file WarpProcess.hpp.

template<class View>
typedef View::coord_t tuttle::plugin::warp::WarpProcess< View >::Coord

Definition at line 25 of file WarpProcess.hpp.

template<class View>
typedef terry::image_from_view<View>::type tuttle::plugin::warp::WarpProcess< View >::Image

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

Definition at line 26 of file WarpProcess.hpp.

template<class View>
typedef View::value_type tuttle::plugin::warp::WarpProcess< View >::Pixel

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

Definition at line 21 of file WarpProcess.hpp.

template<class View>
typedef View::point_t tuttle::plugin::warp::WarpProcess< View >::Point

Definition at line 24 of file WarpProcess.hpp.

template<class View>
typedef WarpPlugin::Scalar tuttle::plugin::warp::WarpProcess< View >::Scalar

Definition at line 23 of file WarpProcess.hpp.


Constructor & Destructor Documentation

template<class View >
tuttle::plugin::warp::WarpProcess< View >::WarpProcess ( WarpPlugin effect)

Definition at line 15 of file WarpProcess.tcc.

References tuttle::plugin::warp::WarpProcess< View >::_clipSrcB, OFX::ImageEffect::fetchClip(), and tuttle::plugin::warp::kClipSourceB.

Here is the call graph for this function:


Member Function Documentation

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

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

Parameters:
[in]procWindowRoWProcessing window
Todo:
expose as parameter

Implements tuttle::plugin::ImageProcessor.

Definition at line 61 of file WarpProcess.tcc.

References terry::sampler::eParamFilterOutBlack, terry::subimage_view(), terry::algorithm::transform_pixels_progress(), tuttle::translateRegion(), boost::gil::view(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

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

Field Documentation

template<class View>
OFX::Clip* tuttle::plugin::warp::WarpProcess< View >::_clipSrcB [protected]

Source B.

Definition at line 32 of file WarpProcess.hpp.

Referenced by tuttle::plugin::warp::WarpProcess< View >::WarpProcess().

template<class View>
WarpProcessParams<Scalar> tuttle::plugin::warp::WarpProcess< View >::_params [protected]

parameters

Definition at line 37 of file WarpProcess.hpp.

template<class View>
WarpPlugin& tuttle::plugin::warp::WarpProcess< View >::_plugin [protected]

Rendering plugin.

Definition at line 29 of file WarpProcess.hpp.

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

Definition at line 33 of file WarpProcess.hpp.

template<class View>
OfxRectI tuttle::plugin::warp::WarpProcess< View >::_srcBPixelRod [protected]

Definition at line 34 of file WarpProcess.hpp.

template<class View>
View tuttle::plugin::warp::WarpProcess< View >::_srcBView [protected]

Definition at line 35 of file WarpProcess.hpp.

template<class View>
TPS_Morpher<Scalar> tuttle::plugin::warp::WarpProcess< View >::_tpsA [protected]

Definition at line 38 of file WarpProcess.hpp.

template<class View>
TPS_Morpher<Scalar> tuttle::plugin::warp::WarpProcess< View >::_tpsB [protected]

Definition at line 39 of file WarpProcess.hpp.


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