OpendTect-6_4  6.4
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
SeisTrcInfo Class Reference

Information for a seismic trace, AKA trace header info. More...

Public Types

enum  Fld {
  TrcNr =0, Pick, RefNr, CoordX,
  CoordY, BinIDInl, BinIDCrl, Offset,
  Azimuth
}
 
typedef Index_Type IdxType
 

Public Member Functions

 SeisTrcInfo ()
 
const BinIDbinID () const
 
IdxType inl () const
 
IdxType crl () const
 
SeisTrcInfosetBinID (const BinID &bid)
 
SeisTrcInfosetInl (IdxType inr)
 
SeisTrcInfosetCrl (IdxType inr)
 
int nearestSample (float pos) const
 
float samplePos (int idx) const
 
SampleGate sampleGate (const Interval< float > &) const
 
bool dataPresent (float pos, int trcsize) const
 
 mDeclareEnumUtils (Fld) double getValue(Fld) const
 
int getDefaultAxisFld (Seis::GeomType, const SeisTrcInfo *next) const
 
void getInterestingFlds (Seis::GeomType, IOPar &) const
 
void setPSFlds (const Coord &rcvpos, const Coord &srcpos, bool setpos=false)
 
Seis::PosKey posKey (Seis::GeomType) const
 
void setPosKey (const Seis::PosKey &)
 
void putTo (PosAuxInfo &) const
 
void getFrom (const PosAuxInfo &)
 
void fillPar (IOPar &) const
 
void usePar (const IOPar &)
 

Static Public Member Functions

static void getAxisCandidates (Seis::GeomType, TypeSet< Fld > &)
 
static float defaultSampleInterval (bool forcetime=false)
 

Public Attributes

SamplingData< float > sampling
 
int nr
 
BinID binid
 
Coord coord
 
float offset
 
float azimuth
 
float refnr
 
float pick
 
float zref
 
bool new_packet
 

Static Public Attributes

static const char * sSamplingInfo
 
static const char * sNrSamples
 

Detailed Description

Information for a seismic trace, AKA trace header info.

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
TrcNr 
Pick 
RefNr 
CoordX 
CoordY 
BinIDInl 
BinIDCrl 
Offset 
Azimuth 

Constructor & Destructor Documentation

SeisTrcInfo::SeisTrcInfo ( )
inline

Member Function Documentation

const BinID& SeisTrcInfo::binID ( ) const
inline
IdxType SeisTrcInfo::crl ( ) const
inline
bool SeisTrcInfo::dataPresent ( float  pos,
int  trcsize 
) const
static float SeisTrcInfo::defaultSampleInterval ( bool  forcetime = false)
static
void SeisTrcInfo::fillPar ( IOPar ) const
static void SeisTrcInfo::getAxisCandidates ( Seis::GeomType  ,
TypeSet< Fld > &   
)
static
int SeisTrcInfo::getDefaultAxisFld ( Seis::GeomType  ,
const SeisTrcInfo next 
) const
void SeisTrcInfo::getFrom ( const PosAuxInfo )
void SeisTrcInfo::getInterestingFlds ( Seis::GeomType  ,
IOPar  
) const
IdxType SeisTrcInfo::inl ( ) const
inline
SeisTrcInfo::mDeclareEnumUtils ( Fld  ) const
int SeisTrcInfo::nearestSample ( float  pos) const
Seis::PosKey SeisTrcInfo::posKey ( Seis::GeomType  ) const
void SeisTrcInfo::putTo ( PosAuxInfo ) const
SampleGate SeisTrcInfo::sampleGate ( const Interval< float > &  ) const
float SeisTrcInfo::samplePos ( int  idx) const
inline
SeisTrcInfo& SeisTrcInfo::setBinID ( const BinID bid)
inline
SeisTrcInfo& SeisTrcInfo::setCrl ( IdxType  inr)
inline
SeisTrcInfo& SeisTrcInfo::setInl ( IdxType  inr)
inline
void SeisTrcInfo::setPosKey ( const Seis::PosKey )
void SeisTrcInfo::setPSFlds ( const Coord rcvpos,
const Coord srcpos,
bool  setpos = false 
)
void SeisTrcInfo::usePar ( const IOPar )

Member Data Documentation

float SeisTrcInfo::azimuth
BinID SeisTrcInfo::binid
Coord SeisTrcInfo::coord
bool SeisTrcInfo::new_packet
int SeisTrcInfo::nr
float SeisTrcInfo::offset
float SeisTrcInfo::pick
float SeisTrcInfo::refnr
SamplingData<float> SeisTrcInfo::sampling
const char* SeisTrcInfo::sNrSamples
static
const char* SeisTrcInfo::sSamplingInfo
static
float SeisTrcInfo::zref

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