OpendTect-6_4  6.4
velocitygridder.h
Go to the documentation of this file.
1 #ifndef velocitygridder_h
2 #define velocitygridder_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: October 2006
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "volumeprocessingmod.h"
17 #include "volprocstep.h"
18 #include "veldesc.h"
19 
20 class Gridder2D;
22 namespace Vel
23 {
24  class Function;
25  class FunctionSource;
26 }
27 
28 
29 namespace VolProc
30 {
31 
36 mExpClass(VolumeProcessing) VelocityGridder : public Step
38 public:
40  Step, VelocityGridder,
41  "Gridding", tr("Velocity gridder") )
42 
44  ~VelocityGridder();
45 
46  const VelocityDesc* getVelDesc() const;
47 
48  void setSources(ObjectSet<Vel::FunctionSource>&);
50 
51  void setGridder(Gridder2D*); //becomes mine
52  const Gridder2D* getGridder() const;
53 
54  void setLayerModel(InterpolationLayerModel*); //becomes mine
55  const InterpolationLayerModel* getLayerModel() const;
56 
57  bool needsInput() const;
58  void releaseData();
59  bool canInputAndOutputBeSame() const { return true; }
60  bool needsFullVolume() const { return true;}
61 
62  void fillPar(IOPar&) const;
63  bool usePar(const IOPar&);
64  virtual uiString errMsg() const { return errmsg_; }
65 
66  static const char* sKeyType() { return "Type"; }
67  static const char* sKeyID() { return "ID"; }
68  static const char* sKeyNrSources() { return "NrSources"; }
69  static const char* sKeyGridder() { return "Gridder"; }
70 
71  /* mDeprecated (this function will be protected virtual after 6.0) */
72  od_int64 extraMemoryUsage(OutputSlotID,const TrcKeySampling&,
73  const StepInterval<int>&) const;
74 
75 protected:
76 
77  Task* createTask();
78 
82 };
83 
84 } // namespace VolProc
85 
86 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Velocity.
Definition: velocityfunction.h:32
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
static const char * sKeyID()
Definition: velocitygridder.h:67
Definition: veldesc.h:38
Generic interface for 2D gridding.
Definition: gridder2d.h:32
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
#define od_int64
Definition: plftypes.h:36
bool canInputAndOutputBeSame() const
Definition: velocitygridder.h:59
Gridder2D * gridder_
Definition: velocitygridder.h:80
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:289
bool needsFullVolume() const
Definition: velocitygridder.h:60
Definition: uistring.h:89
static const char * sKeyType()
Definition: velocitygridder.h:66
ObjectSet< Vel::FunctionSource > sources_
Definition: velocitygridder.h:81
void getSources(const EM::PosID &, TypeSet< EM::PosID > &) const
Definition: interpollayermodel.h:23
InterpolationLayerModel * layermodel_
Definition: velocitygridder.h:79
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Horizontal sampling (inline and crossline range and steps).
Definition: trckeysampling.h:27
Adapter for a VolProc chain to external attribute calculation.
Definition: seisdatapackwriter.h:25
int OutputSlotID
Definition: volprocstep.h:47
virtual uiString errMsg() const
Definition: velocitygridder.h:64
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
VolProc::Step for velocity gridding.
Definition: velocitygridder.h:36
static const char * sKeyNrSources()
Definition: velocitygridder.h:68
An algorithm/calculation/transformation that takes one scalar volume as input, processes it...
Definition: volprocstep.h:42
BufferString errmsg_
Definition: horizontracker.h:119
static const char * sKeyGridder()
Definition: velocitygridder.h:69
Generalization of something (e.g. a computation) that needs to be done in multiple steps...
Definition: task.h:28

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