OpendTect  6.3
uimpeeventgrp.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: Nanne Hemstra
8  Date: April 2015
9  RCS: $Id: $
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uimpemod.h"
15 #include "flatview.h"
16 
17 #include "uidlggroup.h"
18 #include "uimpe.h"
19 
20 class uiCheckBox;
21 class uiGenInput;
22 class uiLabel;
23 class uiPushButton;
24 
25 namespace MPE
26 {
27 
28 class HorizonAdjuster;
29 class SectionTracker;
30 class uiAmplThresholdGrp;
31 class uiPreviewGroup;
32 
33 
38 public:
39  uiEventGroup(uiParent*,bool is2d);
40  ~uiEventGroup();
41 
42  void setSectionTracker(SectionTracker*);
43  void setSeedPos(const TrcKeyValue&);
44  void updateSensitivity(bool doauto);
45 
47  { return &changed_; }
48 
49  bool commitToTracker(bool& fieldchange) const;
50 
51 protected:
52 
53  void init();
54 
55  void changeCB(CallBacker*);
56  void selEventType(CallBacker*);
57  void windowChangeCB(CallBacker*);
58  void selAmpThresholdType(CallBacker*);
59  void addStepPushedCB(CallBacker*);
60  void visibleDataChangeCB(CallBacker*);
61 
64  uiAmplThresholdGrp* llimitfld_;
65  uiAmplThresholdGrp* ulimitfld_;
71 
73  void previewChgCB(CallBacker*);
74 
75  bool is2d_;
79 
81 };
82 
83 } // namespace MPE
#define mExpClass(module)
Definition: commondefs.h:157
Definition: trckeyvalue.h:25
uiCheckBox * allowsignchgfld_
Definition: uimpeeventgrp.h:63
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
uiAmplThresholdGrp * llimitfld_
Definition: uimpeeventgrp.h:64
is the base class for all buttons.
Definition: uibutton.h:80
SectionAdjuster to adjust EM::Horizon.
Definition: horizonadjuster.h:32
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Interface class for Notifier. See comments there.
Definition: notify.h:20
HorizonAdjuster * adjuster_
Definition: uimpeeventgrp.h:78
MPE stands for Model, Predict, Edit. Contains tracking and editing functions.
Definition: autotracker.h:30
bool init()
bool is2d_
Definition: uimpeeventgrp.h:75
uiLabel * datalabel_
Definition: uimpeeventgrp.h:70
Definition: uiparent.h:24
Tracks sections of EM::EMObject with ID EM::SectionID.
Definition: sectiontracker.h:36
Definition: uidlggroup.h:24
uiGenInput * srchgatefld_
Definition: uimpeeventgrp.h:66
TrcKeyValue seedpos_
Definition: uimpeeventgrp.h:76
Class to help setup a callback handling.
Definition: notify.h:121
uiGenInput * nrzfld_
Definition: uimpeeventgrp.h:68
uiMPEEngine & uiMPE()
Access function for an instance (and normally the only instance) of MPE::uiMPEEngine.
Horizon tracking setup dialog.
Definition: uimpeeventgrp.h:36
Viewer for previewing data around seed.
Definition: uimpepreviewgrp.h:31
General Input Element.
Definition: uigeninput.h:56
SectionTracker * sectiontracker_
Definition: uimpeeventgrp.h:77
Notifier< uiEventGroup > changed_
Definition: uimpeeventgrp.h:80
uiGenInput * nrtrcsfld_
Definition: uimpeeventgrp.h:69
Definition: uilabel.h:22
uiPreviewGroup * previewgrp_
Definition: uimpeeventgrp.h:72
NotifierAccess * changeNotifier()
Definition: uimpeeventgrp.h:46
uiAmplThresholdGrp * ulimitfld_
Definition: uimpeeventgrp.h:65
uiGenInput * evfld_
Definition: uimpeeventgrp.h:62
uiGenInput * extriffailfld_
Definition: uimpeeventgrp.h:67
Definition: uibutton.h:130

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