TuttleOFX
1
|
00001 #ifndef _TUTTLE_PLUGIN_CHECKERBOARD_PLUGIN_HPP_ 00002 #define _TUTTLE_PLUGIN_CHECKERBOARD_PLUGIN_HPP_ 00003 00004 #include <tuttle/plugin/context/GeneratorPlugin.hpp> 00005 #include <tuttle/plugin/ImageEffectGilPlugin.hpp> 00006 00007 namespace tuttle { 00008 namespace plugin { 00009 namespace checkerboard { 00010 00011 /** 00012 * @brief 00013 */ 00014 class CheckerboardPlugin : public GeneratorPlugin 00015 { 00016 public: 00017 CheckerboardPlugin( OfxImageEffectHandle handle ); 00018 00019 public: 00020 void render( const OFX::RenderArguments& args ); 00021 void getClipPreferences( OFX::ClipPreferencesSetter& clipPreferences ); 00022 00023 public: 00024 OFX::Int2DParam* _boxes; 00025 OFX::RGBAParam* _color1; 00026 OFX::RGBAParam* _color2; 00027 }; 00028 00029 } 00030 } 00031 } 00032 00033 #endif