HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TIL_Stitch::DeepTileReader Class Reference

#include <TIL_StitchDeep.h>

+ Inheritance diagram for TIL_Stitch::DeepTileReader:

Public Member Functions

 DeepTileReader ()
 
 ~DeepTileReader () override
 
const UT_DimRectdataWindow () const override
 Return the data window of the tile in pixels. More...
 
bool open () override
 Open tile for reading. More...
 
bool canRead (const Scanline *scan) const override
 
bool readScanline (int plane, int xoff, int scanline, Scanline *buffer) override
 Read an AOV from the tile. More...
 
bool close () override
 Close tile when finished reading. More...
 
void setFile (const UT_StringHolder &filename)
 
const UT_StringHolderfilename () const
 
const OIIO::ImageSpec & imageSpec () const
 
- Public Member Functions inherited from TIL_Stitch::TileReader
 TileReader ()
 
virtual ~TileReader ()
 

Protected Member Functions

virtual void error (const char *msg) const
 
- Protected Member Functions inherited from UT_NonCopyableNS::UT_NonCopyable
 UT_NonCopyable ()=default
 
 ~UT_NonCopyable ()=default
 
 UT_NonCopyable (const UT_NonCopyable &)=delete
 
UT_NonCopyableoperator= (const UT_NonCopyable &)=delete
 

Protected Attributes

UT_DimRect myDataWindow
 
UT_StringHolder myFilename
 
UT_UniquePtr< OIIO::ImageInput > myIn
 
UT_UniquePtr< OIIO::DeepData > myData
 
bool myRead
 

Detailed Description

Definition at line 38 of file TIL_StitchDeep.h.

Constructor & Destructor Documentation

TIL_Stitch::DeepTileReader::DeepTileReader ( )
TIL_Stitch::DeepTileReader::~DeepTileReader ( )
override

Member Function Documentation

bool TIL_Stitch::DeepTileReader::canRead ( const Scanline scan) const
overridevirtual
bool TIL_Stitch::DeepTileReader::close ( )
overridevirtual

Close tile when finished reading.

Implements TIL_Stitch::TileReader.

const UT_DimRect& TIL_Stitch::DeepTileReader::dataWindow ( ) const
overridevirtual

Return the data window of the tile in pixels.

Implements TIL_Stitch::TileReader.

virtual void TIL_Stitch::DeepTileReader::error ( const char *  msg) const
protectedvirtual
const UT_StringHolder& TIL_Stitch::DeepTileReader::filename ( ) const
inline

Definition at line 52 of file TIL_StitchDeep.h.

const OIIO::ImageSpec& TIL_Stitch::DeepTileReader::imageSpec ( ) const
bool TIL_Stitch::DeepTileReader::open ( )
overridevirtual

Open tile for reading.

Implements TIL_Stitch::TileReader.

bool TIL_Stitch::DeepTileReader::readScanline ( int  plane,
int  xoff,
int  scanline,
Scanline buffer 
)
overridevirtual

Read an AOV from the tile.

Implements TIL_Stitch::TileReader.

void TIL_Stitch::DeepTileReader::setFile ( const UT_StringHolder filename)

Member Data Documentation

UT_UniquePtr<OIIO::DeepData> TIL_Stitch::DeepTileReader::myData
protected

Definition at line 61 of file TIL_StitchDeep.h.

UT_DimRect TIL_Stitch::DeepTileReader::myDataWindow
protected

Definition at line 58 of file TIL_StitchDeep.h.

UT_StringHolder TIL_Stitch::DeepTileReader::myFilename
protected

Definition at line 59 of file TIL_StitchDeep.h.

UT_UniquePtr<OIIO::ImageInput> TIL_Stitch::DeepTileReader::myIn
protected

Definition at line 60 of file TIL_StitchDeep.h.

bool TIL_Stitch::DeepTileReader::myRead
protected

Definition at line 62 of file TIL_StitchDeep.h.


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