14#include <lagrange/SurfaceMesh.h>
15#include <lagrange/volume/types.h>
17#ifdef LAGRANGE_ENABLE_LEGACY_FUNCTIONS
18 #include <lagrange/volume/legacy/mesh_to_volume.h>
21namespace lagrange::volume {
58template <
typename Gr
idScalar =
float,
typename Scalar,
typename Index>
60 ->
typename Grid<GridScalar>::Ptr;
A general purpose polygonal mesh class.
Definition SurfaceMesh.h:66
Mesh to volume conversion options.
Definition mesh_to_volume.h:27
Sign signing_method
Method used to compute the sign of the distance field that determines interior voxels.
Definition mesh_to_volume.h:42
double voxel_size
Grid voxel size.
Definition mesh_to_volume.h:39
Sign
Available methods to compute the sign of the distance field (i.e.
Definition mesh_to_volume.h:32
@ WindingNumber
Fast winding number approach based on [Barill et al. 2018].
Definition mesh_to_volume.h:34
@ FloodFill
Default voxel flood-fill method used by OpenVDB.
Definition mesh_to_volume.h:33