MOAB: Mesh Oriented datABase  (version 5.4.1)
MBMesquite::PatchDataVerticesMemento Class Reference

Contains a copy of the coordinates of a PatchData. More...

#include <PatchData.hpp>

+ Collaboration diagram for MBMesquite::PatchDataVerticesMemento:

Public Member Functions

void clear ()

Private Member Functions

 PatchDataVerticesMemento ()

Private Attributes

PatchDataoriginator
 PatchData whose state is kept.
std::vector< MsqVertexvertices
std::vector< Vector3DnormalData

Friends

class PatchData

Detailed Description

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.


Constructor & Destructor Documentation

Definition at line 805 of file PatchData.hpp.

: originator( 0 ) {}

Member Function Documentation

Definition at line 795 of file PatchData.hpp.

References normalData, originator, and vertices.

    {
        originator = 0;
        vertices.clear();
        normalData.clear();
    }

Friends And Related Function Documentation

friend class PatchData [friend]

Definition at line 804 of file PatchData.hpp.


Member Data Documentation

List of all members.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines