TuttleOFX  1
tuttle::plugin::WriterPlugin Class Reference

#include <WriterPlugin.hpp>

Inheritance diagram for tuttle::plugin::WriterPlugin:
Collaboration diagram for tuttle::plugin::WriterPlugin:

Public Member Functions

 WriterPlugin (OfxImageEffectHandle handle)
virtual ~WriterPlugin ()=0
virtual void changedParam (const OFX::InstanceChangedArgs &args, const std::string &paramName)
virtual void getClipPreferences (OFX::ClipPreferencesSetter &clipPreferences)
virtual bool isIdentity (const OFX::RenderArguments &args, OFX::Clip *&identityClip, double &identityTime)
virtual void beginSequenceRender (const OFX::BeginSequenceRenderArguments &args)
virtual void render (const OFX::RenderArguments &args)
std::string getAbsoluteFilenameAt (const OfxTime time) const
std::string getAbsoluteDirectory () const
std::string getAbsoluteFirstFilename () const
OfxTime getFirstTime () const
OfxTime getLastTime () const

Data Fields

OFX::Clip * _clipSrc
 Input image clip.
OFX::Clip * _clipDst
 Ouput image clip.
OFX::PushButtonParam * _paramRenderButton
 Render push button.
OFX::StringParam * _paramFilepath
 Target file path.
OFX::BooleanParam * _paramRenderAlways
OFX::BooleanParam * _paramCopyToOutput
 Copy the image buffer to the output clip.
OFX::ChoiceParam * _paramBitDepth
OFX::BooleanParam * _paramPremult
OFX::ChoiceParam * _paramExistingFile
OFX::IntParam * _paramForceNewRender

Protected Member Functions

bool varyOnTime () const

Private Attributes

bool _isSequence
sequenceParser::Sequence _filePattern
 Filename pattern manager.
bool _oneRender
OfxTime _oneRenderAtTime

Detailed Description

Definition at line 24 of file WriterPlugin.hpp.


Constructor & Destructor Documentation

tuttle::plugin::WriterPlugin::~WriterPlugin ( ) [pure virtual]

Definition at line 33 of file WriterPlugin.cpp.


Member Function Documentation

void tuttle::plugin::WriterPlugin::beginSequenceRender ( const OFX::BeginSequenceRenderArguments &  args) [virtual]

Definition at line 115 of file WriterPlugin.cpp.

References getAbsoluteDirectory().

Here is the call graph for this function:

void tuttle::plugin::WriterPlugin::changedParam ( const OFX::InstanceChangedArgs &  args,
const std::string &  paramName 
) [virtual]
std::string tuttle::plugin::WriterPlugin::getAbsoluteDirectory ( ) const [inline]

Definition at line 57 of file WriterPlugin.hpp.

References _filePattern, _isSequence, and _paramFilepath.

Referenced by beginSequenceRender().

std::string tuttle::plugin::WriterPlugin::getAbsoluteFilenameAt ( const OfxTime  time) const [inline]

Definition at line 49 of file WriterPlugin.hpp.

References _filePattern, _isSequence, and _paramFilepath.

Referenced by isIdentity(), and render().

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

Definition at line 71 of file WriterPlugin.hpp.

References _filePattern, _isSequence, and _paramFilepath.

void tuttle::plugin::WriterPlugin::getClipPreferences ( OFX::ClipPreferencesSetter &  clipPreferences) [virtual]

Definition at line 52 of file WriterPlugin.cpp.

References varyOnTime().

Here is the call graph for this function:

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

Definition at line 79 of file WriterPlugin.hpp.

References _filePattern, and _isSequence.

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

Definition at line 87 of file WriterPlugin.hpp.

References _filePattern, and _isSequence.

bool tuttle::plugin::WriterPlugin::isIdentity ( const OFX::RenderArguments &  args,
OFX::Clip *&  identityClip,
double &  identityTime 
) [virtual]
void tuttle::plugin::WriterPlugin::render ( const OFX::RenderArguments &  args) [virtual]

Definition at line 124 of file WriterPlugin.cpp.

References _clipDst, _clipSrc, _oneRender, _paramCopyToOutput, getAbsoluteFilenameAt(), TUTTLE_LOG_INFO, TUTTLE_TLOG, TUTTLE_TLOG_VAR, and TUTTLE_TRACE.

Here is the call graph for this function:

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

Definition at line 39 of file WriterPlugin.hpp.

References _isSequence.

Referenced by getClipPreferences().


Field Documentation

Ouput image clip.

Reimplemented from tuttle::plugin::ImageEffectGilPlugin.

Definition at line 99 of file WriterPlugin.hpp.

Referenced by render(), and WriterPlugin().

Input image clip.

Attributes

Reimplemented from tuttle::plugin::ImageEffectGilPlugin.

Definition at line 98 of file WriterPlugin.hpp.

Referenced by isIdentity(), render(), and WriterPlugin().

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

Definition at line 45 of file WriterPlugin.hpp.

Referenced by changedParam(), isIdentity(), and render().

Definition at line 46 of file WriterPlugin.hpp.

Referenced by changedParam(), and isIdentity().

Definition at line 105 of file WriterPlugin.hpp.

Referenced by WriterPlugin().

Copy the image buffer to the output clip.

Definition at line 104 of file WriterPlugin.hpp.

Referenced by render(), and WriterPlugin().

Definition at line 107 of file WriterPlugin.hpp.

Referenced by isIdentity(), and WriterPlugin().

Hack parameter, to force a new rendering

Definition at line 108 of file WriterPlugin.hpp.

Referenced by changedParam(), and WriterPlugin().

Definition at line 106 of file WriterPlugin.hpp.

Referenced by WriterPlugin().

Definition at line 103 of file WriterPlugin.hpp.

Referenced by isIdentity(), and WriterPlugin().

Render push button.

Definition at line 101 of file WriterPlugin.hpp.

Referenced by WriterPlugin().


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