OpendTect
6.3
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
master_od_source
include
uiSeis
uiwaveletsel.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: Bert
8
Date: July 2016
9
________________________________________________________________________
10
11
-*/
12
13
#include "uiseismod.h"
14
#include "
uiioobjsel.h
"
15
#include "
wavelet.h
"
16
#include "
ioobjctxt.h
"
17
class
uiWaveletExtraction
;
18
19
22
mExpClass
(uiSeis)
uiWaveletIOObjSel
: public
uiIOObjSel
23
{
mODTextTranslationClass
(
uiWaveletIOObjSel
);
24
public
:
25
26
mExpClass
(uiSeis)
Setup
: public uiIOObjSel::
Setup
27
{
28
public
:
29
Setup
(
const
uiString
& seltext=
uiString::emptyString
() )
30
: uiIOObjSel::Setup(seltext)
31
, withextract_(true)
32
, withman_(true)
33
, bigbuts_(false) {}
34
35
// Only when for read:
36
mDefSetupMemb
(
bool
,withextract)
37
mDefSetupMemb
(
bool
,withman)
38
mDefSetupMemb
(
bool
,bigbuts)
39
// "I ... like ... bigbuts and I don't know why"
40
41
};
42
43
uiWaveletIOObjSel
(
uiParent
*,
bool
forread=
true
);
44
uiWaveletIOObjSel
(
uiParent
*,
const
Setup&,
45
bool
forread=
true
);
46
47
ConstRefMan<Wavelet>
getWavelet()
const
;
48
RefMan<Wavelet>
getWaveletForEdit()
const
;
49
bool
store(
const
Wavelet
&,
bool
askoverwrite=
true
);
50
51
static
IOObjContext
getCtxt(
bool
forread=
true
);
52
53
protected
:
54
55
uiWaveletExtraction
*
extrdlg_
;
56
57
void
startManCB(
CallBacker
*);
58
void
extractCB(
CallBacker
*);
59
void
extrDlgCloseCB(
CallBacker
*);
60
void
extractionDoneCB(
CallBacker
*);
61
62
private
:
63
64
void
init
(
const
Setup&,
bool
);
65
66
};
mExpClass
#define mExpClass(module)
Definition:
commondefs.h:157
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition:
callback.h:182
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition:
uistring.h:37
uiWaveletIOObjSel::Setup::Setup
Setup(const uiString &seltext=uiString::emptyString())
Definition:
uiwaveletsel.h:29
MPE::init
bool init()
Wavelet
Definition:
wavelet.h:22
uiString::emptyString
static const uiString & emptyString()
Definition:
uistring.h:107
uiString
Definition:
uistring.h:88
uiParent
Definition:
uiparent.h:24
uiWaveletIOObjSel
selects wavelets.
Definition:
uiwaveletsel.h:22
uiioobjsel.h
wavelet.h
mDefSetupMemb
#define mDefSetupMemb(typ, memb)
Definition:
commondefs.h:129
uiIOObjSel
User Interface (UI) element for selection of IOObjs.
Definition:
uiioobjsel.h:36
uiWaveletExtraction
Definition:
uiwaveletextraction.h:27
uiWaveletIOObjSel::extrdlg_
uiWaveletExtraction * extrdlg_
Definition:
uiwaveletsel.h:55
ioobjctxt.h
ConstRefMan< Wavelet >
RefMan< Wavelet >
IOObjContext
Holds the context for selecting and/or creating IOObjs.
Definition:
ioobjctxt.h:59
uiWaveletIOObjSel::Setup
Definition:
uiwaveletsel.h:26
Generated at for the
OpendTect
seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017