DistanceFromTargetMapping
Context: Sofa.Component.Mapping.NonLinear
Compute edge extensions
- Data:
name : object name
printLog : if true, emits extra messages at runtime.
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).
listening : if true, handle the events, otherwise ignore the events
mapForces : Are forces mapped ?
mapConstraints : Are constraints mapped ?
mapMasses : Are masses mapped ?
mapMatrices : Are matrix explicit mapped?
applyRestPosition : set to true to apply this mapping to restPosition at init
geometricStiffness : Method used to compute the geometric stiffness:
-None: geometric stiffness is not computed -Exact: the exact geometric stiffness is computed -Stabilized: the exact geometric stiffness is approximated in order to improve stability
indices : Indices of the parent points
targetPositions : Positions to compute the distances from
restLengths : Rest lengths of the connections.
showObjectScale : Scale for object display
showColor : Color for object display. (default=[1.0,1.0,0.0,1.0])
- Links:
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
input : Input object to map
output : Output object to map