OpendTect-6_4  6.4
uistratseisevent.h
Go to the documentation of this file.
1 #ifndef uistratseisevent_h
2 #define uistratseisevent_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert
9  Date: Nov 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiwellattribmod.h"
16 #include "uigroup.h"
17 #include "stratseisevent.h"
18 #include "uistring.h"
19 class uiCheckBox;
20 class uiGenInput;
21 class uiLabel;
22 class uiStratLevelSel;
23 
24 
25 mExpClass(uiWellAttrib) uiStratSeisEvent : public uiGroup
27 public:
28 
29  mExpClass(uiWellAttrib) Setup
30  {
31  public:
32  Setup( bool wew=false )
33  : withextrwin_(wew)
34  , allowlayerbased_(false)
35  , fixedlevel_(0) {}
36 
37  mDefSetupMemb(const Strat::Level*,fixedlevel)
38  mDefSetupMemb(bool,withextrwin)
39  mDefSetupMemb(bool,allowlayerbased)
40  };
41 
43 
44  bool getFromScreen();
45  void setLevel(const char* lvlnm);
46  void putToScreen();
47  const char* levelName() const;
48  bool doAllLayers() const;
49  bool hasExtrWin() const;
50  bool hasStep() const;
51 
52  Strat::SeisEvent& event() { return ev_; }
53  // step may be undefined
54  const StepInterval<float> getFullExtrWin() const;
55 
56 protected:
57 
60 
69 
70  void evSnapCheck(CallBacker*);
71  void extrWinCB(CallBacker*);
72  void stopAtCB(CallBacker*);
73  void stepSelCB(CallBacker*);
74 
75 };
76 
77 
78 #endif
Definition: uigroup.h:54
uiStratLevelSel * levelfld_
Definition: uistratseisevent.h:61
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Event tied to a stratigraphic level.
Definition: stratseisevent.h:27
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Selector for stratigraphic levels.
Definition: uistratlvlsel.h:24
uiGenInput * evfld_
Definition: uistratseisevent.h:62
uiGenInput * uptolvlfld_
Definition: uistratseisevent.h:68
Definition: uiparent.h:26
Stratigraphic level.
Definition: stratlevel.h:42
uiLabel * nosteplbl_
Definition: uistratseisevent.h:67
General Input Element.
Definition: uigeninput.h:58
uiGenInput * extrwinfld_
Definition: uistratseisevent.h:64
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
Definition: uistratseisevent.h:25
uiCheckBox * usestepfld_
Definition: uistratseisevent.h:65
Setup setup_
Definition: uistratseisevent.h:59
Definition: uilabel.h:24
Strat::SeisEvent ev_
Definition: uistratseisevent.h:58
Definition: uistratseisevent.h:29
uiGenInput * extrstepfld_
Definition: uistratseisevent.h:66
Strat::SeisEvent & event()
Definition: uistratseisevent.h:52
Setup(bool wew=false)
Definition: uistratseisevent.h:32
Definition: uibutton.h:134
uiGenInput * snapoffsfld_
Definition: uistratseisevent.h:63

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