TuttleOFX
1
|
Exr writer. More...
#include <EXRWriterProcess.hpp>
Public Types | |
typedef View::value_type | Pixel |
Public Member Functions | |
EXRWriterProcess (EXRWriterPlugin &instance) | |
void | setup (const OFX::RenderArguments &args) |
void | multiThreadProcessImages (const OfxRectI &procWindowRoW) |
Function called by rendering thread each time a process must be done. | |
Protected Member Functions | |
template<class WPixel > | |
void | writeGrayImage (View &src, std::string &filepath, Imf::PixelType pixType) |
template<class WPixel > | |
void | writeImage (View &src, std::string &filepath, Imf::PixelType pixType) |
Protected Attributes | |
EXRWriterPlugin & | _plugin |
Rendering plugin. | |
EXRWriterProcessParams | _params |
Exr writer.
Definition at line 27 of file EXRWriterProcess.hpp.
typedef View::value_type tuttle::plugin::exr::writer::EXRWriterProcess< View >::Pixel |
Reimplemented from tuttle::plugin::ImageGilProcessor< View >.
Definition at line 30 of file EXRWriterProcess.hpp.
tuttle::plugin::exr::writer::EXRWriterProcess< View >::EXRWriterProcess | ( | EXRWriterPlugin & | instance | ) |
Definition at line 23 of file EXRWriterProcess.tcc.
References tuttle::plugin::ImageProcessor::setNoMultiThreading().
void tuttle::plugin::exr::writer::EXRWriterProcess< View >::multiThreadProcessImages | ( | const OfxRectI & | procWindowRoW | ) | [virtual] |
Function called by rendering thread each time a process must be done.
[in] | procWindowRoW | Processing window in RoW |
Implements tuttle::plugin::ImageProcessor.
Definition at line 43 of file EXRWriterProcess.tcc.
References OFX::ePixelComponentAlpha, OFX::ePixelComponentRGB, OFX::ePixelComponentRGBA, tuttle::plugin::exr::writer::eTuttlePluginBitDepth16f, tuttle::plugin::exr::writer::eTuttlePluginBitDepth32, tuttle::plugin::exr::writer::eTuttlePluginBitDepth32f, tuttle::plugin::exr::writer::eTuttlePluginComponentsAuto, tuttle::plugin::exr::writer::eTuttlePluginComponentsGray, tuttle::plugin::exr::writer::eTuttlePluginComponentsRGB, and tuttle::plugin::exr::writer::eTuttlePluginComponentsRGBA.
void tuttle::plugin::exr::writer::EXRWriterProcess< View >::setup | ( | const OFX::RenderArguments & | args | ) | [virtual] |
Reimplemented from tuttle::plugin::ImageGilFilterProcessor< View >.
Definition at line 31 of file EXRWriterProcess.tcc.
References OFX::RenderArguments::time.
void tuttle::plugin::exr::writer::EXRWriterProcess< View >::writeGrayImage | ( | View & | src, |
std::string & | filepath, | ||
Imf::PixelType | pixType | ||
) | [protected] |
Definition at line 210 of file EXRWriterProcess.tcc.
References tuttle::plugin::viewer::img, and boost::gil::view().
void tuttle::plugin::exr::writer::EXRWriterProcess< View >::writeImage | ( | View & | src, |
std::string & | filepath, | ||
Imf::PixelType | pixType | ||
) | [protected] |
Definition at line 280 of file EXRWriterProcess.tcc.
References tuttle::plugin::viewer::img, and boost::gil::view().
EXRWriterProcessParams tuttle::plugin::exr::writer::EXRWriterProcess< View >::_params [protected] |
Definition at line 40 of file EXRWriterProcess.hpp.
EXRWriterPlugin& tuttle::plugin::exr::writer::EXRWriterProcess< View >::_plugin [protected] |
Rendering plugin.
Definition at line 39 of file EXRWriterProcess.hpp.