#include <nanovdb/NanoVDB.h>
◆ GridBlindMetaData() [1/3]
◆ GridBlindMetaData() [2/3]
◆ GridBlindMetaData() [3/3]
Copy constructor that resets mDataOffset and zeros out mName.
◆ blindData()
returns a const void point to the blind data
- Note
- assumes that setBlinddData was called
◆ blindDataSize()
return size in bytes of the blind data represented by this blind meta data
- Note
- This size includes possible padding for 32 byte alignment. The actual amount of bind data is mValueCount * mValueSize
◆ getBlindData()
template<typename BlindDataT>
Get a const pointer to the blind data represented by this meta data.
- Template Parameters
-
| BlindDataT | Expected value type of the blind data. |
- Returns
- Returns NULL if mGridType!=toGridType<BlindDataT>(), else a const point of type BlindDataT.
- Note
- Use mDataType=Unknown if BlindDataT is a custom data type unknown to NanoVDB.
◆ isValid()
return true if this meta data has a valid combination of semantic, class and value tags
- Note
- this does not check if the mDataOffset has been set!
◆ operator=()
Copy assignment operator that resets mDataOffset and copies mName.
- Parameters
-
| rhs | right-hand instance to copy |
- Returns
- reference to itself
◆ setBlindData()
| __hostdev__ void setBlindData |
( |
const void * | blindData | ) |
|
|
inline |
◆ setName()
Sets the name string.
- Parameters
-
- Returns
- returns false if
name has too many characters
◆ MaxNameSize
| const int MaxNameSize = 256 |
|
static |
◆ mDataClass
◆ mDataOffset
◆ mDataType
◆ mName
◆ mSemantic
◆ mValueCount
◆ mValueSize