TuttleOFX
1
|
00001 #ifndef _TUTTLE_PLUGIN_RAMP_PLUGIN_HPP_ 00002 #define _TUTTLE_PLUGIN_RAMP_PLUGIN_HPP_ 00003 00004 #include "RampDefinitions.hpp" 00005 00006 #include <tuttle/plugin/context/GeneratorPlugin.hpp> 00007 #include <tuttle/plugin/ImageEffectGilPlugin.hpp> 00008 00009 namespace tuttle { 00010 namespace plugin { 00011 namespace ramp { 00012 00013 /** 00014 * @brief Ramp plugin 00015 */ 00016 class RampPlugin : public GeneratorPlugin 00017 { 00018 public: 00019 RampPlugin( OfxImageEffectHandle handle ); 00020 00021 public: 00022 00023 void getClipPreferences( OFX::ClipPreferencesSetter& clipPreferences ); 00024 void render( const OFX::RenderArguments &args ); 00025 00026 public: 00027 OFX::ChoiceParam* _direction; 00028 00029 OFX::RGBAParam* _colorStart; 00030 OFX::RGBAParam* _colorEnd; 00031 00032 OFX::BooleanParam* _color; 00033 }; 00034 00035 } 00036 } 00037 } 00038 00039 #endif