OpendTect  6.3
seisps2dprovider.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: Bert
8  Date: Nov 2016
9 ________________________________________________________________________
10 
11 */
12 
13 #include "seisprovider.h"
14 class SeisPS2DReader;
15 
16 
17 namespace Seis
18 {
19 
20 class PS2DFetcher;
21 
27 public:
28 
29  PS2DProvider();
30  PS2DProvider(const DBKey&);
31  ~PS2DProvider();
32 
33  virtual GeomType geomType() const { return VolPS; }
34 
35  virtual int curLineIdx() const;
36  virtual int nrLines() const;
37  virtual int lineNr(Pos::GeomID) const;
38  virtual BufferString lineName(int) const;
39  virtual Pos::GeomID geomID(int) const;
40  virtual void getGeometryInfo(int,PosInfo::Line2DData&) const;
41  virtual bool getRanges(int,StepInterval<int>&,
42  ZSampling&) const;
43 
44 protected:
45 
46  friend class PS2DFetcher;
47  PS2DFetcher& fetcher_;
48 
49  virtual void doUsePar(const IOPar&,uiRetVal&);
50  virtual void doReset(uiRetVal&) const;
51  virtual uiRetVal doGetComponentInfo(BufferStringSet&,
53  virtual int gtNrOffsets() const;
54  virtual void doGetNextGather(SeisTrcBuf&,uiRetVal&) const;
55  virtual void doGetGather(const TrcKey&,SeisTrcBuf&,uiRetVal&) const;
56  virtual void doGetNext(SeisTrc&,uiRetVal&) const;
57  virtual void doGet(const TrcKey&,SeisTrc&,uiRetVal&) const;
58 
59  SeisPS2DReader* mkReader(Pos::GeomID) const;
60 
61 };
62 
63 
64 } // namespace Seis
#define mExpClass(module)
Definition: commondefs.h:157
Seismics.
Definition: segydirectdef.h:20
is the place to get traces from your 2D PS data stores.
Definition: seisps2dprovider.h:25
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
virtual GeomType geomType() const
Definition: seisps2dprovider.h:33
Definition: seistype.h:31
Position info for a 2D line.
Definition: posinfo2d.h:63
Set of BufferString objects.
Definition: bufstringset.h:25
base class for Providers for 2D data. Extends Provider with some 2D specific services.
Definition: seisprovider.h:195
GeomType
Definition: seistype.h:31
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
Index_Type GeomID
Definition: commontypes.h:48
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
PS2DFetcher & fetcher_
Definition: seisps2dprovider.h:47
Seismic trace.
Definition: seistrc.h:31
Definition: uistring.h:299
set of seismic traces.
Definition: seisbuf.h:28
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:26
reads from a 2D prestack seismic data store.
Definition: seispsread.h:71

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