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

#include <TopologyChange.h>

Inheritance diagram for sofa::core::topology::TrianglesRemoved:

Detailed Description

indicates that some triangles are about to be removed

Protected Attributes

sofa::helper::vector< Topology::TriangleIDremovedTrianglesArray
 
- 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...
 

Public Member Functions

 TrianglesRemoved (const sofa::helper::vector< Topology::TriangleID > _tArray)
 
 ~TrianglesRemoved () override
 
std::size_t getNbRemovedTriangles () const
 
const sofa::helper::vector< Topology::TriangleID > & getArray () const
 
Topology::TriangleIDgetTriangleIndices (const Topology::TriangleID i)
 
- 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 Member Functions inherited from sofa::core::topology::TopologyChange
 TopologyChange (TopologyChangeType changeType=BASE)
 

Attribute details

sofa::helper::vector<Topology::TriangleID> sofa::core::topology::TrianglesRemoved::removedTrianglesArray
protected

Constructor details

sofa::core::topology::TrianglesRemoved::TrianglesRemoved ( const sofa::helper::vector< Topology::TriangleID _tArray)
inline
sofa::core::topology::TrianglesRemoved::~TrianglesRemoved ( )
override

Function details

const sofa::helper::vector<Topology::TriangleID>& sofa::core::topology::TrianglesRemoved::getArray ( ) const
inline
std::size_t sofa::core::topology::TrianglesRemoved::getNbRemovedTriangles ( ) const
inline
Topology::TriangleID& sofa::core::topology::TrianglesRemoved::getTriangleIndices ( const Topology::TriangleID  i)
inline