|
Blender
V2.93
|
#include <openvdb_level_set.h>
Public Member Functions | |
| OpenVDBLevelSet () | |
| ~OpenVDBLevelSet () | |
| const openvdb::FloatGrid::Ptr & | get_grid () |
| void | set_grid (const openvdb::FloatGrid::Ptr &grid) |
| 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) |
| void | volume_to_mesh (struct OpenVDBVolumeToMeshData *mesh, const double isovalue, const double adaptivity, const bool relax_disoriented_triangles) |
| 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) |
Definition at line 31 of file openvdb_level_set.h.
| OpenVDBLevelSet::OpenVDBLevelSet | ( | ) |
Definition at line 26 of file openvdb_level_set.cc.
References initialize().
| OpenVDBLevelSet::~OpenVDBLevelSet | ( | ) |
Definition at line 31 of file openvdb_level_set.cc.
| openvdb::FloatGrid::Ptr OpenVDBLevelSet::CSG_operation_apply | ( | const openvdb::FloatGrid::Ptr & | gridA, |
| const openvdb::FloatGrid::Ptr & | gridB, | ||
| OpenVDBLevelSet_CSGOperation | operation | ||
| ) |
Definition at line 148 of file openvdb_level_set.cc.
References OPENVDB_LEVELSET_CSG_DIFFERENCE, OPENVDB_LEVELSET_CSG_INTERSECTION, and OPENVDB_LEVELSET_CSG_UNION.
Referenced by OpenVDBLevelSet_CSG_operation().
| void OpenVDBLevelSet::filter | ( | OpenVDBLevelSet_FilterType | filter_type, |
| int | width, | ||
| float | distance, | ||
| OpenVDBLevelSet_FilterBias | filter_bias | ||
| ) |
Definition at line 106 of file openvdb_level_set.cc.
References distance(), OPENVDB_LEVELSET_FILTER_DILATE, OPENVDB_LEVELSET_FILTER_ERODE, OPENVDB_LEVELSET_FILTER_GAUSSIAN, OPENVDB_LEVELSET_FILTER_LAPLACIAN, OPENVDB_LEVELSET_FILTER_MEAN, OPENVDB_LEVELSET_FILTER_MEAN_CURVATURE, OPENVDB_LEVELSET_FILTER_MEDIAN, OPENVDB_LEVELSET_FILTER_NONE, and width.
Referenced by OpenVDBLevelSet_filter().
| const openvdb::FloatGrid::Ptr & OpenVDBLevelSet::get_grid | ( | ) |
Definition at line 168 of file openvdb_level_set.cc.
Referenced by OpenVDBLevelSet_CSG_operation(), and OpenVDBLevelSet_transform_and_resample().
| void OpenVDBLevelSet::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 | ||
| ) |
Definition at line 35 of file openvdb_level_set.cc.
References faces.
Referenced by OpenVDBLevelSet_mesh_to_level_set(), and OpenVDBLevelSet_mesh_to_level_set_transform().
| void OpenVDBLevelSet::set_grid | ( | const openvdb::FloatGrid::Ptr & | grid | ) |
Definition at line 173 of file openvdb_level_set.cc.
Referenced by OpenVDBLevelSet_create(), OpenVDBLevelSet_CSG_operation(), and OpenVDBLevelSet_transform_and_resample().
| void OpenVDBLevelSet::volume_to_mesh | ( | struct OpenVDBVolumeToMeshData * | mesh, |
| const double | isovalue, | ||
| const double | adaptivity, | ||
| const bool | relax_disoriented_triangles | ||
| ) |
Definition at line 57 of file openvdb_level_set.cc.
References float(), MEM_malloc_arrayN, mesh, NULL, and Mesh::size.
Referenced by OpenVDBLevelSet_volume_to_mesh().