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

#include <TopologyChange.h>

Inheritance diagram for sofa::core::topology::PointsMoved:

Detailed Description

indicates that some points were moved

Public Attributes

sofa::helper::vector< Topology::PointIDindicesList
 
sofa::helper::vector< sofa::helper::vector< Topology::PointID > > ancestorsList
 
sofa::helper::vector< sofa::helper::vector< double > > baryCoefsList
 

Public Member Functions

 PointsMoved (const sofa::helper::vector< Topology::PointID > &indices, const sofa::helper::vector< sofa::helper::vector< Topology::PointID > > &ancestors, const sofa::helper::vector< sofa::helper::vector< double > > &baryCoefs)
 
 ~PointsMoved () override
 
const sofa::helper::vector< Topology::PointID > & getIndexArray () 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< sofa::helper::vector< Topology::PointID > > sofa::core::topology::PointsMoved::ancestorsList
sofa::helper::vector< sofa::helper::vector< double > > sofa::core::topology::PointsMoved::baryCoefsList
sofa::helper::vector<Topology::PointID> sofa::core::topology::PointsMoved::indicesList

Constructor details

sofa::core::topology::PointsMoved::PointsMoved ( const sofa::helper::vector< Topology::PointID > &  indices,
const sofa::helper::vector< sofa::helper::vector< Topology::PointID > > &  ancestors,
const sofa::helper::vector< sofa::helper::vector< double > > &  baryCoefs 
)
inline
sofa::core::topology::PointsMoved::~PointsMoved ( )
override

Function details

const sofa::helper::vector<Topology::PointID>& sofa::core::topology::PointsMoved::getIndexArray ( ) const
inline