OpendTect-6_4  6.4
velocitypicksundo.h
Go to the documentation of this file.
1 #ifndef velocitypicksundo_h
2 #define velocitypicksundo_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: April 2005
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "undo.h"
17 #include "rowcol.h"
18 #include "position.h"
19 #include "velocitypicks.h"
20 
21 
22 namespace Vel
23 {
24 
27 {
28 public:
29  PickSetEvent(Picks&,const Pick& oldpick,
30  const Pick& newpick,const BinID&);
31 
32  bool unDo();
33  bool reDo();
34  const char* getStandardDesc() const;
35  const BinID& getBinID() const { return bid_; }
36 
37 protected:
38 
43 };
44 
45 
48 {
49 public:
50  PickAddEvent(Picks&, const RowCol&);
51 
52  bool unDo();
53  bool reDo();
54  const char* getStandardDesc() const;
55  const BinID& getBinID() const { return newbid_; }
56 
57 protected:
58 
60 
63 };
64 
65 
68 {
69 public:
70  PickRemoveEvent(Picks&, const RowCol&);
71 
72  bool unDo();
73  bool reDo();
74  const char* getStandardDesc() const;
75  const BinID& getBinID() const { return oldbid_; }
76 
77 protected:
78 
83 };
84 
85 } // namespace Vel
86 
87 #endif
Velocity.
Definition: velocityfunction.h:32
BinID UndoEvent.
Definition: undo.h:128
const BinID & getBinID() const
Definition: velocitypicksundo.h:35
Definition: velocitypicks.h:57
Picks & picks_
Definition: velocitypicksundo.h:39
Picks & picks_
Definition: velocitypicksundo.h:79
Undo event for removed velocity pick.
Definition: velocitypicksundo.h:67
BinID bid_
Definition: velocitypicksundo.h:42
Undo event for added velocity pick.
Definition: velocitypicksundo.h:47
Pick newpick_
Definition: velocitypicksundo.h:41
RowCol pos_
Definition: velocitypicksundo.h:80
const BinID & getBinID() const
Definition: velocitypicksundo.h:55
Undo event for changed velocity pick.
Definition: velocitypicksundo.h:26
BinID oldbid_
Definition: velocitypicksundo.h:82
Picks & picks_
Definition: velocitypicksundo.h:59
const BinID & getBinID() const
Definition: velocitypicksundo.h:75
BinID newbid_
Definition: velocitypicksundo.h:62
Pick newpick_
Definition: velocitypicksundo.h:61
IdxPair used for its row() and col().
Definition: rowcol.h:25
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
Definition: picklocation.h:21
#define mClass(module)
Definition: commondefs.h:164
Pick oldpick_
Definition: velocitypicksundo.h:40
Pick oldpick_
Definition: velocitypicksundo.h:81

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019