OpendTect-6_4  6.4
seiscbvs2d.h
Go to the documentation of this file.
1 #ifndef seiscbvs2d_h
2 #define seiscbvs2d_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: A.H. Bril
9  Date: June 2004
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "seismod.h"
16 #include "seis2dlineio.h"
17 #include "uistring.h"
18 
19 class SeisTrc;
21 
22 namespace PosInfo { class Line2DData; }
23 
24 
26 {
27 public:
28 
30 
31  bool isEmpty(const IOObj&,Pos::GeomID) const;
32 
33  bool getGeomIDs(const IOObj&,TypeSet<Pos::GeomID>&) const;
34  bool getGeometry(const IOObj&,Pos::GeomID,
35  PosInfo::Line2DData&) const;
36  Executor* getFetcher(const IOObj&,Pos::GeomID,SeisTrcBuf&,int,
37  const Seis::SelData* sd=0);
38  Seis2DLinePutter* getPutter(const IOObj& obj,Pos::GeomID);
39 
40  bool getTxtInfo(const IOObj&,Pos::GeomID,BufferString&,
41  BufferString&) const;
42  bool getRanges(const IOObj&,Pos::GeomID,StepInterval<int>&,
43  StepInterval<float>&) const;
44 
45  bool removeImpl(const IOObj&,Pos::GeomID) const;
46  bool renameImpl(const IOObj&,const char*) const;
47 
48  static const OD::String& getFileName(const IOObj&,Pos::GeomID);
49 
50 private:
51 
52  static int factid_;
53 };
54 
55 
58 public:
59 
62 
63  uiString errMsg() const { return errmsg_;}
64  int nrWritten() const { return nrwr_; }
65  bool put(const SeisTrc&);
66  bool close();
67  void setComponentNames(const BufferStringSet&);
68 
69  int nrwr_;
75 
76 };
77 
78 
80 {
81 public:
82  SeisCBVS2DLineGetter(const char* fnm,SeisTrcBuf&,
83  int trcsperstep,
84  const Seis::SelData&);
86 
87  od_int64 nrDone() const { return curnr_; }
88  od_int64 totalNr() const { return totnr_; }
89 
90  const SeisTrcTranslator* translator() const;
91 
92 protected:
93 
94  void addTrc(SeisTrc*);
95  int nextStep();
96 
97  int curnr_;
98  int totnr_;
101  int trcstep_;
102  const int linenr_;
103  const int trcsperstep_;
104 
105 };
106 
107 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Summary for a Seismic object.
Definition: segydirectdef.h:23
int trcstep_
Definition: seiscbvs2d.h:101
Definition: ioobj.h:58
int curnr_
Definition: seiscbvs2d.h:97
CBVSSeisTrcTranslator * tr_
Definition: seiscbvs2d.h:72
DataCharacteristics::UserType preseldt_
Definition: seiscbvs2d.h:74
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
#define od_int64
Definition: plftypes.h:36
uiString errMsg() const
Only when put or close returns false.
Definition: seiscbvs2d.h:63
Position info for a 2D line.
Definition: posinfo2d.h:65
Definition: uistring.h:89
Set of BufferString objects.
Definition: bufstringset.h:28
int nrWritten() const
Definition: seiscbvs2d.h:64
BufferString fname_
Definition: seiscbvs2d.h:99
BufferString fname_
Definition: seiscbvs2d.h:70
od_int64 totalNr() const
Definition: seiscbvs2d.h:88
Definition: seistrctr.h:90
interface for object that writes 2D seismic data
Definition: seis2dlineio.h:41
encapsulates the read-access-only part of strings in OD.
Definition: odstring.h:31
int nrwr_
Definition: seiscbvs2d.h:69
Definition: seiscbvs2d.h:56
contains input (sub-)selection data from a cube or lineset
Definition: seisselection.h:82
interface for object that reads 2D seismic data
Definition: seis2dlineio.h:60
Index_Type GeomID
Definition: commontypes.h:52
od_int64 nrDone() const
Definition: seiscbvs2d.h:87
Position info, often segmented.
Definition: posinfo.h:40
Provides read/write to/from 2D seismic lines. Only interesting if you want to add your own 2D data I/...
Definition: seis2dlineio.h:87
Definition: seiscbvs2d.h:79
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
static int factid_
Definition: seiscbvs2d.h:52
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
Seismic trace.
Definition: seistrc.h:34
BufferString errmsg_
Definition: horizontracker.h:119
set of seismic traces.
Definition: seisbuf.h:31
UserType
Definition: datachar.h:88
BinID bid_
Definition: seiscbvs2d.h:73
CBVSSeisTrcTranslator * tr_
Definition: seiscbvs2d.h:100
bool isEmpty(const NLAModel *mdl)
int totnr_
Definition: seiscbvs2d.h:98
Definition: seiscbvs.h:26
Definition: seiscbvs2d.h:25
Specification to enable chunkwise execution of a process.
Definition: executor.h:39
uiString errmsg_
Definition: seiscbvs2d.h:71
const int trcsperstep_
Definition: seiscbvs2d.h:103
const int linenr_
Definition: seiscbvs2d.h:102

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