TuttleOFX  1
ColorSpaceProcess.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_COLORSPACE_PROCESS_HPP_
00002 #define _TUTTLE_COLORSPACE_PROCESS_HPP_
00003 
00004 #include <tuttle/plugin/ImageGilFilterProcessor.hpp>
00005 #include <tuttle/plugin/exceptions.hpp>
00006 #include <terry/globals.hpp>
00007 
00008 #include <ofxsImageEffect.h>
00009 #include <ofxsMultiThread.h>
00010 
00011 #include <boost/scoped_ptr.hpp>
00012 
00013 namespace tuttle {
00014 namespace plugin {
00015 namespace colorspace {
00016 
00017 template<class View>
00018 class ColorSpaceProcess : public ImageGilFilterProcessor<View>
00019 {
00020 protected:
00021         ColorSpaceProcessParams _params;
00022 
00023         ColorSpacePlugin& _plugin; ///< Rendering plugin
00024 
00025 public:
00026         ColorSpaceProcess( ColorSpacePlugin& instance );
00027 
00028         void setup( const OFX::RenderArguments& args );
00029 
00030         void multiThreadProcessImages( const OfxRectI& procWindowRoW );
00031 };
00032 
00033 }
00034 }
00035 }
00036 
00037 #include "ColorSpaceProcess.tcc"
00038 
00039 #endif