OpendTect  6.3
uiodpseventstreeitem.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Ranojay Sen
8  Date: November 2011
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uioddisplaytreeitem.h"
14 #include "dbkey.h"
15 
17 namespace PreStack { class EventManager; }
18 namespace visSurvey { class PSEventDisplay; }
19 
22 public:
25 
26 protected:
27  bool init();
28  const char* parentType() const;
29  const char* iconName() const;
30  virtual bool showSubMenu();
31  bool loadPSEvent(DBKey&,BufferString&);
33 };
34 
35 
38 {
39 public:
40  const char* name() const { return typeid(*this).name(); }
42  uiTreeItem* create(int visid,uiTreeItem*) const
43  { return new uiODPSEventsParentTreeItem; }
44 };
45 
46 
48 {
49 public:
50  uiODPSEventsTreeItem(const DBKey& key,const char*);
52  void updateScaleFactor(float);
53  void updateColorMode(int mode);
54 
55 protected:
56  virtual const char* parentType() const
57  { return typeid(uiODPSEventsParentTreeItem).name();}
58 
59  virtual const char* managerName() const { return "PreStackEvents"; }
60  virtual void createMenu(MenuHandler*,bool istb);
61  virtual void handleMenuCB(CallBacker*);
62  virtual bool anyButtonClick(uiTreeViewItem*);
63  virtual void updateColumnText(int);
64 
65  void coltabChangeCB(CallBacker*);
66  bool init();
67  void updateDisplay();
68  void displayMiniColTab();
69 
72  float scalefactor_;
77  int coloridx_;
78  int dispidx_;
79 };
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
Definition: menuhandler.h:185
const char * name() const
Definition: uiodpseventstreeitem.h:40
OpendTect application top level object.
Definition: uiodmain.h:38
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
float scalefactor_
Definition: uiodpseventstreeitem.h:72
bool init()
int dispidx_
Definition: uiodpseventstreeitem.h:78
Definition: prestackagc.h:18
virtual const char * managerName() const
Definition: uiodpseventstreeitem.h:59
Definition: uiodscenetreeitem.h:22
Definition: vispseventdisplay.h:33
Definition: uioddisplaytreeitem.h:24
Definition: uiodscenetreeitem.h:69
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:18
virtual const char * parentType() const
Definition: uiodpseventstreeitem.h:56
uiTreeItem * create() const
Definition: uiodpseventstreeitem.h:41
uiODPSEventsTreeItem * child_
Definition: uiodpseventstreeitem.h:32
Definition: uiodpseventstreeitem.h:47
Definition: uitreeview.h:194
Definition: menuhandler.h:74
PreStack::EventManager & psem_
Definition: uiodpseventstreeitem.h:70
uiTreeItem * create(int visid, uiTreeItem *) const
Definition: uiodpseventstreeitem.h:42
MenuItem * coloritem_
Definition: uiodpseventstreeitem.h:75
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
BufferString eventname_
Definition: uiodpseventstreeitem.h:71
Definition: uiodpseventstreeitem.h:20
Coord dir_
Definition: uiodpseventstreeitem.h:73
visSurvey::PSEventDisplay * eventdisplay_
Definition: uiodpseventstreeitem.h:74
int coloridx_
Definition: uiodpseventstreeitem.h:77
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
2D point or vector class.
Definition: commontypes.h:58
DBKey key_
Definition: uiodpseventstreeitem.h:76
Definition: uiodpseventstreeitem.h:36
are helping classes for uiTreeViews, wich makes it easy to bundle inteligence and data to treeitems...
Definition: uitreeitem.h:34
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. 2017