RenderMan API
23.0
|
#include <RixDeepTexture.h>
Classes | |
class | DeepCache |
class | DeepFile |
class | DeepImage |
class | DeepMetadata |
class | DeepPixel |
Public Types | |
enum | Compression { k_CmpNone = 0, k_CmpRLE = 2, k_CmpLZW = 3, k_CmpHUFFMAN = 5, k_CmpZIP = 6 } |
enum | DataType { k_TypeBYTE = 1, k_TypeSHORT = 2, k_TypeWORD = 3, k_TypeFLOAT = 4, k_TypeHALF = 5 } |
enum | ErrorCodes { k_ErrNOMETADATA = -14, k_ErrBADCHANNEL = -13, k_ErrREADONLY = -12, k_ErrCAPACITY = -11, k_ErrTILECOMPRESSION = -10, k_ErrUNFINISHED = -9, k_ErrRANGE = -8, k_ErrNOMEM = -7, k_ErrEMPTY = -6, k_ErrNOIMAGE = -5, k_ErrUNSUPPORTED = -4, k_ErrBADFILE = -3, k_ErrNOFILE = -2, k_ErrERR = -1, k_ErrNOERR = 0 } |
Public Types inherited from RixInterface | |
enum | Type { k_Float, k_Integer, k_StringV, k_Color, k_Normal, k_Vector, k_Point, k_HPoint, k_MPoint, k_Matrix } |
Public Member Functions | |
virtual DeepCache * | CreateCache (int numTiles)=0 |
virtual int | DestroyCache (DeepCache *)=0 |
virtual int | CreateFile (const char *name, DeepCache *, DeepFile **result)=0 |
virtual int | IsDeepFile (const char *name, DeepCache *, int *version)=0 |
virtual int | OpenFile (const char *name, const char *mode, DeepCache *, DeepFile **result)=0 |
virtual int | DestroyFile (DeepFile *)=0 |
Destroy a DeepFile produced by either OpenFile or CreateFile. More... | |
virtual DeepPixel * | CreatePixel (int numChan)=0 |
Create a DeepPixel for use with DeepImage channel data. More... | |
virtual void | DestroyPixel (DeepPixel *)=0 |
Destroy a DeepPixel. More... | |
Public Member Functions inherited from RixInterface | |
virtual int | GetVersion () const |
Protected Member Functions | |
RixDeepTexture () | |
Constructor is for internal use only. More... | |
Protected Member Functions inherited from RixInterface | |
RixInterface (int version) | |
Interfaces should not be constructed by users. More... | |
virtual | ~RixInterface () |
Interfaces should not be deleted by users. More... | |
Additional Inherited Members | |
Protected Attributes inherited from RixInterface | |
int | m_version |
Version number of this interface. More... | |
NOTICE: This Rix Interface is now deprecated and will be removed in a future release
This interface provides the classes and methods necessary to create, load, and modify Pixar deep texture files. It maintains a tile cache, under the covers, making it possible to work on files without loading them entirely into memory.
The API supports an arbitrary number of images in a single file, each with its own resolution, tile size, and view matrices.
The library can read and write old deep shadow files in addition to newer, more general deep texture files. Deep shadow files are limited to a single sub-image, but otherwise have the same API as the newer interface.
Definition at line 63 of file RixDeepTexture.h.
Enumerator | |
---|---|
k_CmpNone | |
k_CmpRLE | |
k_CmpLZW | |
k_CmpHUFFMAN | |
k_CmpZIP |
Definition at line 71 of file RixDeepTexture.h.
Enumerator | |
---|---|
k_TypeBYTE | |
k_TypeSHORT | |
k_TypeWORD | |
k_TypeFLOAT | |
k_TypeHALF |
Definition at line 80 of file RixDeepTexture.h.
Definition at line 89 of file RixDeepTexture.h.
|
inlineprotected |
Constructor is for internal use only.
Definition at line 67 of file RixDeepTexture.h.
|
pure virtual |
Create a new tile cache. This cache can be associated with one more more images and enables out-of-core DeepFile manipulation.
|
pure virtual |
Open a deep texture file with the given filename, managed by the given cache.
|
pure virtual |
|
pure virtual |
Destroy a cache. This must not be called until all open files associated with the cache have been destroyed.
|
pure virtual |
Destroy a DeepFile produced by either OpenFile or CreateFile.
|
pure virtual |
Open and file and check whether it appears to be a deep texture. Returns k_ErrNOERR and sets version to the file format version if the named file is a deep texture.
|
pure virtual |
Open a deep texture file with the given filename, managed by the given cache.