OpendTect-6_4  6.4
uimpewizard.h
Go to the documentation of this file.
1 #ifndef uimpewizard_h
2 #define uimpewizard_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nanne Hemstra
9  Date: March 2004
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 
16 #include "uimpemod.h"
17 #include "uiwizard.h"
18 
19 #include "trckeyzsampling.h"
20 #include "emposid.h"
21 
22 class IOObj;
23 class uiButtonGroup;
24 class uiColorInput;
25 class uiGenInput;
26 class uiGroup;
27 class uiIOObjSel;
28 class uiIOObjSelGrp;
29 class uiLabel;
30 class uiSelLineStyle;
31 class uiMPEPartServer;
32 class uiTextEdit;
33 
34 namespace MPE {
35 
36 class uiSetupGroup;
37 
39 {
40 public:
42  ~Wizard();
43 
44  void reset();
45 
46  void setObject( const EM::ObjectID&, const EM::SectionID& );
47  void setTrackingType(const char* typstr);
48 
49  static const int sNamePage;
50  static const int sTrackModePage;
51  static const int sSeedSetupPage;
52  static const int sFinalizePage;
53 
54 protected:
55  void restoreObject();
56 
58 
60 
65 
71 
74 
75  uiIOObjSelGrp* createNamePage();
76  uiGroup* createTrackModePage();
77  uiGroup* createSeedSetupPage();
78  uiGroup* createFinalizePage();
79 
80  bool prepareNamePage();
81  bool prepareTrackModePage();
82  bool prepareSeedSetupPage();
83  bool prepareFinalizePage();
84 
85  bool leaveNamePage(bool);
86  bool leaveTrackModePage(bool);
87  bool leaveSeedSetupPage(bool);
88  bool leaveFinalizePage(bool);
89 
90  bool finalizeCycle();
91 
92  void isStarting();
93  bool isClosing(bool);
94 
95  bool preparePage(int);
96  bool leavePage(int,bool);
97 
98  bool createTracker();
99  void updateDialogTitle();
100  void adjustSeedBox();
101 
102  void colorChangeCB(CallBacker*);
103  void anotherSel(CallBacker*);
104  void seedModeChange(CallBacker*);
105  void retrackCB(CallBacker*);
106  void aboutToAddRemoveSeed(CallBacker*);
107  void updateFinishButton(CallBacker*);
108 
110 
118 
120  static int defcolnr;
122 
123 private:
124 };
125 
126 }; // namespace MPE
127 
128 #endif
Definition: uigroup.h:54
od_int16 SectionID
Definition: emposid.h:25
#define mExpClass(module)
Definition: commondefs.h:160
od_int32 ObjectID
Definition: emposid.h:24
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: uitextedit.h:74
bool ioparentrycreated
Definition: uimpewizard.h:113
Definition: ioobj.h:58
static const int sFinalizePage
Definition: uimpewizard.h:52
Group for defining line properties Provides selection of linestyle, linecolor and linewidth...
Definition: uisellinest.h:29
uiButtonGroup * h2dmodegrp
Definition: uimpewizard.h:67
BufferString trackertype
Definition: uimpewizard.h:121
Definition: uimpewizard.h:38
uiSetupGroup * setupgrp
Definition: uimpewizard.h:64
Definition: uiwizard.h:21
MPE stands for Model, Predict, Edit. Contains tracking and editing functions.
Definition: autotracker.h:32
EM::ObjectID currentobject
Definition: uimpewizard.h:111
uiMPEPartServer * mpeserv
Definition: uimpewizard.h:119
uiIOObjSelGrp * objselgrp
Definition: uimpewizard.h:57
static const int sTrackModePage
Definition: uimpewizard.h:50
uiSetupGroup * hsetupgrp
Definition: uimpewizard.h:61
Definition: uiparent.h:26
static const int sNamePage
Definition: uimpewizard.h:49
uiSetupGroup * h2dsetupgrp
Definition: uimpewizard.h:62
uiGenInput * typefld
Definition: uimpewizard.h:73
EM::SectionID sid
Definition: uimpewizard.h:112
uiGenInput * anotherfld
Definition: uimpewizard.h:72
int oldsettingsseeds
Definition: uimpewizard.h:117
uiMPEEngine & uiMPE()
Access function for an instance (and normally the only instance) of MPE::uiMPEEngine.
bool objectcreated
Definition: uimpewizard.h:114
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
uiButtonGroup * fmodegrp
Definition: uimpewizard.h:68
uiTextEdit * infofld
Definition: uimpewizard.h:70
General Input Element.
Definition: uigeninput.h:58
Implementation of Tracking part server interface.
Definition: uimpepartserv.h:33
uiSetupGroup * fsetupgrp
Definition: uimpewizard.h:63
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:38
Definition: uibuttongroup.h:30
Definition: uimpe.h:56
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
small element for color selection. Has no text label.
Definition: uicolor.h:44
Definition: uilabel.h:24
static const int sSeedSetupPage
Definition: uimpewizard.h:51
static int defcolnr
Definition: uimpewizard.h:120
int initialundoid_
Definition: uimpewizard.h:116
uiButtonGroup * modegrp
Definition: uimpewizard.h:69
TrcKeyZSampling seedbox
Definition: uimpewizard.h:109
Basic group for letting the user select an object.
Definition: uiioobjselgrp.h:46
uiButtonGroup * hmodegrp
Definition: uimpewizard.h:66
bool trackercreated
Definition: uimpewizard.h:115
uiColorInput * colorfld
Definition: uimpewizard.h:59

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