Ptex
|
#include <PtexReader.h>
Public Member Functions | |
ErrorFace (void *errorPixel, int pixelsize, bool deleteOnRelease) | |
virtual void | release () |
Release resources held by this pointer (pointer becomes invalid). | |
Public Member Functions inherited from PtexReader::ConstantFace | |
ConstantFace (int pixelsize) | |
virtual bool | isConstant () |
True if this data block is constant. | |
virtual void | getPixel (int, int, void *result) |
Read a single texel from the data block. | |
virtual FaceData * | reduce (PtexReader *, Res newres, PtexUtils::ReduceFn, size_t &newMemUsed) |
Public Member Functions inherited from PtexReader::PackedFace | |
PackedFace (Res resArg, int pixelsize, int size) | |
void * | data () |
virtual bool | isConstant () |
True if this data block is constant. | |
virtual void | getPixel (int u, int v, void *result) |
Read a single texel from the data block. | |
virtual void * | getData () |
Access the data from this data block. | |
virtual bool | isTiled () |
True if this data block is tiled. | |
virtual Ptex::Res | tileRes () |
Resolution of each tile in this data block. | |
virtual PtexFaceData * | getTile (int) |
Access a tile from the data block. | |
virtual FaceData * | reduce (PtexReader *, Res newres, PtexUtils::ReduceFn, size_t &newMemUsed) |
Public Member Functions inherited from PtexReader::FaceData | |
FaceData (Res resArg) | |
virtual | ~FaceData () |
virtual void | release () |
Release resources held by this pointer (pointer becomes invalid). | |
virtual Ptex::Res | res () |
Resolution of the texture held by this data block. | |
virtual FaceData * | reduce (PtexReader *, Res newres, PtexUtils::ReduceFn, size_t &newMemUsed)=0 |
virtual void | release ()=0 |
Release resources held by this pointer (pointer becomes invalid). | |
virtual bool | isConstant ()=0 |
True if this data block is constant. | |
virtual Ptex::Res | res ()=0 |
Resolution of the texture held by this data block. | |
virtual void | getPixel (int u, int v, void *result)=0 |
Read a single texel from the data block. | |
virtual void * | getData ()=0 |
Access the data from this data block. | |
virtual bool | isTiled ()=0 |
True if this data block is tiled. | |
virtual Ptex::Res | tileRes ()=0 |
Resolution of each tile in this data block. | |
virtual PtexFaceData * | getTile (int tile)=0 |
Access a tile from the data block. | |
Private Attributes | |
bool | _deleteOnRelease |
Additional Inherited Members | |
Protected Member Functions inherited from PtexReader::PackedFace | |
virtual | ~PackedFace () |
Protected Member Functions inherited from PtexFaceData | |
virtual | ~PtexFaceData () |
Destructor not for public use. Use release() instead. | |
Protected Attributes inherited from PtexReader::PackedFace | |
int | _pixelsize |
char * | _data |
Protected Attributes inherited from PtexReader::FaceData | |
Res | _res |
Definition at line 410 of file PtexReader.h.
|
inline |
Definition at line 413 of file PtexReader.h.
References PtexReader::PackedFace::_data, and PtexReader::pixelsize().
|
inlinevirtual |
Release resources held by this pointer (pointer becomes invalid).
Reimplemented from PtexReader::FaceData.
Definition at line 418 of file PtexReader.h.
References _deleteOnRelease.
|
private |
Definition at line 411 of file PtexReader.h.
Referenced by release().