OpendTect  6.6
velocityfunctioninterval.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: K. Tingdahl
8  Date: December 2008
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 
13 -*/
14 
15 #include "velocitymod.h"
16 #include "samplingdata.h"
17 #include "thread.h"
18 #include "velocityfunction.h"
19 
20 class BinIDValueSet;
21 class Gridder2D;
22 
23 namespace Vel
24 {
25 
26 class IntervalSource;
27 
32 {
33 public:
35 
37  bool moveTo(const BinID&);
39 
40 protected:
42 
43  bool computeVelocity(float z0, float dz, int nr,
44  float* res ) const;
45 
47 };
48 
49 
51 {
52 public:
54  const VelocityDesc& getDesc() const;
55  const char* factoryKeyword() const { return sType(); }
56  static const char* sType() { return "Interval"; }
57 
61 
63  BinID changeBinID() const;
64 
65 protected:
69 
72 };
73 
74 } // namespace Vel
75 
Vel
Velocity.
Definition: velocityfunction.h:32
Vel::Function
Definition: velocityfunction.h:41
Vel::IntervalSource::inputsource_
FunctionSource * inputsource_
Definition: velocityfunctioninterval.h:70
Vel::IntervalSource::~IntervalSource
~IntervalSource()
Vel::IntervalFunction::setInput
void setInput(Function *)
velocityfunction.h
BinIDValueSet
A Pos::IdxPairValueSet with BinIDs.
Definition: binidvalset.h:23
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
samplingdata.h
Vel::IntervalSource::sType
static const char * sType()
Definition: velocityfunctioninterval.h:56
Vel::IntervalSource::getDesc
const VelocityDesc & getDesc() const
Vel::IntervalFunction::IntervalFunction
IntervalFunction(IntervalSource &)
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
Gridder2D
Generic interface for 2D gridding.
Definition: gridder2d.h:32
Vel::IntervalFunction
Definition: velocityfunctioninterval.h:32
Vel::IntervalSource::IntervalSource
IntervalSource()
BinID
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:31
StepInterval< float >
VelocityDesc
Definition: veldesc.h:38
Vel::IntervalSource::veldesc_
VelocityDesc veldesc_
Definition: velocityfunctioninterval.h:71
Vel::IntervalSource::sourceChangeCB
void sourceChangeCB(CallBacker *)
NotifierAccess
Interface class for Notifier. See comments there.
Definition: notify.h:22
Vel::IntervalSource::getAvailablePositions
void getAvailablePositions(BinIDValueSet &) const
Vel::IntervalFunction::moveTo
bool moveTo(const BinID &)
Vel::IntervalSource::changeNotifier
NotifierAccess * changeNotifier()
Vel::IntervalFunction::~IntervalFunction
~IntervalFunction()
Vel::IntervalSource::factoryKeyword
const char * factoryKeyword() const
Definition: velocityfunctioninterval.h:55
Vel::IntervalFunction::inputfunc_
Function * inputfunc_
Definition: velocityfunctioninterval.h:46
Vel::IntervalSource::changeBinID
BinID changeBinID() const
Vel::IntervalFunction::getAvailableZ
StepInterval< float > getAvailableZ() const
Vel::IntervalSource::createFunction
IntervalFunction * createFunction(const BinID &)
Vel::IntervalSource
Definition: velocityfunctioninterval.h:51
Vel::IntervalSource::getSources
void getSources(TypeSet< MultiID > &) const
thread.h
Vel::IntervalFunction::computeVelocity
bool computeVelocity(float z0, float dz, int nr, float *res) const
Vel::FunctionSource
Definition: velocityfunction.h:85
TypeSet< MultiID >
Vel::IntervalSource::setInput
void setInput(FunctionSource *)

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