SOFA API  ea9ab574
Open source framework for multi-physics simuation
sofa::core::topology::TetrahedraRenumbering Class Reference

#include <TopologyChange.h>

Inheritance diagram for sofa::core::topology::TetrahedraRenumbering:

Detailed Description

indicates that the indices of all points have been renumbered

Public Attributes

sofa::type::vector< Topology::TetrahedronIDindexArray
 
sofa::type::vector< Topology::TetrahedronIDinv_indexArray
 

Public Member Functions

 TetrahedraRenumbering ()
 
 TetrahedraRenumbering (const sofa::type::vector< Topology::TetrahedronID > &indices, const sofa::type::vector< Topology::TetrahedronID > &inv_indices)
 
 ~TetrahedraRenumbering () override
 
const sofa::type::vector< Topology::TetrahedronID > & getIndexArray () const
 
const sofa::type::vector< Topology::TetrahedronID > & 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::TetrahedronID> sofa::core::topology::TetrahedraRenumbering::indexArray

◆ inv_indexArray

sofa::type::vector<Topology::TetrahedronID> sofa::core::topology::TetrahedraRenumbering::inv_indexArray

Constructor details

◆ TetrahedraRenumbering() [1/2]

sofa::core::topology::TetrahedraRenumbering::TetrahedraRenumbering ( )
inline

◆ TetrahedraRenumbering() [2/2]

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

◆ ~TetrahedraRenumbering()

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

Function details

◆ getIndexArray()

const sofa::type::vector<Topology::TetrahedronID>& sofa::core::topology::TetrahedraRenumbering::getIndexArray ( ) const
inline

◆ getinv_IndexArray()

const sofa::type::vector<Topology::TetrahedronID>& sofa::core::topology::TetrahedraRenumbering::getinv_IndexArray ( ) const
inline