OpendTect-6_4  6.4
uiodvw2dfaultsstreeitem.h
Go to the documentation of this file.
1 #ifndef uiodvw2dfaultsstreeitem_h
2 #define uiodvw2dfaultsstreeitem_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  CopyRight: (C) dGB Beheer B.V.
8  Author: Umesh Sinha
9  Date: June 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiodmainmod.h"
16 #include "uiodvw2dtreeitem.h"
17 
18 #include "emposid.h"
19 
20 class VW2DFaultSS3D;
21 class uiODViewer2D;
22 
23 
26 public:
29 
30  bool showSubMenu();
32  TypeSet<int>& vw2ids ) const;
37 
38 protected:
39 
40  bool init();
41  const char* iconName() const;
42  bool handleSubMenu(int);
43  const char* parentType() const
44  { return typeid(uiODVw2DTreeTop).name(); }
45 public:
47 };
48 
49 
52 {
53 public:
54  const char* name() const { return typeid(*this).name(); }
55  uiTreeItem* create() const
56  { return new uiODVw2DFaultSSParentTreeItem(); }
57  uiTreeItem* createForVis(const uiODViewer2D&,int visid) const;
58 };
59 
60 
63 public:
65  uiODVw2DFaultSSTreeItem(int displayid,bool dummy);
67 
68  bool showSubMenu();
69  bool select();
70  EM::ObjectID emObjectID() const { return emid_; }
71  const VW2DFaultSS3D* vw2DObject() const { return fssview_; }
72 
73 protected:
74 
75  bool init();
76  const char* parentType() const
77  { return typeid(uiODVw2DFaultSSParentTreeItem).name(); }
78  bool isSelectable() const { return true; }
79 
80  void updateCS(const TrcKeyZSampling&,bool upd);
81  void deSelCB(CallBacker*);
82  void checkCB(CallBacker*);
83  void emobjAbtToDelCB(CallBacker*);
84  void displayMiniCtab();
85 
86  void emobjChangeCB(CallBacker*);
87  void enableKnotsCB(CallBacker*);
88  void propChgCB(CallBacker*);
89 
92  void renameVisObj();
95 };
96 
97 #endif
Definition: uiodvw2dfaultsstreeitem.h:24
#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
VW2DFaultSS3D * fssview_
Definition: uiodvw2dfaultsstreeitem.h:91
OpendTect application top level object.
Definition: uiodmain.h:41
Definition: uiodvw2dfaultsstreeitem.h:50
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
const char * name() const
Definition: uiodvw2dfaultsstreeitem.h:54
uiTreeItem * create() const
Definition: uiodvw2dfaultsstreeitem.h:55
const char * parentType() const
Definition: uiodvw2dfaultsstreeitem.h:76
bool init()
Definition: uiodvw2dfaultsstreeitem.h:61
Definition: uiodvw2dtreeitem.h:100
void addFaultSSs(const TypeSet< EM::ObjectID > &)
void getFaultSSVwr2DIDs(EM::ObjectID emid, TypeSet< int > &vw2dids) const
void removeFaultSS(EM::ObjectID emid)
const char * parentType() const
Definition: uiodvw2dfaultsstreeitem.h:43
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
Definition: uiodvw2dtreeitem.h:29
void getLoadedFaultSSs(TypeSet< EM::ObjectID > &) const
Definition: uiodvw2dtreeitem.h:91
const VW2DFaultSS3D * vw2DObject() const
Definition: uiodvw2dfaultsstreeitem.h:71
A 2D Viewer.
Definition: uiodviewer2d.h:45
EM::ObjectID emObjectID() const
Definition: uiodvw2dfaultsstreeitem.h:70
Definition: view2dfaultss3d.h:27
void addNewTempFaultSS(EM::ObjectID emid)
void setupNewTempFaultSS(EM::ObjectID emid)
Definition: uitreeitemmanager.h:34
bool isSelectable() const
Definition: uiodvw2dfaultsstreeitem.h:78
EM::ObjectID emid_
Definition: uiodvw2dfaultsstreeitem.h:90

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