20 #ifndef __OPENVDB_LEVEL_SET_H__
21 #define __OPENVDB_LEVEL_SET_H__
24 #include <openvdb/math/FiniteDifference.h>
25 #include <openvdb/openvdb.h>
26 #include <openvdb/tools/GridTransformer.h>
27 #include <openvdb/tools/LevelSetFilter.h>
28 #include <openvdb/tools/MeshToVolume.h>
29 #include <openvdb/tools/VolumeToMesh.h>
33 openvdb::FloatGrid::Ptr grid;
38 const openvdb::FloatGrid::Ptr &
get_grid();
39 void set_grid(
const openvdb::FloatGrid::Ptr &grid);
42 const unsigned int *
faces,
43 const unsigned int totvertices,
44 const unsigned int totfaces,
45 const openvdb::math::Transform::Ptr &
transform);
48 const double isovalue,
49 const double adaptivity,
50 const bool relax_disoriented_triangles);
56 const openvdb::FloatGrid::Ptr &gridB,
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei width
SIMD_FORCE_INLINE btVector3 transform(const btVector3 &point) const
OpenVDBLevelSet_CSGOperation
OpenVDBLevelSet_FilterType
OpenVDBLevelSet_FilterBias
void set_grid(const openvdb::FloatGrid::Ptr &grid)
void volume_to_mesh(struct OpenVDBVolumeToMeshData *mesh, const double isovalue, const double adaptivity, const bool relax_disoriented_triangles)
const openvdb::FloatGrid::Ptr & get_grid()
void filter(OpenVDBLevelSet_FilterType filter_type, int width, float distance, OpenVDBLevelSet_FilterBias filter_bias)
openvdb::FloatGrid::Ptr CSG_operation_apply(const openvdb::FloatGrid::Ptr &gridA, const openvdb::FloatGrid::Ptr &gridB, OpenVDBLevelSet_CSGOperation operation)
void mesh_to_level_set(const float *vertices, const unsigned int *faces, const unsigned int totvertices, const unsigned int totfaces, const openvdb::math::Transform::Ptr &transform)
ccl_device_inline float distance(const float2 &a, const float2 &b)