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

#include <TopologyChange.h>

Inheritance diagram for sofa::core::topology::HexahedraMoved_Adding:

Detailed Description

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

Public Attributes

sofa::helper::vector< Topology::HexahedronIDhexahedraAroundVertexMoved
 
const sofa::helper::vector< Topology::HexahedronhexahedronArray2Moved
 

Public Member Functions

 HexahedraMoved_Adding (const sofa::helper::vector< Topology::HexahedronID > &hexahedronShell, const sofa::helper::vector< Topology::Hexahedron > &hexahedronArray)
 
 ~HexahedraMoved_Adding () override
 
const sofa::helper::vector< Topology::HexahedronID > & getIndexArray () const
 
const sofa::helper::vector< Topology::Hexahedron > & 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

sofa::helper::vector< Topology::HexahedronID > sofa::core::topology::HexahedraMoved_Adding::hexahedraAroundVertexMoved
const sofa::helper::vector< Topology::Hexahedron > sofa::core::topology::HexahedraMoved_Adding::hexahedronArray2Moved

Constructor details

sofa::core::topology::HexahedraMoved_Adding::HexahedraMoved_Adding ( const sofa::helper::vector< Topology::HexahedronID > &  hexahedronShell,
const sofa::helper::vector< Topology::Hexahedron > &  hexahedronArray 
)
inline
sofa::core::topology::HexahedraMoved_Adding::~HexahedraMoved_Adding ( )
override

Function details

const sofa::helper::vector< Topology::Hexahedron >& sofa::core::topology::HexahedraMoved_Adding::getElementArray ( ) const
inline
const sofa::helper::vector< Topology::HexahedronID >& sofa::core::topology::HexahedraMoved_Adding::getIndexArray ( ) const
inline