#include <TetrahedronSetGeometryAlgorithms.h>


Public Types | |
| typedef DataTypes::VecCoord | VecCoord |
| typedef DataTypes::Real | Real |
| typedef DataTypes::Coord | Coord |
Public Member Functions | |
| TetrahedronSetGeometryAlgorithms () | |
| virtual | ~TetrahedronSetGeometryAlgorithms () |
| Real | computeTetrahedronVolume (const unsigned int i) const |
| computes the volume of tetrahedron no i and returns it | |
| void | computeTetrahedronVolume (BasicArrayInterface< Real > &ai) const |
| computes the tetrahedron volume of all tetrahedra are store in the array interface | |
| Real | computeRestTetrahedronVolume (const unsigned int i) const |
| computes the tetrahedron volume of tetrahedron no i and returns it | |
| void | getTetraInBall (unsigned int ind_ta, unsigned int ind_tb, sofa::helper::vector< unsigned int > &indices) |
| finds the indices of all tetrahedra in the ball of center ind_ta and of radius dist(ind_ta, ind_tb) | |
| void | writeMSHfile (const char *filename) |
| Write the current mesh into a msh file. | |
Definition at line 56 of file TetrahedronSetGeometryAlgorithms.h.
| typedef DataTypes::Coord sofa::component::topology::TetrahedronSetGeometryAlgorithms< DataTypes >::Coord |
Reimplemented from sofa::component::topology::TriangleSetGeometryAlgorithms< DataTypes >.
Definition at line 61 of file TetrahedronSetGeometryAlgorithms.h.
| typedef DataTypes::Real sofa::component::topology::TetrahedronSetGeometryAlgorithms< DataTypes >::Real |
Reimplemented from sofa::component::topology::TriangleSetGeometryAlgorithms< DataTypes >.
Definition at line 60 of file TetrahedronSetGeometryAlgorithms.h.
| typedef DataTypes::VecCoord sofa::component::topology::TetrahedronSetGeometryAlgorithms< DataTypes >::VecCoord |
Reimplemented from sofa::component::topology::TriangleSetGeometryAlgorithms< DataTypes >.
Definition at line 59 of file TetrahedronSetGeometryAlgorithms.h.
| sofa::component::topology::TetrahedronSetGeometryAlgorithms< DataTypes >::TetrahedronSetGeometryAlgorithms | ( | ) | [inline] |
Definition at line 63 of file TetrahedronSetGeometryAlgorithms.h.
| virtual sofa::component::topology::TetrahedronSetGeometryAlgorithms< DataTypes >::~TetrahedronSetGeometryAlgorithms | ( | ) | [inline, virtual] |
Definition at line 67 of file TetrahedronSetGeometryAlgorithms.h.
| DataTypes::Real sofa::component::topology::TetrahedronSetGeometryAlgorithms< DataTypes >::computeRestTetrahedronVolume | ( | const unsigned int | i | ) | const [inline] |
computes the tetrahedron volume of tetrahedron no i and returns it
Definition at line 50 of file TetrahedronSetGeometryAlgorithms.inl.
References sofa::core::componentmodel::topology::BaseMeshTopology::getTetra(), sofa::component::topology::PointSetGeometryAlgorithms< DataTypes >::m_topology, and sofa::component::topology::tripleProduct().
| void sofa::component::topology::TetrahedronSetGeometryAlgorithms< DataTypes >::computeTetrahedronVolume | ( | BasicArrayInterface< Real > & | ai | ) | const [inline] |
computes the tetrahedron volume of all tetrahedra are store in the array interface
computes the edge length of all edges are store in the array interface
Definition at line 60 of file TetrahedronSetGeometryAlgorithms.inl.
References sofa::core::componentmodel::topology::BaseMeshTopology::getTetras(), sofa::component::topology::PointSetGeometryAlgorithms< DataTypes >::m_topology, and sofa::component::topology::tripleProduct().
| DataTypes::Real sofa::component::topology::TetrahedronSetGeometryAlgorithms< DataTypes >::computeTetrahedronVolume | ( | const unsigned int | i | ) | const [inline] |
computes the volume of tetrahedron no i and returns it
Definition at line 41 of file TetrahedronSetGeometryAlgorithms.inl.
References sofa::core::componentmodel::topology::BaseMeshTopology::getTetra(), sofa::component::topology::PointSetGeometryAlgorithms< DataTypes >::m_topology, and sofa::component::topology::tripleProduct().
| void sofa::component::topology::TetrahedronSetGeometryAlgorithms< DataTypes >::getTetraInBall | ( | unsigned int | ind_ta, | |
| unsigned int | ind_tb, | |||
| sofa::helper::vector< unsigned int > & | indices | |||
| ) | [inline] |
finds the indices of all tetrahedra in the ball of center ind_ta and of radius dist(ind_ta, ind_tb)
Finds the indices of all tetrahedra in the ball of center ind_ta and of radius dist(ind_ta, ind_tb).
Definition at line 73 of file TetrahedronSetGeometryAlgorithms.inl.
References sofa::core::componentmodel::topology::BaseMeshTopology::getTetra(), sofa::core::componentmodel::topology::BaseMeshTopology::getTetraTriangleShell(), sofa::core::componentmodel::topology::BaseMeshTopology::getTriangleTetraShell(), and sofa::component::topology::PointSetGeometryAlgorithms< DataTypes >::m_topology.
| void sofa::component::topology::TetrahedronSetGeometryAlgorithms< DataTypes >::writeMSHfile | ( | const char * | filename | ) | [inline] |
Write the current mesh into a msh file.
Reimplemented from sofa::component::topology::TriangleSetGeometryAlgorithms< DataTypes >.
Definition at line 168 of file TetrahedronSetGeometryAlgorithms.inl.
References sofa::core::componentmodel::topology::BaseMeshTopology::getTetras(), and sofa::component::topology::PointSetGeometryAlgorithms< DataTypes >::m_topology.
1.5.7.1