OpendTect  6.3
uiodvw2dfaultsstreeitem.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  CopyRight: (C) dGB Beheer B.V.
7  Author: Umesh Sinha
8  Date: June 2010
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uiodmainmod.h"
14 #include "uiodvw2demtreeitem.h"
15 
16 #include "emposid.h"
17 
18 class VW2DFaultSS3D;
19 class uiODViewer2D;
20 
21 
24 public:
27 
28  bool showSubMenu();
30  TypeSet<int>& vw2ids ) const;
36 
37 protected:
38 
39  bool init();
40  const char* iconName() const;
41  bool handleSubMenu(int);
42  const char* parentType() const
43  { return typeid(uiODVw2DTreeTop).name(); }
44 
45 };
46 
47 
50 {
51 public:
52  const char* name() const { return typeid(*this).name(); }
53  uiTreeItem* create() const
54  { return new uiODVw2DFaultSSParentTreeItem(); }
55  uiTreeItem* createForVis(const uiODViewer2D&,int visid) const;
56 };
57 
58 
61 public:
63  uiODVw2DFaultSSTreeItem(int displayid,bool dummy);
65 
66  bool showSubMenu();
67  bool select();
68  EM::ObjectID emObjectID() const { return emid_; }
69  const Vw2DDataObject* vw2DObject() const;
70 
71 protected:
72 
73  bool init();
74  const char* parentType() const
75  { return typeid(uiODVw2DFaultSSParentTreeItem).name(); }
76  bool isSelectable() const { return true; }
77 
78  void updateCS(const TrcKeyZSampling&,bool upd);
79  void deSelCB(CallBacker*);
80  void checkCB(CallBacker*);
81  void emobjAbtToDelCB(CallBacker*);
82  void displayMiniCtab();
83 
84  void emobjChangeCB(CallBacker*);
85  void enableKnotsCB(CallBacker*);
86 
88 };
Definition: uiodvw2dfaultsstreeitem.h:22
#define mExpClass(module)
Definition: commondefs.h:157
od_int32 ObjectID
Definition: emposid.h:22
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
VW2DFaultSS3D * fssview_
Definition: uiodvw2dfaultsstreeitem.h:87
OpendTect application top level object.
Definition: uiodmain.h:38
Definition: uiodvw2dfaultsstreeitem.h:48
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
const char * name() const
Definition: uiodvw2dfaultsstreeitem.h:52
uiTreeItem * create() const
Definition: uiodvw2dfaultsstreeitem.h:53
const char * parentType() const
Definition: uiodvw2dfaultsstreeitem.h:74
bool init()
Definition: uiodvw2dfaultsstreeitem.h:59
Definition: uiodvw2dtreeitem.h:113
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:42
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:32
Definition: view2ddata.h:20
Definition: uiodvw2dtreeitem.h:29
void getLoadedFaultSSs(TypeSet< EM::ObjectID > &) const
Definition: uiodvw2dtreeitem.h:104
A 2D Viewer.
Definition: uiodviewer2d.h:44
EM::ObjectID emObjectID() const
Definition: uiodvw2dfaultsstreeitem.h:68
Definition: view2dfaultss3d.h:25
void addNewTempFaultSS(EM::ObjectID emid)
void setupNewTempFaultSS(EM::ObjectID emid)
are helping classes for uiTreeViews, wich makes it easy to bundle inteligence and data to treeitems...
Definition: uitreeitem.h:34
Definition: uiodvw2demtreeitem.h:19
bool isSelectable() const
Definition: uiodvw2dfaultsstreeitem.h:76

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