Skip to content

EvalPointsDistance

Periodically compute the distance between 2 set of points

Templates:

  • Rigid3d
  • Vec3d

Target: SofaValidation

namespace: sofa::component::misc

parents:

  • BaseObject

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
isToPrint suppress somes data before using save as function 0
filename output file name
period period between outputs 0
distance distances (OUTPUT)
distMean mean distance (OUTPUT) 1
distMin min distance (OUTPUT) 1
distMax max distance (OUTPUT) 1
distDev distance standard deviation (OUTPUT) 1
rdistMean mean relative distance (OUTPUT) 1
rdistMin min relative distance (OUTPUT) 1
rdistMax max relative distance (OUTPUT) 1
rdistDev relative distance standard deviation (OUTPUT) 1
Visualization
draw activate rendering of lines between associated points 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
object1 Mechanical state 1
object2 Mechanical state 2