1 #ifndef zaxistransform_h 2 #define zaxistransform_h 27 namespace ZDomain {
class Def;
class Info; }
46 virtual bool isOK()
const {
return true; }
53 virtual void setVolumeOfInterest(
int volid,
56 virtual void removeVolumeOfInterest(
int volid);
58 virtual bool loadDataIfMissing(
int volid,
TaskRunner* =0);
60 virtual bool canTransformSurv(
Pos::SurvID)
const = 0;
63 virtual void transformTrc(
const TrcKey&,
65 int sz,
float* res)
const = 0;
66 float transformTrc(
const TrcKey&,
float z)
const;
67 virtual void transformTrcBack(
const TrcKey&,
69 int sz,
float* res)
const = 0;
70 float transformTrcBack(
const TrcKey&,
float z)
const;
75 virtual float getZIntervalCenter(
bool from)
const;
78 virtual float getGoodZStep()
const;
88 const char* fromZDomainKey()
const;
89 const char* toZDomainKey()
const;
91 virtual float toZScale()
const;
93 virtual float zScale()
const {
return toZScale(); }
111 virtual void transform(
const BinID&,
113 int sz,
float* res)
const;
115 float transform(
const Coord3&)
const;
116 virtual void transformBack(
const BinID&,
118 int sz,
float* res)
const;
120 float transformBack(
const Coord3&)
const;
122 virtual void transform2D(
const char* linenm,
int trcnr,
124 int sz,
float* res)
const;
125 float transform2D(
const char* linenm,
int trcnr,
127 virtual void transformBack2D(
const char* linenm,
int trcnr,
129 int sz,
float* res)
const;
130 float transformBack2D(
const char* linenm,
int trcnr,
145 virtual ~ZAxisTransformSampler();
147 void setBinID(
const BinID& bid);
149 void setLineName(
const char*);
152 float operator[](
int idx)
const;
#define mRefCountImpl(ClassName)
Macro to setup a class with destructor for reference counting.
Definition: refcount.h:163
#define mExpClass(module)
Definition: commondefs.h:160
T to(const F &fr)
Definition: convert.h:33
Interface class for Notifier. See comments there.
Definition: callback.h:161
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
Definition: uistring.h:89
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Index_Type SurvID
Definition: commontypes.h:49
Class that can execute a task.
Definition: task.h:169
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
BinID and a value.
Definition: binidvalue.h:31
#define mDefineFactoryInClass(T, funcname)
Definition: factory.h:426
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
A cartesian coordinate in 3D space.
Definition: coord.h:72
static uiHor3DInterpol * create(uiParent *)
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
BufferString errmsg_
Definition: horizontracker.h:119
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28
Definition of z-domain.
Definition: zdomain.h:41
Information of z-domain.
Definition: zdomain.h:91