TuttleOFX  1
tuttle::plugin::png::reader::PngReaderPlugin Class Reference

Png reader. More...

#include <PngReaderPlugin.hpp>

Inheritance diagram for tuttle::plugin::png::reader::PngReaderPlugin:
Collaboration diagram for tuttle::plugin::png::reader::PngReaderPlugin:

Public Member Functions

 PngReaderPlugin (OfxImageEffectHandle handle)
PngReaderProcessParams getProcessParams (const OfxTime time)
void changedParam (const OFX::InstanceChangedArgs &args, const std::string &paramName)
 called when a param has just had its value changed
bool getRegionOfDefinition (const OFX::RegionOfDefinitionArguments &args, OfxRectD &rod)
 The get RoD action.
void getClipPreferences (OFX::ClipPreferencesSetter &clipPreferences)
 get the clip preferences
void render (const OFX::RenderArguments &args)
 The overridden render function.

Detailed Description

Png reader.

Definition at line 20 of file PngReaderPlugin.hpp.


Constructor & Destructor Documentation

tuttle::plugin::png::reader::PngReaderPlugin::PngReaderPlugin ( OfxImageEffectHandle  handle)

Definition at line 20 of file PngReaderPlugin.cpp.


Member Function Documentation

void tuttle::plugin::png::reader::PngReaderPlugin::changedParam ( const OFX::InstanceChangedArgs args,
const std::string &  paramName 
) [virtual]

called when a param has just had its value changed

Reimplemented from tuttle::plugin::ReaderPlugin.

Definition at line 32 of file PngReaderPlugin.cpp.

PngReaderProcessParams tuttle::plugin::png::reader::PngReaderPlugin::getProcessParams ( const OfxTime  time)

Definition at line 24 of file PngReaderPlugin.cpp.

References tuttle::plugin::png::reader::PngReaderProcessParams::_filepath, and tuttle::plugin::ReaderPlugin::getAbsoluteFilenameAt().

Here is the call graph for this function:

bool tuttle::plugin::png::reader::PngReaderPlugin::getRegionOfDefinition ( const OFX::RegionOfDefinitionArguments args,
OfxRectD rod 
) [virtual]

The get RoD action.

If the effect wants change the rod from the default value (which is the union of RoD's of all input clips) it should set the rod argument and return true.

This is all in cannonical coordinates.

Implements tuttle::plugin::ReaderPlugin.

Definition at line 37 of file PngReaderPlugin.cpp.

References tuttle::plugin::ReaderPlugin::_clipDst, tuttle::plugin::ReaderPlugin::getAbsoluteFilenameAt(), OFX::Clip::getPixelAspectRatio(), OFX::RegionOfDefinitionArguments::time, TUTTLE_INFO, TUTTLE_TLOG_VAR, OfxRectD::x1, OfxRectD::x2, OfxRectD::y1, and OfxRectD::y2.

Here is the call graph for this function:

void tuttle::plugin::png::reader::PngReaderPlugin::render ( const OFX::RenderArguments args) [virtual]

The overridden render function.

Parameters:
[in]argsRendering parameters

Reimplemented from tuttle::plugin::ReaderPlugin.

Definition at line 127 of file PngReaderPlugin.cpp.


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