OpendTect-6_4  6.4
uiodemsurftreeitem.h
Go to the documentation of this file.
1 #ifndef uiodemsurftreeitem_h
2 #define uiodemsurftreeitem_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 2006
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "uiodmainmod.h"
17 #include "uiodattribtreeitem.h"
18 #include "uioddisplaytreeitem.h"
19 #include "emposid.h"
20 
21 class DataPointSet;
22 class uiVisEMObject;
23 class uiODDataTreeItem;
24 
25 
28 public:
29 
30  uiVisEMObject* visEMObject() const { return uivisemobj_; }
31  EM::ObjectID emObjectID() const { return emid_; }
32  virtual int reloadEMObject(); // Return new display id.
33 
34  void setOnlyAtSectionsDisplay(bool);
35  bool isOnlyAtSections() const;
36 
37 protected:
40 
41  virtual void createMenu(MenuHandler*,bool istb);
42  void handleMenuCB(CallBacker*);
43 
44  uiODDataTreeItem* createAttribItem(const Attrib::SelSpec*) const;
45  void addAuxDataItems();
46 
47  void finishedEditingCB(CallBacker*);
48  void prepareForShutdown();
49 
50  void askSaveCB(CallBacker*);
51  void saveCB(CallBacker*);
52  bool isHorReady(const EM::ObjectID&);
53 
56 
58 
59 protected:
60  bool init();
61  virtual void initNotify() {}
62  bool createUiVisObj();
63 
64  virtual void checkCB(CallBacker*);
65  void selChg(CallBacker*);
66 
67  void updateTrackingState();
69 
78 };
79 
80 
82  : public uiODAttribTreeItem
84 public:
86  uiVisEMObject*,const char* parenttype);
87 
88  void setDataPointSet(const DataPointSet&);
89  void selectAndLoadAuxData();
90 
91 protected:
92  void createMenu(MenuHandler*,bool istb);
93  void handleMenuCB(CallBacker*);
95 
104 
105  bool changed_;
108 };
109 
110 
111 #endif
Definition: uioddatatreeitem.h:31
#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
MenuItem loadsurfacedatamnuitem_
Definition: uiodemsurftreeitem.h:98
Definition: menuhandler.h:187
Set of data points with group selection.
Definition: datapointset.h:48
OpendTect application top level object.
Definition: uiodmain.h:41
MenuItem depthattribmnuitem_
Definition: uiodemsurftreeitem.h:96
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
bool istrackingallowed_
Definition: uiodemsurftreeitem.h:68
bool init()
virtual void initNotify()
Definition: uiodemsurftreeitem.h:61
uiVisEMObject * uivisemobj_
Definition: uiodemsurftreeitem.h:107
virtual uiString createDisplayName() const =0
BufferString timelastmodified_
Definition: uiodemsurftreeitem.h:70
Definition: uistring.h:89
Definition: uioddisplaytreeitem.h:24
uiVisEMObject * uivisemobj_
Definition: uiodemsurftreeitem.h:55
MenuItem saveasmnuitem_
Definition: uiodemsurftreeitem.h:72
MenuItem createflatscenemnuitem_
Definition: uiodemsurftreeitem.h:57
MenuItem reloadmnuitem_
Definition: uiodemsurftreeitem.h:75
virtual void createMenu(MenuHandler *, bool istoolbar)
EM::ObjectID emid_
Definition: uiodemsurftreeitem.h:54
MenuItem horvariogrammnuitem_
Definition: uiodemsurftreeitem.h:102
MenuItem filtermnuitem_
Definition: uiodemsurftreeitem.h:101
Definition: menuhandler.h:76
Definition: uiodemsurftreeitem.h:81
MenuItem enabletrackingmnuitem_
Definition: uiodemsurftreeitem.h:73
Definition: uiodemsurftreeitem.h:26
EM::ObjectID emid_
Definition: uiodemsurftreeitem.h:106
MenuItem savemnuitem_
Definition: uiodemsurftreeitem.h:71
MenuItem fillholesmnuitem_
Definition: uiodemsurftreeitem.h:100
MenuItem changesetupmnuitem_
Definition: uiodemsurftreeitem.h:74
MenuItem attr2geommnuitm_
Definition: uiodemsurftreeitem.h:103
virtual void handleMenuCB(CallBacker *)
MenuItem starttrackmnuitem_
Definition: uiodemsurftreeitem.h:77
Definition: uiodattribtreeitem.h:22
virtual void checkCB(CallBacker *)
MenuItem algomnuitem_
Definition: uiodemsurftreeitem.h:99
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Definition: uivisemobj.h:32
MenuItem trackmenuitem_
Definition: uiodemsurftreeitem.h:76
Specifies an attribute selection (ID or output number of NN).
Definition: attribsel.h:45
virtual void prepareForShutdown()
bool changed_
Definition: uiodemsurftreeitem.h:105
MenuItem savesurfacedatamnuitem_
Definition: uiodemsurftreeitem.h:97

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