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