SOFA API  1a4bb3e7
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::type::vector< Topology::PointIDindicesList
 
sofa::type::vector< sofa::type::vector< Topology::PointID > > ancestorsList
 
sofa::type::vector< sofa::type::vector< SReal > > baryCoefsList
 

Public Member Functions

 PointsMoved (const sofa::type::vector< Topology::PointID > &indices, const sofa::type::vector< sofa::type::vector< Topology::PointID > > &ancestors, const sofa::type::vector< sofa::type::vector< SReal > > &baryCoefs)
 
 ~PointsMoved () override
 
const sofa::type::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

◆ ancestorsList

sofa::type::vector< sofa::type::vector< Topology::PointID > > sofa::core::topology::PointsMoved::ancestorsList

◆ baryCoefsList

sofa::type::vector< sofa::type::vector< SReal > > sofa::core::topology::PointsMoved::baryCoefsList

◆ indicesList

sofa::type::vector<Topology::PointID> sofa::core::topology::PointsMoved::indicesList

Constructor details

◆ PointsMoved()

sofa::core::topology::PointsMoved::PointsMoved ( const sofa::type::vector< Topology::PointID > &  indices,
const sofa::type::vector< sofa::type::vector< Topology::PointID > > &  ancestors,
const sofa::type::vector< sofa::type::vector< SReal > > &  baryCoefs 
)
inline

◆ ~PointsMoved()

sofa::core::topology::PointsMoved::~PointsMoved ( )
override

Function details

◆ getIndexArray()

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