OpendTect-6_4  6.4
seisdatapackzaxistransformer.h
Go to the documentation of this file.
1 #ifndef seisdatapackzaxistransformer_h
2 #define seisdatapackzaxistransformer_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Mahant Mothey
9  Date: June 2014
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "seisdatapack.h"
16 #include "paralleltask.h"
17 
18 class ZAxisTransform;
19 
26 {
27 public:
30 
31  void setInput( const SeisDataPack* dp )
32  { inputdp_ = dp ? dpm_.obtain(dp->id()) : 0; }
33  void setOutput( DataPack::ID& dpid )
34  { outputid_ = &dpid; dpid = DataPack::cNoID(); }
36  { zrange_ = zrg; }
37  void setInterpolate( bool yn )
38  { interpolate_ = yn; }
39 
40 protected:
41 
42  bool doPrepare(int nrthreads);
43  bool doWork(od_int64,od_int64,int threadid);
44  bool doFinish(bool success);
45  od_int64 nrIterations() const;
46 
51 
55 };
56 
57 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Summary for a Seismic object.
Definition: segydirectdef.h:23
StepInterval< float > zrange_
Definition: seisdatapackzaxistransformer.h:50
ZAxisTransform & transform_
Definition: seisdatapackzaxistransformer.h:49
Uses ZAxisTransform to output a transformed SeisDataPack for the specified input SeisDataPack.
Definition: seisdatapackzaxistransformer.h:25
void setInterpolate(bool yn)
Definition: seisdatapackzaxistransformer.h:37
static ID cNoID()
Definition: datapack.h:64
void setInput(const SeisDataPack *dp)
Definition: seisdatapackzaxistransformer.h:31
DataPack for volume data. Should be renamed to VolumeDataPack later.
Definition: datapackbase.h:200
#define od_int64
Definition: plftypes.h:36
int ID
Definition: datapack.h:38
SeisDataPack * outputdp_
Definition: seisdatapackzaxistransformer.h:53
Generalization of a task that can be run in parallel.
Definition: paralleltask.h:66
Manages DataPacks.
Definition: datapack.h:141
ID id() const
Definition: datapack.h:56
bool interpolate_
Definition: seisdatapackzaxistransformer.h:47
void setOutputZRange(const StepInterval< float > &zrg)
Definition: seisdatapackzaxistransformer.h:35
void setOutput(DataPack::ID &dpid)
Definition: seisdatapackzaxistransformer.h:33
DataPack * obtain()
DataPack::ID * outputid_
Definition: seisdatapackzaxistransformer.h:54
Base class for z-axis transforms.
Definition: zaxistransform.h:37
ConstDataPackRef< DataPack > inputdp_
Definition: seisdatapackzaxistransformer.h:52
DataPackMgr & dpm_
Definition: seisdatapackzaxistransformer.h:48

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