9 #ifndef __HOM_NanoVDB_h__
10 #define __HOM_NanoVDB_h__
55 InterpreterObject
type, InterpreterObject
value,
56 InterpreterObject traceback)
61 virtual void close() = 0;
68 virtual int64 leafCount()
const = 0;
70 virtual bool onCPU()
const = 0;
71 virtual bool onGPU()
const = 0;
74 virtual HOM_Matrix4 indexToWorldTransform()
const = 0;
75 virtual HOM_Matrix4 worldToIndexTransform()
const = 0;
79 virtual bool isFrozen()
const = 0;
81 virtual std::map<std::string, hboost::any> attributes()
const = 0;
82 virtual void setAttributes(
const std::map<std::string, hboost::any> &p) = 0;
83 virtual void updateAttributes(
const std::map<std::string, hboost::any> &p) = 0;
90 void setFromRawNanoVDB(InterpreterObject
values)
92 HOM_PyBuffer
buffer(values);
93 self->opaqueSetFromRawNanoVDB(
100 virtual void opaqueSetFromRawNanoVDB(
const char *values,
int64 length) = 0;
virtual HOM_NanoVDB * __enter__()
#define HOM_DESTRUCT_OBJECT(pointer)
HOM_NanoVDB(const HOM_NanoVDB &)
GLsizei const GLfloat * value
GLuint GLsizei GLsizei * length
string __repr__(VtArray< T > const &self)
GLenum GLuint GLint GLint layer
GLint GLint GLsizei GLint GLenum GLenum type
void ignore(T const &) VULKAN_HPP_NOEXCEPT
#define HOM_CONSTRUCT_OBJECT(pointer)
virtual HOM_NanoVDB * newNanoVDB(HOM_NanoVDB *vdb=nullptr)=0
GLenum GLsizei GLsizei GLint * values
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_API HOM_Module & HOM()