OpendTect-6_4  6.4
uivisemobj.h
Go to the documentation of this file.
1 #ifndef uivisemobj_h
2 #define uivisemobj_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Kristofer Tingdahl
9  Date: May 2004
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "uivismod.h"
17 
18 #include "callback.h"
19 #include "emposid.h"
20 #include "menuhandler.h"
21 #include "uisettings.h"
22 
23 namespace EM { class EdgeLineSet; class EdgeLineSegment; class Horizon3D;}
24 namespace visSurvey { class EMObjectDisplay; }
25 
26 class uiColorTableGroup;
27 class uiMenuHandler;
28 class uiParent;
29 class uiVisPartServer;
30 
31 
34 public:
35  uiVisEMObject(uiParent*,int displayid,
36  uiVisPartServer* );
37  uiVisEMObject(uiParent*,const EM::ObjectID&,int sceneid,
39  ~uiVisEMObject();
40  bool isOK() const;
41 
42  static const char* getObjectType(int displayid);
43  int id() const { return displayid_; }
44  EM::ObjectID getObjectID() const;
45 
46  float getShift() const;
47  void setDepthAsAttrib(int attrib);
48  void setOnlyAtSectionsDisplay(bool);
49  bool isOnlyAtSections() const;
50 
51  int nrSections() const;
52  EM::SectionID getSectionID(int idx) const;
53  EM::SectionID getSectionID(const TypeSet<int>* pickedpath) const;
54 
55  void checkTrackingStatus();
60 protected:
61  void setUpConnections();
62  void addToToolBarCB(CallBacker*);
63  void createMenuCB(CallBacker*);
64  void handleMenuCB(CallBacker*);
65  void keyEventCB(CallBacker*);
66  void checkHorizonSize(const EM::Horizon3D*);
67 
68  visSurvey::EMObjectDisplay* getDisplay();
69  const visSurvey::EMObjectDisplay* getDisplay() const;
70 
71 
74 
76 
82 
88 };
89 
90 
91 
94 public:
96  uiSettingsGroup,
99  "Horizons",
100  toUiString(sFactoryKeyword()))
101 
103  bool acceptOK();
104  HelpKey helpKey() const;
105 
106 protected:
107 
110 
113 };
114 
115 #endif
MenuItem seedsmenuitem_
Definition: uivisemobj.h:78
od_int16 SectionID
Definition: emposid.h:25
#define mExpClass(module)
Definition: commondefs.h:160
od_int32 ObjectID
Definition: emposid.h:24
MenuItem displaymnuitem_
Definition: uivisemobj.h:83
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
uiParent * uiparent_
Definition: uivisemobj.h:72
Definition: visemobjdisplay.h:69
void createMenuCB(CallBacker *)
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Export_Basic uiString toUiString(ViewStyle)
MenuItem singlecolmnuitem_
Definition: uivisemobj.h:77
The Visualization Part Server.
Definition: uivispartserv.h:60
MenuItem showonlyatsectionsmnuitem_
Definition: uivisemobj.h:84
MenuItem seedpropmnuitem_
Definition: uivisemobj.h:80
int displayid_
Definition: uivisemobj.h:75
MenuItem showsurfacegridmnuitem_
Definition: uivisemobj.h:87
void handleMenuCB(CallBacker *)
Definition: uiparent.h:26
Definition: helpview.h:49
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
void keyEventCB(CallBacker *)
Definition: uimenuhandler.h:27
void setOnlyAtSectionsDisplay(int id, bool)
Definition: menuhandler.h:76
MenuItem lockseedsmnuitem_
Definition: uivisemobj.h:81
void addToToolBarCB(CallBacker *)
MenuItem showfullmnuitem_
Definition: uivisemobj.h:85
General Input Element.
Definition: uigeninput.h:58
void setUpConnections(int id)
uiColorTableGroup * coltabfld_
Definition: uivisemobj.h:109
Settings class holds the user settings. It is an IOPar.
Definition: settings.h:34
Definition: uicolortable.h:117
MenuItem showseedsmnuitem_
Definition: uivisemobj.h:79
Definition: uivisemobj.h:92
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
uiVisPartServer * visserv_
Definition: uivisemobj.h:73
int resolution_
Definition: uivisemobj.h:111
Definition: uivisemobj.h:32
BufferString coltabnm_
Definition: uivisemobj.h:112
Definition: uisettings.h:63
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
MenuItem showbothmnuitem_
Definition: uivisemobj.h:86
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
#define mDefaultFactoryInstantiation2Param(baseclss, clss, parclss1, parclss2, keywrd, usernm)
Definition: factory.h:309
uiGenInput * resolutionfld_
Definition: uivisemobj.h:108
int id() const
Definition: uivisemobj.h:43

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