SOFA API  fdacdac3
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::type::vector< Topology::HexahedronIDhexahedraAroundVertexMoved
 
const sofa::type::vector< Topology::HexahedronhexahedronArray2Moved
 

Public Member Functions

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

◆ hexahedraAroundVertexMoved

sofa::type::vector< Topology::HexahedronID > sofa::core::topology::HexahedraMoved_Adding::hexahedraAroundVertexMoved

◆ hexahedronArray2Moved

const sofa::type::vector< Topology::Hexahedron > sofa::core::topology::HexahedraMoved_Adding::hexahedronArray2Moved

Constructor details

◆ HexahedraMoved_Adding()

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

◆ ~HexahedraMoved_Adding()

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

Function details

◆ getElementArray()

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

◆ getIndexArray()

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