OpendTect
6.3
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
master_od_source
include
Velocity
velocityfunctionstored.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: Umesh Sinha
8
Date: Sep 2008
9
________________________________________________________________________
10
11
12
-*/
13
14
#include "velocitymod.h"
15
#include "
velocityfunction.h
"
16
#include "
binidvalset.h
"
17
18
class
BinIDValueSet
;
19
class
IOObjContext
;
20
21
namespace
Vel
22
{
23
24
class
StoredFunctionSource;
25
26
29
mExpClass
(Velocity)
StoredFunction
: public
Function
30
{
31
public
:
32
StoredFunction
(
StoredFunctionSource
&);
33
bool
moveTo(
const
BinID
&);
34
StepInterval<float>
getAvailableZ()
const
;
35
36
37
protected
:
38
bool
computeVelocity(
float
z0,
float
dz,
int
nr,
39
float
* res)
const
;
40
41
bool
zit_
;
42
TypeSet<float>
zval_
;
43
TypeSet<float>
vel_
;
44
};
45
46
47
mExpClass
(Velocity)
StoredFunctionSource
: public
FunctionSource
48
{
mODTextTranslationClass
(
StoredFunctionSource
);
49
public
:
50
mDefaultFactoryInstanciationBase
(
51
"StoredVelFunc"
,
52
toUiString
(sFactoryKeyword()));
53
54
StoredFunctionSource
();
55
static
IOObjContext
& ioContext();
56
57
const
VelocityDesc
&
getDesc
()
const
{
return
desc_; }
58
59
bool
zIsTime()
const
;
60
bool
load(
const
DBKey
&);
61
bool
store(
const
DBKey
&);
62
63
StoredFunction
* createFunction(
const
BinID
&);
64
65
void
getAvailablePositions(
BinIDValueSet
&)
const
;
66
bool
getVel(
const
BinID
&,
TypeSet<float>
& zvals,
67
TypeSet<float>
& vel);
68
69
void
setData(
const
BinIDValueSet
&,
70
const
VelocityDesc
&,
bool
zit);
71
72
static
const
char
* sKeyZIsTime();
73
static
const
char
* sKeyVelocityFunction();
74
static
const
char
* sKeyVelocityType();
75
76
protected
:
77
void
fillIOObjPar(
IOPar
&)
const
;
78
79
static
FunctionSource*
create
(
const
DBKey
&);
80
~
StoredFunctionSource
();
81
82
BinIDValueSet
veldata_
;
83
bool
zit_
;
84
VelocityDesc
desc_
;
85
};
86
87
}
// namespace Vel
mExpClass
#define mExpClass(module)
Definition:
commondefs.h:157
Vel
Velocity.
Definition:
velocityfunction.h:30
Vel::StoredFunctionSource::getDesc
const VelocityDesc & getDesc() const
Definition:
velocityfunctionstored.h:57
Vel::FunctionSource
Definition:
velocityfunction.h:79
Vel::StoredFunctionSource::veldata_
BinIDValueSet veldata_
Definition:
velocityfunctionstored.h:82
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition:
uistring.h:37
VelocityDesc
Definition:
veldesc.h:36
Vel::StoredFunctionSource
Definition:
velocityfunctionstored.h:47
Vel::StoredFunction
Definition:
velocityfunctionstored.h:29
velocityfunction.h
Vel::StoredFunctionSource::desc_
VelocityDesc desc_
Definition:
velocityfunctionstored.h:84
Vel::StoredFunctionSource::zit_
bool zit_
Definition:
velocityfunctionstored.h:83
TypeSet< float >
IOPar
Generalized set of parameters of the keyword-value type.
Definition:
iopar.h:53
mDefaultFactoryInstanciationBase
#define mDefaultFactoryInstanciationBase(keywrd, usernm)
Definition:
factory.h:278
Vel::StoredFunction::zval_
TypeSet< float > zval_
Definition:
velocityfunctionstored.h:42
StepInterval< float >
toUiString
uiString toUiString(const DBKey &ky)
Definition:
dbkey.h:117
create
static uiHor3DInterpol * create(uiParent *)
BinID
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition:
binid.h:28
BinIDValueSet
A Pos::IdxPairValueSet with BinIDs.
Definition:
binidvalset.h:21
DBKey
Full key to any object in the OpendTect data store.
Definition:
dbkey.h:36
Vel::StoredFunction::zit_
bool zit_
Definition:
velocityfunctionstored.h:41
binidvalset.h
Vel::Function
Definition:
velocityfunction.h:39
IOObjContext
Holds the context for selecting and/or creating IOObjs.
Definition:
ioobjctxt.h:59
Vel::StoredFunction::vel_
TypeSet< float > vel_
Definition:
velocityfunctionstored.h:43
Generated at for the
OpendTect
seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017