TuttleOFX  1
ViewerProcess.tcc
Go to the documentation of this file.
00001 #include "ViewerAlgorithm.hpp"
00002 
00003 #include <terry/algorithm/pixel_by_channel.hpp>
00004 
00005 
00006 namespace tuttle {
00007 namespace plugin {
00008 namespace viewer {
00009 
00010 
00011 
00012 template<class View>
00013 ViewerProcess<View>::ViewerProcess( ViewerPlugin &effect )
00014 : ImageGilFilterProcessor<View>( effect, eImageOrientationFromBottomToTop )
00015 , _plugin( effect )
00016 {
00017         this->setNoMultiThreading();
00018 }
00019 
00020 template<class View>
00021 void ViewerProcess<View>::setup( const OFX::RenderArguments& args )
00022 {
00023         ImageGilFilterProcessor<View>::setup( args );
00024         _params = _plugin.getProcessParams( args.renderScale );
00025 }
00026 
00027 /**
00028  * @brief Function called by rendering thread each time a process must be done.
00029  * @param[in] procWindowRoW  Processing window
00030  */
00031 template<class View>
00032 void ViewerProcess<View>::multiThreadProcessImages( const OfxRectI& procWindowRoW )
00033 {
00034 }
00035 
00036 }
00037 }
00038 }