SOFA API  6dc60b15
Open source framework for multi-physics simuation
sofa::core::topology::HexahedraAdded Class Reference

#include <TopologyChange.h>

Inheritance diagram for sofa::core::topology::HexahedraAdded:

Detailed Description

indicates that some hexahedra were added

Public Attributes

size_t nHexahedra
 
sofa::helper::vector< Topology::HexahedronhexahedronArray
 
sofa::helper::vector< Topology::HexahedronIDhexahedronIndexArray
 
sofa::helper::vector< sofa::helper::vector< Topology::HexahedronID > > ancestorsList
 
sofa::helper::vector< sofa::helper::vector< double > > coefs
 
sofa::helper::vector< HexahedronAncestorElemancestorElems
 

Public Member Functions

 HexahedraAdded (const size_t nT)
 
 HexahedraAdded (const size_t nT, const sofa::helper::vector< Topology::Hexahedron > &_hexahedronArray, const sofa::helper::vector< Topology::HexahedronID > &hexahedraIndex)
 
 HexahedraAdded (const size_t nT, const sofa::helper::vector< Topology::Hexahedron > &_hexahedronArray, const sofa::helper::vector< Topology::HexahedronID > &hexahedraIndex, const sofa::helper::vector< sofa::helper::vector< Topology::HexahedronID > > &ancestors, const sofa::helper::vector< sofa::helper::vector< double > > &baryCoefs)
 
 HexahedraAdded (const size_t nT, const sofa::helper::vector< Topology::Hexahedron > &_hexahedronArray, const sofa::helper::vector< Topology::HexahedronID > &hexahedraIndex, const sofa::helper::vector< HexahedronAncestorElem > &srcElems, const sofa::helper::vector< sofa::helper::vector< Topology::HexahedronID > > &ancestors, const sofa::helper::vector< sofa::helper::vector< double > > &baryCoefs)
 
 ~HexahedraAdded () override
 
size_t getNbAddedHexahedra () const
 
size_t getNbAddedElements () const
 
const sofa::helper::vector< Topology::HexahedronID > & getIndexArray () const
 
const sofa::helper::vector< Topology::Hexahedron > & getElementArray () 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< HexahedronAncestorElem > sofa::core::topology::HexahedraAdded::ancestorElems
sofa::helper::vector< sofa::helper::vector< Topology::HexahedronID > > sofa::core::topology::HexahedraAdded::ancestorsList
sofa::helper::vector< sofa::helper::vector< double > > sofa::core::topology::HexahedraAdded::coefs
sofa::helper::vector< Topology::Hexahedron > sofa::core::topology::HexahedraAdded::hexahedronArray
sofa::helper::vector< Topology::HexahedronID > sofa::core::topology::HexahedraAdded::hexahedronIndexArray
size_t sofa::core::topology::HexahedraAdded::nHexahedra

Constructor details

sofa::core::topology::HexahedraAdded::HexahedraAdded ( const size_t  nT)
inline
sofa::core::topology::HexahedraAdded::HexahedraAdded ( const size_t  nT,
const sofa::helper::vector< Topology::Hexahedron > &  _hexahedronArray,
const sofa::helper::vector< Topology::HexahedronID > &  hexahedraIndex 
)
inline
sofa::core::topology::HexahedraAdded::HexahedraAdded ( const size_t  nT,
const sofa::helper::vector< Topology::Hexahedron > &  _hexahedronArray,
const sofa::helper::vector< Topology::HexahedronID > &  hexahedraIndex,
const sofa::helper::vector< sofa::helper::vector< Topology::HexahedronID > > &  ancestors,
const sofa::helper::vector< sofa::helper::vector< double > > &  baryCoefs 
)
inline
sofa::core::topology::HexahedraAdded::HexahedraAdded ( const size_t  nT,
const sofa::helper::vector< Topology::Hexahedron > &  _hexahedronArray,
const sofa::helper::vector< Topology::HexahedronID > &  hexahedraIndex,
const sofa::helper::vector< HexahedronAncestorElem > &  srcElems,
const sofa::helper::vector< sofa::helper::vector< Topology::HexahedronID > > &  ancestors,
const sofa::helper::vector< sofa::helper::vector< double > > &  baryCoefs 
)
inline
sofa::core::topology::HexahedraAdded::~HexahedraAdded ( )
override

Function details

const sofa::helper::vector< Topology::Hexahedron >& sofa::core::topology::HexahedraAdded::getElementArray ( ) const
inline
const sofa::helper::vector< Topology::HexahedronID >& sofa::core::topology::HexahedraAdded::getIndexArray ( ) const
inline
size_t sofa::core::topology::HexahedraAdded::getNbAddedElements ( ) const
inline
size_t sofa::core::topology::HexahedraAdded::getNbAddedHexahedra ( ) const
inline