20 #ifndef __OPENVDB_CAPI_H__
21 #define __OPENVDB_CAPI_H__
114 const float *vertices,
115 const unsigned int *
faces,
116 const unsigned int totvertices,
117 const unsigned int totfaces,
120 const float *vertices,
121 const unsigned int *
faces,
122 const unsigned int totvertices,
123 const unsigned int totfaces,
127 const double isovalue,
128 const double adaptivity,
129 const bool relax_disoriented_triangles);
_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
@ OPENVDB_LEVELSET_CSG_UNION
@ OPENVDB_LEVELSET_CSG_INTERSECTION
@ OPENVDB_LEVELSET_CSG_DIFFERENCE
void OpenVDBLevelSet_mesh_to_level_set_transform(struct OpenVDBLevelSet *level_set, const float *vertices, const unsigned int *faces, const unsigned int totvertices, const unsigned int totfaces, struct OpenVDBTransform *transform)
struct OpenVDBLevelSet * OpenVDBLevelSet_transform_and_resample(struct OpenVDBLevelSet *level_setA, struct OpenVDBLevelSet *level_setB, char sampler, float isolevel)
void OpenVDBTransform_free(struct OpenVDBTransform *transform)
@ VEC_CONTRAVARIANT_ABSOLUTE
@ VEC_CONTRAVARIANT_RELATIVE
@ VEC_COVARIANT_NORMALIZE
void OpenVDBTransform_create_linear_transform(struct OpenVDBTransform *transform, double voxel_size)
OpenVDBLevelSet_FilterType
@ OPENVDB_LEVELSET_FILTER_DILATE
@ OPENVDB_LEVELSET_FILTER_MEAN_CURVATURE
@ OPENVDB_LEVELSET_FILTER_GAUSSIAN
@ OPENVDB_LEVELSET_FILTER_ERODE
@ OPENVDB_LEVELSET_FILTER_LAPLACIAN
@ OPENVDB_LEVELSET_FILTER_MEAN
@ OPENVDB_LEVELSET_FILTER_NONE
@ OPENVDB_LEVELSET_FILTER_MEDIAN
void OpenVDBLevelSet_free(struct OpenVDBLevelSet *level_set)
struct OpenVDBLevelSet * OpenVDBLevelSet_create(bool initGrid, struct OpenVDBTransform *xform)
void OpenVDBLevelSet_volume_to_mesh(struct OpenVDBLevelSet *level_set, struct OpenVDBVolumeToMeshData *mesh, const double isovalue, const double adaptivity, const bool relax_disoriented_triangles)
void OpenVDBLevelSet_mesh_to_level_set(struct OpenVDBLevelSet *level_set, const float *vertices, const unsigned int *faces, const unsigned int totvertices, const unsigned int totfaces, struct OpenVDBTransform *xform)
enum OpenVDBLevelSet_GridSampler OpenVDBLevelSet_Gridsampler
OpenVDBLevelSet_GridSampler
@ OPENVDB_LEVELSET_GRIDSAMPLER_QUADRATIC
@ OPENVDB_LEVELSET_GRIDSAMPLER_NONE
@ OPENVDB_LEVELSET_GRIDSAMPLER_BOX
@ OPENVDB_LEVELSET_GRIDSAMPLER_POINT
void OpenVDBLevelSet_filter(struct OpenVDBLevelSet *level_set, OpenVDBLevelSet_FilterType filter_type, int width, float distance, OpenVDBLevelSet_FilterBias bias)
OpenVDBLevelSet_FilterBias
@ OPENVDB_LEVELSET_SECOND_BIAS
@ OPENVDB_LEVELSET_FIRST_BIAS
@ OPENVDB_LEVELSET_WENO5_BIAS
@ OPENVDB_LEVELSET_THIRD_BIAS
@ OPENVDB_LEVELSET_HJWENO5_BIAS
int OpenVDB_getVersionHex(void)
struct OpenVDBTransform * OpenVDBTransform_create(void)
void OpenVDBLevelSet_CSG_operation(struct OpenVDBLevelSet *out, struct OpenVDBLevelSet *gridA, struct OpenVDBLevelSet *gridB, OpenVDBLevelSet_CSGOperation operation)
enum OpenVDBLevelSet_FilterType filter_bias
int relax_disoriented_triangles
enum OpenVDBLevelSet_FilterBias filter_width
ccl_device_inline float distance(const float2 &a, const float2 &b)