| Ptex
    | 
#include <PtexReader.h>
 
  
 | Public Member Functions | |
| TiledFace (void **parent, PtexCacheImpl *cache, Res res, Res tileres, int levelid, PtexReader *reader) | |
| virtual PtexFaceData * | getTile (int tile) | 
| Access a tile from the data block.  More... | |
| void | readTile (int tile, FaceData *&data) | 
|  Public Member Functions inherited from PtexReader::TiledFaceBase | |
| TiledFaceBase (void **parent, PtexCacheImpl *cache, Res res, Res tileres, DataType dt, int nchan) | |
| virtual void | release () | 
| Release resources held by this pointer (pointer becomes invalid).  More... | |
| virtual bool | isConstant () | 
| True if this data block is constant.  More... | |
| virtual void | getPixel (int u, int v, void *result) | 
| Read a single texel from the data block.  More... | |
| 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 void | reduce (FaceData *&, PtexReader *, Res newres, PtexUtils::ReduceFn) | 
| Res | tileres () const | 
| int | ntilesu () const | 
| int | ntilesv () const | 
| int | ntiles () const | 
|  Public Member Functions inherited from PtexReader::FaceData | |
| FaceData (void **parent, PtexCacheImpl *cache, Res res, int size) | |
| virtual Ptex::Res | res () | 
| Resolution of the texture held by this data block.  More... | |
| virtual void | reduce (FaceData *&, PtexReader *, Res newres, PtexUtils::ReduceFn)=0 | 
|  Public Member Functions inherited from PtexCachedData | |
| PtexCachedData (void **parent, PtexCacheImpl *cache, int size) | |
| void | ref () | 
| void | unref () | 
|  Public Member Functions inherited from PtexLruItem | |
| bool | inuse () | 
| void | orphan () | 
| Protected Attributes | |
| PtexReader * | _reader | 
| int | _levelid | 
| safevector< FaceDataHeader > | _fdh | 
| safevector< FilePos > | _offsets | 
|  Protected Attributes inherited from PtexReader::TiledFaceBase | |
| Res | _tileres | 
| DataType | _dt | 
| int | _nchan | 
| int | _ntilesu | 
| int | _ntilesv | 
| int | _ntiles | 
| int | _pixelsize | 
| safevector< FaceData * > | _tiles | 
|  Protected Attributes inherited from PtexReader::FaceData | |
| Res | _res | 
|  Protected Attributes inherited from PtexCachedData | |
| PtexCacheImpl * | _cache | 
| Friends | |
| class | PtexReader | 
| Additional Inherited Members | |
|  Static Public Member Functions inherited from PtexLruItem | |
| template<typename T > | |
| static void | orphanList (T &list) | 
|  Protected Member Functions inherited from PtexReader::TiledFaceBase | |
| virtual | ~TiledFaceBase () | 
|  Protected Member Functions inherited from PtexCachedData | |
| void | incSize (int size) | 
| virtual | ~PtexCachedData () | 
|  Protected Member Functions inherited from PtexLruItem | |
| PtexLruItem (void **parent=0) | |
| virtual | ~PtexLruItem () | 
|  Protected Member Functions inherited from PtexFaceData | |
| virtual | ~PtexFaceData () | 
| Destructor not for public use. Use release() instead.  More... | |
Definition at line 391 of file PtexReader.h.
| 
 | inline | 
Definition at line 393 of file PtexReader.h.
| 
 | inlinevirtual | 
Access a tile from the data block.
Tiles are accessed in v-major order.
Implements PtexFaceData.
Definition at line 404 of file PtexReader.h.
References PtexCachedData::ref().
| void PtexReader::TiledFace::readTile | ( | int | tile, | 
| FaceData *& | data | ||
| ) | 
Definition at line 673 of file PtexReader.cpp.
References PtexCachedFile::_cache, PtexCacheImpl::cachelock, PtexInternal::_SpinLock::lock(), PtexCacheImpl::purgeData(), PtexCachedData::ref(), and PtexInternal::_SpinLock::unlock().
| 
 | friend | 
Definition at line 415 of file PtexReader.h.
| 
 | protected | 
Definition at line 418 of file PtexReader.h.
Referenced by PtexReader::readFaceData().
| 
 | protected | 
Definition at line 417 of file PtexReader.h.
| 
 | protected | 
Definition at line 419 of file PtexReader.h.
Referenced by PtexReader::readFaceData().
| 
 | protected | 
Definition at line 416 of file PtexReader.h.
 1.8.10
 1.8.10