SubsetMapping
Context: Sofa.Component.Mapping.Linear
TODO-SubsetMappingClass
- 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
indices : list of input indices
first : first index (use if indices are sequential)
last : last index (use if indices are sequential)
radius : search radius to find corresponding points in case no indices are given
handleTopologyChange : Enable support of topological changes for indices (disable if it is linked from SubsetTopologicalMapping::pointD2S)
ignoreNotFound : True to ignore points that are not found in the input model, they will be treated as fixed points
resizeToModel : True to resize the output MechanicalState to match the size of indices
- 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
topology : link to the topology container