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

#include <TopologyChange.h>

Inheritance diagram for sofa::core::topology::EdgesAdded:

Detailed Description

indicates that some edges were added

Public Attributes

size_t nEdges
 
sofa::helper::vector< Topology::EdgeedgeArray
 
sofa::helper::vector< Topology::EdgeIDedgeIndexArray
 
sofa::helper::vector< sofa::helper::vector< Topology::EdgeID > > ancestorsList
 
sofa::helper::vector< sofa::helper::vector< double > > coefs
 
sofa::helper::vector< EdgeAncestorElemancestorElems
 

Public Member Functions

 EdgesAdded (const size_t nE)
 
 EdgesAdded (const size_t nE, const sofa::helper::vector< Topology::Edge > &edgesList, const sofa::helper::vector< Topology::EdgeID > &edgesIndex)
 
 EdgesAdded (const size_t nE, const sofa::helper::vector< Topology::Edge > &edgesList, const sofa::helper::vector< Topology::EdgeID > &edgesIndex, const sofa::helper::vector< sofa::helper::vector< Topology::EdgeID > > &ancestors)
 
 EdgesAdded (const size_t nE, const sofa::helper::vector< Topology::Edge > &edgesList, const sofa::helper::vector< Topology::EdgeID > &edgesIndex, const sofa::helper::vector< sofa::helper::vector< Topology::EdgeID > > &ancestors, const sofa::helper::vector< sofa::helper::vector< double > > &baryCoefs)
 
 EdgesAdded (const size_t nE, const sofa::helper::vector< Topology::Edge > &edgesList, const sofa::helper::vector< Topology::EdgeID > &edgesIndex, const sofa::helper::vector< EdgeAncestorElem > &srcElems, const sofa::helper::vector< sofa::helper::vector< Topology::EdgeID > > &ancestors, const sofa::helper::vector< sofa::helper::vector< double > > &baryCoefs)
 
 ~EdgesAdded () override
 
size_t getNbAddedEdges () const
 
const sofa::helper::vector< Topology::Edge > & getArray () const
 
size_t getNbAddedElements () const
 
const sofa::helper::vector< Topology::EdgeID > & getIndexArray () const
 
const sofa::helper::vector< Topology::Edge > & 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< EdgeAncestorElem > sofa::core::topology::EdgesAdded::ancestorElems
sofa::helper::vector< sofa::helper::vector< Topology::EdgeID > > sofa::core::topology::EdgesAdded::ancestorsList
sofa::helper::vector< sofa::helper::vector< double > > sofa::core::topology::EdgesAdded::coefs
sofa::helper::vector< Topology::Edge > sofa::core::topology::EdgesAdded::edgeArray
sofa::helper::vector< Topology::EdgeID > sofa::core::topology::EdgesAdded::edgeIndexArray
size_t sofa::core::topology::EdgesAdded::nEdges

Constructor details

sofa::core::topology::EdgesAdded::EdgesAdded ( const size_t  nE)
inline
sofa::core::topology::EdgesAdded::EdgesAdded ( const size_t  nE,
const sofa::helper::vector< Topology::Edge > &  edgesList,
const sofa::helper::vector< Topology::EdgeID > &  edgesIndex 
)
inline
sofa::core::topology::EdgesAdded::EdgesAdded ( const size_t  nE,
const sofa::helper::vector< Topology::Edge > &  edgesList,
const sofa::helper::vector< Topology::EdgeID > &  edgesIndex,
const sofa::helper::vector< sofa::helper::vector< Topology::EdgeID > > &  ancestors 
)
inline
sofa::core::topology::EdgesAdded::EdgesAdded ( const size_t  nE,
const sofa::helper::vector< Topology::Edge > &  edgesList,
const sofa::helper::vector< Topology::EdgeID > &  edgesIndex,
const sofa::helper::vector< sofa::helper::vector< Topology::EdgeID > > &  ancestors,
const sofa::helper::vector< sofa::helper::vector< double > > &  baryCoefs 
)
inline
sofa::core::topology::EdgesAdded::EdgesAdded ( const size_t  nE,
const sofa::helper::vector< Topology::Edge > &  edgesList,
const sofa::helper::vector< Topology::EdgeID > &  edgesIndex,
const sofa::helper::vector< EdgeAncestorElem > &  srcElems,
const sofa::helper::vector< sofa::helper::vector< Topology::EdgeID > > &  ancestors,
const sofa::helper::vector< sofa::helper::vector< double > > &  baryCoefs 
)
inline
sofa::core::topology::EdgesAdded::~EdgesAdded ( )
override

Function details

const sofa::helper::vector< Topology::Edge >& sofa::core::topology::EdgesAdded::getArray ( ) const
inline
const sofa::helper::vector< Topology::Edge >& sofa::core::topology::EdgesAdded::getElementArray ( ) const
inline
const sofa::helper::vector< Topology::EdgeID >& sofa::core::topology::EdgesAdded::getIndexArray ( ) const
inline
size_t sofa::core::topology::EdgesAdded::getNbAddedEdges ( ) const
inline
size_t sofa::core::topology::EdgesAdded::getNbAddedElements ( ) const
inline