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

#include <TopologyChange.h>

Inheritance diagram for sofa::core::topology::TrianglesMoved_Adding:

Detailed Description

indicates that some triangles are about to be moved (i.e some/all of their vertices have just been moved) TrianglesMoved_Adding Second part, recompute state of all elements previously removed, with new positions points

Public Attributes

sofa::helper::vector< Topology::TriangleIDtrianglesAroundVertexMoved
 
const sofa::helper::vector< Topology::TriangletriangleArray2Moved
 

Public Member Functions

 TrianglesMoved_Adding (const sofa::helper::vector< Topology::TriangleID > &triangleShell, const sofa::helper::vector< Topology::Triangle > &triangleArray)
 
 ~TrianglesMoved_Adding () override
 
const sofa::helper::vector< Topology::TriangleID > & getIndexArray () const
 
const sofa::helper::vector< Topology::Triangle > & getElementArray () 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

const sofa::helper::vector< Topology::Triangle > sofa::core::topology::TrianglesMoved_Adding::triangleArray2Moved
sofa::helper::vector< Topology::TriangleID > sofa::core::topology::TrianglesMoved_Adding::trianglesAroundVertexMoved

Constructor details

sofa::core::topology::TrianglesMoved_Adding::TrianglesMoved_Adding ( const sofa::helper::vector< Topology::TriangleID > &  triangleShell,
const sofa::helper::vector< Topology::Triangle > &  triangleArray 
)
inline
sofa::core::topology::TrianglesMoved_Adding::~TrianglesMoved_Adding ( )
override

Function details

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