OpendTect-6_4  6.4
uiodpseventstreeitem.h
Go to the documentation of this file.
1 #ifndef uiodpseventstreeitem_h
2 #define uiodpseventstreeitem_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Ranojay Sen
9  Date: November 2011
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uioddisplaytreeitem.h"
16 #include "multiid.h"
17 
19 namespace PreStack { class EventManager; }
20 namespace visSurvey { class PSEventDisplay; }
21 
24 public:
27 
28  int sceneID() const;
29 
30 protected:
31  bool init();
32  const char* parentType() const;
33  const char* iconName() const;
34  virtual bool showSubMenu();
35  bool loadPSEvent(MultiID&,BufferString&);
37 };
38 
39 
41 {
42 public:
43  const char* name() const { return typeid(*this).name(); }
45  uiTreeItem* create(int visid,uiTreeItem*) const
46  { return new uiODPSEventsParentTreeItem; }
47 };
48 
49 
51 {
52 public:
53  uiODPSEventsTreeItem(const MultiID& key,const char*);
55  void updateScaleFactor(float);
56  void updateColorMode(int mode);
57 
58 protected:
59  virtual const char* parentType() const
60  { return typeid(uiODPSEventsParentTreeItem).name();}
61 
62  virtual const char* managerName() const { return "PreStackEvents"; }
63  virtual void createMenu(MenuHandler*,bool istb);
64  virtual void handleMenuCB(CallBacker*);
65  virtual bool anyButtonClick(uiTreeViewItem*);
66  virtual void updateColumnText(int);
67 
68  void coltabChangeCB(CallBacker*);
69  bool init();
70  void updateDisplay();
71  void displayMiniColTab();
72 
75  float scalefactor_;
80  int coloridx_;
81  int dispidx_;
82 };
83 
84 #endif
#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
const char * name() const
Definition: uiodpseventstreeitem.h:43
Definition: uiodtreeitem.h:27
OpendTect application top level object.
Definition: uiodmain.h:41
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
float scalefactor_
Definition: uiodpseventstreeitem.h:75
bool init()
int dispidx_
Definition: uiodpseventstreeitem.h:81
Definition: synthseis.h:36
virtual const char * managerName() const
Definition: uiodpseventstreeitem.h:62
Definition: vispseventdisplay.h:35
Definition: uioddisplaytreeitem.h:24
Definition: uiodtreeitem.h:80
A cartesian coordinate in 2D space.
Definition: coord.h:25
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
virtual const char * parentType() const
Definition: uiodpseventstreeitem.h:59
MultiID key_
Definition: uiodpseventstreeitem.h:79
uiTreeItem * create() const
Definition: uiodpseventstreeitem.h:44
uiODPSEventsTreeItem * child_
Definition: uiodpseventstreeitem.h:36
Definition: uiodpseventstreeitem.h:50
Definition: uitreeview.h:201
Definition: menuhandler.h:76
PreStack::EventManager & psem_
Definition: uiodpseventstreeitem.h:73
uiTreeItem * create(int visid, uiTreeItem *) const
Definition: uiodpseventstreeitem.h:45
MenuItem * coloritem_
Definition: uiodpseventstreeitem.h:78
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
BufferString eventname_
Definition: uiodpseventstreeitem.h:74
Definition: uiodpseventstreeitem.h:22
Coord dir_
Definition: uiodpseventstreeitem.h:76
visSurvey::PSEventDisplay * eventdisplay_
Definition: uiodpseventstreeitem.h:77
int coloridx_
Definition: uiodpseventstreeitem.h:80
Definition: uiodpseventstreeitem.h:40
Definition: uitreeitemmanager.h:34
Compound key consisting of ints.
Definition: multiid.h:25
A EventManager is a set of EventsSet on multiple PreStack gathers, and are identified under the same ...
Definition: prestackevents.h:102

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