OpendTect-6_4
6.4
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
od6.4.5
include
uiODMain
uiodvw2dwigglevararea.h
Go to the documentation of this file.
1
#ifndef uiodvw2dwigglevararea_h
2
#define uiodvw2dwigglevararea_h
3
4
/*+
5
________________________________________________________________________
6
7
CopyRight: (C) dGB Beheer B.V.
8
Author: Umesh Sinha
9
Date: June 2010
10
RCS: $Id$
11
________________________________________________________________________
12
13
-*/
14
15
#include "uiodmainmod.h"
16
#include "
uiodvw2dtreeitem.h
"
17
18
#include "
datapack.h
"
19
#include "
menuhandler.h
"
20
21
class
uiMenuHandler
;
22
class
VW2DSeis
;
23
24
25
mExpClass
(
uiODMain
)
uiODVW2DWiggleVarAreaTreeItem
: public
uiODVw2DTreeItem
26
{
mODTextTranslationClass
(
uiODVW2DWiggleVarAreaTreeItem
);
27
public
:
28
uiODVW2DWiggleVarAreaTreeItem
();
29
~
uiODVW2DWiggleVarAreaTreeItem
();
30
31
bool
select();
32
bool
showSubMenu();
33
34
protected
:
35
36
bool
init
();
37
const
char
* iconName()
const
;
38
const
char
*
parentType
()
const
39
{
return
typeid
(
uiODVw2DTreeTop
).
name
(); }
40
bool
isSelectable
()
const
{
return
true
; }
41
42
VW2DSeis
*
dummyview_
;
43
uiMenuHandler
*
menu_
;
44
MenuItem
selattrmnuitem_
;
45
46
void
createSelMenu(
MenuItem
&);
47
bool
handleSelMenu(
int
mnuid);
48
49
DataPack::ID
createDataPack(
Attrib::SelSpec
&,
50
const
BufferString
& attribnm=
""
,
51
const
bool
steering=
false
,
52
const
bool
stored=
false
);
53
54
void
checkCB(
CallBacker
*);
55
void
dataChangedCB(
CallBacker
*);
56
void
dataTransformCB(
CallBacker
*);
57
void
createMenuCB(
CallBacker
*);
58
void
handleMenuCB(
CallBacker
*);
59
};
60
61
62
mExpClass
(
uiODMain
)
uiODVW2DWiggleVarAreaTreeItemFactory
63
: public
uiODVw2DTreeItemFactory
64
{
65
public
:
66
const
char
*
name
()
const
{
return
typeid
(*this).name(); }
67
uiTreeItem
*
create
()
const
68
{
return
new
uiODVW2DWiggleVarAreaTreeItem
(); }
69
uiTreeItem
* createForVis(
const
uiODViewer2D
&,
int
visid)
const
;
70
};
71
72
73
#endif
mExpClass
#define mExpClass(module)
Definition:
commondefs.h:160
CallBacker
To be able to send and/or receive CallBacks, inherit from this class.
Definition:
callback.h:272
uiODMain
OpendTect application top level object.
Definition:
uiodmain.h:41
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition:
uistring.h:38
MPE::init
bool init()
uiODVw2DTreeTop
Definition:
uiodvw2dtreeitem.h:100
uiODVW2DWiggleVarAreaTreeItem::dummyview_
VW2DSeis * dummyview_
Definition:
uiodvw2dwigglevararea.h:42
DataPack::ID
int ID
Definition:
datapack.h:38
uiMenuHandler
Definition:
uimenuhandler.h:27
Vw2DDataObject::name
const char * name() const
MenuItem
Definition:
menuhandler.h:76
uiODVW2DWiggleVarAreaTreeItemFactory
Definition:
uiodvw2dwigglevararea.h:62
uiODVW2DWiggleVarAreaTreeItem::isSelectable
bool isSelectable() const
Definition:
uiodvw2dwigglevararea.h:40
datapack.h
uiODVw2DTreeItem
Definition:
uiodvw2dtreeitem.h:29
uiODVW2DWiggleVarAreaTreeItem::parentType
const char * parentType() const
Definition:
uiodvw2dwigglevararea.h:38
uiODVw2DTreeItemFactory
Definition:
uiodvw2dtreeitem.h:91
uiODVW2DWiggleVarAreaTreeItem::selattrmnuitem_
MenuItem selattrmnuitem_
Definition:
uiodvw2dwigglevararea.h:44
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition:
bufstring.h:40
uiODViewer2D
A 2D Viewer.
Definition:
uiodviewer2d.h:45
VW2DSeis
Definition:
view2dseismic.h:19
uiODVW2DWiggleVarAreaTreeItemFactory::name
const char * name() const
Definition:
uiodvw2dwigglevararea.h:66
uiODVW2DWiggleVarAreaTreeItem
Definition:
uiodvw2dwigglevararea.h:25
Attrib::SelSpec
Specifies an attribute selection (ID or output number of NN).
Definition:
attribsel.h:45
uiODVW2DWiggleVarAreaTreeItem::menu_
uiMenuHandler * menu_
Definition:
uiodvw2dwigglevararea.h:43
uiODVW2DWiggleVarAreaTreeItemFactory::create
uiTreeItem * create() const
Definition:
uiodvw2dwigglevararea.h:67
uiodvw2dtreeitem.h
uiTreeItem
Definition:
uitreeitemmanager.h:34
menuhandler.h
Generated at for the
OpendTect
seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019