OpendTect-6_4  6.4
syntheticdata.h
Go to the documentation of this file.
1 #ifndef syntheticdata_h
2 #define syntheticdata_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Satyaki/Bruno
9  Date: July 2013
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "flatview.h"
16 #include "wellattribmod.h"
17 #include "datapack.h"
18 #include "stratsynthgenparams.h"
19 
20 class SeisTrc;
21 class TimeDepthModel;
22 
23 
24 mStruct(WellAttrib) SynthFVSpecificDispPars
25 {
26  SynthFVSpecificDispPars()
27  : overlap_(1) {}
28  ColTab::MapperSetup vdmapper_;
29  ColTab::MapperSetup wvamapper_;
30  BufferString ctab_;
31  float overlap_;
32  void fillPar(IOPar&) const;
33  void usePar(const IOPar&);
34 };
35 
36 
38 mExpClass(WellAttrib) SyntheticData : public NamedObject
39 {
40 public:
41  ~SyntheticData();
42 
43  void setName(const char*);
44 
45  virtual const SeisTrc* getTrace(int seqnr) const = 0;
46 
47  float getTime(float dpt,int seqnr) const;
48  float getDepth(float time,int seqnr) const;
49 
50  const DataPack& getPack() const {return datapack_;}
51  DataPack& getPack() {return datapack_;}
52 
55 
57 
58  int id_;
59  virtual bool isPS() const = 0;
60  virtual bool hasOffset() const = 0;
61  virtual bool isAngleStack() const;
62  virtual bool isAVOGradient() const { return false; }
63  virtual SynthGenParams::SynthType synthType() const = 0;
64 
65  virtual void useGenParams(const SynthGenParams&);
66  virtual void fillGenParams(SynthGenParams&) const;
67  void useDispPar(const IOPar&);
68  void fillDispPar(IOPar&) const;
69  const char* waveletName() const { return wvltnm_; }
70  void setWavelet( const char* wvltnm )
71  { wvltnm_ = wvltnm; }
72  SynthFVSpecificDispPars& dispPars() { return disppars_; }
73  const SynthFVSpecificDispPars& dispPars() const
74  { return disppars_; }
75 
76 protected:
77  SyntheticData(const SynthGenParams&,
78  DataPack&);
79 
82  SynthFVSpecificDispPars disppars_;
83 
84  void removePack();
85 
87 };
88 
89 
90 #endif
#define mExpClass(module)
Definition: commondefs.h:160
virtual bool isAVOGradient() const
Definition: syntheticdata.h:62
DataPack & getPack()
Definition: syntheticdata.h:51
#define mStruct(module)
Definition: commondefs.h:165
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
float getTime(float depth) const
SynthFVSpecificDispPars & dispPars()
Definition: syntheticdata.h:72
int id_
Definition: syntheticdata.h:58
Definition: syntheticdata.h:38
DataPack::FullID datapackid_
Definition: syntheticdata.h:56
A data packet: data+positioning and more that needs to be shared.
Definition: datapack.h:34
SynthFVSpecificDispPars disppars_
Definition: syntheticdata.h:82
bool isPS(GeomType gt)
Definition: seistype.h:38
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
const char * waveletName() const
Definition: syntheticdata.h:69
Setup class for colortable Mapper.
Definition: coltabmapper.h:35
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
BufferString wvltnm_
Definition: syntheticdata.h:80
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
ObjectSet< const TimeDepthModel > d2tmodels_
Definition: syntheticdata.h:53
IOPar raypars_
Definition: syntheticdata.h:81
Seismic trace.
Definition: seistrc.h:34
const DataPack & getPack() const
Definition: syntheticdata.h:50
Object with a name.
Definition: namedobj.h:35
float getDepth(float time) const
void setWavelet(const char *wvltnm)
Definition: syntheticdata.h:70
Converts between time, depth and velocity given a model. The velocity model can be either RMO-velocit...
Definition: velocitycalc.h:31
DataPack & datapack_
Definition: syntheticdata.h:86
const SeisTrc * getTrace(EM::SubID) const
ObjectSet< const TimeDepthModel > zerooffsd2tmodels_
Definition: syntheticdata.h:54
Compound key consisting of ints.
Definition: multiid.h:25
const SynthFVSpecificDispPars & dispPars() const
Definition: syntheticdata.h:73

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