OpendTect  6.3
uistratseisevent.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: Bert
8  Date: Nov 2010
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uiwellattribmod.h"
14 #include "uigroup.h"
15 #include "stratseisevent.h"
16 #include "uistring.h"
17 class uiCheckBox;
18 class uiGenInput;
19 class uiLabel;
20 class uiStratLevelSel;
21 
22 
23 mExpClass(uiWellAttrib) uiStratSeisEvent : public uiGroup
25 public:
26 
28 
29  mExpClass(uiWellAttrib) Setup
30  {
31  public:
32  Setup( bool wew=false )
33  : withextrwin_(wew)
34  , allowlayerbased_(false) {}
35 
36  mDefSetupMemb(LevelID,fixedlevelid)
37  mDefSetupMemb(bool,withextrwin)
38  mDefSetupMemb(bool,allowlayerbased)
39  };
40 
42 
43  bool getFromScreen();
44  void setLevel(const char* lvlnm);
45  void setLevels(const BufferStringSet);
46  void putToScreen();
47  BufferString 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 
70 
71  void evSnapCheck(CallBacker*);
72  void extrWinCB(CallBacker*);
73  void stopAtCB(CallBacker*);
74  void stepSelCB(CallBacker*);
75 
76 };
Definition: uigroup.h:53
uiStratLevelSel * levelfld_
Definition: uistratseisevent.h:61
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
Event tied to a stratigraphic level.
Definition: stratseisevent.h:26
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Selector for stratigraphic levels.
Definition: uistratlvlsel.h:24
uiGenInput * evfld_
Definition: uistratseisevent.h:62
uiGenInput * uptolvlfld_
Definition: uistratseisevent.h:69
Definition: uiparent.h:24
Set of BufferString objects.
Definition: bufstringset.h:25
uiLabel * nosteplbl_
Definition: uistratseisevent.h:68
General Input Element.
Definition: uigeninput.h:56
uiGenInput * extrwinfld_
Definition: uistratseisevent.h:65
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:129
Strat::Level::ID LevelID
Definition: uistratseisevent.h:27
Definition: uistratseisevent.h:23
uiCheckBox * usestepfld_
Definition: uistratseisevent.h:66
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
Setup setup_
Definition: uistratseisevent.h:59
Definition: uilabel.h:22
Strat::SeisEvent ev_
Definition: uistratseisevent.h:58
Definition: uistratseisevent.h:29
uiGenInput * extrstepfld_
Definition: uistratseisevent.h:67
Strat::SeisEvent & event()
Definition: uistratseisevent.h:52
Setup(bool wew=false)
Definition: uistratseisevent.h:32
FixedString ID()
Definition: keystrs.h:71
Definition: uibutton.h:130
EnumDefImpl< VSEvent::Type > evtype_
Definition: uistratseisevent.h:63
uiGenInput * snapoffsfld_
Definition: uistratseisevent.h:64

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