TuttleOFX
1
|
Plugin rendering. More...
#include <LensDistortProcess.hpp>
Public Member Functions | |
LensDistortProcess (LensDistortPlugin &instance) | |
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 | |
LensDistortPlugin & | _plugin |
LensDistortProcessParams< Scalar > | _p |
LensDistortParams | _params |
Private Types | |
typedef double | Scalar |
Private Member Functions | |
template<class Sampler > | |
void | lensDistort (View &srcView, View &dstView, const OfxRectI &procWindow, const Sampler &sampler=Sampler()) |
Plugin rendering.
Definition at line 27 of file LensDistortProcess.hpp.
typedef double tuttle::plugin::lens::LensDistortProcess< View >::Scalar [private] |
Definition at line 29 of file LensDistortProcess.hpp.
tuttle::plugin::lens::LensDistortProcess< View >::LensDistortProcess | ( | LensDistortPlugin & | instance | ) |
Definition at line 14 of file LensDistortProcess.tcc.
void tuttle::plugin::lens::LensDistortProcess< View >::lensDistort | ( | View & | srcView, |
View & | dstView, | ||
const OfxRectI & | procWindow, | ||
const Sampler & | sampler = Sampler() |
||
) | [private] |
Definition at line 142 of file LensDistortProcess.tcc.
References tuttle::plugin::lens::eParamLensTypeAdvanced, tuttle::plugin::lens::eParamLensTypeFisheye, tuttle::plugin::lens::eParamLensTypeStandard, tuttle::plugin::ofxToGil(), and terry::sampler::resample_pixels_progress().
void tuttle::plugin::lens::LensDistortProcess< 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 44 of file LensDistortProcess.tcc.
References terry::sampler::eParamFilterBC, tuttle::plugin::swscale::eParamFilterBicubic, tuttle::plugin::swscale::eParamFilterBilinear, terry::sampler::eParamFilterCatrom, terry::sampler::eParamFilterGaussian, terry::sampler::eParamFilterKeys, tuttle::plugin::swscale::eParamFilterLanczos, terry::sampler::eParamFilterLanczos12, terry::sampler::eParamFilterLanczos3, terry::sampler::eParamFilterLanczos4, terry::sampler::eParamFilterLanczos6, terry::sampler::eParamFilterMitchell, terry::sampler::eParamFilterNearest, terry::sampler::eParamFilterParzen, terry::sampler::eParamFilterRifman, and terry::sampler::eParamFilterSimon.
void tuttle::plugin::lens::LensDistortProcess< View >::setup | ( | const OFX::RenderArguments & | args | ) | [virtual] |
Reimplemented from tuttle::plugin::ImageGilFilterProcessor< View >.
Definition at line 20 of file LensDistortProcess.tcc.
References rectIntToDouble(), OFX::RenderArguments::renderScale, and OFX::RenderArguments::time.
LensDistortProcessParams<Scalar> tuttle::plugin::lens::LensDistortProcess< View >::_p [protected] |
Definition at line 33 of file LensDistortProcess.hpp.
LensDistortParams tuttle::plugin::lens::LensDistortProcess< View >::_params [protected] |
Definition at line 35 of file LensDistortProcess.hpp.
LensDistortPlugin& tuttle::plugin::lens::LensDistortProcess< View >::_plugin [protected] |
Definition at line 32 of file LensDistortProcess.hpp.