OpendTect-6_4
6.4
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
od6.4.5
include
Velocity
velocityfunctionstored.h
Go to the documentation of this file.
1
#ifndef velocityfunctionstored_h
2
#define velocityfunctionstored_h
3
4
/*+
5
________________________________________________________________________
6
7
(C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8
Author: Umesh Sinha
9
Date: Sep 2008
10
RCS: $Id$
11
________________________________________________________________________
12
13
14
-*/
15
16
#include "velocitymod.h"
17
#include "
velocityfunction.h
"
18
#include "
binidvalset.h
"
19
20
class
BinIDValueSet
;
21
class
IOObjContext
;
22
23
namespace
Vel
24
{
25
26
class
StoredFunctionSource;
27
28
31
mExpClass
(Velocity)
StoredFunction
: public
Function
32
{
33
public
:
34
StoredFunction
(
StoredFunctionSource
&);
35
bool
moveTo(
const
BinID
&);
36
StepInterval<float>
getAvailableZ()
const
;
37
38
39
protected
:
40
bool
computeVelocity(
float
z0,
float
dz,
int
nr,
41
float
* res)
const
;
42
43
bool
zit_
;
44
TypeSet<float>
zval_
;
45
TypeSet<float>
vel_
;
46
};
47
48
49
mExpClass
(Velocity)
StoredFunctionSource
: public
FunctionSource
50
{
mODTextTranslationClass
(
StoredFunctionSource
);
51
public
:
52
mDefaultFactoryInstanciationBase
(
53
"StoredVelFunc"
,
54
toUiString
(sFactoryKeyword()));
55
56
StoredFunctionSource
();
57
static
IOObjContext
& ioContext();
58
59
const
VelocityDesc
&
getDesc
()
const
{
return
desc_; }
60
61
bool
zIsTime()
const
;
62
bool
load(
const
MultiID
&);
63
bool
store(
const
MultiID
&);
64
65
StoredFunction
* createFunction(
const
BinID
&);
66
67
void
getAvailablePositions(
BinIDValueSet
&)
const
;
68
bool
getVel(
const
BinID
&,
TypeSet<float>
& zvals,
69
TypeSet<float>
& vel);
70
71
void
setData(
const
BinIDValueSet
&,
72
const
VelocityDesc
&,
bool
zit);
73
74
static
const
char
* sKeyZIsTime();
75
static
const
char
* sKeyVelocityFunction();
76
static
const
char
* sKeyVelocityType();
77
78
protected
:
79
void
fillIOObjPar(
IOPar
&)
const
;
80
81
static
FunctionSource*
create
(
const
MultiID
&);
82
~
StoredFunctionSource
();
83
84
BinIDValueSet
veldata_
;
85
bool
zit_
;
86
VelocityDesc
desc_
;
87
};
88
89
}
// namespace Vel
90
91
#endif
mExpClass
#define mExpClass(module)
Definition:
commondefs.h:160
Vel
Velocity.
Definition:
velocityfunction.h:32
Vel::StoredFunctionSource::getDesc
const VelocityDesc & getDesc() const
Definition:
velocityfunctionstored.h:59
Vel::FunctionSource
Definition:
velocityfunction.h:85
Vel::StoredFunctionSource::veldata_
BinIDValueSet veldata_
Definition:
velocityfunctionstored.h:84
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition:
uistring.h:38
File::toUiString
Export_Basic uiString toUiString(ViewStyle)
VelocityDesc
Definition:
veldesc.h:38
Vel::StoredFunctionSource
Definition:
velocityfunctionstored.h:49
Vel::StoredFunction
Definition:
velocityfunctionstored.h:31
velocityfunction.h
Vel::StoredFunctionSource::desc_
VelocityDesc desc_
Definition:
velocityfunctionstored.h:86
Vel::StoredFunctionSource::zit_
bool zit_
Definition:
velocityfunctionstored.h:85
TypeSet< float >
IOPar
Generalized set of parameters of the keyword-value type.
Definition:
iopar.h:47
mDefaultFactoryInstanciationBase
#define mDefaultFactoryInstanciationBase(keywrd, usernm)
Definition:
factory.h:280
Vel::StoredFunction::zval_
TypeSet< float > zval_
Definition:
velocityfunctionstored.h:44
StepInterval< float >
create
static uiHor3DInterpol * create(uiParent *)
BinID
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition:
binid.h:30
BinIDValueSet
A Pos::IdxPairValueSet with BinIDs.
Definition:
binidvalset.h:23
Vel::StoredFunction::zit_
bool zit_
Definition:
velocityfunctionstored.h:43
binidvalset.h
MultiID
Compound key consisting of ints.
Definition:
multiid.h:25
Vel::Function
Definition:
velocityfunction.h:41
IOObjContext
Holds the context for selecting and/or creating IOObjs.
Definition:
ctxtioobj.h:62
Vel::StoredFunction::vel_
TypeSet< float > vel_
Definition:
velocityfunctionstored.h:45
Generated at for the
OpendTect
seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019