OpendTect-6_4  6.4
uiodvw2dhor3dtreeitem.h
Go to the documentation of this file.
1 #ifndef uiodvw2dhor3dtreeitem_h
2 #define uiodvw2dhor3dtreeitem_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  CopyRight: (C) dGB Beheer B.V.
8  Author: Umesh Sinha
9  Date: May 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiodmainmod.h"
16 #include "uiodvw2dtreeitem.h"
17 
18 #include "emposid.h"
19 
20 class Vw2DHorizon3D;
21 class uiODViewer2D;
22 
23 
26 public:
29 
30  bool showSubMenu();
32  TypeSet<int>& vw2dids) const;
34  TypeSet<EM::ObjectID>&) const;
35  void removeHorizon3D(EM::ObjectID emid);
38 
39 protected:
40 
41  bool init();
42  const char* iconName() const;
43  bool handleSubMenu(int);
44  const char* parentType() const
45  { return typeid(uiODVw2DTreeTop).name(); }
46  void getNonLoadedTrackedHor3Ds(
48 public:
50 };
51 
52 
55 {
56 public:
57  const char* name() const { return typeid(*this).name(); }
58  uiTreeItem* create() const
59  { return new uiODVw2DHor3DParentTreeItem(); }
60  uiTreeItem* createForVis(const uiODViewer2D&,int visid) const;
61 };
62 
63 
66 public:
68  uiODVw2DHor3DTreeItem(int id,bool dummy);
70 
71  bool select();
72  bool showSubMenu();
73  EM::ObjectID emObjectID() const { return emid_; }
74  const Vw2DHorizon3D* vw2DObject() const { return horview_; }
75 
76 protected:
77 
78  bool init();
79  const char* parentType() const
80  { return typeid(uiODVw2DHor3DParentTreeItem).name(); }
81  bool isSelectable() const { return true; }
82 
83 
84  void updateSelSpec(const Attrib::SelSpec*,bool wva);
85  void updateCS(const TrcKeyZSampling&,bool upd);
86  void checkCB(CallBacker*);
87  void deSelCB(CallBacker*);
88  void mousePressInVwrCB(CallBacker*);
89  void mouseReleaseInVwrCB(CallBacker*);
90  void displayMiniCtab();
91 
92  void emobjChangeCB(CallBacker*);
93  void propChgCB(CallBacker*);
94 
99  void emobjAbtToDelCB(CallBacker*);
100  void renameVisObj();
103 };
104 
105 #endif
#define mExpClass(module)
Definition: commondefs.h:160
od_int32 ObjectID
Definition: emposid.h:24
Definition: uiodvw2dhor3dtreeitem.h:24
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
bool trackerefed_
Definition: uiodvw2dhor3dtreeitem.h:98
OpendTect application top level object.
Definition: uiodmain.h:41
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
bool init()
Definition: uiodvw2dtreeitem.h:100
const char * parentType() const
Definition: uiodvw2dhor3dtreeitem.h:44
Definition: uiodvw2dhor3dtreeitem.h:64
bool oldactivevolupdated_
Definition: uiodvw2dhor3dtreeitem.h:97
const char * name() const
Definition: uiodvw2dhor3dtreeitem.h:57
Vw2DHorizon3D * horview_
Definition: uiodvw2dhor3dtreeitem.h:96
void getLoadedHorizon3Ds(TypeSet< EM::ObjectID > &) const
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
Definition: uiodvw2dhor3dtreeitem.h:53
Definition: view2dhorizon3d.h:24
void removeHorizon3D(EM::ObjectID emid)
Definition: uiodvw2dtreeitem.h:29
const char * parentType() const
Definition: uiodvw2dhor3dtreeitem.h:79
void addNewTrackingHorizon3D(EM::ObjectID)
bool isSelectable() const
Definition: uiodvw2dhor3dtreeitem.h:81
Definition: uiodvw2dtreeitem.h:91
A 2D Viewer.
Definition: uiodviewer2d.h:45
void addHorizon3Ds(const TypeSet< EM::ObjectID > &)
Specifies an attribute selection (ID or output number of NN).
Definition: attribsel.h:45
EM::ObjectID emid_
Definition: uiodvw2dhor3dtreeitem.h:95
void setupTrackingHorizon3D(EM::ObjectID)
const Vw2DHorizon3D * vw2DObject() const
Definition: uiodvw2dhor3dtreeitem.h:74
Definition: uitreeitemmanager.h:34
void getHor3DVwr2DIDs(EM::ObjectID emid, TypeSet< int > &vw2dids) const
EM::ObjectID emObjectID() const
Definition: uiodvw2dhor3dtreeitem.h:73
uiTreeItem * create() const
Definition: uiodvw2dhor3dtreeitem.h:58

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