Open Inventor
Release 2023.2.3
Loading...
Searching...
No Matches
SoVRSegyReader.h
Go to the documentation of this file.
1
/*=======================================================================
2
*** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
3
*** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
4
*** ***
5
*** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
6
*** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
7
*** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
8
*** ***
9
*** RESTRICTED RIGHTS LEGEND ***
10
*** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
11
*** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
12
*** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
13
*** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
14
*** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
15
*** ***
16
*** COPYRIGHT (C) 1996-2014 BY FEI S.A.S, ***
17
*** BORDEAUX, FRANCE ***
18
*** ALL RIGHTS RESERVED ***
19
**=======================================================================*/
20
/*=======================================================================
21
** Author : T. DUFOUR (MMM yyyy)
22
**=======================================================================*/
23
24
#ifndef _SO_VRSEGY_READER_
25
#define _SO_VRSEGY_READER_
26
27
#include <
VolumeViz/readers/SoVolumeReader.h
>
28
29
struct
SoVRSegyTraceIdHeader
;
30
44
class
SoVRSegyTraceHeaderBytePosition
45
{
46
public
:
50
SoVRSegyTraceHeaderBytePosition
();
51
55
enum
TraceAttribute
{
56
SEGY_TRACL
,
// Trace sequence number within line
57
SEGY_TRACR
,
// Trace sequence number within reel
58
SEGY_FLDR
,
// Field record number
59
SEGY_TRACF
,
// Trace number within field record
60
SEGY_EP
,
// Energy source point number
61
SEGY_CDP
,
// CDP ensemble number
62
SEGY_CDPT
,
// Trace number within CDP ensemble
63
SEGY_TRID
,
// Trace identification code
64
SEGY_NVS
,
// Number of vertically summed traces
65
SEGY_NHS
,
// Number of horizontally summed traces
66
SEGY_DUSE
,
// Data use
67
SEGY_OFFSET
,
// Distance from source point to receiver group
68
SEGY_GELEV
,
// Receiver group elevation from sea level
69
SEGY_SELEV
,
// Source elevation from sea level
70
SEGY_SDEPTH
,
// Source depth (positive)
71
SEGY_GDEL
,
// Datum elevation at receiver group
72
SEGY_SDEL
,
// Datum elevation at source
73
SEGY_SWDEP
,
// Water depth at source
74
SEGY_GWDEP
,
// Water depth at receiver group
75
SEGY_SCALEL
,
// Scale factor for previous 7 entries
76
SEGY_SCALCO
,
// Scale factor for next 4 entries
77
SEGY_SX
,
// X source coordinate
78
SEGY_SY
,
// Y source coordinate
79
SEGY_GX
,
// X group coordinate
80
SEGY_GY
,
// Y group coordinate
81
SEGY_COUNIT
,
// Coordinate units code
82
SEGY_WEVEL
,
// Weathering velocity
83
SEGY_SWEVEL
,
// Subweathering velocity
84
SEGY_SUT
,
// Uphole time at source
85
SEGY_GUT
,
// Uphole time at receiver group
86
SEGY_SSTAT
,
// Source static correction
87
SEGY_GSTAT
,
// Group static correction
88
SEGY_TSTAT
,
// Total static applied
89
SEGY_LAGA
,
// Lag time A
90
SEGY_LAGB
,
// Lag time B
91
SEGY_DELRT
,
// Delay Record Time
92
SEGY_MUTS
,
// Mute time--start
93
SEGY_MUTE
,
// Mute time--end
94
SEGY_NS
,
// Number of samples in this trace
95
SEGY_DT
,
// Sample interval, in micro-seconds
96
SEGY_GAIN
,
// Gain type of field instruments code
97
SEGY_IGC
,
// Instrument gain constant
98
SEGY_IGI
,
// Instrument early or initial gain
99
SEGY_CORR
,
// Correlated
100
SEGY_SFS
,
// Sweep frequency at start
101
SEGY_SFE
,
// Sweep frequency at end
102
SEGY_SLEN
,
// Sweep length in ms
103
SEGY_STYP
,
// Sweep type code
104
SEGY_STAS
,
// Sweep trace length at start
105
SEGY_STAE
,
// Sweep trace length at end
106
SEGY_TATYP
,
// Taper type
107
SEGY_AFILF
,
// Alias filter frequency
108
SEGY_AFILS
,
// Alias filter slope
109
SEGY_NOFILF
,
// Notch filter frequency
110
SEGY_NOFILS
,
// Notch filter slope
111
SEGY_LCF
,
// Low cut frequency
112
SEGY_HCF
,
// High cut frequncy
113
SEGY_LCS
,
// Low cut slope
114
SEGY_HCS
,
// High cut slope
115
SEGY_YEAR
,
// Year data recorded
116
SEGY_DAY
,
// Day of year
117
SEGY_HOUR
,
// Hour of day
118
SEGY_MINUTE
,
// Minute of hour
119
SEGY_SEC
,
// Second of minute
120
SEGY_TIMBAS
,
// Time basis code
121
SEGY_TRWF
,
// Trace weighting factor
122
SEGY_GRNORS
,
// Geophone group number of roll switch position one
123
SEGY_GRNOFR
,
// Geophone group number of trace one within original field record
124
SEGY_GRNLOF
,
// Geophone group number of last trace within original field record
125
SEGY_GAPS
,
// Gap size
126
SEGY_OTRAV
,
// Overtravel taper code
127
SEGY_CDPX
,
128
SEGY_CDPY
,
129
SEGY_INLINENUMBER
,
130
SEGY_CROSSLINENUMBER
,
131
SEGY_SHOTPOINTNUMBER
,
132
SEGY_SHOTPOINTSCALE
,
133
SEGY_TVMU
,
// Trace value measurement unit
134
SEGY_TRANSDUCTIONCONSTANTM
,
// Transduction Constant Mantissa
135
SEGY_TRANSDUCTIONCONSTANTP
,
// Transduction Constant Power of ten
136
SEGY_TRANSDUCTIONUNITS
,
137
SEGY_DTID
,
// Device/Trace Identifier
138
SEGY_TSCALE
,
139
140
SEGY_NUM_FIELDS
,
// To count the number of fields
141
SEGY_CROSSLINE
=
SEGY_CDP
,
// Synonym for the crossline position
142
SEGY_INLINE
=
SEGY_TRACR
// Synonym for the inline position
143
};
144
148
enum
TraceByteFormat
{
150
SEGY_INTEGER8_FORMAT
,
152
SEGY_INTEGER16_FORMAT
,
154
SEGY_INTEGER32_FORMAT
,
156
SEGY_IBM_FLOAT_FORMAT
,
158
SEGY_IEEE_FLOAT_FORMAT
159
};
160
167
void
setBytePosition
(
TraceAttribute
attr, uint8_t position );
168
uint8_t
getBytePosition
(
TraceAttribute
attr )
const
;
169
174
uint8_t
getByteLength
(
TraceAttribute
attr )
const
;
175
183
void
setByteFormat
(
TraceAttribute
attr,
TraceByteFormat
format );
184
TraceByteFormat
getByteFormat
(
TraceAttribute
attr )
const
;
185
191
int
getFieldValue
(
TraceAttribute
attr,
const
SoVRSegyTraceIdHeader
&trHdr )
const
;
192
193
private
:
194
void
resetObject();
195
196
private
:
197
uint8_t m_BytePos[
SEGY_NUM_FIELDS
];
198
TraceByteFormat
m_ByteFmt[
SEGY_NUM_FIELDS
];
199
};
200
214
struct
SoVRSegyFileHeader
215
{
216
217
public
:
219
int
jobid
;
221
int
lino
;
223
int
reno
;
225
short
ntrpr
;
227
short
nart
;
229
unsigned
short
hdt
;
231
unsigned
short
dto
;
233
unsigned
short
hns
;
235
unsigned
short
nso
;
246
short
format
;
248
short
fold
;
260
short
tsort
;
265
short
vscode
;
267
short
hsfs
;
269
short
hsfe
;
271
short
hslen
;
277
short
hstyp
;
279
short
schn
;
282
short
hstas
;
285
short
hstae
;
290
short
htatyp
;
294
short
hcorr
;
299
short
bgrcv
;
305
short
rcvm
;
309
short
mfeet
;
315
short
polyt
;
331
short
vpol
;
333
short
hunass1
[120];
335
unsigned
short
formatRevisionNumber
;
342
short
fixedLengthTraceFlag
;
345
short
numTextHeaderExt
;
347
short
hunass2
[47];
348
};
349
350
364
struct
SoVRSegyTraceIdHeader
365
{
366
367
public
:
369
int
tracl
;
371
int
tracr
;
373
int
fldr
;
375
int
tracf
;
377
int
ep
;
379
int
cdp
;
381
int
cdpt
;
441
short
trid
;
443
short
nvs
;
445
short
nhs
;
449
short
duse
;
452
int
offset
;
454
int
gelev
;
456
int
selev
;
458
int
sdepth
;
460
int
gdel
;
462
int
sdel
;
464
int
swdep
;
466
int
gwdep
;
469
short
scalel
;
472
short
scalco
;
474
int
sx
;
476
int
sy
;
478
int
gx
;
480
int
gy
;
489
short
counit
;
491
short
wevel
;
493
short
swevel
;
495
short
sut
;
497
short
gut
;
499
short
sstat
;
501
short
gstat
;
503
short
tstat
;
511
short
laga
;
515
short
lagb
;
521
short
delrt
;
523
short
muts
;
525
short
mute
;
527
unsigned
short
ns
;
529
unsigned
short
dt
;
535
short
gain
;
537
short
igc
;
539
short
igi
;
543
short
corr
;
545
short
sfs
;
547
short
sfe
;
549
short
slen
;
554
short
styp
;
556
short
stas
;
558
short
stae
;
560
short
tatyp
;
562
short
afilf
;
564
short
afils
;
566
short
nofilf
;
568
short
nofils
;
570
short
lcf
;
572
short
hcf
;
574
short
lcs
;
576
short
hcs
;
578
short
year
;
580
short
day
;
582
short
hour
;
584
short
minute
;
586
short
sec
;
592
short
timbas
;
594
short
trwf
;
596
short
grnors
;
598
short
grnofr
;
600
short
grnlof
;
602
short
gaps
;
606
short
otrav
;
608
int
cdpX
;
610
int
cdpY
;
612
int
inlineNumber
;
614
int
crosslineNumber
;
616
int
shotPointNumber
;
618
short
shotPointScale
;
630
short
tvmu
;
632
int
transductionConstantM
;
634
short
transductionConstantP
;
646
short
transductionUnits
;
648
short
dtid
;
651
short
tscale
;
653
short
unass
[12];
654
};
655
656
#endif
// _SO_VRSEGY_READER_
657
658
SoVolumeReader.h
SoVRSegyTraceHeaderBytePosition
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> SEGY file trace heade...
Definition
SoVRSegyReader.h:45
SoVRSegyTraceHeaderBytePosition::setBytePosition
void setBytePosition(TraceAttribute attr, uint8_t position)
Sets/Gets the byte position of a specific attribute within the trace header.
SoVRSegyTraceHeaderBytePosition::getFieldValue
int getFieldValue(TraceAttribute attr, const SoVRSegyTraceIdHeader &trHdr) const
Gets the value of a specific field.
SoVRSegyTraceHeaderBytePosition::TraceByteFormat
TraceByteFormat
Field formats.
Definition
SoVRSegyReader.h:148
SoVRSegyTraceHeaderBytePosition::SEGY_IBM_FLOAT_FORMAT
@ SEGY_IBM_FLOAT_FORMAT
Field format is IBM float.
Definition
SoVRSegyReader.h:156
SoVRSegyTraceHeaderBytePosition::SEGY_INTEGER16_FORMAT
@ SEGY_INTEGER16_FORMAT
Field format is integer 16 bits.
Definition
SoVRSegyReader.h:152
SoVRSegyTraceHeaderBytePosition::SEGY_IEEE_FLOAT_FORMAT
@ SEGY_IEEE_FLOAT_FORMAT
Field format is IEEE float.
Definition
SoVRSegyReader.h:158
SoVRSegyTraceHeaderBytePosition::SEGY_INTEGER32_FORMAT
@ SEGY_INTEGER32_FORMAT
Field format is integer 32 bits.
Definition
SoVRSegyReader.h:154
SoVRSegyTraceHeaderBytePosition::SEGY_INTEGER8_FORMAT
@ SEGY_INTEGER8_FORMAT
Field format is integer 8 bits.
Definition
SoVRSegyReader.h:150
SoVRSegyTraceHeaderBytePosition::getBytePosition
uint8_t getBytePosition(TraceAttribute attr) const
SoVRSegyTraceHeaderBytePosition::setByteFormat
void setByteFormat(TraceAttribute attr, TraceByteFormat format)
Sets/Gets the field format of a specific attribute within the trace header.
SoVRSegyTraceHeaderBytePosition::TraceAttribute
TraceAttribute
Field names.
Definition
SoVRSegyReader.h:55
SoVRSegyTraceHeaderBytePosition::SEGY_GRNOFR
@ SEGY_GRNOFR
Definition
SoVRSegyReader.h:123
SoVRSegyTraceHeaderBytePosition::SEGY_LAGB
@ SEGY_LAGB
Definition
SoVRSegyReader.h:90
SoVRSegyTraceHeaderBytePosition::SEGY_SY
@ SEGY_SY
Definition
SoVRSegyReader.h:78
SoVRSegyTraceHeaderBytePosition::SEGY_LAGA
@ SEGY_LAGA
Definition
SoVRSegyReader.h:89
SoVRSegyTraceHeaderBytePosition::SEGY_TSTAT
@ SEGY_TSTAT
Definition
SoVRSegyReader.h:88
SoVRSegyTraceHeaderBytePosition::SEGY_MUTE
@ SEGY_MUTE
Definition
SoVRSegyReader.h:93
SoVRSegyTraceHeaderBytePosition::SEGY_FLDR
@ SEGY_FLDR
Definition
SoVRSegyReader.h:58
SoVRSegyTraceHeaderBytePosition::SEGY_TRANSDUCTIONUNITS
@ SEGY_TRANSDUCTIONUNITS
Definition
SoVRSegyReader.h:136
SoVRSegyTraceHeaderBytePosition::SEGY_SX
@ SEGY_SX
Definition
SoVRSegyReader.h:77
SoVRSegyTraceHeaderBytePosition::SEGY_LCS
@ SEGY_LCS
Definition
SoVRSegyReader.h:113
SoVRSegyTraceHeaderBytePosition::SEGY_TRACF
@ SEGY_TRACF
Definition
SoVRSegyReader.h:59
SoVRSegyTraceHeaderBytePosition::SEGY_CROSSLINE
@ SEGY_CROSSLINE
Definition
SoVRSegyReader.h:141
SoVRSegyTraceHeaderBytePosition::SEGY_IGC
@ SEGY_IGC
Definition
SoVRSegyReader.h:97
SoVRSegyTraceHeaderBytePosition::SEGY_YEAR
@ SEGY_YEAR
Definition
SoVRSegyReader.h:115
SoVRSegyTraceHeaderBytePosition::SEGY_GELEV
@ SEGY_GELEV
Definition
SoVRSegyReader.h:68
SoVRSegyTraceHeaderBytePosition::SEGY_HCS
@ SEGY_HCS
Definition
SoVRSegyReader.h:114
SoVRSegyTraceHeaderBytePosition::SEGY_CROSSLINENUMBER
@ SEGY_CROSSLINENUMBER
Definition
SoVRSegyReader.h:130
SoVRSegyTraceHeaderBytePosition::SEGY_SCALEL
@ SEGY_SCALEL
Definition
SoVRSegyReader.h:75
SoVRSegyTraceHeaderBytePosition::SEGY_INLINE
@ SEGY_INLINE
Definition
SoVRSegyReader.h:142
SoVRSegyTraceHeaderBytePosition::SEGY_STAE
@ SEGY_STAE
Definition
SoVRSegyReader.h:105
SoVRSegyTraceHeaderBytePosition::SEGY_EP
@ SEGY_EP
Definition
SoVRSegyReader.h:60
SoVRSegyTraceHeaderBytePosition::SEGY_TIMBAS
@ SEGY_TIMBAS
Definition
SoVRSegyReader.h:120
SoVRSegyTraceHeaderBytePosition::SEGY_SLEN
@ SEGY_SLEN
Definition
SoVRSegyReader.h:102
SoVRSegyTraceHeaderBytePosition::SEGY_NS
@ SEGY_NS
Definition
SoVRSegyReader.h:94
SoVRSegyTraceHeaderBytePosition::SEGY_CDPY
@ SEGY_CDPY
Definition
SoVRSegyReader.h:128
SoVRSegyTraceHeaderBytePosition::SEGY_GX
@ SEGY_GX
Definition
SoVRSegyReader.h:79
SoVRSegyTraceHeaderBytePosition::SEGY_SCALCO
@ SEGY_SCALCO
Definition
SoVRSegyReader.h:76
SoVRSegyTraceHeaderBytePosition::SEGY_NOFILF
@ SEGY_NOFILF
Definition
SoVRSegyReader.h:109
SoVRSegyTraceHeaderBytePosition::SEGY_TRWF
@ SEGY_TRWF
Definition
SoVRSegyReader.h:121
SoVRSegyTraceHeaderBytePosition::SEGY_NVS
@ SEGY_NVS
Definition
SoVRSegyReader.h:64
SoVRSegyTraceHeaderBytePosition::SEGY_SDEPTH
@ SEGY_SDEPTH
Definition
SoVRSegyReader.h:70
SoVRSegyTraceHeaderBytePosition::SEGY_TSCALE
@ SEGY_TSCALE
Definition
SoVRSegyReader.h:138
SoVRSegyTraceHeaderBytePosition::SEGY_TRACR
@ SEGY_TRACR
Definition
SoVRSegyReader.h:57
SoVRSegyTraceHeaderBytePosition::SEGY_CDPT
@ SEGY_CDPT
Definition
SoVRSegyReader.h:62
SoVRSegyTraceHeaderBytePosition::SEGY_STYP
@ SEGY_STYP
Definition
SoVRSegyReader.h:103
SoVRSegyTraceHeaderBytePosition::SEGY_LCF
@ SEGY_LCF
Definition
SoVRSegyReader.h:111
SoVRSegyTraceHeaderBytePosition::SEGY_DUSE
@ SEGY_DUSE
Definition
SoVRSegyReader.h:66
SoVRSegyTraceHeaderBytePosition::SEGY_TVMU
@ SEGY_TVMU
Definition
SoVRSegyReader.h:133
SoVRSegyTraceHeaderBytePosition::SEGY_SWDEP
@ SEGY_SWDEP
Definition
SoVRSegyReader.h:73
SoVRSegyTraceHeaderBytePosition::SEGY_SUT
@ SEGY_SUT
Definition
SoVRSegyReader.h:84
SoVRSegyTraceHeaderBytePosition::SEGY_NHS
@ SEGY_NHS
Definition
SoVRSegyReader.h:65
SoVRSegyTraceHeaderBytePosition::SEGY_SDEL
@ SEGY_SDEL
Definition
SoVRSegyReader.h:72
SoVRSegyTraceHeaderBytePosition::SEGY_IGI
@ SEGY_IGI
Definition
SoVRSegyReader.h:98
SoVRSegyTraceHeaderBytePosition::SEGY_TATYP
@ SEGY_TATYP
Definition
SoVRSegyReader.h:106
SoVRSegyTraceHeaderBytePosition::SEGY_SHOTPOINTSCALE
@ SEGY_SHOTPOINTSCALE
Definition
SoVRSegyReader.h:132
SoVRSegyTraceHeaderBytePosition::SEGY_HOUR
@ SEGY_HOUR
Definition
SoVRSegyReader.h:117
SoVRSegyTraceHeaderBytePosition::SEGY_SELEV
@ SEGY_SELEV
Definition
SoVRSegyReader.h:69
SoVRSegyTraceHeaderBytePosition::SEGY_GAIN
@ SEGY_GAIN
Definition
SoVRSegyReader.h:96
SoVRSegyTraceHeaderBytePosition::SEGY_GAPS
@ SEGY_GAPS
Definition
SoVRSegyReader.h:125
SoVRSegyTraceHeaderBytePosition::SEGY_GWDEP
@ SEGY_GWDEP
Definition
SoVRSegyReader.h:74
SoVRSegyTraceHeaderBytePosition::SEGY_SSTAT
@ SEGY_SSTAT
Definition
SoVRSegyReader.h:86
SoVRSegyTraceHeaderBytePosition::SEGY_GRNLOF
@ SEGY_GRNLOF
Definition
SoVRSegyReader.h:124
SoVRSegyTraceHeaderBytePosition::SEGY_TRACL
@ SEGY_TRACL
Definition
SoVRSegyReader.h:56
SoVRSegyTraceHeaderBytePosition::SEGY_CDPX
@ SEGY_CDPX
Definition
SoVRSegyReader.h:127
SoVRSegyTraceHeaderBytePosition::SEGY_STAS
@ SEGY_STAS
Definition
SoVRSegyReader.h:104
SoVRSegyTraceHeaderBytePosition::SEGY_AFILF
@ SEGY_AFILF
Definition
SoVRSegyReader.h:107
SoVRSegyTraceHeaderBytePosition::SEGY_DAY
@ SEGY_DAY
Definition
SoVRSegyReader.h:116
SoVRSegyTraceHeaderBytePosition::SEGY_SFE
@ SEGY_SFE
Definition
SoVRSegyReader.h:101
SoVRSegyTraceHeaderBytePosition::SEGY_MUTS
@ SEGY_MUTS
Definition
SoVRSegyReader.h:92
SoVRSegyTraceHeaderBytePosition::SEGY_GSTAT
@ SEGY_GSTAT
Definition
SoVRSegyReader.h:87
SoVRSegyTraceHeaderBytePosition::SEGY_GRNORS
@ SEGY_GRNORS
Definition
SoVRSegyReader.h:122
SoVRSegyTraceHeaderBytePosition::SEGY_NUM_FIELDS
@ SEGY_NUM_FIELDS
Definition
SoVRSegyReader.h:140
SoVRSegyTraceHeaderBytePosition::SEGY_TRANSDUCTIONCONSTANTM
@ SEGY_TRANSDUCTIONCONSTANTM
Definition
SoVRSegyReader.h:134
SoVRSegyTraceHeaderBytePosition::SEGY_OFFSET
@ SEGY_OFFSET
Definition
SoVRSegyReader.h:67
SoVRSegyTraceHeaderBytePosition::SEGY_SWEVEL
@ SEGY_SWEVEL
Definition
SoVRSegyReader.h:83
SoVRSegyTraceHeaderBytePosition::SEGY_WEVEL
@ SEGY_WEVEL
Definition
SoVRSegyReader.h:82
SoVRSegyTraceHeaderBytePosition::SEGY_GY
@ SEGY_GY
Definition
SoVRSegyReader.h:80
SoVRSegyTraceHeaderBytePosition::SEGY_OTRAV
@ SEGY_OTRAV
Definition
SoVRSegyReader.h:126
SoVRSegyTraceHeaderBytePosition::SEGY_HCF
@ SEGY_HCF
Definition
SoVRSegyReader.h:112
SoVRSegyTraceHeaderBytePosition::SEGY_INLINENUMBER
@ SEGY_INLINENUMBER
Definition
SoVRSegyReader.h:129
SoVRSegyTraceHeaderBytePosition::SEGY_TRID
@ SEGY_TRID
Definition
SoVRSegyReader.h:63
SoVRSegyTraceHeaderBytePosition::SEGY_DTID
@ SEGY_DTID
Definition
SoVRSegyReader.h:137
SoVRSegyTraceHeaderBytePosition::SEGY_CDP
@ SEGY_CDP
Definition
SoVRSegyReader.h:61
SoVRSegyTraceHeaderBytePosition::SEGY_DELRT
@ SEGY_DELRT
Definition
SoVRSegyReader.h:91
SoVRSegyTraceHeaderBytePosition::SEGY_COUNIT
@ SEGY_COUNIT
Definition
SoVRSegyReader.h:81
SoVRSegyTraceHeaderBytePosition::SEGY_DT
@ SEGY_DT
Definition
SoVRSegyReader.h:95
SoVRSegyTraceHeaderBytePosition::SEGY_SEC
@ SEGY_SEC
Definition
SoVRSegyReader.h:119
SoVRSegyTraceHeaderBytePosition::SEGY_CORR
@ SEGY_CORR
Definition
SoVRSegyReader.h:99
SoVRSegyTraceHeaderBytePosition::SEGY_TRANSDUCTIONCONSTANTP
@ SEGY_TRANSDUCTIONCONSTANTP
Definition
SoVRSegyReader.h:135
SoVRSegyTraceHeaderBytePosition::SEGY_GUT
@ SEGY_GUT
Definition
SoVRSegyReader.h:85
SoVRSegyTraceHeaderBytePosition::SEGY_GDEL
@ SEGY_GDEL
Definition
SoVRSegyReader.h:71
SoVRSegyTraceHeaderBytePosition::SEGY_AFILS
@ SEGY_AFILS
Definition
SoVRSegyReader.h:108
SoVRSegyTraceHeaderBytePosition::SEGY_SFS
@ SEGY_SFS
Definition
SoVRSegyReader.h:100
SoVRSegyTraceHeaderBytePosition::SEGY_MINUTE
@ SEGY_MINUTE
Definition
SoVRSegyReader.h:118
SoVRSegyTraceHeaderBytePosition::SEGY_SHOTPOINTNUMBER
@ SEGY_SHOTPOINTNUMBER
Definition
SoVRSegyReader.h:131
SoVRSegyTraceHeaderBytePosition::SEGY_NOFILS
@ SEGY_NOFILS
Definition
SoVRSegyReader.h:110
SoVRSegyTraceHeaderBytePosition::getByteLength
uint8_t getByteLength(TraceAttribute attr) const
Gets the field length of a specific attribute within the trace header.
SoVRSegyTraceHeaderBytePosition::SoVRSegyTraceHeaderBytePosition
SoVRSegyTraceHeaderBytePosition()
constructor
SoVRSegyTraceHeaderBytePosition::getByteFormat
TraceByteFormat getByteFormat(TraceAttribute attr) const
SoVRSegyFileHeader
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> SEGY file header.
Definition
SoVRSegyReader.h:215
SoVRSegyFileHeader::mfeet
short mfeet
Measurement system code: 1 = Meters 2 = Feet.
Definition
SoVRSegyReader.h:309
SoVRSegyFileHeader::nart
short nart
Number of auxiliary traces per record.
Definition
SoVRSegyReader.h:227
SoVRSegyFileHeader::jobid
int jobid
Job identification number.
Definition
SoVRSegyReader.h:219
SoVRSegyFileHeader::bgrcv
short bgrcv
Binary gain recovered code: 1 = Yes 2 = No.
Definition
SoVRSegyReader.h:299
SoVRSegyFileHeader::schn
short schn
Trace number of sweep channel.
Definition
SoVRSegyReader.h:279
SoVRSegyFileHeader::rcvm
short rcvm
Amplitude recovery method code: 1 = None 2 = Spherical divergence 3 = AGC 4 = Other.
Definition
SoVRSegyReader.h:305
SoVRSegyFileHeader::fixedLengthTraceFlag
short fixedLengthTraceFlag
Fixed trace length flag 1: All traces in this SEG Y file are guaranteed to have the same sample inte...
Definition
SoVRSegyReader.h:342
SoVRSegyFileHeader::hsfs
short hsfs
Sweep frequency at start.
Definition
SoVRSegyReader.h:267
SoVRSegyFileHeader::hunass1
short hunass1[120]
Unassigned.
Definition
SoVRSegyReader.h:333
SoVRSegyFileHeader::hns
unsigned short hns
Number of samples per trace for this reel.
Definition
SoVRSegyReader.h:233
SoVRSegyFileHeader::hunass2
short hunass2[47]
Unassigned.
Definition
SoVRSegyReader.h:347
SoVRSegyFileHeader::ntrpr
short ntrpr
Number of data traces per record.
Definition
SoVRSegyReader.h:225
SoVRSegyFileHeader::fold
short fold
CDP fold expected per CDP ensemble.
Definition
SoVRSegyReader.h:248
SoVRSegyFileHeader::dto
unsigned short dto
Same for original field recording.
Definition
SoVRSegyReader.h:231
SoVRSegyFileHeader::tsort
short tsort
Trace sorting code: -1 = Other 0 = Unknown 1 = As recorded (no sorting) 2 = CDP ensemble 3 ...
Definition
SoVRSegyReader.h:260
SoVRSegyFileHeader::hstyp
short hstyp
Sweep type code: 1 = Linear 2 = Parabolic 3 = Exponential 4 = Other.
Definition
SoVRSegyReader.h:277
SoVRSegyFileHeader::hdt
unsigned short hdt
Sample interval in micro secs for this reel.
Definition
SoVRSegyReader.h:229
SoVRSegyFileHeader::htatyp
short htatyp
Sweep trace taper type code: 1 = Linear 2 = Cos-squared 3 = Other.
Definition
SoVRSegyReader.h:290
SoVRSegyFileHeader::nso
unsigned short nso
Same for original field recording.
Definition
SoVRSegyReader.h:235
SoVRSegyFileHeader::vpol
short vpol
Vibratory polarity code:
Definition
SoVRSegyReader.h:331
SoVRSegyFileHeader::hstas
short hstas
Sweep trace taper length at start if tapered (the taper starts at zero time and is effective for this...
Definition
SoVRSegyReader.h:282
SoVRSegyFileHeader::vscode
short vscode
Vertical sum code: 1 = No sum 2 = Two sum... N = N sum (N = 32,767)
Definition
SoVRSegyReader.h:265
SoVRSegyFileHeader::hslen
short hslen
Sweep length (ms)
Definition
SoVRSegyReader.h:271
SoVRSegyFileHeader::format
short format
data sample format code: 0 = Fixed point (1 bytes) 1 = Floating point (4 bytes) 2 = Fixed point (...
Definition
SoVRSegyReader.h:246
SoVRSegyFileHeader::polyt
short polyt
Impulse signal polarity code: 1 = Increase in pressure or upward geophone case movement gives negati...
Definition
SoVRSegyReader.h:315
SoVRSegyFileHeader::numTextHeaderExt
short numTextHeaderExt
Number of 3200-byte Textual Header Extension records following the Binary Header.
Definition
SoVRSegyReader.h:345
SoVRSegyFileHeader::hstae
short hstae
Sweep trace taper length at end (the ending taper starts at sweep length minus the taper length at en...
Definition
SoVRSegyReader.h:285
SoVRSegyFileHeader::formatRevisionNumber
unsigned short formatRevisionNumber
SEG Y Format Revision Number, 0x0100 for revision 1.0.
Definition
SoVRSegyReader.h:335
SoVRSegyFileHeader::hcorr
short hcorr
Correlated data traces code: 1 = No 2 = Yes.
Definition
SoVRSegyReader.h:294
SoVRSegyFileHeader::lino
int lino
Line number (only one line per reel)
Definition
SoVRSegyReader.h:221
SoVRSegyFileHeader::reno
int reno
Reel number.
Definition
SoVRSegyReader.h:223
SoVRSegyFileHeader::hsfe
short hsfe
Sweep frequency at end.
Definition
SoVRSegyReader.h:269
SoVRSegyTraceIdHeader
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> SEGY trace identifica...
Definition
SoVRSegyReader.h:365
SoVRSegyTraceIdHeader::igi
short igi
Instrument early or initial gain.
Definition
SoVRSegyReader.h:539
SoVRSegyTraceIdHeader::gdel
int gdel
Datum elevation at receiver group.
Definition
SoVRSegyReader.h:460
SoVRSegyTraceIdHeader::sut
short sut
Uphole time at source.
Definition
SoVRSegyReader.h:495
SoVRSegyTraceIdHeader::transductionConstantM
int transductionConstantM
Transduction Constant Mantissa.
Definition
SoVRSegyReader.h:632
SoVRSegyTraceIdHeader::sfe
short sfe
Sweep frequency at end.
Definition
SoVRSegyReader.h:547
SoVRSegyTraceIdHeader::year
short year
Year data recorded.
Definition
SoVRSegyReader.h:578
SoVRSegyTraceIdHeader::nofils
short nofils
Notch filter slope.
Definition
SoVRSegyReader.h:568
SoVRSegyTraceIdHeader::offset
int offset
Distance from source point to receiver group (negative if opposite to direction in which the line was...
Definition
SoVRSegyReader.h:452
SoVRSegyTraceIdHeader::lcf
short lcf
Low cut frequency if used.
Definition
SoVRSegyReader.h:570
SoVRSegyTraceIdHeader::gwdep
int gwdep
Water depth at receiver group.
Definition
SoVRSegyReader.h:466
SoVRSegyTraceIdHeader::hcf
short hcf
High cut frequncy if used.
Definition
SoVRSegyReader.h:572
SoVRSegyTraceIdHeader::gx
int gx
X group coordinate.
Definition
SoVRSegyReader.h:478
SoVRSegyTraceIdHeader::laga
short laga
Lag time A, time in ms between end of 240- byte trace identification header and time break,...
Definition
SoVRSegyReader.h:511
SoVRSegyTraceIdHeader::gain
short gain
Gain type of field instruments code: 1 = Fixed 2 = Binary 3 = Floating point 4....
Definition
SoVRSegyReader.h:535
SoVRSegyTraceIdHeader::duse
short duse
Data use: 1 = Production 2 = Test.
Definition
SoVRSegyReader.h:449
SoVRSegyTraceIdHeader::tstat
short tstat
Total static applied.
Definition
SoVRSegyReader.h:503
SoVRSegyTraceIdHeader::tatyp
short tatyp
Taper type: 1=linear, 2=cos^2, 3=other.
Definition
SoVRSegyReader.h:560
SoVRSegyTraceIdHeader::mute
short mute
Mute time–end.
Definition
SoVRSegyReader.h:525
SoVRSegyTraceIdHeader::gelev
int gelev
Receiver group elevation from sea level (above sea level is positive)
Definition
SoVRSegyReader.h:454
SoVRSegyTraceIdHeader::sy
int sy
Y source coordinate.
Definition
SoVRSegyReader.h:476
SoVRSegyTraceIdHeader::igc
short igc
Instrument gain constant.
Definition
SoVRSegyReader.h:537
SoVRSegyTraceIdHeader::muts
short muts
Mute time–start.
Definition
SoVRSegyReader.h:523
SoVRSegyTraceIdHeader::scalel
short scalel
Scale factor for previous 7 entries with value plus or minus 10 to the power 0, 1,...
Definition
SoVRSegyReader.h:469
SoVRSegyTraceIdHeader::grnofr
short grnofr
Geophone group number of trace one within original field record.
Definition
SoVRSegyReader.h:598
SoVRSegyTraceIdHeader::sdepth
int sdepth
Source depth (positive)
Definition
SoVRSegyReader.h:458
SoVRSegyTraceIdHeader::lagb
short lagb
Lag time B, time in ms between the time break and the initiation time of the energy source.
Definition
SoVRSegyReader.h:515
SoVRSegyTraceIdHeader::cdp
int cdp
CDP ensemble number.
Definition
SoVRSegyReader.h:379
SoVRSegyTraceIdHeader::transductionUnits
short transductionUnits
Transduction Units 0 = Unknown 1 = Pascal (Pa) 2 = Volts (v) 3 = Millivolts (mV) 4 = Amperes (A) 5 = ...
Definition
SoVRSegyReader.h:646
SoVRSegyTraceIdHeader::ns
unsigned short ns
Number of samples in this trace.
Definition
SoVRSegyReader.h:527
SoVRSegyTraceIdHeader::tvmu
short tvmu
Trace value measurement unit 0 = Unknown 1 = Pascal (Pa) 2 = Volts (v) 3 = Millivolts (mV) 4 = Ampere...
Definition
SoVRSegyReader.h:630
SoVRSegyTraceIdHeader::transductionConstantP
short transductionConstantP
Transduction Constant Power of ten.
Definition
SoVRSegyReader.h:634
SoVRSegyTraceIdHeader::ep
int ep
Energy source point number.
Definition
SoVRSegyReader.h:377
SoVRSegyTraceIdHeader::crosslineNumber
int crosslineNumber
Cross-line number, for 3D poststack data.
Definition
SoVRSegyReader.h:614
SoVRSegyTraceIdHeader::swevel
short swevel
Subweathering velocity.
Definition
SoVRSegyReader.h:493
SoVRSegyTraceIdHeader::gut
short gut
Uphole time at receiver group.
Definition
SoVRSegyReader.h:497
SoVRSegyTraceIdHeader::afilf
short afilf
Alias filter frequency if used.
Definition
SoVRSegyReader.h:562
SoVRSegyTraceIdHeader::scalco
short scalco
Scale factor for next 4 entries with value plus or minus 10 to the power 0, 1, 2, 3,...
Definition
SoVRSegyReader.h:472
SoVRSegyTraceIdHeader::hour
short hour
Hour of day (24 hour clock)
Definition
SoVRSegyReader.h:582
SoVRSegyTraceIdHeader::minute
short minute
Minute of hour.
Definition
SoVRSegyReader.h:584
SoVRSegyTraceIdHeader::sdel
int sdel
Datum elevation at source.
Definition
SoVRSegyReader.h:462
SoVRSegyTraceIdHeader::dt
unsigned short dt
Sample interval; in micro-seconds.
Definition
SoVRSegyReader.h:529
SoVRSegyTraceIdHeader::grnors
short grnors
Geophone group number of roll switch position one.
Definition
SoVRSegyReader.h:596
SoVRSegyTraceIdHeader::dtid
short dtid
Device/Trace Identifier.
Definition
SoVRSegyReader.h:648
SoVRSegyTraceIdHeader::hcs
short hcs
High cut slope.
Definition
SoVRSegyReader.h:576
SoVRSegyTraceIdHeader::nofilf
short nofilf
Notch filter frequency if used.
Definition
SoVRSegyReader.h:566
SoVRSegyTraceIdHeader::wevel
short wevel
Weathering velocity.
Definition
SoVRSegyReader.h:491
SoVRSegyTraceIdHeader::sec
short sec
Second of minute.
Definition
SoVRSegyReader.h:586
SoVRSegyTraceIdHeader::cdpY
int cdpY
Y coordinate of ensemble (CDP) position of this trace.
Definition
SoVRSegyReader.h:610
SoVRSegyTraceIdHeader::otrav
short otrav
Overtravel taper code: 1 = Down (or behind) 2 = Up (or ahead)
Definition
SoVRSegyReader.h:606
SoVRSegyTraceIdHeader::gstat
short gstat
Group static correction.
Definition
SoVRSegyReader.h:501
SoVRSegyTraceIdHeader::tscale
short tscale
Scalar to be applied to - sut, gut, sstat, gstat, tstat, laga, lagb, delrt, muts, mute - header info ...
Definition
SoVRSegyReader.h:651
SoVRSegyTraceIdHeader::corr
short corr
Correlated: 1 = No 2 = Yes.
Definition
SoVRSegyReader.h:543
SoVRSegyTraceIdHeader::sstat
short sstat
Source static correction.
Definition
SoVRSegyReader.h:499
SoVRSegyTraceIdHeader::sfs
short sfs
Sweep frequency at start.
Definition
SoVRSegyReader.h:545
SoVRSegyTraceIdHeader::swdep
int swdep
Water depth at source.
Definition
SoVRSegyReader.h:464
SoVRSegyTraceIdHeader::counit
short counit
Coordinate units code: For previous four entries 1 = Length (meters or feet) 2 = Seconds of arc...
Definition
SoVRSegyReader.h:489
SoVRSegyTraceIdHeader::timbas
short timbas
Time basis code: 1 = Local 2 = GMT 3 = Other 4 = UTC.
Definition
SoVRSegyReader.h:592
SoVRSegyTraceIdHeader::inlineNumber
int inlineNumber
Inline-line number, for 3D poststack data.
Definition
SoVRSegyReader.h:612
SoVRSegyTraceIdHeader::fldr
int fldr
Field record number.
Definition
SoVRSegyReader.h:373
SoVRSegyTraceIdHeader::tracr
int tracr
Trace sequence number within reel.
Definition
SoVRSegyReader.h:371
SoVRSegyTraceIdHeader::cdpX
int cdpX
X coordinate of ensemble (CDP) position of this trace.
Definition
SoVRSegyReader.h:608
SoVRSegyTraceIdHeader::grnlof
short grnlof
Geophone group number of last trace within original field record.
Definition
SoVRSegyReader.h:600
SoVRSegyTraceIdHeader::shotPointScale
short shotPointScale
Scalar to be applied to shotPointNumber to give the real value.
Definition
SoVRSegyReader.h:618
SoVRSegyTraceIdHeader::nvs
short nvs
Number of vertically summed traces (see SoVRSegyFileHeader::vscode)
Definition
SoVRSegyReader.h:443
SoVRSegyTraceIdHeader::tracf
int tracf
Trace number within field record.
Definition
SoVRSegyReader.h:375
SoVRSegyTraceIdHeader::trid
short trid
Trace identification code: 1 = Seismic data 2 = Dead 3 = Dummy 4 = Time break 5 = Uphole 6...
Definition
SoVRSegyReader.h:441
SoVRSegyTraceIdHeader::delrt
short delrt
Delay recording time, time in ms between initiation time of energy source and time when recording of ...
Definition
SoVRSegyReader.h:521
SoVRSegyTraceIdHeader::trwf
short trwf
Trace weighting factor, defined as 1/2^N volts for the least sigificant bit.
Definition
SoVRSegyReader.h:594
SoVRSegyTraceIdHeader::sx
int sx
X source coordinate.
Definition
SoVRSegyReader.h:474
SoVRSegyTraceIdHeader::lcs
short lcs
Low cut slope.
Definition
SoVRSegyReader.h:574
SoVRSegyTraceIdHeader::shotPointNumber
int shotPointNumber
Shotpoint number, for 2D poststack data.
Definition
SoVRSegyReader.h:616
SoVRSegyTraceIdHeader::unass
short unass[12]
Unassigned.
Definition
SoVRSegyReader.h:653
SoVRSegyTraceIdHeader::slen
short slen
Sweep length in ms.
Definition
SoVRSegyReader.h:549
SoVRSegyTraceIdHeader::gy
int gy
Y group coordinate.
Definition
SoVRSegyReader.h:480
SoVRSegyTraceIdHeader::day
short day
Day of year.
Definition
SoVRSegyReader.h:580
SoVRSegyTraceIdHeader::stas
short stas
Sweep trace length at start in ms.
Definition
SoVRSegyReader.h:556
SoVRSegyTraceIdHeader::stae
short stae
Sweep trace length at end in ms.
Definition
SoVRSegyReader.h:558
SoVRSegyTraceIdHeader::afils
short afils
Alias filter slope.
Definition
SoVRSegyReader.h:564
SoVRSegyTraceIdHeader::nhs
short nhs
Number of horizontally summed traces (see SoVRSegyFileHeader::SoVRSegyFileHeader)
Definition
SoVRSegyReader.h:445
SoVRSegyTraceIdHeader::gaps
short gaps
Gap size (total number of groups dropped)
Definition
SoVRSegyReader.h:602
SoVRSegyTraceIdHeader::styp
short styp
Sweep type code: 1 = Linear 2 = Cos-squared 3 = Other.
Definition
SoVRSegyReader.h:554
SoVRSegyTraceIdHeader::cdpt
int cdpt
Trace number within CDP ensemble.
Definition
SoVRSegyReader.h:381
SoVRSegyTraceIdHeader::tracl
int tracl
Trace sequence number within line.
Definition
SoVRSegyReader.h:369
SoVRSegyTraceIdHeader::selev
int selev
Source elevation from sea level (above sea level is positive)
Definition
SoVRSegyReader.h:456
VolumeViz
readers
SoVRSegyReader.h
Generated by
1.9.8