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