Skip to content

PartialLinearMovementProjectiveConstraint

Impose a motion to given DOFs (translation and rotation) in some directions only.

Rigid3d

Templates:

  • Rigid3d

Target: Sofa.Component.Constraint.Projective

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

parents:

  • ProjectiveConstraintSet

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
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 constrained points
keyTimes key times for the movements
movements movements corresponding to the key times
linearMovementBetweenNodesInIndices Take into account the linear movement between the constrained points 0
mainIndice The main indice node in the list of constrained nodes, it defines how to apply the linear movement between this constrained nodes
minDepIndice The indice node in the list of constrained nodes, which is imposed the minimum displacement
maxDepIndice The indice node in the list of constrained nodes, which is imposed the maximum displacement
imposedDisplacmentOnMacroNodes The imposed displacement on macro nodes
X0 Size of specimen in X-direction 0
Y0 Size of specimen in Y-direction 0
Z0 Size of specimen in Z-direction 0
movedDirections Defines the directions in which the particles are moved: true (or 1) for fixed, false (or 0) for free
Visualization
showMovement Visualization of the movement to be applied to constrained dofs. 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<Rigid3d>
topology link to the topology container BaseMeshTopology

Vec1d

Templates:

  • Vec1d

Target: Sofa.Component.Constraint.Projective

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

parents:

  • ProjectiveConstraintSet

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
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 constrained points
keyTimes key times for the movements
movements movements corresponding to the key times
linearMovementBetweenNodesInIndices Take into account the linear movement between the constrained points 0
mainIndice The main indice node in the list of constrained nodes, it defines how to apply the linear movement between this constrained nodes
minDepIndice The indice node in the list of constrained nodes, which is imposed the minimum displacement
maxDepIndice The indice node in the list of constrained nodes, which is imposed the maximum displacement
imposedDisplacmentOnMacroNodes The imposed displacement on macro nodes
X0 Size of specimen in X-direction 0
Y0 Size of specimen in Y-direction 0
Z0 Size of specimen in Z-direction 0
movedDirections Defines the directions in which the particles are moved: true (or 1) for fixed, false (or 0) for free
Visualization
showMovement Visualization of the movement to be applied to constrained dofs. 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<Vec1d>
topology link to the topology container BaseMeshTopology

Vec2d

Templates:

  • Vec2d

Target: Sofa.Component.Constraint.Projective

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

parents:

  • ProjectiveConstraintSet

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
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 constrained points
keyTimes key times for the movements
movements movements corresponding to the key times
linearMovementBetweenNodesInIndices Take into account the linear movement between the constrained points 0
mainIndice The main indice node in the list of constrained nodes, it defines how to apply the linear movement between this constrained nodes
minDepIndice The indice node in the list of constrained nodes, which is imposed the minimum displacement
maxDepIndice The indice node in the list of constrained nodes, which is imposed the maximum displacement
imposedDisplacmentOnMacroNodes The imposed displacement on macro nodes
X0 Size of specimen in X-direction 0
Y0 Size of specimen in Y-direction 0
Z0 Size of specimen in Z-direction 0
movedDirections Defines the directions in which the particles are moved: true (or 1) for fixed, false (or 0) for free
Visualization
showMovement Visualization of the movement to be applied to constrained dofs. 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<Vec2d>
topology link to the topology container BaseMeshTopology

Vec3d

Templates:

  • Vec3d

Target: Sofa.Component.Constraint.Projective

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

parents:

  • ProjectiveConstraintSet

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
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 constrained points
keyTimes key times for the movements
movements movements corresponding to the key times
linearMovementBetweenNodesInIndices Take into account the linear movement between the constrained points 0
mainIndice The main indice node in the list of constrained nodes, it defines how to apply the linear movement between this constrained nodes
minDepIndice The indice node in the list of constrained nodes, which is imposed the minimum displacement
maxDepIndice The indice node in the list of constrained nodes, which is imposed the maximum displacement
imposedDisplacmentOnMacroNodes The imposed displacement on macro nodes
X0 Size of specimen in X-direction 0
Y0 Size of specimen in Y-direction 0
Z0 Size of specimen in Z-direction 0
movedDirections Defines the directions in which the particles are moved: true (or 1) for fixed, false (or 0) for free
Visualization
showMovement Visualization of the movement to be applied to constrained dofs. 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>
topology link to the topology container BaseMeshTopology

Vec6d

Templates:

  • Vec6d

Target: Sofa.Component.Constraint.Projective

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

parents:

  • ProjectiveConstraintSet

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
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 constrained points
keyTimes key times for the movements
movements movements corresponding to the key times
linearMovementBetweenNodesInIndices Take into account the linear movement between the constrained points 0
mainIndice The main indice node in the list of constrained nodes, it defines how to apply the linear movement between this constrained nodes
minDepIndice The indice node in the list of constrained nodes, which is imposed the minimum displacement
maxDepIndice The indice node in the list of constrained nodes, which is imposed the maximum displacement
imposedDisplacmentOnMacroNodes The imposed displacement on macro nodes
X0 Size of specimen in X-direction 0
Y0 Size of specimen in Y-direction 0
Z0 Size of specimen in Z-direction 0
movedDirections Defines the directions in which the particles are moved: true (or 1) for fixed, false (or 0) for free
Visualization
showMovement Visualization of the movement to be applied to constrained dofs. 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<Vec6d>
topology link to the topology container BaseMeshTopology