TuttleOFX
1
|
00001 #ifndef _TUTTLE_PLUGIN_DUMMY_PLUGIN_HPP_ 00002 #define _TUTTLE_PLUGIN_DUMMY_PLUGIN_HPP_ 00003 00004 #include "DummyDefinitions.hpp" 00005 00006 #include <tuttle/plugin/ImageEffectGilPlugin.hpp> 00007 00008 namespace tuttle { 00009 namespace plugin { 00010 namespace dummy { 00011 00012 template<typename Scalar> 00013 struct DummyProcessParams 00014 { 00015 00016 }; 00017 00018 /** 00019 * @brief Dummy plugin 00020 */ 00021 class DummyPlugin : public ImageEffectGilPlugin 00022 { 00023 public: 00024 typedef float Scalar; 00025 public: 00026 DummyPlugin( OfxImageEffectHandle handle ); 00027 00028 public: 00029 DummyProcessParams<Scalar> getProcessParams( const OfxPointD& renderScale = OFX::kNoRenderScale ) const; 00030 00031 void changedParam( const OFX::InstanceChangedArgs &args, const std::string ¶mName ); 00032 00033 bool isIdentity( const OFX::RenderArguments& args, OFX::Clip*& identityClip, double& identityTime ); 00034 00035 void render( const OFX::RenderArguments &args ); 00036 00037 }; 00038 00039 } 00040 } 00041 } 00042 00043 #endif