 |
OpendTect
6.6
|
Go to the documentation of this file.
62 , coordsys_(
SI().getCoordSystem()) {}
68 bool swapHdrs()
const {
return byteswap_ > 1; }
70 {
return byteswap_ == 1 || byteswap_ == 2; }
72 { byteswap_ = hdr ? (data?2:3) : (data?1:0); }
74 static int nrFmts(
bool forread ) {
return forread ? 6 : 5; }
75 static const char**
getFmts(
bool forread);
77 static int fmtOf(
const char*,
bool forread);
172 , coordscale_(1.0f) { reset(); }
static const char * sKeyCoordScale()
static const char * sKeyCoordOpt()
Definition: segyfiledef.h:166
static const char * sKeySampleIntv()
Information for a seismic trace, AKA trace header info.
Definition: seisinfo.h:27
static const char * sKeyOffsDef()
void fillPar(IOPar &) const
@ Vol
Definition: seistype.h:32
bool usePar(const IOPar &)
float coordscale_
Definition: segyfiledef.h:180
static const char * sKeyPSOpt()
Definition: segyfiledef.h:55
Summary for a Seismic object.
Definition: segydirectdef.h:22
float timeShift(float) const
#define mExpClass(module)
Definition: commondefs.h:177
bool is2d_
Definition: segyfiledef.h:179
FileSpec(const char *fnm=0)
Definition: segyfiledef.h:40
static const char * sKeyNumberFormat()
FileReadOpts(Seis::GeomType gt=Seis::Vol)
IOObj * getIOObj(bool temporary) const
void getReport(IOPar &, bool isrev0) const
ConstRefMan< Coords::CoordSystem > coordsys_
Definition: segyfiledef.h:96
FileSpec(const IOPar &iop)
Definition: segyfiledef.h:42
void setGeomType(Seis::GeomType)
PSDefType
Definition: segyfiledef.h:113
static const char * sKeyCoordFileName()
bool havetrcnrs_
Definition: segyfiledef.h:123
static void fillParFromIOObj(const IOObj &, IOPar &)
float timeshift_
Definition: segyfiledef.h:119
static void shallowClear(IOPar &)
SamplingData< float > def_
Definition: segyfiledef.h:178
CoordDefType
Definition: segyfiledef.h:114
SamplingData< int > trcnrdef_
Definition: segyfiledef.h:124
float sampleIntv(float) const
Seis::GeomType geomType() const
Definition: segyfiledef.h:109
void scaleCoord(Coord &, const Scaler *s=0) const
static const char * sKeyForceRev0()
float coordscale_
Definition: segyfiledef.h:118
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:31
A cartesian coordinate in 2D space.
Definition: coord.h:25
bool forread_
Definition: segyfiledef.h:116
Scaling of floating point numbers.
Definition: scaler.h:33
FileReadOpts::PSDefType type_
Definition: segyfiledef.h:177
static int nrFmts(bool forread)
Definition: segyfiledef.h:74
float sampleintv_
Definition: segyfiledef.h:120
static const char * sKeyTimeShift()
static const char * nameOfFmt(int fmt, bool forread)
static int fmtOf(const char *, bool forread)
static const char ** getFmts(bool forread)
bool swapHdrs() const
, 0=no 1=data only 2=all 3=only hdrs
Definition: segyfiledef.h:68
PSDefType psdef_
Definition: segyfiledef.h:126
static const char * sKeyCoordStart()
static const char * sKeyByteSwap()
ConstRefMan< Coords::CoordSystem > getCoordSys() const
Definition: segyfiledef.h:92
Definition: coordsystem.h:31
bool forread_
Definition: segyfiledef.h:95
static const char * sKeyRevision()
int ns_
Definition: segyfiledef.h:64
CoordDefType coorddef_
Definition: segyfiledef.h:129
OffsetCalculator()
Definition: segyfiledef.h:168
static const char * sKeyICOpt()
void setCoordSys(const Coords::CoordSystem *crs)
Definition: segyfiledef.h:90
float curoffs_
Definition: segyfiledef.h:186
static const char * sKeyHaveTrcNrs()
void getReport(IOPar &, bool isrev0) const
static const char * sKeyNrSamples()
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
void setOffset(SeisTrcInfo &, const TrcHeader &) const
FilePars(bool forread=true)
Definition: segyfiledef.h:57
static const char * sKeyCoordStep()
BinID prevbid_
Definition: segyfiledef.h:187
static const char * sKeyTrcNrDef()
Definition: segyfiledef.h:37
void fillPar(IOPar &) const
Definition: segyfiledef.h:104
void setSwap(bool hdr, bool data)
Definition: segyfiledef.h:71
Keys that should be used with od_process_segyio.cc.
Definition: segybatchio.h:22
ICvsXYType
Definition: segyfiledef.h:112
bool usePar(const IOPar &)
void set(const FileReadOpts &)
TrcHeaderDef thdef_
Definition: segyfiledef.h:117
int fmt_
Definition: segyfiledef.h:65
Coord startcoord_
Definition: segyfiledef.h:130
GeomType
Definition: seistype.h:32
int byteswap_
Definition: segyfiledef.h:66
BufferString coordfnm_
Definition: segyfiledef.h:132
SamplingData< float > offsdef_
Definition: segyfiledef.h:127
Seis::GeomType geom_
Definition: segyfiledef.h:158
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
bool swapData() const
Definition: segyfiledef.h:69
ICvsXYType icdef_
Definition: segyfiledef.h:121
Coord stepcoord_
Definition: segyfiledef.h:131
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021