TuttleOFX
1
|
PushPixel process. More...
#include <PushPixelProcess.hpp>
Public Types | |
typedef float | Scalar |
typedef View::value_type | Pixel |
typedef terry::image_from_view < View >::type | Image |
typedef View::point_t | Point |
Public Member Functions | |
PushPixelProcess (PushPixelPlugin &effect) | |
void | preProcess () |
called before any MP is done | |
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 | |
PushPixelPlugin & | _plugin |
Rendering plugin. | |
PushPixelProcessParams< Scalar > | _params |
OFX::Clip * | _clipMask |
Source image clip. | |
bool | _clipMaskConnected |
boost::scoped_ptr< OFX::Image > | _mask |
OfxRectI | _maskPixelRod |
View | _maskView |
PushPixel process.
Definition at line 16 of file PushPixelProcess.hpp.
typedef terry::image_from_view<View>::type tuttle::plugin::pushPixel::PushPixelProcess< View >::Image |
Reimplemented from tuttle::plugin::ImageGilProcessor< View >.
Definition at line 21 of file PushPixelProcess.hpp.
typedef View::value_type tuttle::plugin::pushPixel::PushPixelProcess< View >::Pixel |
Reimplemented from tuttle::plugin::ImageGilProcessor< View >.
Definition at line 20 of file PushPixelProcess.hpp.
typedef View::point_t tuttle::plugin::pushPixel::PushPixelProcess< View >::Point |
Definition at line 22 of file PushPixelProcess.hpp.
typedef float tuttle::plugin::pushPixel::PushPixelProcess< View >::Scalar |
Definition at line 19 of file PushPixelProcess.hpp.
tuttle::plugin::pushPixel::PushPixelProcess< View >::PushPixelProcess | ( | PushPixelPlugin & | effect | ) |
Definition at line 25 of file PushPixelProcess.tcc.
References tuttle::plugin::pushPixel::PushPixelProcess< View >::_clipMask, tuttle::plugin::pushPixel::PushPixelProcess< View >::_clipMaskConnected, OFX::ImageEffect::fetchClip(), OFX::Clip::isConnected(), and tuttle::plugin::pushPixel::kClipMask.
void tuttle::plugin::pushPixel::PushPixelProcess< 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 78 of file PushPixelProcess.tcc.
References tuttle::plugin::merge::copy_pixels(), terry::sampler::eParamFilterOutBlack, tuttle::plugin::pushPixel::eParamInterpolationBilinear, tuttle::plugin::pushPixel::eParamInterpolationNearest, tuttle::plugin::pushPixel::eParamOutputMotionVectors, tuttle::plugin::pushPixel::eParamOutputPushPixel, tuttle::plugin::merge::fill_pixels(), terry::get_black(), tuttle::host::graph::make(), terry::filter::modifyVectors(), tuttle::rectanglesIntersection(), terry::subimage_view(), tuttle::translateRegion(), TUTTLE_LOG_ERROR, boost::gil::view(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.
void tuttle::plugin::pushPixel::PushPixelProcess< View >::preProcess | ( | ) | [inline, virtual] |
called before any MP is done
Reimplemented from tuttle::plugin::ImageProcessor.
Definition at line 37 of file PushPixelProcess.hpp.
References tuttle::plugin::ImageProcessor::_renderArgs, tuttle::plugin::OfxProgress::progressBegin(), OFX::RenderArguments::renderWindow, and OfxRectI::y2.
void tuttle::plugin::pushPixel::PushPixelProcess< View >::setup | ( | const OFX::RenderArguments & | args | ) | [virtual] |
Reimplemented from tuttle::plugin::ImageGilFilterProcessor< View >.
Definition at line 34 of file PushPixelProcess.tcc.
References OFX::getImageEffectHostDescription(), OFX::RenderArguments::renderScale, and OFX::RenderArguments::time.
OFX::Clip* tuttle::plugin::pushPixel::PushPixelProcess< View >::_clipMask [protected] |
Source image clip.
Definition at line 28 of file PushPixelProcess.hpp.
Referenced by tuttle::plugin::pushPixel::PushPixelProcess< View >::PushPixelProcess().
bool tuttle::plugin::pushPixel::PushPixelProcess< View >::_clipMaskConnected [protected] |
Definition at line 29 of file PushPixelProcess.hpp.
Referenced by tuttle::plugin::pushPixel::PushPixelProcess< View >::PushPixelProcess().
boost::scoped_ptr<OFX::Image> tuttle::plugin::pushPixel::PushPixelProcess< View >::_mask [protected] |
Definition at line 30 of file PushPixelProcess.hpp.
OfxRectI tuttle::plugin::pushPixel::PushPixelProcess< View >::_maskPixelRod [protected] |
Definition at line 31 of file PushPixelProcess.hpp.
View tuttle::plugin::pushPixel::PushPixelProcess< View >::_maskView [protected] |
Definition at line 32 of file PushPixelProcess.hpp.
PushPixelProcessParams<Scalar> tuttle::plugin::pushPixel::PushPixelProcess< View >::_params [protected] |
Definition at line 26 of file PushPixelProcess.hpp.
PushPixelPlugin& tuttle::plugin::pushPixel::PushPixelProcess< View >::_plugin [protected] |
Rendering plugin.
Definition at line 24 of file PushPixelProcess.hpp.