TuttleOFX  1
tuttle::plugin::openImageIO::reader::OpenImageIOReaderProcess< View > Class Template Reference

#include <OpenImageIOReaderProcess.hpp>

Inheritance diagram for tuttle::plugin::openImageIO::reader::OpenImageIOReaderProcess< View >:
Collaboration diagram for tuttle::plugin::openImageIO::reader::OpenImageIOReaderProcess< View >:

Public Types

typedef terry::image_from_view
< View >::type 
Image
typedef View::value_type Pixel
typedef
boost::gil::channel_type< View >
::type 
Channel
typedef View::point_t Point
typedef View::coord_t Coord

Public Member Functions

 OpenImageIOReaderProcess (OpenImageIOReaderPlugin &instance)
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 Function called by rendering thread each time a process must be done.
template<typename bitDepth , typename layout , typename fileView >
View & readImage (View &dst, boost::scoped_ptr< OpenImageIO::ImageInput > &img, int pixelSize)

Static Public Member Functions

static bool progressCallback (void *opaque_data, float portion_done)

Protected Attributes

OpenImageIOReaderPlugin_plugin
 Rendering plugin.

Private Types

typedef
OpenImageIOReaderProcess< View > 
This

Detailed Description

template<class View>
class tuttle::plugin::openImageIO::reader::OpenImageIOReaderProcess< View >

Definition at line 22 of file OpenImageIOReaderProcess.hpp.


Member Typedef Documentation

template<class View >
typedef boost::gil::channel_type<View>::type tuttle::plugin::openImageIO::reader::OpenImageIOReaderProcess< View >::Channel

Definition at line 28 of file OpenImageIOReaderProcess.hpp.

template<class View >
typedef View::coord_t tuttle::plugin::openImageIO::reader::OpenImageIOReaderProcess< View >::Coord

Definition at line 30 of file OpenImageIOReaderProcess.hpp.

Reimplemented from tuttle::plugin::ImageGilProcessor< View >.

Definition at line 26 of file OpenImageIOReaderProcess.hpp.

template<class View >
typedef View::value_type tuttle::plugin::openImageIO::reader::OpenImageIOReaderProcess< View >::Pixel

Reimplemented from tuttle::plugin::ImageGilProcessor< View >.

Definition at line 27 of file OpenImageIOReaderProcess.hpp.

template<class View >
typedef View::point_t tuttle::plugin::openImageIO::reader::OpenImageIOReaderProcess< View >::Point

Definition at line 29 of file OpenImageIOReaderProcess.hpp.

Definition at line 24 of file OpenImageIOReaderProcess.hpp.


Constructor & Destructor Documentation

Definition at line 27 of file OpenImageIOReaderProcess.tcc.

References tuttle::plugin::ImageProcessor::setNoMultiThreading().

Here is the call graph for this function:


Member Function Documentation

template<class View >
void tuttle::plugin::openImageIO::reader::OpenImageIOReaderProcess< View >::multiThreadProcessImages ( const OfxRectI procWindowRoW) [virtual]

Function called by rendering thread each time a process must be done.

Parameters:
[in]procWindowRoWProcessing window in RoW

Implements tuttle::plugin::ImageProcessor.

Definition at line 39 of file OpenImageIOReaderProcess.tcc.

References tuttle::plugin::viewer::img, and kOfxStatErrValue.

template<class View >
static bool tuttle::plugin::openImageIO::reader::OpenImageIOReaderProcess< View >::progressCallback ( void *  opaque_data,
float  portion_done 
) [inline, static]

Definition at line 43 of file OpenImageIOReaderProcess.hpp.

References tuttle::plugin::OfxProgress::progressUpdate().

Here is the call graph for this function:

template<class View >
template<typename bitDepth , typename layout , typename fileView >
View & tuttle::plugin::openImageIO::reader::OpenImageIOReaderProcess< View >::readImage ( View &  dst,
boost::scoped_ptr< OpenImageIO::ImageInput > &  img,
int  pixelSize 
)

Definition at line 155 of file OpenImageIOReaderProcess.tcc.

References tuttle::plugin::raw::reader::progressCallback(), and boost::gil::view().

Here is the call graph for this function:


Field Documentation

Rendering plugin.

Definition at line 33 of file OpenImageIOReaderProcess.hpp.


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