sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes > Class Template Reference

Component computing contact forces within a simulated body using the compliance method. More...

#include <UncoupledConstraintCorrection.h>

Inheritance diagram for sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes >:

Inheritance graph
[legend]
Collaboration diagram for sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes >:

Collaboration graph
[legend]

Public Types

typedef TDataTypes DataTypes
typedef DataTypes::VecCoord VecCoord
typedef DataTypes::VecDeriv VecDeriv
typedef DataTypes::VecConst VecConst
typedef DataTypes::Coord Coord
typedef DataTypes::Deriv Deriv

Public Member Functions

 UncoupledConstraintCorrection (behavior::MechanicalState< DataTypes > *mm=NULL)
virtual ~UncoupledConstraintCorrection ()
virtual void init ()
 Initialization method called at graph modification, during bottom-up traversal.
behavior::MechanicalState
< DataTypes > * 
getMState ()
 Retrieve the associated MechanicalState.
virtual void getCompliance (defaulttype::BaseMatrix *W)
virtual void applyContactForce (const defaulttype::BaseVector *f)
virtual void resetContactForce ()
virtual std::string getTemplateName () const
 Get the template type names (if any) used to instantiate this object.
template<>
void getCompliance (defaulttype::BaseMatrix *W)
template<>
void applyContactForce (const defaulttype::BaseVector *f)
template<>
void getCompliance (defaulttype::BaseMatrix *W)
template<>
void applyContactForce (const defaulttype::BaseVector *f)
template<>
void getCompliance (defaulttype::BaseMatrix *W)
template<>
void applyContactForce (const defaulttype::BaseVector *f)
template<>
void getCompliance (defaulttype::BaseMatrix *W)
template<>
void applyContactForce (const defaulttype::BaseVector *f)

Static Public Member Functions

template<class T >
static bool canCreate (T *&obj, objectmodel::BaseContext *context, objectmodel::BaseObjectDescription *arg)
 Pre-construction check method called by ObjectFactory.
static std::string templateName (const UncoupledConstraintCorrection< DataTypes > *=NULL)

Protected Attributes

behavior::MechanicalState
< DataTypes > * 
mstate

Detailed Description

template<class TDataTypes>
class sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes >

Component computing contact forces within a simulated body using the compliance method.

Definition at line 47 of file UncoupledConstraintCorrection.h.


Member Typedef Documentation

template<class TDataTypes >
typedef DataTypes::Coord sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes >::Coord

Definition at line 54 of file UncoupledConstraintCorrection.h.

template<class TDataTypes >
typedef TDataTypes sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes >::DataTypes

Definition at line 50 of file UncoupledConstraintCorrection.h.

template<class TDataTypes >
typedef DataTypes::Deriv sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes >::Deriv

Definition at line 55 of file UncoupledConstraintCorrection.h.

template<class TDataTypes >
typedef DataTypes::VecConst sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes >::VecConst

Definition at line 53 of file UncoupledConstraintCorrection.h.

template<class TDataTypes >
typedef DataTypes::VecCoord sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes >::VecCoord

Definition at line 51 of file UncoupledConstraintCorrection.h.

template<class TDataTypes >
typedef DataTypes::VecDeriv sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes >::VecDeriv

Definition at line 52 of file UncoupledConstraintCorrection.h.


Constructor & Destructor Documentation

Definition at line 44 of file UncoupledConstraintCorrection.inl.

Definition at line 50 of file UncoupledConstraintCorrection.inl.


Member Function Documentation

template<>
void sofa::component::constraint::UncoupledConstraintCorrection< defaulttype::Vec1fTypes >::applyContactForce ( const defaulttype::BaseVector *  f  )  [inline, virtual]

template<>
void sofa::component::constraint::UncoupledConstraintCorrection< defaulttype::Rigid3fTypes >::applyContactForce ( const defaulttype::BaseVector *  f  )  [inline, virtual]

template<>
void sofa::component::constraint::UncoupledConstraintCorrection< defaulttype::Vec1dTypes >::applyContactForce ( const defaulttype::BaseVector *  f  )  [inline, virtual]

template<>
void sofa::component::constraint::UncoupledConstraintCorrection< defaulttype::Rigid3Types >::applyContactForce ( const defaulttype::BaseVector *  f  )  [inline, virtual]

template<class TDataTypes >
virtual void sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes >::applyContactForce ( const defaulttype::BaseVector *  f  )  [virtual]

template<class TDataTypes >
template<class T >
static bool sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes >::canCreate ( T *&  obj,
objectmodel::BaseContext *  context,
objectmodel::BaseObjectDescription *  arg 
) [inline, static]

Pre-construction check method called by ObjectFactory.

Check that DataTypes matches the MechanicalState.

Reimplemented from sofa::core::objectmodel::BaseObject.

Definition at line 75 of file UncoupledConstraintCorrection.h.

References sofa::core::objectmodel::BaseContext::getMechanicalState().

template<>
void sofa::component::constraint::UncoupledConstraintCorrection< defaulttype::Vec1fTypes >::getCompliance ( defaulttype::BaseMatrix *  W  )  [inline, virtual]

template<>
void sofa::component::constraint::UncoupledConstraintCorrection< defaulttype::Vec1dTypes >::getCompliance ( defaulttype::BaseMatrix *  W  )  [inline, virtual]

template<>
void sofa::component::constraint::UncoupledConstraintCorrection< defaulttype::Rigid3Types >::getCompliance ( defaulttype::BaseMatrix *  W  )  [inline, virtual]

template<class TDataTypes >
virtual void sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes >::getCompliance ( defaulttype::BaseMatrix *  W  )  [virtual]

template<class TDataTypes >
behavior::MechanicalState<DataTypes>* sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes >::getMState (  )  [inline]

Retrieve the associated MechanicalState.

Definition at line 64 of file UncoupledConstraintCorrection.h.

References sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes >::mstate.

template<class TDataTypes >
virtual std::string sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes >::getTemplateName (  )  const [inline, virtual]

Get the template type names (if any) used to instantiate this object.

Reimplemented from sofa::core::objectmodel::Base.

Definition at line 82 of file UncoupledConstraintCorrection.h.

References sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes >::templateName().

template<class DataTypes >
void sofa::component::constraint::UncoupledConstraintCorrection< DataTypes >::init ( void   )  [inline, virtual]

template<class DataTypes >
void sofa::component::constraint::UncoupledConstraintCorrection< DataTypes >::resetContactForce ( void   )  [inline, virtual]

template<class TDataTypes >
static std::string sofa::component::constraint::UncoupledConstraintCorrection< TDataTypes >::templateName ( const UncoupledConstraintCorrection< DataTypes > *  = NULL  )  [inline, static]


Field Documentation


The documentation for this class was generated from the following files:

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