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

#include <TopologyChange.h>

Inheritance diagram for sofa::core::topology::EdgesMoved_Adding:

Detailed Description

indicates that some edges are about to be moved (i.e one or both of their vertices have just been moved) EdgesMoved_Adding Second part, recompute state of all elements previously removed, with new positions points

Public Attributes

sofa::type::vector< Topology::EdgeIDedgesAroundVertexMoved
sofa::type::vector< Topology::EdgeedgeArray2Moved

Public Member Functions

 EdgesMoved_Adding (const sofa::type::vector< Topology::EdgeID > &edgeShell, const sofa::type::vector< Topology::Edge > &edgeArray)
 ~EdgesMoved_Adding () override
const sofa::type::vector< Topology::EdgeID > & getIndexArray () const
const sofa::type::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

◆ edgeArray2Moved

sofa::type::vector< Topology::Edge > sofa::core::topology::EdgesMoved_Adding::edgeArray2Moved

◆ edgesAroundVertexMoved

sofa::type::vector< Topology::EdgeID > sofa::core::topology::EdgesMoved_Adding::edgesAroundVertexMoved

Constructor details

◆ EdgesMoved_Adding()

sofa::core::topology::EdgesMoved_Adding::EdgesMoved_Adding ( const sofa::type::vector< Topology::EdgeID > &  edgeShell,
const sofa::type::vector< Topology::Edge > &  edgeArray 

◆ ~EdgesMoved_Adding()

sofa::core::topology::EdgesMoved_Adding::~EdgesMoved_Adding ( )

Function details

◆ getElementArray()

const sofa::type::vector< Topology::Edge >& sofa::core::topology::EdgesMoved_Adding::getElementArray ( ) const

◆ getIndexArray()

const sofa::type::vector< Topology::EdgeID >& sofa::core::topology::EdgesMoved_Adding::getIndexArray ( ) const