OpendTect-6_4  6.4
uimpeman.h
Go to the documentation of this file.
1 #ifndef uimpeman_h
2 #define uimpeman_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 #include "uivismod.h"
16 #include "uiparent.h"
17 #include "trckeyzsampling.h"
18 #include "trckeyvalue.h"
19 #include "emposid.h"
20 
21 namespace EM { class EMObject; class Horizon; class Horizon2D; class Horizon3D;}
22 namespace MPE { class EMTracker; }
23 namespace visSurvey
24 {
25  class EMObjectDisplay;
26  class Horizon2DDisplay;
27  class HorizonDisplay;
28  class MPEClickCatcher;
29 }
30 
31 class uiPropertiesDialog;
32 class uiVisPartServer;
33 class LockedDisplayTimer;
34 
35 
38 mExpClass(uiVis) uiMPEMan : public CallBacker
40 public:
41  friend class uiPropertiesDialog;
43  ~uiMPEMan();
44 
45  void deleteVisObjects();
46  void validateSeedConMode();
47  void initFromDisplay();
48 
49  void turnSeedPickingOn(bool);
50  bool isSeedPickingOn() const;
51 
52  void visObjectLockedCB(CallBacker*);
53 
54 protected:
55 
58 
61 
62  void mouseEventCB(CallBacker*);
63  void keyEventCB(CallBacker*);
64  void mpeActionCalledCB(CallBacker*);
65  void mpeActionFinishedCB(CallBacker*);
66  void planeChangedCB(CallBacker*);
67  int popupMenu();
68  void handleAction(int);
69 
70  void startTracking();
71  void startRetrack();
72  void stopTracking();
73  void undo();
74  void redo();
75  void changePolySelectionMode();
76  void clearSelection();
77  void deleteSelection();
78  void removeInPolygon();
79  void showParentsPath();
80  void showSetupDlg();
81  void restrictCurrentHorizon();
82  void changeMode(int);
83 
84  void trackFromSeedsOnly();
85  void trackFromSeedsAndEdges();
86  void treeItemSelCB(CallBacker*);
87  void workAreaChgCB(CallBacker*);
88 
89  void updateSeedPickState();
90  void mouseCursorCallCB(CallBacker*);
91  void trackerAddedRemovedCB(CallBacker*);
92 
93  bool isPickingWhileSetupUp() const;
94 
95  MPE::EMTracker* getSelectedTracker();
96  visSurvey::Horizon2DDisplay* getSelected2DDisplay();
97  visSurvey::HorizonDisplay* getSelectedDisplay();
98  visSurvey::EMObjectDisplay* getSelectedEMDisplay();
99 
100  EM::Horizon* getSelectedHorizon();
101  EM::Horizon2D* getSelectedHorizon2D();
102  EM::Horizon3D* getSelectedHorizon3D();
103 
105  void beginSeedClickEvent(EM::EMObject*);
106  void endSeedClickEvent(EM::EMObject*);
107  void setUndoLevel(int);
108  /*don't use it, only for keep ABI */
109 
110  void setUndoLevel(const EM::ObjectID&,
111  int preveventnr);
112 
113  void seedClick(CallBacker*);
114  void updateClickCatcher(bool create=true);
115  void cleanPatchDisplay();
116  void sowingFinishedCB(CallBacker*);
117  void sowingModeCB(CallBacker*);
118  void updatePatchDisplay();
119  void lockAll();
120 
124  LockedDisplayTimer* lockeddisplaytimer_;
125 };
126 
127 #endif
#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
int cureventnr_
Definition: uimpeman.h:104
bool seedpickwason_
Definition: uimpeman.h:121
LockedDisplayTimer * lockeddisplaytimer_
Definition: uimpeman.h:124
Definition: visemobjdisplay.h:69
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
The Visualization Part Server.
Definition: uivispartserv.h:60
MPE stands for Model, Predict, Edit. Contains tracking and editing functions.
Definition: autotracker.h:32
bool sowingmode_
Definition: uimpeman.h:122
Tracks EM objects.
Definition: emtracker.h:40
Definition: uiparent.h:26
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
2D Horizon. The Horizon is only present along 2d lines, set by addLine. Each position's subid is form...
Definition: emhorizon2d.h:108
Definition: vismpeseedcatcher.h:128
Definition: vishorizondisplay.h:38
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
Definition: vishorizon2ddisplay.h:33
FixedString Horizon()
Definition: keystrs.h:72
visSurvey::MPEClickCatcher * clickcatcher_
Definition: uimpeman.h:59
TrcKeyZSampling oldactivevol_
Definition: uimpeman.h:123
uiParent * parent_
Definition: uimpeman.h:56
int clickablesceneid_
Definition: uimpeman.h:60
static uiHor3DInterpol * create(uiParent *)
Base class for all EarthModel objects.
Definition: emobject.h:158
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
Dialog for tracking properties.
Definition: uimpeman.h:38
3D Horizon. A Horizon is made up of one or more grids (so they can overlap at faults). The grids are defined by knot-points in a matrix and fillstyle in between the knots.
Definition: emhorizon3d.h:96
Horizon Surface.
Definition: emhorizon.h:47
uiVisPartServer * visserv_
Definition: uimpeman.h:57

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