sofa::defaulttype::StdRigidTypes< 2, real > Class Template Reference

Degrees of freedom of 2D rigid bodies. More...

#include <RigidTypes.h>


Data Structures

class  SparseData

Public Types

typedef real Real
typedef Vec< 2, real > Vec2
typedef RigidDeriv< 2, Real > Deriv
typedef RigidCoord< 2, Real > Coord
typedef vector< Coord > VecCoord
typedef vector< Deriv > VecDeriv
typedef SparseData< Coord > SparseCoord
typedef SparseData< Deriv > SparseDeriv
typedef vector< Real > VecReal
typedef vector< SparseCoord > SparseVecCoord
typedef vector< SparseDeriv > SparseVecDeriv
typedef vector< SparseVecDeriv > VecConst

Static Public Member Functions

static const char * Name ()
template<typename T >
static void set (Coord &c, T x, T y, T)
template<typename T >
static void get (T &x, T &y, T &z, const Coord &c)
template<typename T >
static void add (Coord &c, T x, T y, T)
template<typename T >
static void set (Deriv &c, T x, T y, T)
template<typename T >
static void get (T &x, T &y, T &z, const Deriv &c)
template<typename T >
static void add (Deriv &c, T x, T y, T)
static Coord interpolate (const helper::vector< Coord > &ancestors, const helper::vector< Real > &coefs)
static Deriv interpolate (const helper::vector< Deriv > &ancestors, const helper::vector< Real > &coefs)


Detailed Description

template<typename real>
class sofa::defaulttype::StdRigidTypes< 2, real >

Degrees of freedom of 2D rigid bodies.

Definition at line 1075 of file RigidTypes.h.


Member Typedef Documentation

template<typename real >
typedef RigidCoord<2,Real> sofa::defaulttype::StdRigidTypes< 2, real >::Coord

Definition at line 1082 of file RigidTypes.h.

template<typename real >
typedef RigidDeriv<2,Real> sofa::defaulttype::StdRigidTypes< 2, real >::Deriv

Definition at line 1081 of file RigidTypes.h.

template<typename real >
typedef real sofa::defaulttype::StdRigidTypes< 2, real >::Real

Definition at line 1078 of file RigidTypes.h.

template<typename real >
typedef SparseData<Coord> sofa::defaulttype::StdRigidTypes< 2, real >::SparseCoord

Definition at line 1099 of file RigidTypes.h.

template<typename real >
typedef SparseData<Deriv> sofa::defaulttype::StdRigidTypes< 2, real >::SparseDeriv

Definition at line 1100 of file RigidTypes.h.

template<typename real >
typedef vector<SparseCoord> sofa::defaulttype::StdRigidTypes< 2, real >::SparseVecCoord

Definition at line 1103 of file RigidTypes.h.

template<typename real >
typedef vector<SparseDeriv> sofa::defaulttype::StdRigidTypes< 2, real >::SparseVecDeriv

Definition at line 1104 of file RigidTypes.h.

template<typename real >
typedef Vec<2,real> sofa::defaulttype::StdRigidTypes< 2, real >::Vec2

Definition at line 1079 of file RigidTypes.h.

template<typename real >
typedef vector<SparseVecDeriv> sofa::defaulttype::StdRigidTypes< 2, real >::VecConst

Definition at line 1106 of file RigidTypes.h.

template<typename real >
typedef vector<Coord> sofa::defaulttype::StdRigidTypes< 2, real >::VecCoord

Definition at line 1086 of file RigidTypes.h.

template<typename real >
typedef vector<Deriv> sofa::defaulttype::StdRigidTypes< 2, real >::VecDeriv

Definition at line 1087 of file RigidTypes.h.

template<typename real >
typedef vector<Real> sofa::defaulttype::StdRigidTypes< 2, real >::VecReal

Definition at line 1101 of file RigidTypes.h.


Member Function Documentation

template<typename real >
template<typename T >
static void sofa::defaulttype::StdRigidTypes< 2, real >::add ( Deriv &  c,
T  x,
T  y,
T   
) [inline, static]

Definition at line 1146 of file RigidTypes.h.

template<typename real >
template<typename T >
static void sofa::defaulttype::StdRigidTypes< 2, real >::add ( Coord &  c,
T  x,
T  y,
T   
) [inline, static]

Definition at line 1124 of file RigidTypes.h.

template<typename real >
template<typename T >
static void sofa::defaulttype::StdRigidTypes< 2, real >::get ( T &  x,
T &  y,
T &  z,
const Deriv &  c 
) [inline, static]

Definition at line 1138 of file RigidTypes.h.

template<typename real >
template<typename T >
static void sofa::defaulttype::StdRigidTypes< 2, real >::get ( T &  x,
T &  y,
T &  z,
const Coord &  c 
) [inline, static]

Definition at line 1116 of file RigidTypes.h.

template<typename real >
static Deriv sofa::defaulttype::StdRigidTypes< 2, real >::interpolate ( const helper::vector< Deriv > &  ancestors,
const helper::vector< Real > &  coefs 
) [inline, static]

Definition at line 1166 of file RigidTypes.h.

template<typename real >
static Coord sofa::defaulttype::StdRigidTypes< 2, real >::interpolate ( const helper::vector< Coord > &  ancestors,
const helper::vector< Real > &  coefs 
) [inline, static]

Definition at line 1152 of file RigidTypes.h.

template<typename real >
static const char* sofa::defaulttype::StdRigidTypes< 2, real >::Name (  )  [static]

template<typename real >
template<typename T >
static void sofa::defaulttype::StdRigidTypes< 2, real >::set ( Deriv &  c,
T  x,
T  y,
T   
) [inline, static]

Definition at line 1131 of file RigidTypes.h.

template<typename real >
template<typename T >
static void sofa::defaulttype::StdRigidTypes< 2, real >::set ( Coord &  c,
T  x,
T  y,
T   
) [inline, static]

Definition at line 1109 of file RigidTypes.h.


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

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