#include <BarycentricMapping.h>


Public Types | |
| typedef TopologyBarycentricMapper< In, Out > | Inherit |
| typedef Inherit::Real | Real |
| typedef Inherit::OutReal | OutReal |
| typedef Inherit::MappingData3D | MappingData |
Public Member Functions | |
| BarycentricMapperTetrahedronSetTopology (BaseMeshTopology *topology) | |
| virtual | ~BarycentricMapperTetrahedronSetTopology () |
| void | clear (int reserve=0) |
| int | addPointInTetra (int index, 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) |
| virtual void | handleTopologyChange () |
| virtual void | handlePointEvents (std::list< const core::componentmodel::topology::TopologyChange * >::const_iterator, std::list< const core::componentmodel::topology::TopologyChange * >::const_iterator) |
Protected Attributes | |
| topology::PointData< MappingData > | map |
| BaseMeshTopology * | topology |
Friends | |
| std::istream & | operator>> (std::istream &in, BarycentricMapperTetrahedronSetTopology< In, Out > &b) |
| std::ostream & | operator<< (std::ostream &out, const BarycentricMapperTetrahedronSetTopology< In, Out > &b) |
Definition at line 569 of file BarycentricMapping.h.
| typedef TopologyBarycentricMapper<In,Out> sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::Inherit |
Reimplemented from sofa::component::mapping::TopologyBarycentricMapper< In, Out >.
Definition at line 572 of file BarycentricMapping.h.
| typedef Inherit::MappingData3D sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::MappingData |
Definition at line 575 of file BarycentricMapping.h.
| typedef Inherit::OutReal sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::OutReal |
Reimplemented from sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 574 of file BarycentricMapping.h.
| typedef Inherit::Real sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::Real |
Reimplemented from sofa::component::mapping::TopologyBarycentricMapper< In, Out >.
Definition at line 573 of file BarycentricMapping.h.
| sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::BarycentricMapperTetrahedronSetTopology | ( | BaseMeshTopology * | topology | ) | [inline] |
Definition at line 581 of file BarycentricMapping.h.
| virtual sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::~BarycentricMapperTetrahedronSetTopology | ( | ) | [inline, virtual] |
Definition at line 586 of file BarycentricMapping.h.
| int sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::addPointInTetra | ( | int | index, | |
| const SReal * | baryCoords | |||
| ) | [inline, virtual] |
Reimplemented from sofa::component::mapping::TopologyBarycentricMapper< In, Out >.
Definition at line 629 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::BarycentricMapperTetrahedronSetTopology< In, Out >::init().
| void sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::apply | ( | typename Out::VecCoord & | out, | |
| const typename In::VecCoord & | in | |||
| ) | [inline, virtual] |
Implements sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 1102 of file BarycentricMapping.inl.
References sofa::core::componentmodel::topology::BaseMeshTopology::getTetras(), and sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::topology.
| void sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::applyJ | ( | typename Out::VecDeriv & | out, | |
| const typename In::VecDeriv & | in | |||
| ) | [inline, virtual] |
Implements sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 1372 of file BarycentricMapping.inl.
References sofa::core::componentmodel::topology::BaseMeshTopology::getTetras(), and sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::topology.
| void sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::applyJT | ( | typename In::VecConst & | out, | |
| const typename Out::VecConst & | in | |||
| ) | [inline, virtual] |
Implements sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 2484 of file BarycentricMapping.inl.
References sofa::core::componentmodel::topology::BaseMeshTopology::getTetras(), and sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::topology.
| void sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::applyJT | ( | typename In::VecDeriv & | out, | |
| const typename Out::VecDeriv & | in | |||
| ) | [inline, virtual] |
Implements sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 1641 of file BarycentricMapping.inl.
References sofa::core::componentmodel::topology::BaseMeshTopology::getTetras(), and sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::topology.
| void sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::clear | ( | int | reserve = 0 |
) | [inline, virtual] |
Implements sofa::component::mapping::BarycentricMapper< In, Out >.
Definition at line 623 of file BarycentricMapping.inl.
Referenced by sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::init().
| void sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< 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 2044 of file BarycentricMapping.inl.
References sofa::core::componentmodel::topology::BaseMeshTopology::getTetras(), sofa::helper::gl::glVertexT(), and sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::topology.
| void sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::handlePointEvents | ( | std::list< const core::componentmodel::topology::TopologyChange * >::const_iterator | itBegin, | |
| std::list< const core::componentmodel::topology::TopologyChange * >::const_iterator | itEnd | |||
| ) | [inline, virtual] |
Implements sofa::component::mapping::BarycentricMapperBaseTopology.
Definition at line 2828 of file BarycentricMapping.inl.
| void sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::handleTopologyChange | ( | ) | [inline, virtual] |
< To notify the end for the current sequence of topological change events
< For PointsIndicesSwap.
< For PointsAdded.
< For PointsRemoved.
< For PointsRenumbering.
< For TetrahedraAdded.
< For TetrahedraRemoved.
< For TetrahedraRenumbering.
Implements sofa::component::mapping::BarycentricMapperBaseTopology.
Definition at line 2645 of file BarycentricMapping.inl.
References sofa::core::componentmodel::topology::ENDING_EVENT, sofa::core::componentmodel::topology::BaseMeshTopology::firstChange(), sofa::core::componentmodel::topology::BaseMeshTopology::lastChange(), sofa::core::componentmodel::topology::POINTSADDED, sofa::core::componentmodel::topology::POINTSINDICESSWAP, sofa::core::componentmodel::topology::POINTSREMOVED, sofa::core::componentmodel::topology::POINTSRENUMBERING, sofa::core::componentmodel::topology::TETRAHEDRAADDED, sofa::core::componentmodel::topology::TETRAHEDRAREMOVED, sofa::core::componentmodel::topology::TETRAHEDRARENUMBERING, and sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::topology.
| void sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< 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 647 of file BarycentricMapping.inl.
References sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::addPointInTetra(), sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::clear(), sofa::core::componentmodel::topology::BaseMeshTopology::getTetras(), norm2(), sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::topology, and sofa::defaulttype::Mat< L, C, real >::transpose().
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const BarycentricMapperTetrahedronSetTopology< In, Out > & | b | |||
| ) | [friend] |
Definition at line 622 of file BarycentricMapping.h.
| std::istream& operator>> | ( | std::istream & | in, | |
| BarycentricMapperTetrahedronSetTopology< In, Out > & | b | |||
| ) | [friend] |
Definition at line 607 of file BarycentricMapping.h.
topology::PointData< MappingData > sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::map [protected] |
Definition at line 577 of file BarycentricMapping.h.
BaseMeshTopology* sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::topology [protected] |
Definition at line 578 of file BarycentricMapping.h.
Referenced by sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::apply(), sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::applyJ(), sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::applyJT(), sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::draw(), sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::handleTopologyChange(), and sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< In, Out >::init().
1.5.7.1