TuttleOFX
1
|
00001 #ifndef _TUTTLE_PLUGIN_COLORCUBE_PLUGIN_HPP_ 00002 #define _TUTTLE_PLUGIN_COLORCUBE_PLUGIN_HPP_ 00003 00004 #include "ColorCubeDefinitions.hpp" 00005 00006 00007 #include <tuttle/plugin/context/GeneratorPlugin.hpp> 00008 #include <tuttle/plugin/ImageEffectGilPlugin.hpp> 00009 00010 namespace tuttle { 00011 namespace plugin { 00012 namespace colorCube { 00013 00014 struct ColorCubeProcessParams 00015 { 00016 size_t step; 00017 }; 00018 00019 /** 00020 * @brief ColorCube plugin 00021 */ 00022 class ColorCubePlugin : public GeneratorPlugin 00023 { 00024 public: 00025 ColorCubePlugin( OfxImageEffectHandle handle ); 00026 00027 public: 00028 ColorCubeProcessParams getProcessParams( ) const; 00029 00030 void getClipPreferences( OFX::ClipPreferencesSetter& clipPreferences ); 00031 void render( const OFX::RenderArguments &args ); 00032 00033 public: 00034 OFX::ChoiceParam* _step; 00035 }; 00036 00037 } 00038 } 00039 } 00040 00041 #endif