TuttleOFX  1
ImageMagickReaderPlugin.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_PLUGIN_IMAGEMAGICK_READER_PLUGIN_HPP_
00002 #define _TUTTLE_PLUGIN_IMAGEMAGICK_READER_PLUGIN_HPP_
00003 
00004 #include <tuttle/plugin/context/ReaderPlugin.hpp>
00005 
00006 namespace tuttle {
00007 namespace plugin {
00008 namespace imagemagick {
00009 namespace reader {
00010 
00011 struct ImageMagickReaderProcessParams
00012 {
00013         std::string _filepath;       ///< filepath
00014 };
00015 
00016 /**
00017  * @brief ImageMagick reader
00018  *
00019  */
00020 class ImageMagickReaderPlugin : public ReaderPlugin
00021 {
00022 public:
00023         ImageMagickReaderPlugin( OfxImageEffectHandle handle );
00024 
00025 public:
00026         ImageMagickReaderProcessParams getProcessParams( const OfxTime time );
00027         void                           render( const OFX::RenderArguments& args );
00028         void                           changedParam( const OFX::InstanceChangedArgs& args, const std::string& paramName );
00029         bool                           getRegionOfDefinition( const OFX::RegionOfDefinitionArguments& args, OfxRectD& rod );
00030         void                           getClipPreferences( OFX::ClipPreferencesSetter& clipPreferences );
00031 };
00032 
00033 }
00034 }
00035 }
00036 }
00037 
00038 #endif