#include <BarycentricMapping.h>


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) |
Definition at line 200 of file BarycentricMapping.h.
| typedef Inherit::CubeData sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::CubeData |
Reimplemented from sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 206 of file BarycentricMapping.h.
| typedef TopologyBarycentricMapper<In,Out> sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::Inherit |
Reimplemented from sofa::component::mapping::TopologyBarycentricMapper< In, Out >.
Definition at line 203 of file BarycentricMapping.h.
| typedef Inherit::OutReal sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::OutReal |
Reimplemented from sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 205 of file BarycentricMapping.h.
| typedef Inherit::Real sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::Real |
Reimplemented from sofa::component::mapping::TopologyBarycentricMapper< In, Out >.
Definition at line 204 of file BarycentricMapping.h.
| sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::BarycentricMapperSparseGridTopology | ( | topology::SparseGridTopology * | topology | ) | [inline] |
Definition at line 211 of file BarycentricMapping.h.
| virtual sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::~BarycentricMapperSparseGridTopology | ( | ) | [inline, virtual] |
Definition at line 216 of file BarycentricMapping.h.
| int sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::addPointInCube | ( | int | cubeIndex, | |
| const SReal * | baryCoords | |||
| ) | [inline, virtual] |
Reimplemented from sofa::component::mapping::TopologyBarycentricMapper< In, Out >.
Definition at line 120 of file BarycentricMapping.inl.
References sofa::component::mapping::BarycentricMapper< In, Out >::MappingData< NC, NP >::baryCoords, and sofa::component::mapping::BarycentricMapper< In, Out >::MappingData< NC, NP >::in_index.
Referenced by sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::init().
| void sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::apply | ( | typename Out::VecCoord & | out, | |
| const typename In::VecCoord & | in | |||
| ) | [inline, virtual] |
Implements sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 916 of file BarycentricMapping.inl.
References sofa::component::topology::MeshTopology::getHexa(), and sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::topology.
| void sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::applyJ | ( | typename Out::VecDeriv & | out, | |
| const typename In::VecDeriv & | in | |||
| ) | [inline, virtual] |
Implements sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 1187 of file BarycentricMapping.inl.
References sofa::component::topology::MeshTopology::getHexa(), and sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::topology.
| void sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::applyJT | ( | typename In::VecConst & | out, | |
| const typename Out::VecConst & | in | |||
| ) | [inline, virtual] |
Implements sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 2167 of file BarycentricMapping.inl.
References sofa::component::topology::MeshTopology::getHexa(), and sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::topology.
| void sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::applyJT | ( | typename In::VecDeriv & | out, | |
| const typename Out::VecDeriv & | in | |||
| ) | [inline, virtual] |
Implements sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 1454 of file BarycentricMapping.inl.
References sofa::component::topology::MeshTopology::getHexa(), and sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::topology.
| void sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::clear | ( | int | reserve = 0 |
) | [inline, virtual] |
Implements sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 113 of file BarycentricMapping.inl.
Referenced by sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::init().
| void sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::draw | ( | const typename Out::VecCoord & | out, | |
| const typename In::VecCoord & | in | |||
| ) | [inline, virtual] |
Implements sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 1748 of file BarycentricMapping.inl.
References sofa::component::topology::MeshTopology::getHexa(), sofa::helper::gl::glVertexT(), and sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::topology.
| void sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::init | ( | const typename Out::VecCoord & | out, | |
| const typename In::VecCoord & | in | |||
| ) | [inline, virtual] |
Implements sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 132 of file BarycentricMapping.inl.
References sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::addPointInCube(), sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::clear(), sofa::component::topology::SparseGridTopology::findCube(), sofa::component::topology::SparseGridTopology::findNearestCube(), and sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::topology.
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const BarycentricMapperSparseGridTopology< In, Out > & | b | |||
| ) | [friend] |
Definition at line 236 of file BarycentricMapping.h.
| std::istream& operator>> | ( | std::istream & | in, | |
| BarycentricMapperSparseGridTopology< In, Out > & | b | |||
| ) | [friend] |
Definition at line 230 of file BarycentricMapping.h.
sofa::helper::vector<CubeData> sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::map [protected] |
Definition at line 208 of file BarycentricMapping.h.
topology::SparseGridTopology* sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::topology [protected] |
Definition at line 209 of file BarycentricMapping.h.
Referenced by sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::apply(), sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::applyJ(), sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::applyJT(), sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::draw(), and sofa::component::mapping::BarycentricMapperSparseGridTopology< In, Out >::init().
1.5.7.1