#include <stack>
#include "glimslinedata.h"
#include "TraceLog.h"
Go to the source code of this file.
Classes | |
class | GlacierLineHistoryElement |
A single user action on a GlacierLine. More... | |
class | GlacierLineHistory |
A container for holding and accessing the history of user actions (GlacierLineHistoryElements) on a GlacierLine. More... | |
Defines | |
#define | _GLACIERLINEHISTORY_H_ |
Enumerations | |
enum | HistoryAction { noAction, deletedNode, deletedLine, addedNode, addedLine, insertedNode, movedNode, joinedLines, brokeLine, selection } |
Actions a user can perform on a line or node. More... |
#define _GLACIERLINEHISTORY_H_ |
Definition at line 2 of file GlacierLineHistory.h.
enum HistoryAction |
Actions a user can perform on a line or node.
GlacierLineHistoryElements are tagged with the action the user performed on the Shape that caused the element to be added to the history. This information is used to take the appropriate undo action, such as restoring a deleted Node.
noAction | no action was taken |
deletedNode | |
deletedLine | a line or node was deleted |
addedNode | |
addedLine | a line or node was added |
insertedNode | a node (line vertex) was inserted into a line |
movedNode | a node (line vertex) was moved |
joinedLines | two lines were joined into one |
brokeLine | one line was broken into two lines |
selection | Selection actions are stored on their own stack in GLIMSLineData. |
Definition at line 20 of file GlacierLineHistory.h.
Home |
Search |
Disclaimers & Privacy |
Contact Us GLIMSView Maintainer: dsoltesz@usgs.gov |