SOFA API  73d8bb95
Open source framework for multi-physics simuation
sofa::core::topology::HexahedraRenumbering Class Reference

#include <TopologyChange.h>

Inheritance diagram for sofa::core::topology::HexahedraRenumbering:

Detailed Description

indicates that the indices of all points have been renumbered

Public Attributes

sofa::helper::vector< Topology::HexahedronIDindexArray
 
sofa::helper::vector< Topology::HexahedronIDinv_indexArray
 

Public Member Functions

 HexahedraRenumbering ()
 
 HexahedraRenumbering (const sofa::helper::vector< Topology::HexahedronID > &indices, const sofa::helper::vector< Topology::HexahedronID > &inv_indices)
 
 ~HexahedraRenumbering () override
 
const sofa::helper::vector< Topology::HexahedronID > & getIndexArray () const
 
const sofa::helper::vector< Topology::HexahedronID > & 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

sofa::helper::vector<Topology::HexahedronID> sofa::core::topology::HexahedraRenumbering::indexArray
sofa::helper::vector<Topology::HexahedronID> sofa::core::topology::HexahedraRenumbering::inv_indexArray

Constructor details

sofa::core::topology::HexahedraRenumbering::HexahedraRenumbering ( )
inline
sofa::core::topology::HexahedraRenumbering::HexahedraRenumbering ( const sofa::helper::vector< Topology::HexahedronID > &  indices,
const sofa::helper::vector< Topology::HexahedronID > &  inv_indices 
)
inline
sofa::core::topology::HexahedraRenumbering::~HexahedraRenumbering ( )
override

Function details

const sofa::helper::vector<Topology::HexahedronID>& sofa::core::topology::HexahedraRenumbering::getIndexArray ( ) const
inline
const sofa::helper::vector<Topology::HexahedronID>& sofa::core::topology::HexahedraRenumbering::getinv_IndexArray ( ) const
inline