Skip to content

ClosestPointRegistrationForceField

Compute forces based on closest points from/to a target surface/point set

Vec3d

Templates:

  • Vec3d

Target: Registration

namespace: sofa::component::forcefield

parents:

  • ForceField

Data

Name Description Default value
name object name unnamed
printLog if true, emits extra messages at runtime. 0
tags list of the subsets the object 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
rayleighStiffness Rayleigh damping - stiffness matrix coefficient 0
stiffness uniform stiffness for the all springs. 100
damping uniform damping for the all springs. 0
cacheSize number of closest points used in the cache to speed up closest point computation. 5
blendingFactor blending between projection (=0) and attraction (=1) forces. 0
outlierThreshold suppress outliers when distance > (meandistance + threshold*stddev). 0
normalThreshold suppress outliers when normal.closestPointNormal < threshold. 0.5
projectToPlane project closest points in the plane defined by the normal. 1
rejectBorders ignore border vertices. 1
rejectOutsideBbox ignore source points outside bounding box of target points. 0
sourceTriangles Triangles of the source mesh.
sourceNormals Normals of the source mesh.
position Vertices of the target mesh.
normals Normals of the target mesh.
triangles Triangles of the target mesh.
theCloserTheStiffer Modify stiffness according to distance 0
Visualization
showArrowSize size of the axis. 0.01
drawMode The way springs will be drawn: - 0: Line - 1:Cylinder - 2: Arrow. 0
drawColorMap Hue mapping of distances to closest point 0
Name Description Destination type name
context Graph Node containing this object (or BaseContext::getDefault() if no graph is used) BaseContext
slaves Sub-objects used internally by this object BaseObject
master nullptr for regular objects, or master object for which this object is one sub-objects BaseObject
mechanicalStates List of mechanical states to which this component is associated BaseMechanicalState
mstate MechanicalState used by this component MechanicalState<Vec3d>