OpendTect-6_4  6.4
seiseventsnapper.h
Go to the documentation of this file.
1 #ifndef seiseventsnapper_h
2 #define seiseventsnapper_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nanne Hemstra
9  Date: September 2006
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "seismod.h"
16 #include "executor.h"
17 #include "samplingdata.h"
18 #include "valseriesevent.h"
19 
20 class BinIDValueSet;
21 class IOObj;
22 class SeisMSCProvider;
23 class SeisTrc;
24 
26 {
27 public:
28  SeisEventSnapper( const Interval<float>& gate);
29 
31  { eventtype_ = tp; }
32  VSEvent::Type getEvent() const { return eventtype_; }
33 
34  void setSearchGate( const Interval<float>& gate )
35  { searchgate_ = gate; }
36  const Interval<float>& getSearchGate() const { return searchgate_; }
37 
38  virtual od_int64 totalNr() const { return totalnr_; }
39  virtual od_int64 nrDone() const { return nrdone_; }
40 
41 protected:
42 
43  float findNearestEvent(const SeisTrc&,
44  float tarz) const;
45 
48 
49  int totalnr_;
50  int nrdone_;
51 
52 };
53 
54 
56 {
57 public:
59  const Interval<float>& gate);
61 
62 protected:
63  virtual int nextStep();
64 
67 };
68 
69 #endif
#define mExpClass(module)
Definition: commondefs.h:160
int nrdone_
Definition: seiseventsnapper.h:50
Summary for a Seismic object.
Definition: segydirectdef.h:23
const Interval< float > & getSearchGate() const
Definition: seiseventsnapper.h:36
void setSearchGate(const Interval< float > &gate)
Definition: seiseventsnapper.h:34
Definition: ioobj.h:58
VSEvent::Type getEvent() const
Definition: seiseventsnapper.h:32
SeisMSCProvider * mscprov_
Definition: seiseventsnapper.h:66
#define od_int64
Definition: plftypes.h:36
Definition: seiseventsnapper.h:55
Interval< float > searchgate_
Definition: seiseventsnapper.h:46
VSEvent::Type eventtype_
Definition: seiseventsnapper.h:47
void setEvent(VSEvent::Type tp)
Definition: seiseventsnapper.h:30
Seismic trace.
Definition: seistrc.h:34
BinIDValueSet & positions_
Definition: seiseventsnapper.h:65
virtual od_int64 totalNr() const
Definition: seiseventsnapper.h:38
A Pos::IdxPairValueSet with BinIDs.
Definition: binidvalset.h:23
Reads seismic data into buffers providing a Moving Virtual Subcube of seismic data.
Definition: seiscubeprov.h:56
Type
Definition: valseriesevent.h:26
Definition: seiseventsnapper.h:25
virtual od_int64 nrDone() const
Definition: seiseventsnapper.h:39
int totalnr_
Definition: seiseventsnapper.h:49
Specification to enable chunkwise execution of a process.
Definition: executor.h:39

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