OpendTect  6.6
seiszaxisstretcher.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: K. Tingdahl
8  Date: January 2008
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 */
13 
14 
15 #include "seismod.h"
16 #include "trckeyzsampling.h"
17 #include "paralleltask.h"
18 #include "thread.h"
19 
20 class IOObj;
21 class SeisTrc;
22 class SeisTrcReader;
23 class SeisTrcWriter;
25 class ZAxisTransform;
26 
27 
34 public:
36  const IOObj& out,
37  const TrcKeyZSampling& outcs,
39  bool forward,
40  bool stretchz);
42 
43  bool isOK() const;
44 
46  uiString uiMessage() const { return tr("Stretching data"); }
47 
48  void setVelTypeIsVint( bool yn ) { isvint_ = yn; }
49  void setVelTypeIsVrms( bool yn ) { isvrms_ = yn; }
50 
51 protected:
52 
53  void init(const IOObj& in,const IOObj& out);
54  bool doPrepare(int);
55  bool doFinish(bool);
57  od_int64 nrIterations() const { return totalnr_; }
58 
61  bool loadTransformChunk(int firstinl);
62 
66 
68 
74 
78  int voiid_;
79  bool ist2d_;
80  bool is2d_;
81  bool stretchz_;
82 
83  int totalnr_;
84  bool isvint_;
85  bool isvrms_;
86 
87 };
88 
SeisZAxisStretcher::nrIterations
od_int64 nrIterations() const
Definition: seiszaxisstretcher.h:57
SeisZAxisStretcher
Definition: seiszaxisstretcher.h:33
TrcKeySampling
Horizontal sampling (inline and crossline range and steps).
Definition: trckeysampling.h:35
SeisZAxisStretcher::voiid_
int voiid_
Definition: seiszaxisstretcher.h:78
SeisTrcReader
reads from a seismic data store.
Definition: seisread.h:50
Seis
Summary for a Seismic object.
Definition: segydirectdef.h:22
SeisZAxisStretcher::loadTransformChunk
bool loadTransformChunk(int firstinl)
od_int64
#define od_int64
Definition: plftypes.h:35
SeisZAxisStretcher::doWork
bool doWork(od_int64, od_int64, int)
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
SeisTrc
Seismic trace.
Definition: seistrc.h:34
SeisZAxisStretcher::isOK
bool isOK() const
SeisZAxisStretcher::ist2d_
bool ist2d_
Definition: seiszaxisstretcher.h:79
SeisZAxisStretcher::init
void init(const IOObj &in, const IOObj &out)
SeisZAxisStretcher::mODTextTranslationClass
mODTextTranslationClass(SeisZAxisStretcher)
SeisSequentialWriter
Definition: seiswrite.h:126
SeisZAxisStretcher::totalnr_
int totalnr_
Definition: seiszaxisstretcher.h:83
SeisZAxisStretcher::nrthreads_
int nrthreads_
Definition: seiszaxisstretcher.h:73
TrcKeyZSampling
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
SeisZAxisStretcher::doFinish
bool doFinish(bool)
ZAxisTransform
Base class for z-axis transforms.
Definition: zaxistransform.h:37
SeisZAxisStretcher::~SeisZAxisStretcher
~SeisZAxisStretcher()
SeisZAxisStretcher::setVelTypeIsVint
void setVelTypeIsVint(bool yn)
Definition: seiszaxisstretcher.h:48
SeisZAxisStretcher::is2d_
bool is2d_
Definition: seiszaxisstretcher.h:80
SeisZAxisStretcher::setGeomID
void setGeomID(Pos::GeomID)
SeisZAxisStretcher::outcs_
TrcKeyZSampling outcs_
Definition: seiszaxisstretcher.h:75
trckeyzsampling.h
Threads::ConditionVar
Is an object that faciliates many threads to wait for something to happen.
Definition: thread.h:110
IOObj
Definition: ioobj.h:58
SeisZAxisStretcher::seisreadertdmodel_
SeisTrcReader * seisreadertdmodel_
Definition: seiszaxisstretcher.h:67
SeisZAxisStretcher::stretchz_
bool stretchz_
Definition: seiszaxisstretcher.h:81
SeisZAxisStretcher::waitforall_
bool waitforall_
Definition: seiszaxisstretcher.h:71
SeisZAxisStretcher::getModelTrace
bool getModelTrace(SeisTrc &, TrcKey &)
SeisZAxisStretcher::setVelTypeIsVrms
void setVelTypeIsVrms(bool yn)
Definition: seiszaxisstretcher.h:49
ParallelTask
Generalization of a task that can be run in parallel.
Definition: paralleltask.h:66
SeisZAxisStretcher::nrwaiting_
int nrwaiting_
Definition: seiszaxisstretcher.h:72
TrcKey
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28
SeisZAxisStretcher::seisreader_
SeisTrcReader * seisreader_
Definition: seiszaxisstretcher.h:63
SeisZAxisStretcher::doPrepare
bool doPrepare(int)
SeisZAxisStretcher::getInputTrace
bool getInputTrace(SeisTrc &, TrcKey &)
uiString
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
SeisZAxisStretcher::ztransform_
ZAxisTransform * ztransform_
Definition: seiszaxisstretcher.h:77
SeisZAxisStretcher::seiswriter_
SeisTrcWriter * seiswriter_
Definition: seiszaxisstretcher.h:69
SeisZAxisStretcher::sequentialwriter_
SeisSequentialWriter * sequentialwriter_
Definition: seiszaxisstretcher.h:70
SeisZAxisStretcher::readerlock_
Threads::ConditionVar readerlock_
Definition: seiszaxisstretcher.h:64
SeisZAxisStretcher::curhrg_
TrcKeySampling curhrg_
Definition: seiszaxisstretcher.h:76
thread.h
SeisTrcWriter
Definition: seiswrite.h:41
SeisZAxisStretcher::SeisZAxisStretcher
SeisZAxisStretcher(const IOObj &in, const IOObj &out, const TrcKeyZSampling &outcs, ZAxisTransform &, bool forward, bool stretchz)
paralleltask.h
SeisZAxisStretcher::isvrms_
bool isvrms_
Definition: seiszaxisstretcher.h:85
SeisZAxisStretcher::uiMessage
uiString uiMessage() const
will be message() again in 7.x
Definition: seiszaxisstretcher.h:46
SeisZAxisStretcher::readerlockmodel_
Threads::ConditionVar readerlockmodel_
Definition: seiszaxisstretcher.h:65
Pos::GeomID
Index_Type GeomID
Definition: commontypes.h:87
SeisZAxisStretcher::isvint_
bool isvint_
Definition: seiszaxisstretcher.h:84

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