|
OpenVDB 12.1.0
|
Class used to generate a grid of type GridType containing a narrow-band level set representation of a dilated mesh (surface mesh dilated by a radius in all directions).
More...
#include <openvdb/tools/impl/LevelSetDilatedMeshImpl.h>
Public Member Functions | |
| DilatedMeshVoxelizer (const std::vector< Vec3T > &vertices, const std::vector< Vec3I > &triangles, ScalarType radius, float voxelSize, float halfWidth, InterruptT *interrupter) | |
| Constructor for constant radius. | |
| DilatedMeshVoxelizer (DilatedMeshVoxelizer &other, tbb::split) | |
| void | operator() (const tbb::blocked_range< size_t > &rng) |
| void | join (DilatedMeshVoxelizer &other) |
| Index64 | bucketSize () const |
| Index64 | cellSize () const |
| GridPtr | getGrid () const |
Class used to generate a grid of type GridType containing a narrow-band level set representation of a dilated mesh (surface mesh dilated by a radius in all directions).
GridType::ValueType must be a floating-point scalar. ScalarType represents the mesh vertex and radius type and must be a floating-point scalar.
|
inline |
Constructor for constant radius.
| vertices | vertices of the mesh in world units |
| triangles | triangle indices indices in the mesh |
| radius | radius of all faces in world units |
| voxelSize | voxel size in world units |
| halfWidth | half-width in voxel units |
| interrupter | pointer to optional interrupter. Use template argument util::NullInterrupter if no interruption is desired. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |