Distances
Compute distances based on a grid.
Templates:
Vec3d
Target: Sofa.Component.Engine.Analyze
namespace: sofa::component::engine::analyze
parents:
DataEngine
Data:
| Name | Description | Default value |
|---|---|---|
| name | object name | unnamed |
| printLog | if true, emits extra messages at runtime. | 0 |
| tags | list of the subsets the objet belongs to | |
| bbox | this object bounding box | |
| componentState | The state of the component among (Dirty, Valid, Undefined, Loading, Invalid). | Undefined |
| listening | if true, handle the events, otherwise ignore the events | 0 |
| offset | translation offset between the topology and the point set. | 0 0 0 |
| distanceType | type of distance to compute for inserted frames. | Geodesic |
| initTarget | initialize the target MechanicalObject from the grid. | 0 |
| initTargetStep | initialize the target MechanicalObject from the grid using this step. | 1 |
| zonesFramePair | Correspondence between the segmented value and the frames. | |
| harmonicMaxValue | Max value used to initialize the harmonic distance grid. | 100 |
| filename | file containing the result of the computation of the distances | |
| targetPath | path to the goal point set topology | |
| hexaContainerPath | path to the grid used to compute the distances | |
| Visualization | ||
| showMapIndex | Frame DOF index on which display values. | 0 |
| showDistancesMap | show the distance for each point of the target point set. | 0 |
| showGoalDistancesMap | show the distance for each point of the target point set. | 0 |
| showTextScaleFactor | Scale to apply on the text. | 0.001 |
| showGradients | show gradients for each point of the target point set. | 0 |
| showGradientsScaleFactor | scale for the gradients displayed. | 0.1 |
Links:
| Name | Description |
|---|---|
| context | Graph Node containing this object (or BaseContext::getDefault() if no graph is used) |
| slaves | Sub-objects used internally by this object |
| master | nullptr for regular objects, or master object for which this object is one sub-objects |