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

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

#include <BarycentricMapping.h>

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

Inheritance graph
[legend]
Collaboration diagram for sofa::component::mapping::BarycentricMapperRegularGridTopology< 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

 BarycentricMapperRegularGridTopology (topology::RegularGridTopology *topology)
virtual ~BarycentricMapperRegularGridTopology ()
void clear (int reserve=0)
bool isEmpty ()
void setTopology (topology::RegularGridTopology *topology)
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)
template<>
void apply (Out::VecCoord &out, const In::VecCoord &in)
template<>
void applyJ (Out::VecDeriv &out, const In::VecDeriv &in)
template<>
void applyJT (In::VecDeriv &out, const Out::VecDeriv &in)
template<>
void applyJT (In::VecConst &, const Out::VecConst &)
template<>
void draw (const Out::VecCoord &, const In::VecCoord &)
template<>
void apply (Out::VecCoord &out, const In::VecCoord &in)
template<>
void applyJ (Out::VecDeriv &out, const In::VecDeriv &in)
template<>
void applyJT (In::VecDeriv &out, const Out::VecDeriv &in)
template<>
void applyJT (In::VecConst &, const Out::VecConst &)
template<>
void draw (const Out::VecCoord &, const In::VecCoord &)
template<>
void apply (Out::VecCoord &out, const In::VecCoord &in)
template<>
void applyJ (Out::VecDeriv &out, const In::VecDeriv &in)
template<>
void applyJT (In::VecDeriv &out, const Out::VecDeriv &in)
template<>
void applyJT (In::VecConst &, const Out::VecConst &)
template<>
void draw (const Out::VecCoord &, const In::VecCoord &)
template<>
void apply (Out::VecCoord &out, const In::VecCoord &in)
template<>
void applyJ (Out::VecDeriv &out, const In::VecDeriv &in)
template<>
void applyJT (In::VecDeriv &out, const Out::VecDeriv &in)
template<>
void applyJT (In::VecConst &, const Out::VecConst &)
template<>
void draw (const Out::VecCoord &, const In::VecCoord &)

Protected Attributes

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

Friends

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

Detailed Description

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

Class allowing barycentric mapping computation on a RegularGridTopology.

Definition at line 154 of file BarycentricMapping.h.


Member Typedef Documentation

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

Definition at line 160 of file BarycentricMapping.h.

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

Definition at line 159 of file BarycentricMapping.h.


Constructor & Destructor Documentation

Definition at line 165 of file BarycentricMapping.h.

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

Definition at line 170 of file BarycentricMapping.h.


Member Function Documentation

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

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3fTypes, CudaVec3f1Types >::apply ( Out::VecCoord &  out,
const In::VecCoord &  in 
) [inline]

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3f1Types, CudaVec3fTypes >::apply ( Out::VecCoord &  out,
const In::VecCoord &  in 
) [inline]

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3f1Types, CudaVec3f1Types >::apply ( Out::VecCoord &  out,
const In::VecCoord &  in 
) [inline]

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3fTypes, CudaVec3fTypes >::apply ( Out::VecCoord &  out,
const In::VecCoord &  in 
) [inline]

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

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3fTypes, CudaVec3f1Types >::applyJ ( Out::VecDeriv &  out,
const In::VecDeriv &  in 
) [inline]

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3f1Types, CudaVec3fTypes >::applyJ ( Out::VecDeriv &  out,
const In::VecDeriv &  in 
) [inline]

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3f1Types, CudaVec3f1Types >::applyJ ( Out::VecDeriv &  out,
const In::VecDeriv &  in 
) [inline]

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3fTypes, CudaVec3fTypes >::applyJ ( Out::VecDeriv &  out,
const In::VecDeriv &  in 
) [inline]

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

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3fTypes, CudaVec3f1Types >::applyJT ( In::VecConst &  ,
const Out::VecConst &   
) [inline]

Definition at line 325 of file CudaBarycentricMapping.inl.

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3fTypes, CudaVec3f1Types >::applyJT ( In::VecDeriv &  out,
const Out::VecDeriv &  in 
) [inline]

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3f1Types, CudaVec3fTypes >::applyJT ( In::VecConst &  ,
const Out::VecConst &   
) [inline]

Definition at line 286 of file CudaBarycentricMapping.inl.

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3f1Types, CudaVec3fTypes >::applyJT ( In::VecDeriv &  out,
const Out::VecDeriv &  in 
) [inline]

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3f1Types, CudaVec3f1Types >::applyJT ( In::VecConst &  ,
const Out::VecConst &   
) [inline]

Definition at line 246 of file CudaBarycentricMapping.inl.

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3f1Types, CudaVec3f1Types >::applyJT ( In::VecDeriv &  out,
const Out::VecDeriv &  in 
) [inline]

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3fTypes, CudaVec3fTypes >::applyJT ( In::VecConst &  ,
const Out::VecConst &   
) [inline]

Definition at line 206 of file CudaBarycentricMapping.inl.

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3fTypes, CudaVec3fTypes >::applyJT ( In::VecDeriv &  out,
const Out::VecDeriv &  in 
) [inline]

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

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

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

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3fTypes, CudaVec3f1Types >::draw ( const Out::VecCoord &  ,
const In::VecCoord &   
) [inline]

Definition at line 330 of file CudaBarycentricMapping.inl.

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3f1Types, CudaVec3fTypes >::draw ( const Out::VecCoord &  ,
const In::VecCoord &   
) [inline]

Definition at line 291 of file CudaBarycentricMapping.inl.

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3f1Types, CudaVec3f1Types >::draw ( const Out::VecCoord &  ,
const In::VecCoord &   
) [inline]

Definition at line 251 of file CudaBarycentricMapping.inl.

template<>
void sofa::component::mapping::BarycentricMapperRegularGridTopology< CudaVec3fTypes, CudaVec3fTypes >::draw ( const Out::VecCoord &  ,
const In::VecCoord &   
) [inline]

Definition at line 211 of file CudaBarycentricMapping.inl.

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

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

template<class In , class Out >
bool sofa::component::mapping::BarycentricMapperRegularGridTopology< In, Out >::isEmpty (  )  [inline]

Definition at line 173 of file BarycentricMapping.h.

template<class In , class Out >
void sofa::component::mapping::BarycentricMapperRegularGridTopology< In, Out >::setTopology ( topology::RegularGridTopology *  topology  )  [inline]

Definition at line 174 of file BarycentricMapping.h.


Friends And Related Function Documentation

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

Definition at line 191 of file BarycentricMapping.h.

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

Definition at line 185 of file BarycentricMapping.h.


Field Documentation

Definition at line 162 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