OpendTect  6.3
seislineprovider.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 
15 
16 namespace Seis
17 {
18 
19 class LineFetcher;
20 
26 public:
27 
28  LineProvider();
29  LineProvider(const DBKey&);
30  ~LineProvider();
31 
32  virtual GeomType geomType() const { return Line; }
33 
34  virtual int nrLines() const;
35  virtual int curLineIdx() const;
36  virtual BufferString lineName(int) const;
37  virtual Pos::GeomID geomID(int) const;
38  virtual int lineNr(Pos::GeomID) const;
39  virtual void getGeometryInfo(int,PosInfo::Line2DData&) const;
40  virtual bool getRanges(int,StepInterval<int>&,
41  ZSampling&) const;
42 
43 protected:
44 
45  friend class LineFetcher;
46  LineFetcher& fetcher_;
47 
48  virtual void doFillPar(IOPar&,uiRetVal&) const;
49  virtual void doUsePar(const IOPar&,uiRetVal&);
50  virtual void doReset(uiRetVal&) const;
51  virtual uiRetVal doGetComponentInfo(BufferStringSet&,
53  virtual void doGetNext(SeisTrc&,uiRetVal&) const;
54  virtual void doGet(const TrcKey&,SeisTrc&,uiRetVal&) const;
55 
56 };
57 
58 
59 } // namespace Seis
#define mExpClass(module)
Definition: commondefs.h:157
Seismics.
Definition: segydirectdef.h:20
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
LineFetcher & fetcher_
Definition: seislineprovider.h:46
Position info for a 2D line.
Definition: posinfo2d.h:63
Set of BufferString objects.
Definition: bufstringset.h:25
Definition: seistype.h:31
virtual GeomType geomType() const
Definition: seislineprovider.h:32
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
is the place to get traces from your seismic lines.
Definition: seislineprovider.h:24
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
Seismic trace.
Definition: seistrc.h:31
Definition: uistring.h:299
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

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