|
TuttleOFX
1
|
Warp process. More...
#include <WarpProcess.hpp>


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 |
Warp process.
Definition at line 18 of file WarpProcess.hpp.
| typedef boost::gil::channel_type<View>::type tuttle::plugin::warp::WarpProcess< View >::Channel |
Definition at line 22 of file WarpProcess.hpp.
| typedef View::coord_t tuttle::plugin::warp::WarpProcess< View >::Coord |
Definition at line 25 of file WarpProcess.hpp.
| 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.
| typedef View::value_type tuttle::plugin::warp::WarpProcess< View >::Pixel |
Reimplemented from tuttle::plugin::ImageGilProcessor< View >.
Definition at line 21 of file WarpProcess.hpp.
| typedef View::point_t tuttle::plugin::warp::WarpProcess< View >::Point |
Definition at line 24 of file WarpProcess.hpp.
| typedef WarpPlugin::Scalar tuttle::plugin::warp::WarpProcess< View >::Scalar |
Definition at line 23 of file WarpProcess.hpp.
| 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.

| void tuttle::plugin::warp::WarpProcess< View >::multiThreadProcessImages | ( | const OfxRectI & | procWindowRoW | ) | [virtual] |
Function called by rendering thread each time a process must be done.
| [in] | procWindowRoW | Processing window |
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.

| void tuttle::plugin::warp::WarpProcess< View >::setup | ( | const OFX::RenderArguments & | args | ) | [virtual] |
Reimplemented from tuttle::plugin::ImageGilFilterProcessor< View >.
Definition at line 23 of file WarpProcess.tcc.
References OFX::RenderArguments::renderScale, and OFX::RenderArguments::time.
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().
WarpProcessParams<Scalar> tuttle::plugin::warp::WarpProcess< View >::_params [protected] |
parameters
Definition at line 37 of file WarpProcess.hpp.
WarpPlugin& tuttle::plugin::warp::WarpProcess< View >::_plugin [protected] |
Rendering plugin.
Definition at line 29 of file WarpProcess.hpp.
boost::scoped_ptr<OFX::Image> tuttle::plugin::warp::WarpProcess< View >::_srcB [protected] |
Definition at line 33 of file WarpProcess.hpp.
OfxRectI tuttle::plugin::warp::WarpProcess< View >::_srcBPixelRod [protected] |
Definition at line 34 of file WarpProcess.hpp.
View tuttle::plugin::warp::WarpProcess< View >::_srcBView [protected] |
Definition at line 35 of file WarpProcess.hpp.
TPS_Morpher<Scalar> tuttle::plugin::warp::WarpProcess< View >::_tpsA [protected] |
Definition at line 38 of file WarpProcess.hpp.
TPS_Morpher<Scalar> tuttle::plugin::warp::WarpProcess< View >::_tpsB [protected] |
Definition at line 39 of file WarpProcess.hpp.