1 #ifndef stratsynthgenparams_h 2 #define stratsynthgenparams_h 15 #include "wellattribmod.h" 24 enum SynthType {
PreStack, ZeroOffset, StratProp, AngleStack,
35 static const char* sKeyInvalidInputPS() {
return "Invalid Input"; }
37 bool hasOffsets()
const;
38 bool isPreStack()
const {
return synthtype_==
PreStack; }
39 bool isPSBased()
const 40 {
return synthtype_==AngleStack ||
46 void setDefaultValues();
48 bool operator==(
const SynthGenParams& gp )
const 50 bool hassameanglerg =
true;
51 bool hassameinput =
true;
54 hassameanglerg = anglerg_==gp.anglerg_;
55 hassameinput = inpsynthnm_==gp.inpsynthnm_;
58 return isPreStack()==gp.isPreStack() && wvltnm_==gp.wvltnm_ &&
59 raypars_==gp.raypars_ && hassameanglerg && hassameinput; }
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
#define mStruct(module)
Definition: commondefs.h:165
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
Definition: synthseis.h:36
#define mDeclareEnumUtils(enm)
Some utilities surrounding the often needed enum <-> string table.
Definition: enums.h:258
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Definition: seistype.h:54
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40