TuttleOFX  1
tuttle::plugin::jpeg2000::reader::Jpeg2000ReaderPlugin Class Reference

Jpeg2000 plugin. More...

#include <Jpeg2000ReaderPlugin.hpp>

Inheritance diagram for tuttle::plugin::jpeg2000::reader::Jpeg2000ReaderPlugin:
Collaboration diagram for tuttle::plugin::jpeg2000::reader::Jpeg2000ReaderPlugin:

Data Structures

struct  FileInfo

Public Member Functions

 Jpeg2000ReaderPlugin (OfxImageEffectHandle handle)
 ~Jpeg2000ReaderPlugin ()
Jpeg2000ReaderProcessParams getProcessParams (const OfxTime time)
void render (const OFX::RenderArguments &args)
 The overridden render function.
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
FileInfo retrieveFileInfo (const OfxTime time)

Data Fields

tuttle::io::J2KReader _reader

Private Attributes

FileInfo _fileInfos

Detailed Description

Jpeg2000 plugin.

Definition at line 20 of file Jpeg2000ReaderPlugin.hpp.


Constructor & Destructor Documentation

tuttle::plugin::jpeg2000::reader::Jpeg2000ReaderPlugin::Jpeg2000ReaderPlugin ( OfxImageEffectHandle  handle)

Definition at line 24 of file Jpeg2000ReaderPlugin.cpp.

tuttle::plugin::jpeg2000::reader::Jpeg2000ReaderPlugin::~Jpeg2000ReaderPlugin ( )

Definition at line 29 of file Jpeg2000ReaderPlugin.cpp.

References _reader, and tuttle::io::J2KReader::close().

Here is the call graph for this function:


Member Function Documentation

void tuttle::plugin::jpeg2000::reader::Jpeg2000ReaderPlugin::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 49 of file Jpeg2000ReaderPlugin.cpp.

References tuttle::plugin::jpeg2000::reader::Jpeg2000ReaderPlugin::FileInfo::_failed, _fileInfos, _reader, tuttle::io::J2KReader::close(), and tuttle::plugin::kTuttlePluginFilename.

Here is the call graph for this function:

bool tuttle::plugin::jpeg2000::reader::Jpeg2000ReaderPlugin::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 59 of file Jpeg2000ReaderPlugin.cpp.

References tuttle::plugin::jpeg2000::reader::Jpeg2000ReaderPlugin::FileInfo::_failed, tuttle::plugin::jpeg2000::reader::Jpeg2000ReaderPlugin::FileInfo::_height, tuttle::plugin::jpeg2000::reader::Jpeg2000ReaderPlugin::FileInfo::_width, tuttle::plugin::ReaderPlugin::getAbsoluteFilenameAt(), retrieveFileInfo(), OFX::RegionOfDefinitionArguments::time, OfxRectD::x1, OfxRectD::x2, OfxRectD::y1, and OfxRectD::y2.

Here is the call graph for this function:


Field Documentation


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