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 int channelCount()
const = 0;
70 virtual int64 leafCount()
const = 0;
72 virtual bool onCPU()
const = 0;
73 virtual bool onGPU()
const = 0;
76 virtual HOM_Matrix4 indexToWorldTransform()
const = 0;
77 virtual HOM_Matrix4 worldToIndexTransform()
const = 0;
83 virtual bool isFrozen()
const = 0;
86 virtual std::map<std::string, hboost::any> properties()
const = 0;
87 virtual void setProperties(
const std::map<std::string, hboost::any> &p) = 0;
88 virtual void updateProperties(
const std::map<std::string, hboost::any> &p) = 0;
91 virtual std::map<std::string, hboost::any> attributes()
const = 0;
92 virtual void setAttributes(
const std::map<std::string, hboost::any> &p) = 0;
93 virtual void updateAttributes(
const std::map<std::string, hboost::any> &p) = 0;
98 virtual hboost::any computeMin(
int channel = 0)
const = 0;
99 virtual hboost::any computeMax(
int channel = 0)
const = 0;
102 virtual double computeAverage(
int channel = 0)
const = 0;
107 void setFromRawNanoVDB(InterpreterObject
values)
109 HOM_PyBuffer
buffer(values);
110 self->opaqueSetFromRawNanoVDB(
117 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
bool any(const vbool4 &v)
void ignore(T const &) VULKAN_HPP_NOEXCEPT
#define HOM_CONSTRUCT_OBJECT(pointer)
virtual HOM_NanoVDB * newNanoVDB(HOM_NanoVDB *vdb=nullptr)=0
HUSD_API const char * resolution()
GLenum GLsizei GLsizei GLint * values
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_API HOM_Module & HOM()