|
Ptex
|
Meta data accessor. More...
#include <Ptexture.h>
Public Member Functions | |
| virtual void | release ()=0 |
| Release resources held by this pointer (pointer becomes invalid). | |
| virtual int | numKeys ()=0 |
| Query number of meta data entries stored in file. | |
| virtual void | getKey (int n, const char *&key, Ptex::MetaDataType &type)=0 |
| Query the name and type of a meta data entry. | |
| virtual void | getValue (const char *key, const char *&value)=0 |
| Query the value of a given meta data entry. | |
| virtual void | getValue (const char *key, const int8_t *&value, int &count)=0 |
| Query the value of a given meta data entry. | |
| virtual void | getValue (const char *key, const int16_t *&value, int &count)=0 |
| Query the value of a given meta data entry. | |
| virtual void | getValue (const char *key, const int32_t *&value, int &count)=0 |
| Query the value of a given meta data entry. | |
| virtual void | getValue (const char *key, const float *&value, int &count)=0 |
| Query the value of a given meta data entry. | |
| virtual void | getValue (const char *key, const double *&value, int &count)=0 |
| Query the value of a given meta data entry. | |
Protected Member Functions | |
| virtual | ~PtexMetaData () |
| Destructor not for public use. Use release() instead. | |
Meta data accessor.
Meta data is acquired from PtexTexture and accessed through this interface.
| virtual void PtexMetaData::getValue | ( | const char * | key, |
| const char *& | value | ||
| ) | [pure virtual] |
Query the value of a given meta data entry.
If the key doesn't exist or the type doesn't match, value is set to null
| virtual void PtexMetaData::getValue | ( | const char * | key, |
| const int8_t *& | value, | ||
| int & | count | ||
| ) | [pure virtual] |
Query the value of a given meta data entry.
If the key doesn't exist or the type doesn't match, value is set to null
| virtual void PtexMetaData::getValue | ( | const char * | key, |
| const int16_t *& | value, | ||
| int & | count | ||
| ) | [pure virtual] |
Query the value of a given meta data entry.
If the key doesn't exist or the type doesn't match, value is set to null
| virtual void PtexMetaData::getValue | ( | const char * | key, |
| const int32_t *& | value, | ||
| int & | count | ||
| ) | [pure virtual] |
Query the value of a given meta data entry.
If the key doesn't exist or the type doesn't match, value is set to null
| virtual void PtexMetaData::getValue | ( | const char * | key, |
| const float *& | value, | ||
| int & | count | ||
| ) | [pure virtual] |
Query the value of a given meta data entry.
If the key doesn't exist or the type doesn't match, value is set to null
| virtual void PtexMetaData::getValue | ( | const char * | key, |
| const double *& | value, | ||
| int & | count | ||
| ) | [pure virtual] |
Query the value of a given meta data entry.
If the key doesn't exist or the type doesn't match, value is set to null
1.7.5