#include <CudaBarycentricMapping.h>


Public Types | |
| typedef gpu::cuda::CudaVectorTypes < VecIn, VecIn, float > | In |
| typedef gpu::cuda::CudaVectorTypes < VecOut, VecOut, float > | Out |
| typedef TopologyBarycentricMapper< In, Out > | Inherit |
| typedef Inherit::Real | Real |
| typedef Inherit::OutReal | OutReal |
| typedef Inherit::CubeData | CubeData |
Public Member Functions | |
| BarycentricMapperRegularGridTopology (topology::RegularGridTopology *topology) | |
| void | clear (int reserve=0) |
| int | addPointInCube (int cubeIndex, const Real *baryCoords) |
| bool | isEmpty () |
| void | setTopology (topology::RegularGridTopology *_topology) |
| 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 Member Functions | |
| void | calcMapT () |
Protected Attributes | |
| gpu::cuda::CudaVector< CubeData > | map |
| int | maxNOut |
| gpu::cuda::CudaVector < std::pair< int, float > > | mapT |
| 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) |
Definition at line 44 of file CudaBarycentricMapping.h.
| typedef Inherit::CubeData sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::CubeData |
Reimplemented from sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 52 of file CudaBarycentricMapping.h.
| typedef gpu::cuda::CudaVectorTypes<VecIn,VecIn,float> sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::In |
Definition at line 47 of file CudaBarycentricMapping.h.
| typedef TopologyBarycentricMapper<In,Out> sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::Inherit |
Reimplemented from sofa::component::mapping::TopologyBarycentricMapper< In, Out >.
Definition at line 49 of file CudaBarycentricMapping.h.
| typedef gpu::cuda::CudaVectorTypes<VecOut,VecOut,float> sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::Out |
Definition at line 48 of file CudaBarycentricMapping.h.
| typedef Inherit::OutReal sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::OutReal |
Reimplemented from sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 51 of file CudaBarycentricMapping.h.
| typedef Inherit::Real sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::Real |
Reimplemented from sofa::component::mapping::TopologyBarycentricMapper< In, Out >.
Definition at line 50 of file CudaBarycentricMapping.h.
| sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::BarycentricMapperRegularGridTopology | ( | topology::RegularGridTopology * | topology | ) | [inline] |
Definition at line 60 of file CudaBarycentricMapping.h.
| int sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::addPointInCube | ( | int | cubeIndex, | |
| const Real * | baryCoords | |||
| ) | [inline] |
Definition at line 95 of file CudaBarycentricMapping.inl.
| void sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::apply | ( | typename Out::VecCoord & | out, | |
| const typename In::VecCoord & | in | |||
| ) | [virtual] |
| void sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::applyJ | ( | typename Out::VecDeriv & | out, | |
| const typename In::VecDeriv & | in | |||
| ) |
| void sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::applyJT | ( | typename In::VecConst & | out, | |
| const typename Out::VecConst & | in | |||
| ) |
| void sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::applyJT | ( | typename In::VecDeriv & | out, | |
| const typename Out::VecDeriv & | in | |||
| ) |
| void sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::calcMapT | ( | ) | [inline, protected] |
| void sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::clear | ( | int | reserve = 0 |
) | [inline, virtual] |
Implements sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 88 of file CudaBarycentricMapping.inl.
| void sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::draw | ( | const typename Out::VecCoord & | out, | |
| const typename In::VecCoord & | in | |||
| ) | [virtual] |
| void sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::init | ( | const typename Out::VecCoord & | out, | |
| const typename In::VecCoord & | in | |||
| ) | [inline, virtual] |
Implements sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 113 of file CudaBarycentricMapping.inl.
References sofa::component::clear(), and sofa::defaulttype::Vec< N, real >::ptr().
| bool sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::isEmpty | ( | ) | [inline] |
Definition at line 69 of file CudaBarycentricMapping.h.
| void sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::setTopology | ( | topology::RegularGridTopology * | _topology | ) | [inline] |
Definition at line 70 of file CudaBarycentricMapping.h.
References sofa::component::mapping::BarycentricMapperRegularGridTopology< In, Out >::topology.
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const BarycentricMapperRegularGridTopology< In, Out > & | b | |||
| ) | [friend] |
Definition at line 85 of file CudaBarycentricMapping.h.
| std::istream& operator>> | ( | std::istream & | in, | |
| BarycentricMapperRegularGridTopology< In, Out > & | b | |||
| ) | [friend] |
Definition at line 79 of file CudaBarycentricMapping.h.
gpu::cuda::CudaVector<CubeData> sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::map [protected] |
Definition at line 54 of file CudaBarycentricMapping.h.
gpu::cuda::CudaVector< std::pair<int,float> > sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::mapT [protected] |
Definition at line 56 of file CudaBarycentricMapping.h.
int sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::maxNOut [protected] |
Definition at line 55 of file CudaBarycentricMapping.h.
topology::RegularGridTopology* sofa::component::mapping::BarycentricMapperRegularGridTopology< gpu::cuda::CudaVectorTypes< VecIn, VecIn, float >, gpu::cuda::CudaVectorTypes< VecOut, VecOut, float > >::topology [protected] |
Definition at line 57 of file CudaBarycentricMapping.h.
1.5.7.1