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

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