| Ptex
    | 
#include <PtexReader.h>
 
  
| Public Member Functions | |
| ConstantFace (int pixelsize) | |
| virtual bool | isConstant () | 
| True if this data block is constant.  More... | |
| virtual void | getPixel (int, int, void *result) | 
| Read a single texel from the data block.  More... | |
| 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 void * | getData () | 
| Access the data from this data block.  More... | |
| virtual bool | isTiled () | 
| True if this data block is tiled.  More... | |
| virtual Ptex::Res | tileRes () | 
| Resolution of each tile in this data block.  More... | |
| virtual PtexFaceData * | getTile (int) | 
| Access a tile from the data block.  More... | |
|  Public Member Functions inherited from PtexReader::FaceData | |
| FaceData (Res resArg) | |
| virtual | ~FaceData () | 
| virtual void | release () | 
| Release resources held by this pointer (pointer becomes invalid).  More... | |
| virtual Ptex::Res | res () | 
| Resolution of the texture held by this data block.  More... | |
| 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.  More... | |
|  Protected Attributes inherited from PtexReader::PackedFace | |
| int | _pixelsize | 
| char * | _data | 
|  Protected Attributes inherited from PtexReader::FaceData | |
| Res | _res | 
Definition at line 401 of file PtexReader.h.
| 
 | inline | 
Definition at line 403 of file PtexReader.h.
| 
 | inlinevirtual | 
Read a single texel from the data block.
The texel coordinates, u and v, have a range of [0..ures-1, 0..vres-1]. Note: this method will work correctly even if the face is constant or tiled.
Reimplemented from PtexReader::PackedFace.
Definition at line 406 of file PtexReader.h.
References PtexReader::PackedFace::_data, and PtexReader::PackedFace::_pixelsize.
| 
 | inlinevirtual | 
True if this data block is constant.
Reimplemented from PtexReader::PackedFace.
Definition at line 405 of file PtexReader.h.
| 
 | virtual | 
Reimplemented from PtexReader::PackedFace.
Definition at line 966 of file PtexReader.cpp.
References PtexReader::PackedFace::_data, and PtexReader::_pixelsize.
 1.8.17
 1.8.17