OpendTect  6.6
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  RCS: $Id$
10 ________________________________________________________________________
11 
12 
13 -*/
14 
15 #include "undo.h"
16 #include "rowcol.h"
17 #include "position.h"
18 #include "velocitypicks.h"
19 
20 
21 namespace Vel
22 {
23 
26 {
27 public:
28  PickSetEvent(Picks&,const Pick& oldpick,
29  const Pick& newpick,const BinID&);
30 
31  bool unDo();
32  bool reDo();
33  const char* getStandardDesc() const;
34  const BinID& getBinID() const { return bid_; }
35 
36 protected:
37 
42 };
43 
44 
47 {
48 public:
50 
51  bool unDo();
52  bool reDo();
53  const char* getStandardDesc() const;
54  const BinID& getBinID() const { return newbid_; }
55 
56 protected:
57 
59 
62 };
63 
64 
67 {
68 public:
70 
71  bool unDo();
72  bool reDo();
73  const char* getStandardDesc() const;
74  const BinID& getBinID() const { return oldbid_; }
75 
76 protected:
77 
82 };
83 
84 } // namespace Vel
85 
Vel::PickAddEvent::newpick_
Pick newpick_
Definition: velocitypicksundo.h:60
Vel::PickSetEvent::getStandardDesc
const char * getStandardDesc() const
Vel::PickSetEvent::reDo
bool reDo()
Vel::PickAddEvent::newbid_
BinID newbid_
Definition: velocitypicksundo.h:61
Vel
Velocity.
Definition: velocityfunction.h:32
Vel::Picks
Definition: velocitypicks.h:57
Vel::PickRemoveEvent::reDo
bool reDo()
Pick
Definition: picklocation.h:21
Vel::PickSetEvent::picks_
Picks & picks_
Definition: velocitypicksundo.h:38
Vel::PickSetEvent::newpick_
Pick newpick_
Definition: velocitypicksundo.h:40
Vel::PickAddEvent::unDo
bool unDo()
Vel::PickRemoveEvent::unDo
bool unDo()
Vel::PickAddEvent::PickAddEvent
PickAddEvent(Picks &, const RowCol &)
Vel::PickAddEvent::picks_
Picks & picks_
Definition: velocitypicksundo.h:58
Vel::PickRemoveEvent::getStandardDesc
const char * getStandardDesc() const
Vel::PickSetEvent
Undo event for changed velocity pick.
Definition: velocitypicksundo.h:26
Vel::PickSetEvent::unDo
bool unDo()
BinID
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:31
Vel::PickSetEvent::bid_
BinID bid_
Definition: velocitypicksundo.h:41
Vel::PickRemoveEvent
Undo event for removed velocity pick.
Definition: velocitypicksundo.h:67
undo.h
BinIDUndoEvent
BinID UndoEvent.
Definition: undo.h:128
mClass
#define mClass(module)
Definition: commondefs.h:181
Vel::PickAddEvent::getBinID
const BinID & getBinID() const
Definition: velocitypicksundo.h:54
velocitypicks.h
Vel::PickRemoveEvent::pos_
RowCol pos_
Definition: velocitypicksundo.h:79
position.h
Vel::PickAddEvent::getStandardDesc
const char * getStandardDesc() const
Vel::PickRemoveEvent::PickRemoveEvent
PickRemoveEvent(Picks &, const RowCol &)
Vel::PickSetEvent::PickSetEvent
PickSetEvent(Picks &, const Pick &oldpick, const Pick &newpick, const BinID &)
Vel::PickRemoveEvent::oldpick_
Pick oldpick_
Definition: velocitypicksundo.h:80
Vel::PickAddEvent
Undo event for added velocity pick.
Definition: velocitypicksundo.h:47
Vel::PickRemoveEvent::oldbid_
BinID oldbid_
Definition: velocitypicksundo.h:81
RowCol
IdxPair used for its row() and col().
Definition: rowcol.h:25
Vel::PickRemoveEvent::getBinID
const BinID & getBinID() const
Definition: velocitypicksundo.h:74
Vel::PickSetEvent::oldpick_
Pick oldpick_
Definition: velocitypicksundo.h:39
Vel::PickRemoveEvent::picks_
Picks & picks_
Definition: velocitypicksundo.h:78
Vel::PickAddEvent::reDo
bool reDo()
Vel::PickSetEvent::getBinID
const BinID & getBinID() const
Definition: velocitypicksundo.h:34
rowcol.h

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