|
SuperDex Physics C++ API
|
A non-owning view of precomputed grid-based signed-distance-field data. More...
#include <model_data.h>
Public Member Functions | |
| GridSdfDataView ()=default | |
| GridSdfDataView (GridSdfData const &src) | |
| Implicit conversion from GridSdfData. | |
| bool | operator!= (GridSdfDataView const &other) const =default |
| bool | operator== (GridSdfDataView const &other) const =default |
Public Attributes | |
| Aabb | bounds |
| Spatial bounds of the SDF grid. | |
| Int3 | dims {} |
| Dimensions of the SDF grid in X, Y, and Z. | |
| Aabb | negativeValueBounds |
| Spatial bounds of the portion of the SDF grid with negative values. | |
| std::optional< Quaternion > | rotation |
| Optional parent-from-grid rotation to apply at runtime. | |
| std::optional< Real3 > | scale |
| Optional parent-from-grid per-axis scale to apply at runtime. | |
| std::optional< Real3 > | translation |
| Optional parent-from-grid translation [m] to apply at runtime. | |
| Span< real const > | values |
| Signed distance values [m]. | |
A non-owning view of precomputed grid-based signed-distance-field data.
Definition at line 119 of file model_data.h.
|
default |
|
inline |
Implicit conversion from GridSdfData.
| [in] | src | Source data. |
Definition at line 22 of file model_data_inl.h.
|
default |
|
default |
| Aabb superdex::GridSdfDataView::bounds |
Spatial bounds of the SDF grid.
Values are distributed uniformly within this volume.
Definition at line 140 of file model_data.h.
| Int3 superdex::GridSdfDataView::dims {} |
Dimensions of the SDF grid in X, Y, and Z.
Definition at line 130 of file model_data.h.
| Aabb superdex::GridSdfDataView::negativeValueBounds |
Spatial bounds of the portion of the SDF grid with negative values.
Definition at line 148 of file model_data.h.
| std::optional<Quaternion> superdex::GridSdfDataView::rotation |
Optional parent-from-grid rotation to apply at runtime.
Definition at line 164 of file model_data.h.
| std::optional<Real3> superdex::GridSdfDataView::scale |
Optional parent-from-grid per-axis scale to apply at runtime.
Definition at line 156 of file model_data.h.
| std::optional<Real3> superdex::GridSdfDataView::translation |
Optional parent-from-grid translation [m] to apply at runtime.
Definition at line 172 of file model_data.h.
Signed distance values [m].
Definition at line 137 of file model_data.h.