|
Blender
V2.93
|
Go to the source code of this file.
Classes | |
| struct | OpenVDBVolumeToMeshData |
| struct | OpenVDBRemeshData |
Typedefs | |
| typedef enum OpenVDBLevelSet_FilterType | OpenVDBLevelSet_FilterType |
| typedef enum OpenVDBLevelSet_FilterBias | OpenVDBLevelSet_FilterBias |
| typedef enum OpenVDBLevelSet_CSGOperation | OpenVDBLevelSet_CSGOperation |
| typedef enum OpenVDBLevelSet_GridSampler | OpenVDBLevelSet_Gridsampler |
| typedef enum OpenVDBLevelSet_CSGOperation OpenVDBLevelSet_CSGOperation |
| typedef enum OpenVDBLevelSet_FilterBias OpenVDBLevelSet_FilterBias |
| typedef enum OpenVDBLevelSet_FilterType OpenVDBLevelSet_FilterType |
| typedef enum OpenVDBLevelSet_GridSampler OpenVDBLevelSet_Gridsampler |
| anonymous enum |
| Enumerator | |
|---|---|
| VEC_INVARIANT | |
| VEC_COVARIANT | |
| VEC_COVARIANT_NORMALIZE | |
| VEC_CONTRAVARIANT_RELATIVE | |
| VEC_CONTRAVARIANT_ABSOLUTE | |
Definition at line 98 of file openvdb_capi.h.
| Enumerator | |
|---|---|
| OPENVDB_LEVELSET_CSG_UNION | |
| OPENVDB_LEVELSET_CSG_DIFFERENCE | |
| OPENVDB_LEVELSET_CSG_INTERSECTION | |
Definition at line 48 of file openvdb_capi.h.
| Enumerator | |
|---|---|
| OPENVDB_LEVELSET_FIRST_BIAS | |
| OPENVDB_LEVELSET_SECOND_BIAS | |
| OPENVDB_LEVELSET_THIRD_BIAS | |
| OPENVDB_LEVELSET_WENO5_BIAS | |
| OPENVDB_LEVELSET_HJWENO5_BIAS | |
Definition at line 39 of file openvdb_capi.h.
Definition at line 28 of file openvdb_capi.h.
| Enumerator | |
|---|---|
| OPENVDB_LEVELSET_GRIDSAMPLER_NONE | |
| OPENVDB_LEVELSET_GRIDSAMPLER_POINT | |
| OPENVDB_LEVELSET_GRIDSAMPLER_BOX | |
| OPENVDB_LEVELSET_GRIDSAMPLER_QUADRATIC | |
Definition at line 54 of file openvdb_capi.h.
| int OpenVDB_getVersionHex | ( | void | ) |
Definition at line 25 of file openvdb_capi.cc.
Referenced by make_openvdb_info().
| struct OpenVDBLevelSet* OpenVDBLevelSet_create | ( | bool | initGrid, |
| struct OpenVDBTransform * | xform | ||
| ) |
Definition at line 30 of file openvdb_capi.cc.
References OpenVDBTransform::get_transform(), and OpenVDBLevelSet::set_grid().
Referenced by OpenVDBLevelSet_transform_and_resample().
| void OpenVDBLevelSet_CSG_operation | ( | struct OpenVDBLevelSet * | out, |
| struct OpenVDBLevelSet * | gridA, | ||
| struct OpenVDBLevelSet * | gridB, | ||
| OpenVDBLevelSet_CSGOperation | operation | ||
| ) |
Definition at line 102 of file openvdb_capi.cc.
References OpenVDBLevelSet::CSG_operation_apply(), OpenVDBLevelSet::get_grid(), and OpenVDBLevelSet::set_grid().
| void OpenVDBLevelSet_filter | ( | struct OpenVDBLevelSet * | level_set, |
| OpenVDBLevelSet_FilterType | filter_type, | ||
| int | width, | ||
| float | distance, | ||
| OpenVDBLevelSet_FilterBias | bias | ||
| ) |
Definition at line 93 of file openvdb_capi.cc.
References distance(), OpenVDBLevelSet::filter(), and width.
| void OpenVDBLevelSet_free | ( | struct OpenVDBLevelSet * | level_set | ) |
Definition at line 59 of file openvdb_capi.cc.
Referenced by BKE_mesh_remesh_voxel_to_mesh_nomain().
| 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 | ||
| ) |
Definition at line 64 of file openvdb_capi.cc.
References faces, OpenVDBTransform::get_transform(), and OpenVDBLevelSet::mesh_to_level_set().
| 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 | ||
| ) |
Definition at line 74 of file openvdb_capi.cc.
References faces, OpenVDBLevelSet::mesh_to_level_set(), and transform().
| struct OpenVDBLevelSet* OpenVDBLevelSet_transform_and_resample | ( | struct OpenVDBLevelSet * | level_setA, |
| struct OpenVDBLevelSet * | level_setB, | ||
| char | sampler, | ||
| float | isolevel | ||
| ) |
Definition at line 112 of file openvdb_capi.cc.
References OpenVDBLevelSet::get_grid(), NULL, OPENVDB_LEVELSET_GRIDSAMPLER_BOX, OPENVDB_LEVELSET_GRIDSAMPLER_NONE, OPENVDB_LEVELSET_GRIDSAMPLER_POINT, OPENVDB_LEVELSET_GRIDSAMPLER_QUADRATIC, OpenVDBLevelSet_create(), and OpenVDBLevelSet::set_grid().
| void OpenVDBLevelSet_volume_to_mesh | ( | struct OpenVDBLevelSet * | level_set, |
| struct OpenVDBVolumeToMeshData * | mesh, | ||
| const double | isovalue, | ||
| const double | adaptivity, | ||
| const bool | relax_disoriented_triangles | ||
| ) |
Definition at line 84 of file openvdb_capi.cc.
References mesh, and OpenVDBLevelSet::volume_to_mesh().
| struct OpenVDBTransform* OpenVDBTransform_create | ( | void | ) |
Definition at line 44 of file openvdb_capi.cc.
Referenced by BKE_mesh_remesh_voxel_to_mesh_nomain().
| void OpenVDBTransform_create_linear_transform | ( | struct OpenVDBTransform * | transform, |
| double | voxel_size | ||
| ) |
Definition at line 54 of file openvdb_capi.cc.
References transform().
Referenced by BKE_mesh_remesh_voxel_to_mesh_nomain().
| void OpenVDBTransform_free | ( | struct OpenVDBTransform * | transform | ) |
Definition at line 49 of file openvdb_capi.cc.
References transform().
Referenced by BKE_mesh_remesh_voxel_to_mesh_nomain().