sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal > Class Template Reference

#include <VecTypes.h>


Data Structures

class  SparseData

Public Types

typedef TCoord Coord
typedef TDeriv Deriv
typedef TReal Real
typedef ResizableExtVector< Coord > VecCoord
typedef ResizableExtVector< Deriv > VecDeriv
typedef ResizableExtVector< Real > VecReal
typedef SparseData< Coord > SparseCoord
typedef SparseData< Deriv > SparseDeriv
typedef vector< SparseCoord > SparseVecCoord
typedef vector< SparseDeriv > SparseVecDeriv
typedef vector< SparseVecDeriv > VecConst
 All the Constraints applied to a state Vector.

Static Public Member Functions

template<typename T >
static void set (Coord &c, T x, T y, T z)
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 z)
static const char * Name ()
static Coord interpolate (const helper::vector< Coord > &ancestors, const helper::vector< Real > &coefs)


Detailed Description

template<class TCoord, class TDeriv, class TReal = typename TCoord::value_type>
class sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal >

Definition at line 289 of file VecTypes.h.


Member Typedef Documentation

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef TCoord sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal >::Coord

Definition at line 292 of file VecTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef TDeriv sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal >::Deriv

Definition at line 293 of file VecTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef TReal sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal >::Real

Definition at line 294 of file VecTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef SparseData<Coord> sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal >::SparseCoord

Definition at line 308 of file VecTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef SparseData<Deriv> sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal >::SparseDeriv

Definition at line 309 of file VecTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef vector<SparseCoord> sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal >::SparseVecCoord

Definition at line 311 of file VecTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef vector<SparseDeriv> sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal >::SparseVecDeriv

Definition at line 312 of file VecTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef vector<SparseVecDeriv> sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal >::VecConst

All the Constraints applied to a state Vector.

Definition at line 315 of file VecTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef ResizableExtVector<Coord> sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal >::VecCoord

Definition at line 295 of file VecTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef ResizableExtVector<Deriv> sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal >::VecDeriv

Definition at line 296 of file VecTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef ResizableExtVector<Real> sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal >::VecReal

Definition at line 297 of file VecTypes.h.


Member Function Documentation

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
template<typename T >
static void sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal >::add ( Coord &  c,
T  x,
T  y,
T  z 
) [inline, static]

Definition at line 338 of file VecTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
template<typename T >
static void sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal >::get ( T &  x,
T &  y,
T &  z,
const Coord &  c 
) [inline, static]

Definition at line 330 of file VecTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
static Coord sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal >::interpolate ( const helper::vector< Coord > &  ancestors,
const helper::vector< Real > &  coefs 
) [inline, static]

Definition at line 350 of file VecTypes.h.

const char * sofa::defaulttype::ExtVec6fTypes::Name (  )  [inline, static]

Definition at line 382 of file VecTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
template<typename T >
static void sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal >::set ( Coord &  c,
T  x,
T  y,
T  z 
) [inline, static]

Definition at line 318 of file VecTypes.h.


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

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