HDK
|
#include <TIL_Stitch.h>
Classes | |
struct | OpenStyle |
Public Member Functions | |
IMGTileReader () | |
~IMGTileReader () override | |
bool | setFile (const char *filename, const IMG_FileParms *options=nullptr, const IMG_Format *fmt=nullptr) |
bool | setFile (const char *filename, const UT_Array< const IMG_Format * > &formats, const IMG_FileParms *options=nullptr) |
const UT_DimRect & | dataWindow () const override |
Return the data window of the tile in pixels. More... | |
bool | open () override |
Open tile for reading. More... | |
bool | canRead (const Scanline *scanline) 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... | |
bool | isValid () const |
IMG_FilePtr | stealStream () |
const char * | getFilename () const |
![]() | |
TileReader () | |
virtual | ~TileReader () |
Protected Member Functions | |
bool | init (IMG_FilePtr fp) |
bool | initStat () |
virtual void | error (const char *msg) const |
![]() | |
UT_NonCopyable ()=default | |
~UT_NonCopyable ()=default | |
UT_NonCopyable (const UT_NonCopyable &)=delete | |
UT_NonCopyable & | operator= (const UT_NonCopyable &)=delete |
Protected Attributes | |
UT_DimRect | myDataWindow |
IMG_FilePtr | myFile |
OpenStyle | myOpen |
Convenience class to read a tile from a file
Definition at line 127 of file TIL_Stitch.h.
TIL_Stitch::IMGTileReader::IMGTileReader | ( | ) |
|
override |
|
overridevirtual |
Implements TIL_Stitch::TileReader.
|
overridevirtual |
Close tile when finished reading.
Implements TIL_Stitch::TileReader.
|
overridevirtual |
Return the data window of the tile in pixels.
Implements TIL_Stitch::TileReader.
|
protectedvirtual |
|
inline |
Definition at line 175 of file TIL_Stitch.h.
|
protected |
|
protected |
|
inline |
Definition at line 172 of file TIL_Stitch.h.
|
overridevirtual |
Open tile for reading.
Implements TIL_Stitch::TileReader.
|
overridevirtual |
Read an AOV from the tile.
Implements TIL_Stitch::TileReader.
|
inline |
Definition at line 144 of file TIL_Stitch.h.
|
inline |
Definition at line 154 of file TIL_Stitch.h.
|
inline |
Definition at line 174 of file TIL_Stitch.h.
|
protected |
Definition at line 181 of file TIL_Stitch.h.
|
protected |
Definition at line 182 of file TIL_Stitch.h.
|
protected |
Definition at line 183 of file TIL_Stitch.h.