OpendTect  6.6
velocitygridder.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: October 2006
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 
13 -*/
14 
15 #include "volumeprocessingmod.h"
16 #include "volprocstep.h"
17 #include "veldesc.h"
18 
19 class Gridder2D;
21 namespace Vel
22 {
23  class Function;
24  class FunctionSource;
25 }
26 
27 
28 namespace VolProc
29 {
30 
35 mExpClass(VolumeProcessing) VelocityGridder : public Step
37 public:
40  "Gridding", tr("Velocity gridder") )
41 
44 
45  const VelocityDesc* getVelDesc() const;
46 
49 
50  void setGridder(Gridder2D*); //becomes mine
51  const Gridder2D* getGridder() const;
52 
53  void setLayerModel(InterpolationLayerModel*); //becomes mine
55 
56  bool needsInput() const;
57  void releaseData();
58  bool canInputAndOutputBeSame() const { return true; }
59  bool needsFullVolume() const { return true;}
60 
61  void fillPar(IOPar&) const;
62  bool usePar(const IOPar&);
63  virtual uiString errMsg() const { return errmsg_; }
64 
65  static const char* sKeyType() { return "Type"; }
66  static const char* sKeyID() { return "ID"; }
67  static const char* sKeyNrSources() { return "NrSources"; }
68  static const char* sKeyGridder() { return "Gridder"; }
69 
70  /* mDeprecated (this function will be protected virtual after 6.0) */
72  const StepInterval<int>&) const;
73 
74 protected:
75 
77 
81 };
82 
83 } // namespace VolProc
84 
TrcKeySampling
Horizontal sampling (inline and crossline range and steps).
Definition: trckeysampling.h:35
VolProc::VelocityGridder::sKeyNrSources
static const char * sKeyNrSources()
Definition: velocitygridder.h:67
VolProc
Adapter for a VolProc chain to external attribute calculation.
Definition: seisdatapackwriter.h:24
Vel
Velocity.
Definition: velocityfunction.h:32
VolProc::VelocityGridder::layermodel_
InterpolationLayerModel * layermodel_
Definition: velocitygridder.h:78
VolProc::VelocityGridder::getSources
const ObjectSet< Vel::FunctionSource > & getSources() const
VolProc::VelocityGridder::errMsg
virtual uiString errMsg() const
Definition: velocitygridder.h:63
ObjectSet< Vel::FunctionSource >
VolProc::VelocityGridder::sKeyType
static const char * sKeyType()
Definition: velocitygridder.h:65
VolProc::VelocityGridder::~VelocityGridder
mODTextTranslationClass(VelocityGridder) public ~VelocityGridder()
VolProc::VelocityGridder
VolProc::Step for velocity gridding.
Definition: velocitygridder.h:36
od_int64
#define od_int64
Definition: plftypes.h:35
mDefaultFactoryInstantiation
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:288
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
veldesc.h
VolProc::VelocityGridder::extraMemoryUsage
od_int64 extraMemoryUsage(OutputSlotID, const TrcKeySampling &, const StepInterval< int > &) const
Gridder2D
Generic interface for 2D gridding.
Definition: gridder2d.h:32
VolProc::VelocityGridder::fillPar
void fillPar(IOPar &) const
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition: uistring.h:40
VolProc::VelocityGridder::sources_
ObjectSet< Vel::FunctionSource > sources_
Definition: velocitygridder.h:80
VolProc::VelocityGridder::sKeyGridder
static const char * sKeyGridder()
Definition: velocitygridder.h:68
VolProc::VelocityGridder::getLayerModel
const InterpolationLayerModel * getLayerModel() const
VolProc::VelocityGridder::needsInput
bool needsInput() const
StepInterval< int >
VelocityDesc
Definition: veldesc.h:38
VolProc::VelocityGridder::canInputAndOutputBeSame
bool canInputAndOutputBeSame() const
Definition: velocitygridder.h:58
VolProc::VelocityGridder::setSources
void setSources(ObjectSet< Vel::FunctionSource > &)
Task
Generalization of something (e.g. a computation) that needs to be done in multiple steps.
Definition: task.h:28
InterpolationLayerModel
Definition: interpollayermodel.h:23
VolProc::VelocityGridder::usePar
bool usePar(const IOPar &)
VolProc::Step
An algorithm/calculation/transformation that takes one scalar volume as input, processes it,...
Definition: volprocstep.h:42
VolProc::VelocityGridder::getGridder
const Gridder2D * getGridder() const
VolProc::VelocityGridder::setGridder
void setGridder(Gridder2D *)
VolProc::VelocityGridder::releaseData
void releaseData()
VolProc::VelocityGridder::setLayerModel
void setLayerModel(InterpolationLayerModel *)
uiString
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
MPE::errmsg_
BufferString errmsg_
Definition: horizontracker.h:118
VolProc::VelocityGridder::gridder_
Gridder2D * gridder_
Definition: velocitygridder.h:79
volprocstep.h
VolProc::VelocityGridder::needsFullVolume
bool needsFullVolume() const
Definition: velocitygridder.h:59
VolProc::VelocityGridder::sKeyID
static const char * sKeyID()
Definition: velocitygridder.h:66
VolProc::Step::OutputSlotID
int OutputSlotID
Definition: volprocstep.h:46
VolProc::VelocityGridder::createTask
Task * createTask()
VolProc::VelocityGridder::getVelDesc
const VelocityDesc * getVelDesc() const
IOPar
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55

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