21 namespace SEGY {
class DirectDef; }
22 namespace PosInfo {
class CubeData; }
26 #define mSEGYDirectTranslNm "SEGYDirect" 41 : tr_(0), curfilenr_(-1) {}
42 virtual ~DirectReader();
47 virtual bool goTo(
const BinID&) = 0;
62 , public
SEGY::DirectReader
77 virtual bool goTo(
const BinID&);
85 bool goTo(
int,
int)
const;
93 , public
SEGY::DirectReader
109 virtual bool goTo(
const BinID&);
117 bool goTo(
int,
int)
const;
128 virtual
bool isUserSelectable(
bool fr )
const {
return fr; }
129 virtual const char* iconName()
const {
return "segy"; }
130 virtual const char* defExtension()
const {
return fileExt(); }
131 static const char* fileExt() {
return "sgydef"; }
134 {
return "Number of inlines per file"; }
145 virtual bool isUserSelectable(
bool fr )
const {
return fr; }
151 , public
SEGY::DirectReader
162 virtual bool skip(
int);
165 virtual Conn* curConn();
166 virtual BinID curBinID()
const;
167 virtual bool forRead()
const {
return forread_; }
170 virtual bool write(
const SeisTrc&);
174 virtual bool implRemove(
const IOObj*)
const;
175 virtual bool close();
176 virtual void cleanUp();
179 virtual const char*
iconName()
const {
return "segy"; }
183 virtual bool goTo(
const BinID&);
190 bool commitSelections_();
191 virtual bool initRead_();
192 virtual bool initWrite_(
const SeisTrc&);
205 void initVars(
bool for_read=
true);
208 bool positionTranslator();
212 void setCompDataFromInput();
213 virtual bool readData(
TraceData* externalbuf);
BufferString segyfilename_
Definition: segydirecttr.h:202
#define mExpClass(module)
Definition: commondefs.h:160
Definition: seispsioprov.h:171
Summary for a Seismic object.
Definition: segydirectdef.h:23
SEGYSeisTrcTranslator * tr_
Definition: segydirecttr.h:51
int curfilenr_
Definition: segydirecttr.h:52
virtual SEGY::DirectDef * getDef()
Definition: segydirecttr.h:108
int itrc_
Definition: segydirecttr.h:199
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Definition: segydirectdef.h:35
virtual bool forRead() const
Definition: segydirecttr.h:167
SEGY::DirectDef * def_
Definition: segydirecttr.h:194
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
IOPar segypars_
Definition: segydirecttr.h:201
DirectReader()
Definition: segydirecttr.h:40
virtual const char * iconName() const
Definition: segydirecttr.h:179
Position info for a 2D line.
Definition: posinfo2d.h:65
Definition: uistring.h:89
uiString errMsg() const
Definition: segydirecttr.h:104
Definition: segyfiledata.h:39
int iseg_
Definition: segydirecttr.h:198
#define mDefEmptyTranslatorConstructor(spec, clss)
Definition: transl.h:267
uiString errMsg() const
Definition: segydirecttr.h:72
reads from a 3D prestack seismic data store.
Definition: seispsread.h:56
Definition: seispsioprov.h:196
SEGY::FileDataSet * fds_
Definition: segydirecttr.h:195
bool forread_
Definition: segydirecttr.h:200
Definition: segydirecttr.h:150
static const char * sKeyNrInlPerFile()
Definition: segydirecttr.h:133
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Definition: seistrctr.h:90
virtual bool isUserSelectable(bool fr) const
Definition: segydirecttr.h:164
byte-level data characteristics of stored data.
Definition: datachar.h:37
virtual bool supportsGoTo() const
Definition: segydirecttr.h:163
Information for a seismic trace, AKA trace header info.
Definition: seisinfo.h:27
virtual SEGY::DirectDef * getDef()
Definition: segydirecttr.h:76
isTranslator(SEGYDirect, SeisPS3D) public
Definition: segydirecttr.h:124
Index_Type GeomID
Definition: commontypes.h:52
SEGY::DirectDef & def_
Definition: segydirecttr.h:113
virtual const char * defExtension() const
Definition: segydirecttr.h:158
Data connection.
Definition: conn.h:30
Position info, often segmented.
Definition: posinfo.h:40
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
BufferString segydeffilename_
Definition: segydirecttr.h:203
virtual SEGYSeisTrcTranslator * getTranslator()
Definition: segydirecttr.h:46
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
Seismic trace.
Definition: seistrc.h:34
BufferString errmsg_
Definition: horizontracker.h:119
Definition: segydirecttr.h:122
uiString errMsg() const
Definition: seistrctr.h:187
set of seismic traces.
Definition: seisbuf.h:31
Definition: segydirecttr.h:139
Definition: segydirecttr.h:36
Keys that should be used with od_process_segyio.cc.
Definition: segybatchio.h:22
virtual SEGY::DirectDef * getDef()
Definition: segydirecttr.h:182
const char * errMsg() const
Definition: horizontracker.h:61
Connection with an underlying iostream.
Definition: streamconn.h:26
bool headerread_
Definition: segydirecttr.h:196
SEGY::DirectDef & def_
Definition: segydirecttr.h:81
uiString errmsg_
Definition: segydirecttr.h:82
A set of data buffers and their interpreters.
Definition: tracedata.h:32
uiString errmsg_
Definition: segydirecttr.h:114
reads from a 2D prestack seismic data store.
Definition: seispsread.h:69
Position info for an entire 3D cube. The LineData's are not sorted.
Definition: posinfo.h:95
const SeisTrc * getTrace(EM::SubID) const
virtual uiString errMsg() const
Definition: segydirecttr.h:184
Compound key consisting of ints.
Definition: multiid.h:25
reads from 2D PS data store reader based on SEG-Y files
Definition: segydirecttr.h:92
int ild_
Definition: segydirecttr.h:197
#define isTranslator(spec, clss)
Definition: transl.h:230
Holds the context for selecting and/or creating IOObjs.
Definition: ctxtioobj.h:62
reads from 3D PS data store reader based on SEG-Y files
Definition: segydirecttr.h:61