OpendTect  6.6
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  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uioddisplaytreeitem.h"
15 #include "multiid.h"
16 
18 namespace PreStack { class EventManager; }
19 namespace visSurvey { class PSEventDisplay; }
20 
23 public:
26 
27  int sceneID() const;
28 
29 protected:
30  bool init();
31  const char* parentType() const;
32  const char* iconName() const;
33  virtual bool showSubMenu();
36 };
37 
38 
40 {
41 public:
42  const char* name() const { return typeid(*this).name(); }
44  uiTreeItem* create(int visid,uiTreeItem*) const
45  { return new uiODPSEventsParentTreeItem; }
46 };
47 
48 
50 {
51 public:
52  uiODPSEventsTreeItem(const MultiID& key,const char*);
54 
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*);
66  virtual void updateColumnText(int);
67 
69  bool init();
70  void updateDisplay();
72 
75  float scalefactor_;
80  int coloridx_;
81  int dispidx_;
82 };
83 
uiODPSEventsTreeItem::~uiODPSEventsTreeItem
~uiODPSEventsTreeItem()
uiODPSEventsTreeItem::eventname_
BufferString eventname_
Definition: uiodpseventstreeitem.h:74
uiODPSEventsParentTreeItem::iconName
const char * iconName() const
uiTreeItem
Definition: uitreeitemmanager.h:34
uiODPSEventsTreeItem::handleMenuCB
virtual void handleMenuCB(CallBacker *)
uiODPSEventsTreeItem::init
bool init()
MenuHandler
Definition: menuhandler.h:187
uiODTreeItemFactory
Definition: uiodtreeitem.h:101
uiODParentTreeItem
Definition: uiodtreeitem.h:81
uiODPSEventsParentTreeItem
Definition: uiodpseventstreeitem.h:22
uioddisplaytreeitem.h
uiODPSEventsParentTreeItem::child_
uiODPSEventsTreeItem * child_
Definition: uiodpseventstreeitem.h:35
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
uiODPSEventsTreeItemFactory::name
const char * name() const
Definition: uiodpseventstreeitem.h:42
uiODPSEventsParentTreeItem::showSubMenu
virtual bool showSubMenu()
MenuItem
Definition: menuhandler.h:76
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
visSurvey::PSEventDisplay
Definition: vispseventdisplay.h:36
uiODPSEventsTreeItem::createMenu
virtual void createMenu(MenuHandler *, bool istb)
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition: uistring.h:40
multiid.h
Coord
A cartesian coordinate in 2D space.
Definition: coord.h:25
uiODPSEventsTreeItem::coloritem_
MenuItem * coloritem_
Definition: uiodpseventstreeitem.h:78
uiODPSEventsTreeItem::uiODPSEventsTreeItem
uiODPSEventsTreeItem(const MultiID &key, const char *)
uiODPSEventsTreeItem::updateDisplay
void updateDisplay()
uiODPSEventsTreeItem::managerName
virtual const char * managerName() const
Definition: uiodpseventstreeitem.h:62
uiODPSEventsTreeItem::displayMiniColTab
void displayMiniColTab()
uiODPSEventsTreeItem::updateColumnText
virtual void updateColumnText(int)
uiODPSEventsTreeItem::coltabChangeCB
void coltabChangeCB(CallBacker *)
uiODPSEventsTreeItem::key_
MultiID key_
Definition: uiodpseventstreeitem.h:79
uiODPSEventsParentTreeItem::init
bool init()
uiODDisplayTreeItem
Definition: uioddisplaytreeitem.h:24
uiODPSEventsTreeItemFactory::create
uiTreeItem * create() const
Definition: uiodpseventstreeitem.h:43
PreStack
Definition: synthseis.h:35
uiODMain
OpendTect application top level object.
Definition: uiodmain.h:42
uiODPSEventsParentTreeItem::sceneID
int sceneID() const
uiODPSEventsTreeItem::parentType
virtual const char * parentType() const
Definition: uiodpseventstreeitem.h:59
MultiID
Compound key consisting of ints.
Definition: multiid.h:24
uiODPSEventsParentTreeItem::parentType
const char * parentType() const
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
uiODPSEventsTreeItem::eventdisplay_
visSurvey::PSEventDisplay * eventdisplay_
Definition: uiodpseventstreeitem.h:77
uiODPSEventsTreeItem::psem_
PreStack::EventManager & psem_
Definition: uiodpseventstreeitem.h:73
uiODPSEventsTreeItem::dir_
Coord dir_
Definition: uiodpseventstreeitem.h:76
uiODPSEventsParentTreeItem::~uiODPSEventsParentTreeItem
mODTextTranslationClass(uiODPSEventsParentTreeItem) public ~uiODPSEventsParentTreeItem()
PreStack::EventManager
A EventManager is a set of EventsSet on multiple PreStack gathers, and are identified under the same ...
Definition: prestackevents.h:102
visSurvey
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
uiODPSEventsTreeItem::scalefactor_
float scalefactor_
Definition: uiodpseventstreeitem.h:75
uiODPSEventsTreeItemFactory::create
uiTreeItem * create(int visid, uiTreeItem *) const
Definition: uiodpseventstreeitem.h:44
uiODPSEventsTreeItem::coloridx_
int coloridx_
Definition: uiodpseventstreeitem.h:80
uiODPSEventsParentTreeItem::loadPSEvent
bool loadPSEvent(MultiID &, BufferString &)
uiODPSEventsTreeItem
Definition: uiodpseventstreeitem.h:50
uiODPSEventsTreeItem::updateScaleFactor
void updateScaleFactor(float)
uiODPSEventsTreeItem::dispidx_
int dispidx_
Definition: uiodpseventstreeitem.h:81
uiODPSEventsTreeItem::updateColorMode
void updateColorMode(int mode)
uiODPSEventsTreeItemFactory
Definition: uiodpseventstreeitem.h:40
uiODPSEventsTreeItem::anyButtonClick
virtual bool anyButtonClick(uiTreeViewItem *)
uiTreeViewItem
Definition: uitreeview.h:202

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