SOFA API  7dc68564
Open source framework for multi-physics simuation
sofa::core::topology::TrianglesRenumbering Class Reference

#include <TopologyChange.h>

Inheritance diagram for sofa::core::topology::TrianglesRenumbering:

Detailed Description

indicates that the indices of all points have been renumbered

Public Attributes

sofa::type::vector< Topology::TriangleIDindexArray
 
sofa::type::vector< Topology::TriangleIDinv_indexArray
 

Public Member Functions

 TrianglesRenumbering ()
 
 TrianglesRenumbering (const sofa::type::vector< Topology::TriangleID > &indices, const sofa::type::vector< Topology::TriangleID > &inv_indices)
 
 ~TrianglesRenumbering () override
 
const sofa::type::vector< Topology::TriangleID > & getIndexArray () const
 
const sofa::type::vector< Topology::TriangleID > & getinv_IndexArray () const
 
- Public Member Functions inherited from sofa::core::topology::TopologyChange
virtual ~TopologyChange ()
 
TopologyChangeType getChangeType () const
 Returns the code of this TopologyChange. More...
 
virtual bool write (std::ostream &out) const
 
virtual bool read (std::istream &in)
 

Additional Inherited Members

- Protected Attributes inherited from sofa::core::topology::TopologyChange
TopologyChangeType m_changeType
 A code that tells the nature of the Topology modification event (could be an enum). More...
 
- Protected Member Functions inherited from sofa::core::topology::TopologyChange
 TopologyChange (TopologyChangeType changeType=BASE)
 

Attribute details

◆ indexArray

sofa::type::vector<Topology::TriangleID> sofa::core::topology::TrianglesRenumbering::indexArray

◆ inv_indexArray

sofa::type::vector<Topology::TriangleID> sofa::core::topology::TrianglesRenumbering::inv_indexArray

Constructor details

◆ TrianglesRenumbering() [1/2]

sofa::core::topology::TrianglesRenumbering::TrianglesRenumbering ( )
inline

◆ TrianglesRenumbering() [2/2]

sofa::core::topology::TrianglesRenumbering::TrianglesRenumbering ( const sofa::type::vector< Topology::TriangleID > &  indices,
const sofa::type::vector< Topology::TriangleID > &  inv_indices 
)
inline

◆ ~TrianglesRenumbering()

sofa::core::topology::TrianglesRenumbering::~TrianglesRenumbering ( )
override

Function details

◆ getIndexArray()

const sofa::type::vector<Topology::TriangleID>& sofa::core::topology::TrianglesRenumbering::getIndexArray ( ) const
inline

◆ getinv_IndexArray()

const sofa::type::vector<Topology::TriangleID>& sofa::core::topology::TrianglesRenumbering::getinv_IndexArray ( ) const
inline