TuttleOFX
1
|
00001 #ifndef _TUTTLE_PLUGIN_COLORSUPPRESS_PROCESS_HPP_ 00002 #define _TUTTLE_PLUGIN_COLORSUPPRESS_PROCESS_HPP_ 00003 00004 #include <terry/globals.hpp> 00005 #include <tuttle/plugin/ImageGilFilterProcessor.hpp> 00006 #include <tuttle/plugin/exceptions.hpp> 00007 00008 #include <ofxsImageEffect.h> 00009 #include <ofxsMultiThread.h> 00010 00011 #include <boost/scoped_ptr.hpp> 00012 00013 #include <cstdlib> 00014 #include <cassert> 00015 #include <cmath> 00016 #include <vector> 00017 #include <iostream> 00018 00019 00020 namespace tuttle { 00021 namespace plugin { 00022 namespace colorSuppress { 00023 00024 /** 00025 * @brief ColorSuppress process 00026 * 00027 */ 00028 template<class View> 00029 class ColorSuppressProcess : public ImageGilFilterProcessor<View> 00030 { 00031 protected : 00032 ColorSuppressPlugin& _plugin; ///< Rendering plugin 00033 ColorSuppressProcessParams _params; 00034 00035 public: 00036 ColorSuppressProcess( ColorSuppressPlugin& instance ); 00037 00038 void setup( const OFX::RenderArguments& args ); 00039 00040 // Do some processing 00041 void multiThreadProcessImages( const OfxRectI& procWindowRoW ); 00042 }; 00043 00044 } 00045 } 00046 } 00047 00048 #include "ColorSuppressProcess.tcc" 00049 00050 #endif 00051