Skip to content

PartialFixedProjectiveConstraint

Attach given particles to their initial positions

Templates:

  • Rigid2d
  • Rigid3d
  • Vec1d
  • Vec2d
  • Vec3d
  • Vec6d

Target: Sofa.Component.Constraint.Projective

namespace: sofa::component::constraint::projective

parents:

  • FixedProjectiveConstraint

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
group ID of the group containing this constraint. This ID is used to specify which constraints are solved by which solver, by specifying in each solver which groups of constraints it should handle. 0
endTime The constraint stops acting after the given value. Use a negative value for infinite constraints -1
indices Indices of the fixed points
fixAll filter all the DOF to implement a fixed object 0
activate_projectVelocity activate project velocity to set velocity 0
fixedDirections for each direction, 1 if fixed, 0 if free
projectVelocity project velocity to ensure no drift of the fixed point 0
Visualization
showObject draw or not the fixed constraints 1
drawSize 0 -> point based rendering, >0 -> radius of spheres 0

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
mechanicalStates List of mechanical states to which this component is associated
mstate MechanicalState used by this component
topology link to the topology container