OpendTect-6_4  6.4
uiodvw2dfaultss2dtreeitem.h
Go to the documentation of this file.
1 #ifndef uiodvw2dfaultss2dtreeitem_h
2 #define uiodvw2dfaultss2dtreeitem_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 #include "uistring.h"
18 
19 #include "emposid.h"
20 
21 
22 class VW2DFaultSS2D;
23 class uiODViewer2D;
24 
25 
28 public:
31 
32  bool showSubMenu();
33 
34 protected:
35 
36  bool init();
37  const char* iconName() const;
38  bool handleSubMenu(int);
39  const char* parentType() const
40  { return typeid(uiODVw2DTreeTop).name(); }
41  void tempObjAddedCB(CallBacker*);
42 
43 public:
45  TypeSet<int>& vids ) const;
47  TypeSet<EM::ObjectID>&) const;
52 
53 };
54 
55 
58 {
59 public:
60  const char* name() const { return typeid(*this).name(); }
61  uiTreeItem* create() const
62  { return new uiODVw2DFaultSS2DParentTreeItem(); }
63  uiTreeItem* createForVis(const uiODViewer2D&,int visid) const;
64 };
65 
66 
69 public:
71  uiODVw2DFaultSS2DTreeItem(int dispid,bool dummy);
73 
74  bool showSubMenu();
75  bool select();
76  EM::ObjectID emObjectID() const { return emid_; }
77  const VW2DFaultSS2D* vw2DObject() const { return fssview_; }
78 
79 protected:
80 
81  bool init();
82  const char* parentType() const
83  {return typeid(uiODVw2DFaultSS2DParentTreeItem).name();}
84  bool isSelectable() const { return true; }
85 
86  void deSelCB(CallBacker*);
87  void checkCB(CallBacker*);
88  void emobjAbtToDelCB(CallBacker*);
89  void displayMiniCtab();
90 
91  void emobjChangeCB(CallBacker*);
92  void enableKnotsCB(CallBacker*);
93  void propChgCB(CallBacker*);
94 
97  void renameVisObj();
99 };
100 
101 
102 #endif
#define mExpClass(module)
Definition: commondefs.h:160
od_int32 ObjectID
Definition: emposid.h:24
const char * parentType() const
Definition: uiodvw2dfaultss2dtreeitem.h:39
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
EM::ObjectID emid_
Definition: uiodvw2dfaultss2dtreeitem.h:95
VW2DFaultSS2D * fssview_
Definition: uiodvw2dfaultss2dtreeitem.h:96
EM::ObjectID emObjectID() const
Definition: uiodvw2dfaultss2dtreeitem.h:76
OpendTect application top level object.
Definition: uiodmain.h:41
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
uiTreeItem * create() const
Definition: uiodvw2dfaultss2dtreeitem.h:61
void removeFaultSS2D(EM::ObjectID emid)
bool init()
Definition: uiodvw2dtreeitem.h:100
Definition: view2dfaultss2d.h:26
Definition: uiodvw2dfaultss2dtreeitem.h:26
bool isSelectable() const
Definition: uiodvw2dfaultss2dtreeitem.h:84
void addNewTempFaultSS2D(EM::ObjectID emid)
Definition: uiodvw2dtreeitem.h:29
Definition: uiodvw2dfaultss2dtreeitem.h:67
void getFaultSS2DVwr2DIDs(EM::ObjectID emid, TypeSet< int > &vw2ds) const
void getLoadedFaultSS2Ds(TypeSet< EM::ObjectID > &) const
void setupNewTempFaultSS2D(EM::ObjectID emid)
Definition: uiodvw2dtreeitem.h:91
A 2D Viewer.
Definition: uiodviewer2d.h:45
Definition: uiodvw2dfaultss2dtreeitem.h:56
void addFaultSS2Ds(const TypeSet< EM::ObjectID > &)
const char * parentType() const
Definition: uiodvw2dfaultss2dtreeitem.h:82
const VW2DFaultSS2D * vw2DObject() const
Definition: uiodvw2dfaultss2dtreeitem.h:77
const char * name() const
Definition: uiodvw2dfaultss2dtreeitem.h:60
Definition: uitreeitemmanager.h:34

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