TuttleOFX  1
DummyPlugin.cpp
Go to the documentation of this file.
00001 #include "DummyPlugin.hpp"
00002 #include "DummyProcess.hpp"
00003 #include "DummyDefinitions.hpp"
00004 
00005 #include <boost/gil/gil_all.hpp>
00006 
00007 namespace tuttle {
00008 namespace plugin {
00009 namespace dummy {
00010 
00011 
00012 DummyPlugin::DummyPlugin( OfxImageEffectHandle handle )
00013         : ImageEffectGilPlugin( handle )
00014 {
00015 }
00016 
00017 DummyProcessParams<DummyPlugin::Scalar> DummyPlugin::getProcessParams( const OfxPointD& renderScale ) const
00018 {
00019         DummyProcessParams<Scalar> params;
00020         return params;
00021 }
00022 
00023 void DummyPlugin::changedParam( const OFX::InstanceChangedArgs &args, const std::string &paramName )
00024 {
00025 }
00026 
00027 bool DummyPlugin::isIdentity( const OFX::RenderArguments& args, OFX::Clip*& identityClip, double& identityTime )
00028 {
00029         return true;
00030 }
00031 
00032 /**
00033  * @brief The overridden render function
00034  * @param[in]   args     Rendering parameters
00035  */
00036 void DummyPlugin::render( const OFX::RenderArguments &args )
00037 {
00038         doGilRender<DummyProcess>( *this, args );
00039 }
00040 
00041 
00042 }
00043 }
00044 }