TuttleOFX
1
|
Fade process. More...
#include <FadeProcess.hpp>
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 |
Fade process.
Definition at line 15 of file FadeProcess.hpp.
typedef boost::gil::channel_type<View>::type tuttle::plugin::fade::FadeProcess< View >::Channel |
Definition at line 19 of file FadeProcess.hpp.
typedef View::value_type tuttle::plugin::fade::FadeProcess< View >::Pixel |
Reimplemented from tuttle::plugin::ImageGilProcessor< View >.
Definition at line 18 of file FadeProcess.hpp.
typedef float tuttle::plugin::fade::FadeProcess< View >::Scalar |
Definition at line 20 of file FadeProcess.hpp.
tuttle::plugin::fade::FadeProcess< View >::FadeProcess | ( | FadePlugin & | effect | ) |
Definition at line 61 of file FadeProcess.tcc.
void tuttle::plugin::fade::FadeProcess< 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 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.
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.
FadeProcessParams tuttle::plugin::fade::FadeProcess< View >::_params [protected] |
parameters
Definition at line 23 of file FadeProcess.hpp.
FadePlugin& tuttle::plugin::fade::FadeProcess< View >::_plugin [protected] |
Rendering plugin.
Definition at line 22 of file FadeProcess.hpp.
boost::scoped_ptr<OFX::Image> tuttle::plugin::fade::FadeProcess< View >::_srcA [protected] |
Definition at line 27 of file FadeProcess.hpp.
boost::scoped_ptr<OFX::Image> tuttle::plugin::fade::FadeProcess< View >::_srcB [protected] |
Definition at line 28 of file FadeProcess.hpp.
OfxRectI tuttle::plugin::fade::FadeProcess< View >::_srcPixelRodA [protected] |
Definition at line 29 of file FadeProcess.hpp.
OfxRectI tuttle::plugin::fade::FadeProcess< View >::_srcPixelRodB [protected] |
Definition at line 30 of file FadeProcess.hpp.
View tuttle::plugin::fade::FadeProcess< View >::_srcViewA [protected] |
Source view A.
Definition at line 25 of file FadeProcess.hpp.
View tuttle::plugin::fade::FadeProcess< View >::_srcViewB [protected] |
Source view B.
Definition at line 26 of file FadeProcess.hpp.