13 #include "generalmod.h" 27 #define mPIEP PosImpExpPars::SVY() 28 #define mPIEPAdj(what,v,inw) PosImpExpPars::SVY().adjust##what(v,inw) 36 static void refresh() { getSVY().getFromSI(); }
44 float zScale()
const {
return zscale_; }
49 void adjustBinID(
BinID&,
bool inward)
const;
50 void adjustTrcNr(
int&,
bool inward)
const;
51 void adjustCoord(
Coord&,
bool inward)
const;
52 void adjustZ(
float&,
bool inward)
const;
53 void adjustOffset(
float&,
bool inward)
const;
55 void adjustInl(
int&,
bool inward)
const;
56 void adjustCrl(
int&,
bool inward)
const;
57 void adjustX(
double&,
bool inward)
const;
58 void adjustY(
double&,
bool inward)
const;
60 bool haveBinIDChg()
const;
61 bool haveTrcNrChg()
const;
62 bool haveCoordChg()
const;
63 bool haveZChg()
const;
64 bool haveOffsetChg()
const;
66 bool haveInlChg()
const;
67 bool haveCrlChg()
const;
68 bool haveXChg()
const;
69 bool haveYChg()
const;
89 binidscale_ = 1; binidoffs_ =
BinID(0,0);
90 trcnrscale_ = 1; trcnroffs_ = 0;
91 coordscale_ = 1; coordoffs_ =
Coord(0,0);
92 zscale_ = 1; zoffs_ = 0;
93 offsscale_ = 1; offsoffs_ = 0;
99 void survChg( CallBacker* ) { getFromSI(); }
102 static const char* sKeyOffset();
103 static const char* sKeyScale();
105 static const char* sKeyTrcNr();
107 static const char*
sKeyZ() {
return "Z"; }
109 static const char* fullKey(
const char*,
bool true_is_scale_else_offs);
#define mExpClass(module)
Definition: commondefs.h:157
BinID binidOffset() const
Definition: posimpexppars.h:39
void clear()
Definition: posimpexppars.h:87
Definition: posimpexppars.h:31
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
double coordscale_
Definition: posimpexppars.h:77
Coord coordOffset() const
Definition: posimpexppars.h:43
int trcnrscale_
Definition: posimpexppars.h:75
float offsscale_
Definition: posimpexppars.h:81
int binidScale() const
Definition: posimpexppars.h:38
void survChg(CallBacker *)
Definition: posimpexppars.h:99
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:200
float zscale_
Definition: posimpexppars.h:79
BinID binidoffs_
Definition: posimpexppars.h:74
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
int trcnrScale() const
Definition: posimpexppars.h:40
static const char * sKeyZ()
Definition: posimpexppars.h:107
float offsOffset() const
Definition: posimpexppars.h:47
int trcnrOffset() const
Definition: posimpexppars.h:41
static const char * sKeyBase()
Definition: posimpexppars.h:101
int trcnroffs_
Definition: posimpexppars.h:76
PosImpExpPars()
Definition: posimpexppars.h:86
static void refresh()
Definition: posimpexppars.h:36
float zOffset() const
Definition: posimpexppars.h:45
float offsoffs_
Definition: posimpexppars.h:82
static const char * sKeyCoord()
Definition: posimpexppars.h:106
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:28
float zScale() const
Definition: posimpexppars.h:44
Coord2d Coord
Definition: commontypes.h:83
int binidscale_
Definition: posimpexppars.h:73
double coordScale() const
Definition: posimpexppars.h:42
float offsScale() const
Definition: posimpexppars.h:46
2D point or vector class.
Definition: commontypes.h:58
static const char * sKeyBinID()
Definition: posimpexppars.h:104
float zoffs_
Definition: posimpexppars.h:80
Coord coordoffs_
Definition: posimpexppars.h:78