MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Contains a copy of the coordinates of a PatchData. More...
#include <PatchData.hpp>
Public Member Functions | |
void | clear () |
Private Member Functions | |
PatchDataVerticesMemento () | |
Private Attributes | |
PatchData * | originator |
PatchData whose state is kept. | |
std::vector< MsqVertex > | vertices |
std::vector< Vector3D > | normalData |
Friends | |
class | PatchData |
Contains a copy of the coordinates of a PatchData.
Use PatchDataVerticesMemento when you want to change the coordinates of a PatchData object but also have the option to restore them. This class can only be instantiated through PatchData::create_vertices_memento().
Definition at line 792 of file PatchData.hpp.
MBMesquite::PatchDataVerticesMemento::PatchDataVerticesMemento | ( | ) | [inline, private] |
Definition at line 805 of file PatchData.hpp.
: originator( 0 ) {}
void MBMesquite::PatchDataVerticesMemento::clear | ( | ) | [inline] |
Definition at line 795 of file PatchData.hpp.
References normalData, originator, and vertices.
{ originator = 0; vertices.clear(); normalData.clear(); }
friend class PatchData [friend] |
Definition at line 804 of file PatchData.hpp.
std::vector< Vector3D > MBMesquite::PatchDataVerticesMemento::normalData [private] |
Definition at line 809 of file PatchData.hpp.
Referenced by clear(), MBMesquite::PatchData::recreate_vertices_memento(), and MBMesquite::PatchData::set_to_vertices_memento().
PatchData whose state is kept.
Definition at line 807 of file PatchData.hpp.
Referenced by clear(), MBMesquite::PatchData::recreate_vertices_memento(), MBMesquite::PatchData::set_free_vertices_constrained(), and MBMesquite::PatchData::set_to_vertices_memento().
std::vector< MsqVertex > MBMesquite::PatchDataVerticesMemento::vertices [private] |