sofa::gpu::cuda::CudaRigidTypes< 3, real > Class Template Reference

#include <CudaTypes.h>


Data Structures

class  SparseData

Public Types

typedef real Real
typedef
sofa::defaulttype::RigidCoord
< 3, real > 
Coord
typedef
sofa::defaulttype::RigidDeriv
< 3, real > 
Deriv
typedef Coord::Vec3 Vec3
typedef Coord::Quat Quat
typedef CudaVector< Coord > VecCoord
typedef CudaVector< Deriv > VecDeriv
typedef CudaVector< Real > VecReal
typedef SparseData< Coord > SparseCoord
typedef SparseData< Deriv > SparseDeriv
typedef CudaVector< SparseCoord > SparseVecCoord
typedef CudaVector< SparseDeriv > SparseVecDeriv
typedef sofa::helper::vector
< SparseVecDeriv > 
VecConst
 All the Constraints applied to a state Vector.

Static Public Member Functions

template<typename T >
static void set (Coord &r, T x, T y, T z)
template<typename T >
static void get (T &x, T &y, T &z, const Coord &r)
template<typename T >
static void add (Coord &r, T x, T y, T z)
template<typename T >
static void set (Deriv &r, T x, T y, T z)
template<typename T >
static void get (T &x, T &y, T &z, const Deriv &r)
template<typename T >
static void add (Deriv &r, T x, T y, T z)
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)
static const char * Name ()


Detailed Description

template<typename real>
class sofa::gpu::cuda::CudaRigidTypes< 3, real >

Definition at line 952 of file CudaTypes.h.


Member Typedef Documentation

template<typename real >
typedef sofa::defaulttype::RigidCoord<3,real> sofa::gpu::cuda::CudaRigidTypes< 3, real >::Coord

Definition at line 956 of file CudaTypes.h.

template<typename real >
typedef sofa::defaulttype::RigidDeriv<3,real> sofa::gpu::cuda::CudaRigidTypes< 3, real >::Deriv

Definition at line 957 of file CudaTypes.h.

template<typename real >
typedef Coord::Quat sofa::gpu::cuda::CudaRigidTypes< 3, real >::Quat

Definition at line 959 of file CudaTypes.h.

template<typename real >
typedef real sofa::gpu::cuda::CudaRigidTypes< 3, real >::Real

Definition at line 955 of file CudaTypes.h.

template<typename real >
typedef SparseData<Coord> sofa::gpu::cuda::CudaRigidTypes< 3, real >::SparseCoord

Definition at line 973 of file CudaTypes.h.

template<typename real >
typedef SparseData<Deriv> sofa::gpu::cuda::CudaRigidTypes< 3, real >::SparseDeriv

Definition at line 974 of file CudaTypes.h.

template<typename real >
typedef CudaVector<SparseCoord> sofa::gpu::cuda::CudaRigidTypes< 3, real >::SparseVecCoord

Definition at line 976 of file CudaTypes.h.

template<typename real >
typedef CudaVector<SparseDeriv> sofa::gpu::cuda::CudaRigidTypes< 3, real >::SparseVecDeriv

Definition at line 977 of file CudaTypes.h.

template<typename real >
typedef Coord::Vec3 sofa::gpu::cuda::CudaRigidTypes< 3, real >::Vec3

Definition at line 958 of file CudaTypes.h.

template<typename real >
typedef sofa::helper::vector<SparseVecDeriv> sofa::gpu::cuda::CudaRigidTypes< 3, real >::VecConst

All the Constraints applied to a state Vector.

Definition at line 980 of file CudaTypes.h.

template<typename real >
typedef CudaVector<Coord> sofa::gpu::cuda::CudaRigidTypes< 3, real >::VecCoord

Definition at line 960 of file CudaTypes.h.

template<typename real >
typedef CudaVector<Deriv> sofa::gpu::cuda::CudaRigidTypes< 3, real >::VecDeriv

Definition at line 961 of file CudaTypes.h.

template<typename real >
typedef CudaVector<Real> sofa::gpu::cuda::CudaRigidTypes< 3, real >::VecReal

Definition at line 962 of file CudaTypes.h.


Member Function Documentation

template<typename real >
template<typename T >
static void sofa::gpu::cuda::CudaRigidTypes< 3, real >::add ( Deriv &  r,
T  x,
T  y,
T  z 
) [inline, static]

Definition at line 1037 of file CudaTypes.h.

References sofa::helper::fixed_array< T, N >::size().

template<typename real >
template<typename T >
static void sofa::gpu::cuda::CudaRigidTypes< 3, real >::add ( Coord &  r,
T  x,
T  y,
T  z 
) [inline, static]

Definition at line 1004 of file CudaTypes.h.

References sofa::helper::fixed_array< T, N >::size().

template<typename real >
template<typename T >
static void sofa::gpu::cuda::CudaRigidTypes< 3, real >::get ( T &  x,
T &  y,
T &  z,
const Deriv &  r 
) [inline, static]

Definition at line 1028 of file CudaTypes.h.

References sofa::helper::fixed_array< T, N >::size().

template<typename real >
template<typename T >
static void sofa::gpu::cuda::CudaRigidTypes< 3, real >::get ( T &  x,
T &  y,
T &  z,
const Coord &  r 
) [inline, static]

Definition at line 995 of file CudaTypes.h.

References sofa::helper::fixed_array< T, N >::size().

template<typename real >
static Deriv sofa::gpu::cuda::CudaRigidTypes< 3, real >::interpolate ( const helper::vector< Deriv > &  ancestors,
const helper::vector< Real > &  coefs 
) [inline, static]

Definition at line 1086 of file CudaTypes.h.

template<typename real >
static Coord sofa::gpu::cuda::CudaRigidTypes< 3, real >::interpolate ( const helper::vector< Coord > &  ancestors,
const helper::vector< Real > &  coefs 
) [inline, static]

template<typename real >
static const char* sofa::gpu::cuda::CudaRigidTypes< 3, real >::Name (  )  [static]

template<typename real >
template<typename T >
static void sofa::gpu::cuda::CudaRigidTypes< 3, real >::set ( Deriv &  r,
T  x,
T  y,
T  z 
) [inline, static]

Definition at line 1016 of file CudaTypes.h.

References sofa::helper::fixed_array< T, N >::size().

template<typename real >
template<typename T >
static void sofa::gpu::cuda::CudaRigidTypes< 3, real >::set ( Coord &  r,
T  x,
T  y,
T  z 
) [inline, static]

Definition at line 983 of file CudaTypes.h.

References sofa::helper::fixed_array< T, N >::size().


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

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