Skip to content

SutureController

Provides a Mouse & Keyboard user control on an EdgeSet Topology.

Templates:

  • Rigid3d

Target: BeamAdapter

namespace: sofa::component::controller::_suturecontroller_

parents:

  • MechanicalStateController

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
handleEventTriggersUpdate Event handling frequency controls the controller update frequency 0
index Index of the controlled DOF 0
onlyTranslation Controlling the DOF only in translation 0
buttonDeviceState state of ths device button 0
mainDirection Main direction and orientation of the controlled DOF 0 0 -1
startingPos starting pos for inserting the instrument 0 0 0 0 0 0 1
threshold threshold for controller precision which is homogeneous to the unit of length 1e-06
maxBendingAngle max bending criterion (in rad) for one beam 0.1
useDummyController use a very simple controller of adaptativity (use for debug) 0
fixRigidTransforms fix the sampling and transformations of rigid segments 0
rigidCurvAbs pairs of curv abs for beams we want to rigidify
nodeCurvAbs
curvatureList List of the beams curvature (abscissa - curvature)
controlPoints List of the spline control points positions
updateOnBeginAnimationStep If true update interpolation and subgraph on beginAnimationStep 0
applyOrientationFirstInCreateNeedle if true, it sets first the orientation, then the rotation for a init node of the needle 0
reinitilizeWireOnInit reinitialize the wire everytime init() is called (for planning purposes) 0
m_actualStepNoticeablePoints points (as curv. absc.) that are to be considered when computing a new sampling in the actual time step

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
interpolation Path to the Interpolation component on scene