sofa::component::constraint Namespace Reference


Data Structures

class  AttachConstraintInternalData
 This class can be overridden if needed for additionnal storage within template specializations. More...
class  AttachConstraint
 Attach given pair of particles, projecting the positions of the second particles to the first ones. More...
class  BoxConstraint
 Keep fixed all the particles located inside a given box. More...
class  FixedConstraintInternalData
 This class can be overridden if needed for additionnal storage within template specializations. More...
class  FixedConstraint
 Attach given particles to their initial positions. More...
class  FixedPlaneConstraint
class  LinearMovementConstraint
 impose a motion to given DOFs (translation and rotation) The motion between 2 key times is linearly interpolated More...
class  LinearSolverConstraintCorrection
 Component computing contact forces within a simulated body using the compliance method. More...
class  OscillatorConstraint
 Apply sinusoidal trajectories to particles. More...
class  ParabolicConstraint
 Apply a parabolic trajectory to particles going through 3 points specified by the user. More...
class  PrecomputedConstraintCorrection
 Component computing contact forces within a simulated body using the compliance method. More...
class  UncoupledConstraintCorrection
 Component computing contact forces within a simulated body using the compliance method. More...
class  UnilateralInteractionConstraint
class  FixedConstraintInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >

Functions

behavior::OdeSolver * getOdeSolver (objectmodel::BaseContext *context)
 to avoid compilation problem under gcc3.3
behavior::LinearSolver * getLinearSolver (objectmodel::BaseContext *context)
 CudaFixedConstraint_DeclMethods (gpu::cuda::CudaVec3fTypes)
 CudaFixedConstraint_ImplMethods (gpu::cuda::CudaVec3fTypes)

Variables

int AttachConstraintClass
int BoxConstraintClass
int FixedConstraintClass
int FixedPlaneConstraintClass
int LinearMovementConstraintClass
int LinearSolverContactCorrectionClass
int OscillatorConstraintClass
 * if (!getContext()->getShowBehaviorModels()) return;
int ParabolicConstraintClass
int ContactCorrectionClass
int UncoupledConstraintCorrectionClass
int UnilateralInteractionConstraintClass

Function Documentation

sofa::component::constraint::CudaFixedConstraint_DeclMethods ( gpu::cuda::CudaVec3fTypes   ) 

sofa::component::constraint::CudaFixedConstraint_ImplMethods ( gpu::cuda::CudaVec3fTypes   ) 

behavior::LinearSolver* sofa::component::constraint::getLinearSolver ( objectmodel::BaseContext *  context  )  [inline]

behavior::OdeSolver* sofa::component::constraint::getOdeSolver ( objectmodel::BaseContext *  context  )  [inline]


Variable Documentation

Initial value:

 core::RegisterObject("Attach given pair of particles, projecting the positions of the second particles to the first ones")

.add< AttachConstraint<Vec3dTypes> >()
.add< AttachConstraint<Vec2dTypes> >()
.add< AttachConstraint<Vec1dTypes> >()
.add< AttachConstraint<Rigid3dTypes> >()
.add< AttachConstraint<Rigid2dTypes> >()


.add< AttachConstraint<Vec3fTypes> >()
.add< AttachConstraint<Vec2fTypes> >()
.add< AttachConstraint<Vec1fTypes> >()
.add< AttachConstraint<Rigid3fTypes> >()
.add< AttachConstraint<Rigid2fTypes> >()

Definition at line 47 of file AttachConstraint.cpp.

Initial value:

 core::RegisterObject("Keep fixed the points inside a given box")

.add< BoxConstraint<Vec3dTypes> >()


.add< BoxConstraint<Vec3fTypes> >()

Definition at line 41 of file BoxConstraint.cpp.

Initial value:

 core::RegisterObject("")

    .add< PrecomputedConstraintCorrection<Vec3dTypes> >()

    .add< PrecomputedConstraintCorrection<Vec1dTypes> >()
    .add< PrecomputedConstraintCorrection<Rigid3dTypes> >()


    .add< PrecomputedConstraintCorrection<Vec3fTypes> >()

    .add< PrecomputedConstraintCorrection<Vec1fTypes> >()
    .add< PrecomputedConstraintCorrection<Rigid3fTypes> >()

