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

#include <TopologyChange.h>

Inheritance diagram for sofa::core::topology::QuadsRemoved:

Detailed Description

indicates that some quads are about to be removed

Protected Attributes

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

 QuadsRemoved (const sofa::helper::vector< Topology::QuadID > _qArray)
 
 ~QuadsRemoved () override
 
std::size_t getNbRemovedQuads () const
 
const sofa::helper::vector< Topology::QuadID > & getArray () const
 
Topology::QuadIDgetQuadIndices (const Topology::QuadID 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::QuadID> sofa::core::topology::QuadsRemoved::removedQuadsArray
protected

Constructor details

sofa::core::topology::QuadsRemoved::QuadsRemoved ( const sofa::helper::vector< Topology::QuadID _qArray)
inline
sofa::core::topology::QuadsRemoved::~QuadsRemoved ( )
override

Function details

const sofa::helper::vector<Topology::QuadID>& sofa::core::topology::QuadsRemoved::getArray ( ) const
inline
std::size_t sofa::core::topology::QuadsRemoved::getNbRemovedQuads ( ) const
inline
Topology::QuadID& sofa::core::topology::QuadsRemoved::getQuadIndices ( const Topology::QuadID  i)
inline