OpendTect-6_4  6.4
uiodvolrentreeitem.h
Go to the documentation of this file.
1 #ifndef uiodvolrentreeitem_h
2 #define uiodvolrentreeitem_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Kristofer Tingdahl
9  Date: 4-11-2002
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "uiodmainmod.h"
17 #include "uioddisplaytreeitem.h"
18 #include "uiodattribtreeitem.h"
19 
22  typedef uiODTreeItem inheritedClass;
23 public:
26 
27 
28 protected:
30  bool showSubMenu();
31 
32  const char* iconName() const;
33  bool canAddVolumeToScene();
34  const char* parentType() const;
35 };
36 
37 
40 public:
41  const char* name() const { return getName(); }
42  static const char* getName();
43  uiTreeItem* create() const { return new uiODVolrenParentTreeItem; }
44  uiTreeItem* createForVis(int,uiTreeItem*) const;
45 };
46 
47 
50 public:
51  uiODVolrenTreeItem(int displayid_=-1,bool rgba=false);
52  bool showSubMenu();
53 
54 protected:
56  bool init();
57  uiString createDisplayName() const;
58  uiODDataTreeItem* createAttribItem( const Attrib::SelSpec* ) const;
59  virtual void createMenu(MenuHandler*,bool istb);
60  void handleMenuCB(CallBacker*);
61 
62  bool isExpandable() const { return true; }
63  const char* parentType() const;
64 
66  bool rgba_;
67 };
68 
69 
72 public:
73  uiODVolrenAttribTreeItem(const char* parenttype);
74 protected:
75 
76  void createMenu(MenuHandler*,bool istb);
77  void handleMenuCB(CallBacker*);
78  bool hasTransparencyMenu() const;
79 
84 };
85 
86 
87 
90 public:
91  uiODVolrenSubTreeItem(int displayid);
92 
93  bool isIsoSurface() const;
94  void updateColumnText(int col);
95 
96 protected:
98 
99  int getParentDisplayID() const;
100  int getParentAttribNr() const;
101 
102  virtual void createMenu(MenuHandler*,bool istb);
103  void handleMenuCB(CallBacker*);
104  void posChangeCB(CallBacker*);
105  void selChgCB(CallBacker*);
106 
107  bool init();
108  const char* parentType() const;
109 
112 };
113 
114 #endif
Definition: uioddatatreeitem.h:31
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: menuhandler.h:187
Definition: uiodtreeitem.h:27
OpendTect application top level object.
Definition: uiodmain.h:41
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
bool init()
MenuItem addmnuitem_
Definition: uiodvolrentreeitem.h:82
Definition: uistring.h:89
Definition: uioddisplaytreeitem.h:24
Definition: uiodtreeitem.h:80
MenuItem resetisosurfacemnuitem_
Definition: uiodvolrentreeitem.h:110
Definition: menuhandler.h:76
MenuItem convertisotobodymnuitem_
Definition: uiodvolrentreeitem.h:111
#define mMenuOnAnyButton
Definition: uiodtreeitem.h:91
MenuItem addisosurfacemnuitem_
Definition: uiodvolrentreeitem.h:83
uiTreeItem * create() const
Definition: uiodvolrentreeitem.h:43
Definition: uiodattribtreeitem.h:22
Definition: uiodvolrentreeitem.h:38
Definition: uiodvolrentreeitem.h:48
const char * name() const
Definition: uiodvolrentreeitem.h:41
MenuItem amplspectrummnuitem_
Definition: uiodvolrentreeitem.h:81
Definition: uiodvolrentreeitem.h:20
Specifies an attribute selection (ID or output number of NN).
Definition: attribsel.h:45
MenuItem positionmnuitem_
Definition: uiodvolrentreeitem.h:65
bool rgba_
Definition: uiodvolrentreeitem.h:66
Definition: uiodvolrentreeitem.h:70
uiODTreeItem inheritedClass
Definition: uiodvolrentreeitem.h:22
Definition: uitreeitemmanager.h:34
bool isExpandable() const
Definition: uiodvolrentreeitem.h:62
MenuItem statisticsmnuitem_
Definition: uiodvolrentreeitem.h:80
Definition: uiodvolrentreeitem.h:88

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