Definition at line 39 of file PrecomputedConstraintCorrection.cpp.

Initial value:

 core::RegisterObject("Attach given particles to their initial positions")

.add< FixedConstraint<Vec3dTypes> >()
.add< FixedConstraint<Vec2dTypes> >()
.add< FixedConstraint<Vec1dTypes> >()
.add< FixedConstraint<Vec6dTypes> >()
.add< FixedConstraint<Rigid3dTypes> >()
.add< FixedConstraint<Rigid2dTypes> >()


.add< FixedConstraint<Vec3fTypes> >()
.add< FixedConstraint<Vec2fTypes> >()
.add< FixedConstraint<Vec1fTypes> >()
.add< FixedConstraint<Vec6fTypes> >()
.add< FixedConstraint<Rigid3fTypes> >()
.add< FixedConstraint<Rigid2fTypes> >()

Definition at line 48 of file FixedConstraint.cpp.

Initial value:

 core::RegisterObject("Project particles on a given plane")

.add< FixedPlaneConstraint<Vec3dTypes> >()


.add< FixedPlaneConstraint<Vec3fTypes> >()

Definition at line 43 of file FixedPlaneConstraint.cpp.

Initial value:

 core::RegisterObject("translate given particles")

.add< LinearMovementConstraint<Vec3dTypes> >()
.add< LinearMovementConstraint<Vec2dTypes> >()
.add< LinearMovementConstraint<Vec1dTypes> >()
.add< LinearMovementConstraint<Vec6dTypes> >()
.add< LinearMovementConstraint<Rigid3dTypes> >()


.add< LinearMovementConstraint<Vec3fTypes> >()
.add< LinearMovementConstraint<Vec2fTypes> >()
.add< LinearMovementConstraint<Vec1fTypes> >()
.add< LinearMovementConstraint<Vec6fTypes> >()
.add< LinearMovementConstraint<Rigid3fTypes> >()

Definition at line 92 of file LinearMovementConstraint.cpp.

Initial value:

 core::RegisterObject("")

.add< LinearSolverConstraintCorrection<Vec3dTypes> >()
.add< LinearSolverConstraintCorrection<Vec1dTypes> >()
.add< LinearSolverConstraintCorrection<Rigid3dTypes> >()


.add< LinearSolverConstraintCorrection<Vec3fTypes> >()
.add< LinearSolverConstraintCorrection<Vec1fTypes> >()
.add< LinearSolverConstraintCorrection<Rigid3fTypes> >()

Definition at line 39 of file LinearSolverConstraintCorrection.cpp.

Initial value:

 core::RegisterObject("Apply a sinusoidal trajectory to given points")

.add< OscillatorConstraint<Vec3dTypes> >()
.add< OscillatorConstraint<Rigid3dTypes> >()


.add< OscillatorConstraint<Vec3fTypes> >()
.add< OscillatorConstraint<Rigid3fTypes> >()
* if (!getContext()->getShowBehaviorModels()) return;

Definition at line 84 of file OscillatorConstraint.cpp.

Initial value:

 core::RegisterObject("Apply a parabolic trajectory to given points")

.add< ParabolicConstraint<Vec3dTypes> >()
.add< ParabolicConstraint<Rigid3dTypes> >()


.add< ParabolicConstraint<Vec3fTypes> >()
.add< ParabolicConstraint<Rigid3fTypes> >()

Definition at line 157 of file ParabolicConstraint.cpp.

Initial value:

 core::RegisterObject("")

    .add< UncoupledConstraintCorrection<Vec1dTypes> >()
    .add< UncoupledConstraintCorrection<Rigid3dTypes> >()


    .add< UncoupledConstraintCorrection<Vec1fTypes> >()
    .add< UncoupledConstraintCorrection<Rigid3fTypes> >()

Definition at line 39 of file UncoupledConstraintCorrection.cpp.

Initial value:

 core::RegisterObject("TODO-UnilateralInteractionConstraint")

.add< UnilateralInteractionConstraint<Vec3dTypes> >()


.add< UnilateralInteractionConstraint<Vec3fTypes> >()

Definition at line 20 of file UnilateralInteractionConstraint.cpp.


Generated on Sun Nov 23 04:17:43 2008 for Sofa by  doxygen 1.5.7.1