SOFA API  1a4bb3e7
Open source framework for multi-physics simuation
sofa::core::topology::PointsRenumbering Class Reference

#include <TopologyChange.h>

Inheritance diagram for sofa::core::topology::PointsRenumbering:

Detailed Description

indicates that the indices of all points have been renumbered

Public Attributes

sofa::type::vector< Topology::PointIDindexArray
 
sofa::type::vector< Topology::PointIDinv_indexArray
 

Public Member Functions

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

◆ inv_indexArray

sofa::type::vector<Topology::PointID> sofa::core::topology::PointsRenumbering::inv_indexArray

Constructor details

◆ PointsRenumbering() [1/2]

sofa::core::topology::PointsRenumbering::PointsRenumbering ( )
inline

◆ PointsRenumbering() [2/2]

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

◆ ~PointsRenumbering()

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

Function details

◆ getIndexArray()

const sofa::type::vector<Topology::PointID>& sofa::core::topology::PointsRenumbering::getIndexArray ( ) const
inline

◆ getinv_IndexArray()

const sofa::type::vector<Topology::PointID>& sofa::core::topology::PointsRenumbering::getinv_IndexArray ( ) const
inline