4 #ifndef OPENVDB_IO_GRIDDESCRIPTOR_HAS_BEEN_INCLUDED
5 #define OPENVDB_IO_GRIDDESCRIPTOR_HAS_BEEN_INCLUDED
34 bool isInstance()
const {
return !mInstanceParentName.empty(); }
48 void seekToGrid(std::istream&)
const;
49 void seekToBlocks(std::istream&)
const;
50 void seekToEnd(std::istream&)
const;
52 void seekToGrid(std::ostream&)
const;
53 void seekToBlocks(std::ostream&)
const;
54 void seekToEnd(std::ostream&)
const;
58 void writeHeader(std::ostream&)
const;
62 void writeStreamPos(std::ostream&)
const;
70 static Name addSuffix(
const Name&,
int n);
73 static Name stripSuffix(
const Name&);
88 Name mInstanceParentName;
92 bool mSaveFloatAsHalf;
105 #endif // OPENVDB_IO_GRIDDESCRIPTOR_HAS_BEEN_INCLUDED
SharedPtr< GridBase > Ptr
void setBlockPos(int64_t pos)
GLsizei const GLchar *const * string
const Name & instanceParentName() const
#define OPENVDB_USE_VERSION_NAMESPACE
bool saveFloatAsHalf() const
int64_t getEndPos() const
int64_t getGridPos() const
GLuint const GLchar * name
int64_t getBlockPos() const
const Name & uniqueName() const
LeafData & operator=(const LeafData &)=delete
void setGridPos(int64_t pos)
const Name & gridName() const
void setInstanceParentName(const Name &name)
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
void setEndPos(int64_t pos)
const Name & gridType() const