TuttleOFX  1
tuttle::plugin::ReaderPlugin Class Reference

#include <ReaderPlugin.hpp>

Public Member Functions

 ReaderPlugin (OfxImageEffectHandle handle)
virtual ~ReaderPlugin ()=0
virtual void changedParam (const OFX::InstanceChangedArgs &args, const std::string &paramName)
virtual bool getRegionOfDefinition (const OFX::RegionOfDefinitionArguments &args, OfxRectD &rod)=0
virtual void getClipPreferences (OFX::ClipPreferencesSetter &clipPreferences)
virtual bool getTimeDomain (OfxRangeD &range)
virtual void render (const OFX::RenderArguments &args)
std::string getAbsoluteFilenameAt (const OfxTime time) const
std::string getAbsoluteFirstFilename () const
OfxTime getFirstTime () const
OfxTime getLastTime () const
EParamReaderBitDepth getExplicitBitDepthConversion () const
EParamReaderChannel getExplicitChannelConversion () const
OFX::EBitDepth getOfxExplicitConversion () const

Data Fields

OFX::Clip * _clipDst
user parameters
OFX::StringParam * _paramFilepath
 File path.
OFX::ChoiceParam * _paramBitDepth
 Explicit bit depth conversion.
OFX::ChoiceParam * _paramChannel

Protected Member Functions

virtual bool varyOnTime () const

Private Attributes

bool _isSequence
sequenceParser::Sequence _filePattern
 Filename pattern manager.

Detailed Description

Definition at line 16 of file ReaderPlugin.hpp.


Constructor & Destructor Documentation

tuttle::plugin::ReaderPlugin::ReaderPlugin ( OfxImageEffectHandle  handle)
tuttle::plugin::ReaderPlugin::~ReaderPlugin ( ) [pure virtual]

Definition at line 18 of file ReaderPlugin.cpp.


Member Function Documentation

void tuttle::plugin::ReaderPlugin::changedParam ( const OFX::InstanceChangedArgs &  args,
const std::string &  paramName 
) [virtual]
std::string tuttle::plugin::ReaderPlugin::getAbsoluteFilenameAt ( const OfxTime  time) const [inline]

Definition at line 31 of file ReaderPlugin.hpp.

References _filePattern, _isSequence, and _paramFilepath.

Referenced by render().

std::string tuttle::plugin::ReaderPlugin::getAbsoluteFirstFilename ( ) const [inline]

Definition at line 46 of file ReaderPlugin.hpp.

References _filePattern, _isSequence, and _paramFilepath.

EParamReaderBitDepth tuttle::plugin::ReaderPlugin::getExplicitBitDepthConversion ( ) const [inline]

Definition at line 70 of file ReaderPlugin.hpp.

References _paramBitDepth.

Referenced by getClipPreferences(), and getOfxExplicitConversion().

EParamReaderChannel tuttle::plugin::ReaderPlugin::getExplicitChannelConversion ( ) const [inline]

Definition at line 76 of file ReaderPlugin.hpp.

References _paramChannel.

Referenced by getClipPreferences().

OfxTime tuttle::plugin::ReaderPlugin::getFirstTime ( ) const [inline]

Definition at line 54 of file ReaderPlugin.hpp.

References _filePattern, and _isSequence.

Referenced by getTimeDomain().

OfxTime tuttle::plugin::ReaderPlugin::getLastTime ( ) const [inline]

Definition at line 62 of file ReaderPlugin.hpp.

References _filePattern, and _isSequence.

Referenced by getTimeDomain().

virtual bool tuttle::plugin::ReaderPlugin::getRegionOfDefinition ( const OFX::RegionOfDefinitionArguments &  args,
OfxRectD &  rod 
) [pure virtual]
bool tuttle::plugin::ReaderPlugin::getTimeDomain ( OfxRangeD &  range) [virtual]

Definition at line 79 of file ReaderPlugin.cpp.

References getFirstTime(), getLastTime(), TUTTLE_INFO, and TUTTLE_TLOG.

Here is the call graph for this function:

void tuttle::plugin::ReaderPlugin::render ( const OFX::RenderArguments &  args) [virtual]

Definition at line 87 of file ReaderPlugin.cpp.

References getAbsoluteFilenameAt(), and TUTTLE_LOG_INFO.

Here is the call graph for this function:

virtual bool tuttle::plugin::ReaderPlugin::varyOnTime ( ) const [inline, protected, virtual]

Definition at line 98 of file ReaderPlugin.hpp.

References _isSequence.

Referenced by getClipPreferences().


Field Documentation

Destination image clip

Definition at line 101 of file ReaderPlugin.hpp.

Referenced by getClipPreferences(), and ReaderPlugin().

sequenceParser::Sequence tuttle::plugin::ReaderPlugin::_filePattern [private]

Filename pattern manager.

Definition at line 111 of file ReaderPlugin.hpp.

Referenced by changedParam(), getAbsoluteFilenameAt(), getAbsoluteFirstFilename(), getFirstTime(), getLastTime(), and ReaderPlugin().

Explicit bit depth conversion.

Definition at line 105 of file ReaderPlugin.hpp.

Referenced by getExplicitBitDepthConversion(), and ReaderPlugin().

Explicit component conversion

Definition at line 106 of file ReaderPlugin.hpp.

Referenced by getExplicitChannelConversion(), and ReaderPlugin().


The documentation for this class was generated from the following files: