SOFA API  b3f2f2a4
Open source framework for multi-physics simuation
sofa::core::topology::TetrahedraMoved_Removing Class Reference

#include <TopologyChange.h>

Inheritance diagram for sofa::core::topology::TetrahedraMoved_Removing:

Detailed Description

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

Public Attributes

sofa::type::vector< Topology::TetrahedronIDtetrahedraAroundVertexMoved
 

Public Member Functions

 TetrahedraMoved_Removing (const sofa::type::vector< Topology::TetrahedronID > &tetrahedronShell)
 
 ~TetrahedraMoved_Removing () override
 
const sofa::type::vector< Topology::TetrahedronID > & 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

◆ tetrahedraAroundVertexMoved

sofa::type::vector< Topology::TetrahedronID > sofa::core::topology::TetrahedraMoved_Removing::tetrahedraAroundVertexMoved

Constructor details

◆ TetrahedraMoved_Removing()

sofa::core::topology::TetrahedraMoved_Removing::TetrahedraMoved_Removing ( const sofa::type::vector< Topology::TetrahedronID > &  tetrahedronShell)
inline

◆ ~TetrahedraMoved_Removing()

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

Function details

◆ getIndexArray()

const sofa::type::vector< Topology::TetrahedronID >& sofa::core::topology::TetrahedraMoved_Removing::getIndexArray ( ) const
inline