TuttleOFX  1
tuttle::plugin::raw::reader::RawReaderPlugin Class Reference

Raw reader. More...

#include <RawReaderPlugin.hpp>

Inheritance diagram for tuttle::plugin::raw::reader::RawReaderPlugin:
Collaboration diagram for tuttle::plugin::raw::reader::RawReaderPlugin:

Public Types

typedef float Scalar
typedef boost::gil::point2
< double > 
Point2

Public Member Functions

 RawReaderPlugin (OfxImageEffectHandle handle)
RawReaderProcessParams< ScalargetProcessParams (const OfxTime time)
void updateInfos (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.

Data Fields

user parameters
OFX::ChoiceParam_paramFiltering
 Filtering mode.
OFX::ChoiceParam_paramInterpolation
OFX::DoubleParam_paramGammaPower
OFX::DoubleParam_paramGammaToe
OFX::DoubleParam_paramRedAbber
OFX::DoubleParam_paramBlueAbber
OFX::DoubleParam_paramBright
OFX::DoubleParam_paramThreshold
OFX::BooleanParam_paramFourColorRgb
OFX::ChoiceParam_paramDocumentMode
OFX::ChoiceParam_paramHighlight
OFX::DoubleParam_paramExposure
OFX::DoubleParam_paramExposurePreserve
OFX::ChoiceParam_paramWhiteBalance
OFX::Double2DParam_paramGreyboxPoint
OFX::Double2DParam_paramGreyboxSize
OFX::StringParam_paramManufacturer
 metadata
OFX::StringParam_paramModel
OFX::IntParam_paramIso
OFX::IntParam_paramShutter
OFX::DoubleParam_paramAperture
OFX::StringParam_paramDateOfShooting
OFX::StringParam_paramGPS
OFX::StringParam_paramDesc
OFX::StringParam_paramArtist

Detailed Description

Raw reader.

Definition at line 43 of file RawReaderPlugin.hpp.


Member Typedef Documentation

typedef boost::gil::point2<double> tuttle::plugin::raw::reader::RawReaderPlugin::Point2

Definition at line 47 of file RawReaderPlugin.hpp.


Constructor & Destructor Documentation

tuttle::plugin::raw::reader::RawReaderPlugin::RawReaderPlugin ( OfxImageEffectHandle  handle)

Definition at line 18 of file RawReaderPlugin.cpp.

References _paramAperture, _paramArtist, _paramBlueAbber, _paramBright, _paramDateOfShooting, _paramDesc, _paramDocumentMode, _paramExposure, _paramExposurePreserve, _paramFiltering, _paramFourColorRgb, _paramGammaPower, _paramGammaToe, _paramGPS, _paramGreyboxPoint, _paramGreyboxSize, _paramHighlight, _paramInterpolation, _paramIso, _paramManufacturer, _paramModel, _paramRedAbber, _paramShutter, _paramThreshold, _paramWhiteBalance, OFX::ParamSet::fetchBooleanParam(), OFX::ParamSet::fetchChoiceParam(), OFX::ParamSet::fetchDouble2DParam(), OFX::ParamSet::fetchDoubleParam(), OFX::ParamSet::fetchIntParam(), OFX::ParamSet::fetchStringParam(), tuttle::plugin::raw::reader::kParamAperture, tuttle::plugin::raw::reader::kParamArtist, tuttle::plugin::raw::reader::kParamBlueAbber, tuttle::plugin::raw::reader::kParamBright, tuttle::plugin::raw::reader::kParamDateOfShooting, tuttle::plugin::raw::reader::kParamDesc, tuttle::plugin::raw::reader::kParamDocumentMode, tuttle::plugin::raw::reader::kParamExposure, tuttle::plugin::raw::reader::kParamExposurePreserve, tuttle::plugin::raw::reader::kParamFiltering, tuttle::plugin::raw::reader::kParamFourColorRgb, tuttle::plugin::raw::reader::kParamGammaPower, tuttle::plugin::raw::reader::kParamGammaToe, tuttle::plugin::raw::reader::kParamGPS, tuttle::plugin::raw::reader::kParamGreyboxPoint, tuttle::plugin::raw::reader::kParamGreyboxSize, tuttle::plugin::raw::reader::kParamHighlight, tuttle::plugin::raw::reader::kParamInterpolation, tuttle::plugin::raw::reader::kParamIso, tuttle::plugin::raw::reader::kParamManufacturer, tuttle::plugin::raw::reader::kParamModel, tuttle::plugin::raw::reader::kParamRedAbber, tuttle::plugin::raw::reader::kParamShutter, tuttle::plugin::raw::reader::kParamThreshold, and tuttle::plugin::raw::reader::kParamWhiteBalance.

Here is the call graph for this function:


Member Function Documentation

void tuttle::plugin::raw::reader::RawReaderPlugin::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 207 of file RawReaderPlugin.cpp.

RawReaderProcessParams< RawReaderPlugin::Scalar > tuttle::plugin::raw::reader::RawReaderPlugin::getProcessParams ( const OfxTime  time)

Definition at line 57 of file RawReaderPlugin.cpp.

References tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_blueAbber, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_bright, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_documentMode, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_exposure, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_exposurePreserve, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_filepath, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_filtering, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_fourColorRgb, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_gammaPower, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_gammaToe, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_greyboxPoint, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_greyboxSize, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_hightlight, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_interpolation, _paramBlueAbber, _paramBright, _paramDocumentMode, _paramExposure, _paramExposurePreserve, _paramFiltering, _paramFourColorRgb, _paramGammaPower, _paramGammaToe, _paramGreyboxPoint, _paramGreyboxSize, _paramHighlight, _paramInterpolation, _paramRedAbber, _paramThreshold, _paramWhiteBalance, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_redAbber, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_threshold, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_whiteBalance, tuttle::plugin::ReaderPlugin::getAbsoluteFilenameAt(), OFX::DoubleParam::getValue(), OFX::Double2DParam::getValue(), OFX::ChoiceParam::getValue(), and OFX::BooleanParam::getValue().

Referenced by getRegionOfDefinition(), and updateInfos().

Here is the call graph for this function:

bool tuttle::plugin::raw::reader::RawReaderPlugin::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 219 of file RawReaderPlugin.cpp.

References tuttle::plugin::ReaderPlugin::_clipDst, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_filepath, OFX::Clip::getPixelAspectRatio(), getProcessParams(), OFX::RegionOfDefinitionArguments::time, updateInfos(), OfxRectD::x1, OfxRectD::x2, OfxRectD::y1, and OfxRectD::y2.

Here is the call graph for this function:

void tuttle::plugin::raw::reader::RawReaderPlugin::render ( const OFX::RenderArguments args) [virtual]

The overridden render function.

Parameters:
[in]argsRendering parameters

Reimplemented from tuttle::plugin::ReaderPlugin.

Definition at line 285 of file RawReaderPlugin.cpp.


Field Documentation


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