 |
OpendTect
6.6
|
Go to the documentation of this file.
28 #define SegyTxtHeaderLength 3200
29 #define SegyBinHeaderLength 400
30 #define SegyTrcHeaderLength 240
45 void clear() { clearText(); setLineStarts(); }
70 void putAt(
int,
int,
int,
const char*);
84 void setInput(
const void*,
bool needswap=
false);
88 {
return formatBytes( format() ); }
90 {
return frmt == 3 ? 2 : (frmt == 8 ? 1 : 4); }
92 {
return f==1 || f==2 || f==3 || f==5 || f==8; }
98 {
return hdrDef()[idx]->getValue(buf_,needswap_); }
100 {
return hdrDef()[idx]->putValue(buf_,val); }
102 short format()
const {
return (
short) entryVal(EntryFmt()); }
106 bool isInFeet()
const {
return entryVal(EntryMFeet()) == 2; }
108 bool isRev0()
const {
return revision() < 1; }
116 void setFormat(
short i ) { setEntryVal(EntryFmt(),i); }
119 void setInFeet(
bool yn ) { setEntryVal(EntryMFeet(),yn?2:1); }
124 unsigned char*
buf() {
return buf_; }
125 const unsigned char*
buf()
const {
return buf_; }
155 : buf_(0), mybuf_(false), hdef_(oth.hdef_)
227 {
return hdrDef()[idx]->getValue(buf_,needswap_); }
229 {
return hdrDef()[idx]->putValue(buf_,val); }
Definition: segyhdrdef.h:85
Information for a seismic trace, AKA trace header info.
Definition: seisinfo.h:27
Summary for a Seismic object.
Definition: segydirectdef.h:22
#define mExpClass(module)
Definition: commondefs.h:177
OD class for stream read common access to the std::cin.
Definition: od_istream.h:24
A cartesian coordinate in 2D space.
Definition: coord.h:25
Definition: coordsystem.h:31
#define SegyTxtHeaderLength
Definition: segyhdr.h:28
#define SegyBinHeaderLength
Definition: segyhdr.h:29
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
Keys that should be used with od_process_segyio.cc.
Definition: segybatchio.h:22
OD class for stream write common access to the user log file, or std::cout in other than od_main.
Definition: od_ostream.h:26
byte-level data characteristics of stored data.
Definition: datachar.h:37
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021