46 IOObj* getIOObj(
bool temporary)
const;
48 static void fillParFromIOObj(
const IOObj&,
IOPar&);
63 , coordsys_(
SI().getCoordSystem()) {}
69 bool swapHdrs()
const {
return byteswap_ > 1; }
71 {
return byteswap_ == 1 || byteswap_ == 2; }
73 { byteswap_ = hdr ? (data?2:3) : (data?1:0); }
75 static int nrFmts(
bool forread ) {
return forread ? 6 : 5; }
76 static const char** getFmts(
bool forread);
77 static const char* nameOfFmt(
int fmt,
bool forread);
78 static int fmtOf(
const char*,
bool forread);
80 static const char* sKeyForceRev0();
81 static const char* sKeyRevision();
82 static const char* sKeyNrSamples();
83 static const char* sKeyNumberFormat();
84 static const char* sKeyByteSwap();
86 void setForRead(
bool);
90 void getReport(
IOPar&,
bool isrev0)
const;
136 float timeShift(
float)
const;
137 float sampleIntv(
float)
const;
139 static const char* sKeyCoordScale();
140 static const char* sKeyTimeShift();
141 static const char* sKeySampleIntv();
142 static const char* sKeyICOpt();
143 static const char* sKeyHaveTrcNrs();
144 static const char* sKeyTrcNrDef();
145 static const char* sKeyPSOpt();
146 static const char* sKeyOffsDef();
147 static const char* sKeyCoordOpt();
148 static const char* sKeyCoordStart();
149 static const char* sKeyCoordStep();
150 static const char* sKeyCoordFileName();
154 void getReport(
IOPar&,
bool isrev0)
const;
155 static void shallowClear(
IOPar&);
173 , coordscale_(1.0f) { reset(); }
float coordscale_
Definition: segyfiledef.h:181
#define mExpClass(module)
Definition: commondefs.h:160
Summary for a Seismic object.
Definition: segydirectdef.h:23
ICvsXYType icdef_
Definition: segyfiledef.h:122
SamplingData< float > def_
Definition: segyfiledef.h:179
BufferString coordfnm_
Definition: segyfiledef.h:133
SamplingData< float > offsdef_
Definition: segyfiledef.h:128
ConstRefMan< Coords::CoordSystem > coordsys_
Definition: segyfiledef.h:97
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
bool swapData() const
Definition: segyfiledef.h:70
Seis::GeomType geom_
Definition: segyfiledef.h:159
Definition: segyfiledef.h:104
bool havetrcnrs_
Definition: segyfiledef.h:124
int ns_
Definition: segyfiledef.h:65
TrcHeaderDef thdef_
Definition: segyfiledef.h:118
A cartesian coordinate in 2D space.
Definition: coord.h:25
PSDefType
Definition: segyfiledef.h:114
Definition: coordsystem.h:31
Definition: segyfiledef.h:55
GeomType
Definition: seistype.h:33
static int nrFmts(bool forread)
Definition: segyfiledef.h:75
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
PSDefType psdef_
Definition: segyfiledef.h:127
FileSpec(const IOPar &iop)
Definition: segyfiledef.h:43
ConstRefMan< Coords::CoordSystem > getCoordSys() const
Definition: segyfiledef.h:93
float coordscale_
Definition: segyfiledef.h:119
FilePars(bool forread=true)
Definition: segyfiledef.h:58
Information for a seismic trace, AKA trace header info.
Definition: seisinfo.h:27
Scaling of floating point numbers.
Definition: scaler.h:33
FileReadOpts::PSDefType type_
Definition: segyfiledef.h:178
int fmt_
Definition: segyfiledef.h:66
BinID prevbid_
Definition: segyfiledef.h:188
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
bool swapHdrs() const
, 0=no 1=data only 2=all 3=only hdrs
Definition: segyfiledef.h:69
CoordDefType
Definition: segyfiledef.h:115
Coord startcoord_
Definition: segyfiledef.h:131
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
bool forread_
Definition: segyfiledef.h:117
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
ICvsXYType
Definition: segyfiledef.h:113
Definition: seistype.h:33
void setCoordSys(const Coords::CoordSystem *crs)
Definition: segyfiledef.h:91
FileSpec(const char *fnm=0)
Definition: segyfiledef.h:41
Seis::GeomType geomType() const
Definition: segyfiledef.h:110
bool forread_
Definition: segyfiledef.h:96
Coord stepcoord_
Definition: segyfiledef.h:132
OffsetCalculator()
Definition: segyfiledef.h:169
Keys that should be used with od_process_segyio.cc.
Definition: segybatchio.h:22
float sampleintv_
Definition: segyfiledef.h:121
Definition: segyfiledef.h:166
void setSwap(bool hdr, bool data)
Definition: segyfiledef.h:72
float timeshift_
Definition: segyfiledef.h:120
CoordDefType coorddef_
Definition: segyfiledef.h:130
int byteswap_
Definition: segyfiledef.h:67
float curoffs_
Definition: segyfiledef.h:187
Definition: segyfiledef.h:37
bool is2d_
Definition: segyfiledef.h:180
SamplingData< int > trcnrdef_
Definition: segyfiledef.h:125