27 namespace SEGY {
class TxtHeader;
class BinHeader;
class TrcHeader; }
29 #define mSEGYTraceHeaderBytes 240 42 virtual bool skip(
int);
44 int traceSizeOnDisk()
const;
45 bool getFullTrcAsBuf(
unsigned char*);
61 int dataBytes()
const;
66 const unsigned char*
blockBuf()
const {
return blockbuf_; }
73 { coordsys_.set( crs ); }
98 bool commitSelections_();
99 virtual bool initRead_();
100 virtual bool initWrite_(
const SeisTrc&);
101 virtual bool writeTrc_(
const SeisTrc&);
103 bool readTraceHeadBuffer();
104 bool readDataToBuf();
106 bool writeData(
const SeisTrc&);
107 virtual bool readTapeHeader();
108 virtual void updateCDFromBuf();
110 virtual bool writeTapeHeader();
111 virtual void fillHeaderBuf(
const SeisTrc&);
113 void fillErrMsg(
const uiString&,
bool);
118 void addWarn(
int,
const char*);
119 const char* getTrcPosStr()
const;
#define mExpClass(module)
Definition: commondefs.h:160
SEGY::FileReadOpts & fileReadOpts()
Definition: segytr.h:65
Summary for a Seismic object.
Definition: segydirectdef.h:23
unsigned char * blockbuf_
Definition: segytr.h:92
SEGY::OffsetCalculator offsetcalc_
Definition: segytr.h:126
void setForceRev0(bool yn)
Definition: segytr.h:59
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
virtual bool readData(TraceData *externalbuf)
RefMan< Coords::CoordSystem > coordsys_
Definition: segytr.h:131
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
TargetComponentData * outcd_
Definition: segytr.h:94
bool headerdone_
Definition: segytr.h:89
bool rev0Forced() const
Definition: segytr.h:63
SEGY::TxtHeader * txthead_
Definition: segytr.h:79
Definition: segyfiledef.h:104
#define mSEGYTraceHeaderBytes
Definition: segytr.h:29
const unsigned char * blockBuf() const
Definition: segytr.h:66
SEGY::BinHeader & binhead_
Definition: segytr.h:80
SEGY::FileReadOpts fileopts_
Definition: segytr.h:78
const LinScaler * curtrcscale_
Definition: segytr.h:83
Definition: uistring.h:89
A cartesian coordinate in 2D space.
Definition: coord.h:25
Definition: coordsystem.h:31
ComponentData * inpcd_
Definition: segytr.h:93
BinID prevbid_
Definition: segytr.h:124
Definition: segyfiledef.h:55
void setCoordSys(Coords::CoordSystem *crs)
Definition: segytr.h:72
Byte-level data interpreter.
Definition: cbvswriter.h:22
Definition: segydirecttr.h:150
SEGY::FilePars & filePars()
Definition: segytr.h:64
int estimatedNrTraces() const
Definition: segytr.h:49
BendPoints2Coords * bp2c_
Definition: segytr.h:128
const SEGY::BinHeader & binHeader() const
Definition: segytr.h:55
int estnrtrcs_
Definition: segytr.h:129
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Definition: seistrctr.h:90
void setForcedRev(int rev)
Definition: segytr.h:58
byte-level data characteristics of stored data.
Definition: datachar.h:37
bool useinpsd_
Definition: segytr.h:86
Information for one component.
Definition: seistrctr.h:101
Information for a seismic trace, AKA trace header info.
Definition: seisinfo.h:27
bool othdomain_
Definition: segytr.h:130
SEGY::FilePars filepars_
Definition: segytr.h:77
Coord curcoord_
Definition: segytr.h:127
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
Seismic trace.
Definition: seistrc.h:34
float prevoffs_
Definition: segytr.h:125
TraceDataInterpreter * storinterp_
Definition: segytr.h:87
const SEGY::TrcHeader & trcHeader() const
Definition: segytr.h:56
virtual const char * defExtension() const
Definition: segytr.h:38
LinScaler * trcscale_
Definition: segytr.h:82
Keys that should be used with od_process_segyio.cc.
Definition: segybatchio.h:22
virtual bool implManagesObjects(const IOObj *) const
Definition: segytr.h:68
Definition: segyfiledef.h:166
const SEGY::TxtHeader * txtHeader() const
Definition: segytr.h:54
SEGY::TrcHeader & trchead_
Definition: segytr.h:81
Inter/Extra-polate bendpoints to get the coordinates.
Definition: bendpoints2coords.h:31
Connection with an underlying iostream.
Definition: streamconn.h:26
int forcedrev_
Definition: segytr.h:84
A set of data buffers and their interpreters.
Definition: tracedata.h:32
StreamConn & sConn()
Definition: segytr.h:96
int numberFormat() const
Definition: segytr.h:48
int prevtrcnr_
Definition: segytr.h:123
int forcedRev() const
Definition: segytr.h:62
Linear scaling.
Definition: scaler.h:55
#define isTranslator(spec, clss)
Definition: transl.h:230