Enumerations | |
enum | TopologyChangeType { BASE , ENDING_EVENT , POINTSINDICESSWAP , POINTSADDED , POINTSREMOVED , POINTSMOVED , POINTSRENUMBERING , EDGESINDICESSWAP , EDGESADDED , EDGESREMOVED , EDGESMOVED_REMOVING , EDGESMOVED_ADDING , EDGESRENUMBERING , TRIANGLESINDICESSWAP , TRIANGLESADDED , TRIANGLESREMOVED , TRIANGLESMOVED_REMOVING , TRIANGLESMOVED_ADDING , TRIANGLESRENUMBERING , TETRAHEDRAINDICESSWAP , TETRAHEDRAADDED , TETRAHEDRAREMOVED , TETRAHEDRAMOVED_REMOVING , TETRAHEDRAMOVED_ADDING , TETRAHEDRARENUMBERING , QUADSINDICESSWAP , QUADSADDED , QUADSREMOVED , QUADSMOVED_REMOVING , QUADSMOVED_ADDING , QUADSRENUMBERING , HEXAHEDRAINDICESSWAP , HEXAHEDRAADDED , HEXAHEDRAREMOVED , HEXAHEDRAMOVED_REMOVING , HEXAHEDRAMOVED_ADDING , HEXAHEDRARENUMBERING , TOPOLOGYCHANGE_LASTID } |
The enumeration used to give unique identifiers to TopologyChange objects. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &out, const TopologyChange *t) |
std::istream & | operator>> (std::istream &in, TopologyChange *&t) |
Input (empty) stream. More... | |
std::istream & | operator>> (std::istream &in, const TopologyChange *&) |
Input (empty) stream. More... | |
SOFA_CORE_API geometry::ElementType | parseElementTypeFromString (const std::string &s) |
SOFA_CORE_API std::string | parseElementTypeToString (geometry::ElementType t) |
SOFA_CORE_API TopologyChangeType | parseTopologyChangeTypeFromString (const std::string &s) |
SOFA_CORE_API std::string | parseTopologyChangeTypeToString (TopologyChangeType t) |
SOFA_CORE_API std::ostream & | operator<< (std::ostream &out, const TopologyElemID &d) |
SOFA_CORE_API std::istream & | operator>> (std::istream &in, TopologyElemID &) |
SOFA_CORE_API std::ostream & | operator<< (std::ostream &out, const PointAncestorElem &d) |
SOFA_CORE_API std::istream & | operator>> (std::istream &in, PointAncestorElem &) |
template<int NV> | |
SOFA_CORE_API std::ostream & | operator<< (std::ostream &out, const ElemAncestorElem< NV > &d) |
template<int NV> | |
SOFA_CORE_API std::istream & | operator>> (std::istream &in, ElemAncestorElem< NV > &) |
template SOFA_CORE_API std::ostream & | operator<< (std::ostream &out, const ElemAncestorElem< 2 > &d) |
template SOFA_CORE_API std::ostream & | operator<< (std::ostream &out, const ElemAncestorElem< 3 > &d) |
template SOFA_CORE_API std::ostream & | operator<< (std::ostream &out, const ElemAncestorElem< 4 > &d) |
template SOFA_CORE_API std::ostream & | operator<< (std::ostream &out, const ElemAncestorElem< 8 > &d) |
Variables | |
const unsigned int | edgesInTetrahedronArray [6][2] = {{0,1}, {0,2}, {0,3}, {1,2}, {1,3}, {2,3}} |
List of pair of vertex indices (edge) in a tetrahedron. More... | |
const unsigned int | trianglesOrientationInTetrahedronArray [4][3] = {{1,2,3}, {0,3,2}, {1,3,0}, {0,2,1}} |
List of 3 vertex indices (triangle) in a tetrahedron. More... | |
const unsigned int | edgesInHexahedronArray [12][2] = {{0,1},{0,3},{0,4},{1,2},{1,5},{2,3},{2,6},{3,7},{4,5},{4,7},{5,6},{6,7}} |
List of pair of vertex indices (edge) in a hexahedron. More... | |
const unsigned int | quadsOrientationInHexahedronArray [6][4] = {{0,3,2,1}, {4,5,6,7}, {0,1,5,4}, {1,2,6,5}, {2,3,7,6}, {3,0,4,7}} |
List of 4 vertex indices (quad) in a hexahedron. More... | |
const unsigned int | verticesInHexahedronArray [2][2][2] = { {{0,4}, {3,7}}, {{1,5}, {2,6}} } |
class SOFA_CORE_API | TopologyChange |
class SOFA_CORE_API | EndingEvent |
class SOFA_CORE_API | PointsIndicesSwap |
class SOFA_CORE_API | PointsAdded |
class SOFA_CORE_API | PointsRemoved |
class SOFA_CORE_API | PointsMoved |
class SOFA_CORE_API | PointsRenumbering |
class SOFA_CORE_API | EdgesIndicesSwap |
class SOFA_CORE_API | EdgesAdded |
class SOFA_CORE_API | EdgesRemoved |
class SOFA_CORE_API | EdgesMoved_Removing |
class SOFA_CORE_API | EdgesMoved_Adding |
class SOFA_CORE_API | EdgesRenumbering |
class SOFA_CORE_API | TrianglesIndicesSwap |
class SOFA_CORE_API | TrianglesAdded |
class SOFA_CORE_API | TrianglesRemoved |
class SOFA_CORE_API | TrianglesMoved_Removing |
class SOFA_CORE_API | TrianglesMoved_Adding |
class SOFA_CORE_API | TrianglesRenumbering |
class SOFA_CORE_API | TetrahedraIndicesSwap |
class SOFA_CORE_API | TetrahedraAdded |
class SOFA_CORE_API | TetrahedraRemoved |
class SOFA_CORE_API | TetrahedraMoved_Removing |
class SOFA_CORE_API | TetrahedraMoved_Adding |
class SOFA_CORE_API | TetrahedraRenumbering |
class SOFA_CORE_API | QuadsIndicesSwap |
class SOFA_CORE_API | QuadsAdded |
class SOFA_CORE_API | QuadsRemoved |
class SOFA_CORE_API | QuadsMoved_Removing |
class SOFA_CORE_API | QuadsMoved_Adding |
class SOFA_CORE_API | QuadsRenumbering |
class SOFA_CORE_API | HexahedraIndicesSwap |
class SOFA_CORE_API | HexahedraAdded |
class SOFA_CORE_API | HexahedraRemoved |
class SOFA_CORE_API | HexahedraMoved_Removing |
class SOFA_CORE_API | HexahedraMoved_Adding |
class SOFA_CORE_API | HexahedraRenumbering |
using sofa::core::topology::EdgeData = typedef TopologyData<core::topology::BaseMeshTopology::Edge, VecT> |
using sofa::core::topology::EdgeSubsetData = typedef TopologySubsetData<core::topology::BaseMeshTopology::Edge, VecT> |
using sofa::core::topology::HexahedronData = typedef TopologyData<core::topology::BaseMeshTopology::Hexahedron, VecT> |
using sofa::core::topology::HexahedronSubsetData = typedef TopologySubsetData<core::topology::BaseMeshTopology::Hexahedron, VecT> |
using sofa::core::topology::PointData = typedef TopologyData<core::topology::BaseMeshTopology::Point, VecT> |
using sofa::core::topology::PointSubsetData = typedef TopologySubsetData<core::topology::BaseMeshTopology::Point, VecT> |
using sofa::core::topology::QuadData = typedef TopologyData<core::topology::BaseMeshTopology::Quad, VecT> |
using sofa::core::topology::QuadSubsetData = typedef TopologySubsetData<core::topology::BaseMeshTopology::Quad, VecT> |
using sofa::core::topology::TetrahedronData = typedef TopologyData<core::topology::BaseMeshTopology::Tetrahedron, VecT> |
using sofa::core::topology::TetrahedronSubsetData = typedef TopologySubsetData<core::topology::BaseMeshTopology::Tetrahedron, VecT> |
using sofa::core::topology::TriangleData = typedef TopologyData<core::topology::BaseMeshTopology::Triangle, VecT> |
using sofa::core::topology::TriangleSubsetData = typedef TopologySubsetData<core::topology::BaseMeshTopology::Triangle, VecT> |
The enumeration used to give unique identifiers to TopologyChange objects.
Enumerator | |
---|---|
BASE | For TopologyChange class, should never be used. |
ENDING_EVENT | To notify the end for the current sequence of topological change events. |
POINTSINDICESSWAP | For PointsIndicesSwap class. |
POINTSADDED | For PointsAdded class. |
POINTSREMOVED | For PointsRemoved class. |
POINTSMOVED | For PointsMoved class. |
POINTSRENUMBERING | For PointsRenumbering class. |
EDGESINDICESSWAP | For EdgesIndicesSwap class. |
EDGESADDED | For EdgesAdded class. |
EDGESREMOVED | For EdgesRemoved class. |
EDGESMOVED_REMOVING | For EdgesMoved class (event before changing state). |
EDGESMOVED_ADDING | For EdgesMoved class. |
EDGESRENUMBERING | For EdgesRenumbering class. |
TRIANGLESINDICESSWAP | For TrianglesIndicesSwap class. |
TRIANGLESADDED | For TrianglesAdded class. |
TRIANGLESREMOVED | For TrianglesRemoved class. |
TRIANGLESMOVED_REMOVING | For TrianglesMoved class (event before changing state). |
TRIANGLESMOVED_ADDING | For TrianglesMoved class. |
TRIANGLESRENUMBERING | For TrianglesRenumbering class. |
TETRAHEDRAINDICESSWAP | For TetrahedraIndicesSwap class. |
TETRAHEDRAADDED | For TetrahedraAdded class. |
TETRAHEDRAREMOVED | For TetrahedraRemoved class. |
TETRAHEDRAMOVED_REMOVING | For TetrahedraMoved class (event before changing state). |
TETRAHEDRAMOVED_ADDING | For TetrahedraMoved class. |
TETRAHEDRARENUMBERING | For TetrahedraRenumbering class. |
QUADSINDICESSWAP | For QuadsIndicesSwap class. |
QUADSADDED | For QuadsAdded class. |
QUADSREMOVED | For QuadsRemoved class. |
QUADSMOVED_REMOVING | For QuadsMoved class (event before changing state). |
QUADSMOVED_ADDING | For QuadsMoved class. |
QUADSRENUMBERING | For QuadsRenumbering class. |
HEXAHEDRAINDICESSWAP | For HexahedraIndicesSwap class. |
HEXAHEDRAADDED | For HexahedraAdded class. |
HEXAHEDRAREMOVED | For HexahedraRemoved class. |
HEXAHEDRAMOVED_REMOVING | For HexahedraMoved class (event before changing state). |
HEXAHEDRAMOVED_ADDING | For HexahedraMoved class. |
HEXAHEDRARENUMBERING | For HexahedraRenumbering class. |
TOPOLOGYCHANGE_LASTID | user defined topology changes can start here |
template SOFA_CORE_API std::ostream& sofa::core::topology::operator<< | ( | std::ostream & | out, |
const ElemAncestorElem< 2 > & | d | ||
) |
template SOFA_CORE_API std::ostream& sofa::core::topology::operator<< | ( | std::ostream & | out, |
const ElemAncestorElem< 3 > & | d | ||
) |
template SOFA_CORE_API std::ostream& sofa::core::topology::operator<< | ( | std::ostream & | out, |
const ElemAncestorElem< 4 > & | d | ||
) |
template SOFA_CORE_API std::ostream& sofa::core::topology::operator<< | ( | std::ostream & | out, |
const ElemAncestorElem< 8 > & | d | ||
) |
SOFA_CORE_API std::ostream & sofa::core::topology::operator<< | ( | std::ostream & | out, |
const ElemAncestorElem< NV > & | d | ||
) |
SOFA_CORE_API std::ostream & sofa::core::topology::operator<< | ( | std::ostream & | out, |
const PointAncestorElem & | d | ||
) |
SOFA_CORE_API std::ostream & sofa::core::topology::operator<< | ( | std::ostream & | out, |
const TopologyChange * | t | ||
) |
SOFA_CORE_API std::ostream & sofa::core::topology::operator<< | ( | std::ostream & | out, |
const TopologyElemID & | d | ||
) |
SOFA_CORE_API std::istream & sofa::core::topology::operator>> | ( | std::istream & | in, |
const TopologyChange *& | |||
) |
Input (empty) stream.
SOFA_CORE_API std::istream & sofa::core::topology::operator>> | ( | std::istream & | in, |
ElemAncestorElem< NV > & | |||
) |
SOFA_CORE_API std::istream & sofa::core::topology::operator>> | ( | std::istream & | in, |
PointAncestorElem & | |||
) |
SOFA_CORE_API std::istream & sofa::core::topology::operator>> | ( | std::istream & | in, |
TopologyChange *& | t | ||
) |
Input (empty) stream.
SOFA_CORE_API std::istream & sofa::core::topology::operator>> | ( | std::istream & | in, |
TopologyElemID & | |||
) |
SOFA_CORE_API geometry::ElementType sofa::core::topology::parseElementTypeFromString | ( | const std::string & | s | ) |
SOFA_CORE_API std::string sofa::core::topology::parseElementTypeToString | ( | geometry::ElementType | t | ) |
SOFA_CORE_API TopologyChangeType sofa::core::topology::parseTopologyChangeTypeFromString | ( | const std::string & | s | ) |
SOFA_CORE_API std::string sofa::core::topology::parseTopologyChangeTypeToString | ( | TopologyChangeType | t | ) |
class SOFA_CORE_API sofa::core::topology::EdgesAdded |
class SOFA_CORE_API sofa::core::topology::EdgesIndicesSwap |
SOFA_CORE_API const unsigned int sofa::core::topology::edgesInHexahedronArray = {{0,1},{0,3},{0,4},{1,2},{1,5},{2,3},{2,6},{3,7},{4,5},{4,7},{5,6},{6,7}} |
List of pair of vertex indices (edge) in a hexahedron.
SOFA_CORE_API const unsigned int sofa::core::topology::edgesInTetrahedronArray = {{0,1}, {0,2}, {0,3}, {1,2}, {1,3}, {2,3}} |
List of pair of vertex indices (edge) in a tetrahedron.
class SOFA_CORE_API sofa::core::topology::EdgesMoved_Adding |
class SOFA_CORE_API sofa::core::topology::EdgesMoved_Removing |
class SOFA_CORE_API sofa::core::topology::EdgesRemoved |
class SOFA_CORE_API sofa::core::topology::EdgesRenumbering |
class SOFA_CORE_API sofa::core::topology::EndingEvent |
class SOFA_CORE_API sofa::core::topology::HexahedraAdded |
class SOFA_CORE_API sofa::core::topology::HexahedraIndicesSwap |
class SOFA_CORE_API sofa::core::topology::HexahedraMoved_Adding |
class SOFA_CORE_API sofa::core::topology::HexahedraMoved_Removing |
class SOFA_CORE_API sofa::core::topology::HexahedraRemoved |
class SOFA_CORE_API sofa::core::topology::HexahedraRenumbering |
class SOFA_CORE_API sofa::core::topology::PointsAdded |
class SOFA_CORE_API sofa::core::topology::PointsIndicesSwap |
class SOFA_CORE_API sofa::core::topology::PointsMoved |
class SOFA_CORE_API sofa::core::topology::PointsRemoved |
class SOFA_CORE_API sofa::core::topology::PointsRenumbering |
class SOFA_CORE_API sofa::core::topology::QuadsAdded |
class SOFA_CORE_API sofa::core::topology::QuadsIndicesSwap |
class SOFA_CORE_API sofa::core::topology::QuadsMoved_Adding |
class SOFA_CORE_API sofa::core::topology::QuadsMoved_Removing |
SOFA_CORE_API const unsigned int sofa::core::topology::quadsOrientationInHexahedronArray = {{0,3,2,1}, {4,5,6,7}, {0,1,5,4}, {1,2,6,5}, {2,3,7,6}, {3,0,4,7}} |
List of 4 vertex indices (quad) in a hexahedron.
class SOFA_CORE_API sofa::core::topology::QuadsRemoved |
class SOFA_CORE_API sofa::core::topology::QuadsRenumbering |
class SOFA_CORE_API sofa::core::topology::TetrahedraAdded |
class SOFA_CORE_API sofa::core::topology::TetrahedraIndicesSwap |
class SOFA_CORE_API sofa::core::topology::TetrahedraMoved_Adding |
class SOFA_CORE_API sofa::core::topology::TetrahedraMoved_Removing |
class SOFA_CORE_API sofa::core::topology::TetrahedraRemoved |
class SOFA_CORE_API sofa::core::topology::TetrahedraRenumbering |
class SOFA_CORE_API sofa::core::topology::TopologyChange |
class SOFA_CORE_API sofa::core::topology::TrianglesAdded |
class SOFA_CORE_API sofa::core::topology::TrianglesIndicesSwap |
class SOFA_CORE_API sofa::core::topology::TrianglesMoved_Adding |
class SOFA_CORE_API sofa::core::topology::TrianglesMoved_Removing |
SOFA_CORE_API const unsigned int sofa::core::topology::trianglesOrientationInTetrahedronArray = {{1,2,3}, {0,3,2}, {1,3,0}, {0,2,1}} |
List of 3 vertex indices (triangle) in a tetrahedron.
class SOFA_CORE_API sofa::core::topology::TrianglesRemoved |
class SOFA_CORE_API sofa::core::topology::TrianglesRenumbering |
SOFA_CORE_API const unsigned int sofa::core::topology::verticesInHexahedronArray = { {{0,4}, {3,7}}, {{1,5}, {2,6}} } |