OpendTect  6.6
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
SEGY::LoadDef Class Reference

definition for SEG-Y loading More...

Inheritance diagram for SEGY::LoadDef:
[legend]

Public Member Functions

 LoadDef ()
 
 LoadDef (const LoadDef &)
 
 ~LoadDef ()
 
bool getData (od_istream &, char *, float *vals=0) const
 
virtual void getFilePars (FilePars &) const
 
void getFileReadOpts (FileReadOpts &) const
 
LoadDef getPrepared (od_istream &) const
 
TrcHeadergetTrace (od_istream &, char *, float *) const
 
void getTrcInfo (TrcHeader &, SeisTrcInfo &, const OffsetCalculator &) const
 
ConstRefMan< Coords::CoordSystemgetUserCoordSys ()
 
bool needXY () const
 
LoadDefoperator= (const LoadDef &)
 
void reInit (bool alsohdef)
 
void setUserCoordSys (Coords::CoordSystem *crs)
 
bool skipData (od_istream &) const
 
void usePar (const IOPar &)
 
- Public Member Functions inherited from SEGY::BasicFileInfo
 BasicFileInfo ()
 
virtual ~BasicFileInfo ()
 
int bytesPerSample () const
 
DataCharacteristics getDataChar () const
 
uiString getFrom (od_istream &, bool &zinft, const bool *knownhdrswap=0)
 
TrcHeadergetTrcHdr (od_istream &) const
 
StepInterval< float > getZRange () const
 
bool goToTrace (od_istream &, od_stream_Pos, int) const
 
void init ()
 
bool isRev0 () const
 
bool isValid () const
 
int nrTracesIn (const od_istream &, od_stream_Pos p=-1) const
 
int traceDataBytes () const
 

Public Attributes

float coordscale_
 
bool havetrcnrs_
 
TrcHeaderDefhdrdef_
 
FileReadOpts::ICvsXYType icvsxytype_
 
SamplingData< float > psoffsdef_
 
FileReadOpts::PSDefType psoffssrc_
 
SamplingData< int > trcnrdef_
 
bool usezsamplinginfile_
 
- Public Attributes inherited from SEGY::BasicFileInfo
int binsr_
 
bool dataswapped_
 
short format_
 
bool hdrsswapped_
 
int ns_
 
int revision_
 
SamplingData< float > sampling_
 
int thdrns_
 
bool useformatinfile_ = true
 
bool usenrsampsinfile_ = true
 

Protected Member Functions

virtual const TrcHeaderDefgetHDef () const
 

Protected Attributes

ConstRefMan< Coords::CoordSystemcoordsys_
 

Detailed Description

definition for SEG-Y loading

<>

Constructor & Destructor Documentation

◆ LoadDef() [1/2]

SEGY::LoadDef::LoadDef ( )

◆ LoadDef() [2/2]

SEGY::LoadDef::LoadDef ( const LoadDef )

◆ ~LoadDef()

SEGY::LoadDef::~LoadDef ( )

Member Function Documentation

◆ getData()

bool SEGY::LoadDef::getData ( od_istream ,
char *  ,
float *  vals = 0 
) const

◆ getFilePars()

virtual void SEGY::LoadDef::getFilePars ( FilePars ) const
virtual

Reimplemented from SEGY::BasicFileInfo.

◆ getFileReadOpts()

void SEGY::LoadDef::getFileReadOpts ( FileReadOpts ) const

◆ getHDef()

virtual const TrcHeaderDef& SEGY::LoadDef::getHDef ( ) const
inlineprotectedvirtual

Reimplemented from SEGY::BasicFileInfo.

◆ getPrepared()

LoadDef SEGY::LoadDef::getPrepared ( od_istream ) const

◆ getTrace()

TrcHeader* SEGY::LoadDef::getTrace ( od_istream ,
char *  ,
float *   
) const

◆ getTrcInfo()

void SEGY::LoadDef::getTrcInfo ( TrcHeader ,
SeisTrcInfo ,
const OffsetCalculator  
) const

◆ getUserCoordSys()

ConstRefMan<Coords::CoordSystem> SEGY::LoadDef::getUserCoordSys ( )
inline

◆ needXY()

bool SEGY::LoadDef::needXY ( ) const

◆ operator=()

LoadDef& SEGY::LoadDef::operator= ( const LoadDef )

◆ reInit()

void SEGY::LoadDef::reInit ( bool  alsohdef)

◆ setUserCoordSys()

void SEGY::LoadDef::setUserCoordSys ( Coords::CoordSystem crs)
inline

◆ skipData()

bool SEGY::LoadDef::skipData ( od_istream ) const

◆ usePar()

void SEGY::LoadDef::usePar ( const IOPar )

Member Data Documentation

◆ coordscale_

float SEGY::LoadDef::coordscale_

◆ coordsys_

ConstRefMan<Coords::CoordSystem> SEGY::LoadDef::coordsys_
protected

◆ havetrcnrs_

bool SEGY::LoadDef::havetrcnrs_

◆ hdrdef_

TrcHeaderDef* SEGY::LoadDef::hdrdef_

◆ icvsxytype_

FileReadOpts::ICvsXYType SEGY::LoadDef::icvsxytype_

◆ psoffsdef_

SamplingData<float> SEGY::LoadDef::psoffsdef_

◆ psoffssrc_

FileReadOpts::PSDefType SEGY::LoadDef::psoffssrc_

◆ trcnrdef_

SamplingData<int> SEGY::LoadDef::trcnrdef_

◆ usezsamplinginfile_

bool SEGY::LoadDef::usezsamplinginfile_

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022