sofa::core::componentmodel::behavior::BaseMechanicalState::VecId Class Reference

Identify one vector stored in MechanicalState. More...

#include <BaseMechanicalState.h>

Collaboration diagram for sofa::core::componentmodel::behavior::BaseMechanicalState::VecId:

Collaboration graph
[legend]

Public Types

enum  { V_FIRST_DYNAMIC_INDEX = 8 }
enum  Type { V_NULL = 0, V_COORD, V_DERIV, V_CONST }

Public Member Functions

 VecId (Type t, unsigned int i)
 VecId ()
bool isNull () const
bool operator== (const VecId &v) const
 Test if two VecId identify the same vector.

Static Public Member Functions

static VecId null ()
static VecId position ()
static VecId restPosition ()
static VecId velocity ()
static VecId restVelocity ()
static VecId force ()
static VecId dx ()
static VecId freePosition ()
static VecId freeVelocity ()
static VecId holonomicC ()
static VecId nonHolonomicC ()

Data Fields

Type type
unsigned int index

Detailed Description

Identify one vector stored in MechanicalState.

Definition at line 146 of file BaseMechanicalState.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
V_FIRST_DYNAMIC_INDEX 

Definition at line 149 of file BaseMechanicalState.h.

Enumerator:
V_NULL 
V_COORD 
V_DERIV 
V_CONST 

Definition at line 150 of file BaseMechanicalState.h.


Constructor & Destructor Documentation

sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::VecId ( Type  t,
unsigned int  i 
) [inline]

Definition at line 159 of file BaseMechanicalState.h.

sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::VecId (  )  [inline]


Member Function Documentation

static VecId sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::dx (  )  [inline, static]

static VecId sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::force (  )  [inline, static]

static VecId sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::freePosition (  )  [inline, static]

static VecId sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::freeVelocity (  )  [inline, static]

static VecId sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::holonomicC (  )  [inline, static]

Definition at line 171 of file BaseMechanicalState.h.

References V_CONST, and VecId().

bool sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::isNull (  )  const [inline]

static VecId sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::nonHolonomicC (  )  [inline, static]

Definition at line 172 of file BaseMechanicalState.h.

References V_CONST, and VecId().

static VecId sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::null (  )  [inline, static]

bool sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::operator== ( const VecId &  v  )  const [inline]

Test if two VecId identify the same vector.

Definition at line 175 of file BaseMechanicalState.h.

References index, and type.

static VecId sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::position (  )  [inline, static]

static VecId sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::restPosition (  )  [inline, static]

static VecId sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::restVelocity (  )  [inline, static]

Definition at line 166 of file BaseMechanicalState.h.

References V_DERIV, and VecId().

static VecId sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::velocity (  )  [inline, static]


Field Documentation


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

Generated on Sun Nov 23 04:22:11 2008 for Sofa by  doxygen 1.5.7.1