TuttleOFX
1
|
00001 #ifndef _TUTTLE_PLUGIN_DEBUGIMAGEEFFECTAPI_PROCESS_HPP_ 00002 #define _TUTTLE_PLUGIN_DEBUGIMAGEEFFECTAPI_PROCESS_HPP_ 00003 00004 #include "DebugImageEffectApiPlugin.hpp" 00005 00006 #include <terry/globals.hpp> 00007 #include <tuttle/plugin/ImageGilFilterProcessor.hpp> 00008 #include <tuttle/plugin/exceptions.hpp> 00009 00010 #include <boost/scoped_ptr.hpp> 00011 00012 namespace tuttle { 00013 namespace plugin { 00014 namespace debugImageEffectApi { 00015 00016 /** 00017 * @brief DebugImageEffectApi process 00018 * 00019 */ 00020 template<class View> 00021 class DebugImageEffectApiProcess : public ImageGilFilterProcessor<View> 00022 { 00023 protected: 00024 DebugImageEffectApiPlugin& _plugin; ///< Rendering plugin 00025 00026 public: 00027 DebugImageEffectApiProcess( DebugImageEffectApiPlugin& instance ); 00028 00029 void setup( const OFX::RenderArguments& args ); 00030 00031 // Do some processing 00032 void multiThreadProcessImages( const OfxRectI& procWindowRoW ); 00033 }; 00034 00035 } 00036 } 00037 } 00038 00039 #include "DebugImageEffectApiProcess.tcc" 00040 00041 #endif