sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out > Class Template Reference

Class allowing barycentric mapping computation on a SparseGridTopology. More...

#include <BarycentricMapping.h>

Inheritance diagram for sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >:

Inheritance graph
[legend]
Collaboration diagram for sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >:

Collaboration graph
[legend]

Public Types

typedef
TopologyBarycentricMapper< In,
Out > 
Inherit
typedef Inherit::Real Real
typedef Inherit::OutReal OutReal
typedef Inherit::CubeData CubeData

Public Member Functions

 BarycentricMapperSparseGridTopology (topology::SparseGridTopology *topology)
virtual ~BarycentricMapperSparseGridTopology ()
void clear (int reserve=0)
int addPointInCube (int cubeIndex, const SReal *baryCoords)
void init (const typename Out::VecCoord &out, const typename In::VecCoord &in)
void apply (typename Out::VecCoord &out, const typename In::VecCoord &in)
void applyJ (typename Out::VecDeriv &out, const typename In::VecDeriv &in)
void applyJT (typename In::VecDeriv &out, const typename Out::VecDeriv &in)
void applyJT (typename In::VecConst &out, const typename Out::VecConst &in)
void draw (const typename Out::VecCoord &out, const typename In::VecCoord &in)

Protected Attributes

sofa::helper::vector< CubeData > map
topology::SparseGridTopology * topology

Friends

std::istream & operator>> (std::istream &in, BarycentricMapperSparseGridTopology< In, Out > &b)
std::ostream & operator<< (std::ostream &out, const BarycentricMapperSparseGridTopology< In, Out > &b)

Detailed Description

template<class In, class Out>
class sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >

Class allowing barycentric mapping computation on a SparseGridTopology.

Definition at line 200 of file BarycentricMapping.h.


Member Typedef Documentation

Reimplemented from sofa::component::mapping::BarycentricMapper< In, Out >.

Definition at line 206 of file BarycentricMapping.h.

Reimplemented from sofa::component::mapping::BarycentricMapper< In, Out >.

Definition at line 205 of file BarycentricMapping.h.


Constructor & Destructor Documentation

Definition at line 211 of file BarycentricMapping.h.

template<class In , class Out >
virtual sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::~BarycentricMapperSparseGridTopology (  )  [inline, virtual]

Definition at line 216 of file BarycentricMapping.h.


Member Function Documentation

template<class In , class Out >
int sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::addPointInCube ( int  cubeIndex,
const SReal *  baryCoords 
) [inline, virtual]

template<class In , class Out >
void sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::apply ( typename Out::VecCoord &  out,
const typename In::VecCoord &  in 
) [inline, virtual]

template<class In , class Out >
void sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::applyJ ( typename Out::VecDeriv &  out,
const typename In::VecDeriv &  in 
) [inline, virtual]

template<class In , class Out >
void sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::applyJT ( typename In::VecConst &  out,
const typename Out::VecConst &  in 
) [inline, virtual]

template<class In , class Out >
void sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::applyJT ( typename In::VecDeriv &  out,
const typename Out::VecDeriv &  in 
) [inline, virtual]

template<class In , class Out >
void sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::clear ( int  reserve = 0  )  [inline, virtual]

template<class In , class Out >
void sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::draw ( const typename Out::VecCoord &  out,
const typename In::VecCoord &  in 
) [inline, virtual]

template<class In , class Out >
void sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::init ( const typename Out::VecCoord &  out,
const typename In::VecCoord &  in 
) [inline, virtual]


Friends And Related Function Documentation

template<class In , class Out >
std::ostream& operator<< ( std::ostream &  out,
const BarycentricMapperSparseGridTopology< In, Out > &  b 
) [friend]

Definition at line 236 of file BarycentricMapping.h.

template<class In , class Out >
std::istream& operator>> ( std::istream &  in,
BarycentricMapperSparseGridTopology< In, Out > &  b 
) [friend]

Definition at line 230 of file BarycentricMapping.h.


Field Documentation

Definition at line 208 of file BarycentricMapping.h.


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

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