SOFA API  6dc60b15
Open source framework for multi-physics simuation
sofa::core::topology::TrianglesMoved_Removing Class Reference

#include <TopologyChange.h>

Inheritance diagram for sofa::core::topology::TrianglesMoved_Removing:

Detailed Description

indicates that some triangles are about to be moved (i.e some/all of their vertices have just been moved) TrianglesMoved_Removing First part, remove element concerned to force object to recompute global state with current positions

Public Attributes

sofa::helper::vector< Topology::TriangleIDtrianglesAroundVertexMoved
 

Public Member Functions

 TrianglesMoved_Removing (const sofa::helper::vector< Topology::TriangleID > &triangleShell)
 
 ~TrianglesMoved_Removing () override
 
const sofa::helper::vector< Topology::TriangleID > & 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< Topology::TriangleID > sofa::core::topology::TrianglesMoved_Removing::trianglesAroundVertexMoved

Constructor details

sofa::core::topology::TrianglesMoved_Removing::TrianglesMoved_Removing ( const sofa::helper::vector< Topology::TriangleID > &  triangleShell)
inline
sofa::core::topology::TrianglesMoved_Removing::~TrianglesMoved_Removing ( )
override

Function details

const sofa::helper::vector< Topology::TriangleID >& sofa::core::topology::TrianglesMoved_Removing::getIndexArray ( ) const
inline