|
SuperDex Physics C++ API
|
Parameters controlling the resolution of grid-based Signed Distance Fields (SDF). More...
#include <grid_sdf_params.h>
Public Member Functions | |
| bool | operator== (GridSdfParams const &) const =default |
Public Attributes | |
| real | boundaryPaddingDist = kGridSdfDefaultBoundaryPadding |
| Additional distance (in meters) to expand the mesh's axis-aligned bounding box (AABB) when determining the SDF grid bounds. | |
| Int3 | minGridResolution = {6, 6, 6} |
| The minimum grid resolution measured in number of voxels per axis. | |
| Real3 | resolutionDelta = {0.25_r, 0.25_r, 0.25_r} |
| The maximum voxel size will be resolutionDelta times the reference measurement computed using resolutionMode. | |
| GridSdfResolutionMode | resolutionMode = GridSdfResolutionMode::MeanEdge |
| Defines the mesh feature used as reference measurement for computing the voxel size. | |
Parameters controlling the resolution of grid-based Signed Distance Fields (SDF).
A GridSdf represents the SDF to a closed surface mesh as a 3D grid where each vertex stores the signed distance to the surface mesh. The SDF grid resolution and bounds are controlled by these parameters.
Definition at line 97 of file grid_sdf_params.h.
|
default |
| real superdex::GridSdfParams::boundaryPaddingDist = kGridSdfDefaultBoundaryPadding |
Additional distance (in meters) to expand the mesh's axis-aligned bounding box (AABB) when determining the SDF grid bounds.
The SDF grid will cover the mesh's AABB expanded by this distance in all directions. This ensures the SDF has valid distance values even slightly outside the mesh's AABB.
Definition at line 138 of file grid_sdf_params.h.
| Int3 superdex::GridSdfParams::minGridResolution = {6, 6, 6} |
The minimum grid resolution measured in number of voxels per axis.
Definition at line 146 of file grid_sdf_params.h.
| Real3 superdex::GridSdfParams::resolutionDelta = {0.25_r, 0.25_r, 0.25_r} |
The maximum voxel size will be resolutionDelta times the reference measurement computed using resolutionMode.
Definition at line 120 of file grid_sdf_params.h.
| GridSdfResolutionMode superdex::GridSdfParams::resolutionMode = GridSdfResolutionMode::MeanEdge |
Defines the mesh feature used as reference measurement for computing the voxel size.
Definition at line 103 of file grid_sdf_params.h.