OpenVDB
12.1.0
|
#include <nanovdb/NanoVDB.h>
Public Member Functions | |
GridBlindMetaData () | |
Empty constructor. More... | |
GridBlindMetaData (int64_t dataOffset, uint64_t valueCount, uint32_t valueSize, GridBlindDataSemantic semantic, GridBlindDataClass dataClass, GridType dataType) | |
GridBlindMetaData (const GridBlindMetaData &other) | |
Copy constructor that resets mDataOffset and zeros out mName. More... | |
const GridBlindMetaData & | operator= (const GridBlindMetaData &rhs) |
Copy assignment operator that resets mDataOffset and copies mName. More... | |
__hostdev__ void | setBlindData (const void *blindData) |
__hostdev__ bool | setName (const char *name) |
Sets the name string. More... | |
__hostdev__ const void * | blindData () const |
returns a const void point to the blind data More... | |
template<typename BlindDataT > | |
__hostdev__ const BlindDataT * | getBlindData () const |
Get a const pointer to the blind data represented by this meta data. More... | |
__hostdev__ bool | isValid () const |
return true if this meta data has a valid combination of semantic, class and value tags More... | |
__hostdev__ uint64_t | blindDataSize () const |
return size in bytes of the blind data represented by this blind meta data More... | |
Public Attributes | |
int64_t | mDataOffset |
uint64_t | mValueCount |
uint32_t | mValueSize |
GridBlindDataSemantic | mSemantic |
GridBlindDataClass | mDataClass |
GridType | mDataType |
char | mName [MaxNameSize] |
Static Public Attributes | |
static const int | MaxNameSize = 256 |
|
inline |
Empty constructor.
|
inline |
|
inline |
Copy constructor that resets mDataOffset and zeros out mName.
|
inline |
returns a const void point to the blind data
|
inline |
return size in bytes of the blind data represented by this blind meta data
|
inline |
Get a const pointer to the blind data represented by this meta data.
BlindDataT | Expected value type of the blind data. |
|
inline |
return true if this meta data has a valid combination of semantic, class and value tags
|
inline |
Copy assignment operator that resets mDataOffset and copies mName.
rhs | right-hand instance to copy |
|
inline |
|
inline |
Sets the name string.
name | c-string source name |
name
has too many characters
|
static |
GridBlindDataClass mDataClass |
int64_t mDataOffset |
GridType mDataType |
char mName[MaxNameSize] |
GridBlindDataSemantic mSemantic |
uint64_t mValueCount |
uint32_t mValueSize |