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