OpendTect  6.6
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 crl () const
 
bool dataPresent (float pos, int trcsize) const
 
void fillPar (IOPar &) const
 
int getDefaultAxisFld (Seis::GeomType, const SeisTrcInfo *next) const
 
void getFrom (const PosAuxInfo &)
 
void getInterestingFlds (Seis::GeomType, IOPar &) const
 
double getValue (Fld) const
 
IdxType inl () const
 
IdxType lineNr () const
 
int nearestSample (float pos) const
 
Seis::PosKey posKey (Seis::GeomType) const
 
void putTo (PosAuxInfo &) const
 
SampleGate sampleGate (const Interval< float > &) const
 
float samplePos (int idx) const
 
SeisTrcInfosetBinID (const BinID &bid)
 
SeisTrcInfosetCrl (IdxType inr)
 
SeisTrcInfosetInl (IdxType inr)
 
void setLineNr (int inr)
 
void setPosKey (const Seis::PosKey &)
 
void setPSFlds (const Coord &rcvpos, const Coord &srcpos, bool setpos=false)
 
void setTrcKey (const TrcKey &)
 
void setTrcNr (int inr)
 
TrcKey trcKey () const
 
IdxType trcNr () const
 
void usePar (const IOPar &)
 

Static Public Member Functions

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

Public Attributes

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

Static Public Attributes

static const char * sNrSamples
 
static const char * sSamplingInfo
 

Detailed Description

Information for a seismic trace, AKA trace header info.

<>

Member Typedef Documentation

◆ IdxType

typedef Index_Type SeisTrcInfo::IdxType

Member Enumeration Documentation

◆ Fld

Enumerator
TrcNr 
Pick 
RefNr 
CoordX 
CoordY 
BinIDInl 
BinIDCrl 
Offset 
Azimuth 

Constructor & Destructor Documentation

◆ SeisTrcInfo()

SeisTrcInfo::SeisTrcInfo ( )
inline

Member Function Documentation

◆ binID()

const BinID& SeisTrcInfo::binID ( ) const
inline

◆ crl()

IdxType SeisTrcInfo::crl ( ) const
inline

◆ dataPresent()

bool SeisTrcInfo::dataPresent ( float  pos,
int  trcsize 
) const

◆ defaultSampleInterval()

static float SeisTrcInfo::defaultSampleInterval ( bool  forcetime = false)
static

◆ fillPar()

void SeisTrcInfo::fillPar ( IOPar ) const

◆ getAxisCandidates()

static void SeisTrcInfo::getAxisCandidates ( Seis::GeomType  ,
TypeSet< Fld > &   
)
static

◆ getDefaultAxisFld()

int SeisTrcInfo::getDefaultAxisFld ( Seis::GeomType  ,
const SeisTrcInfo next 
) const

◆ getFrom()

void SeisTrcInfo::getFrom ( const PosAuxInfo )

◆ getInterestingFlds()

void SeisTrcInfo::getInterestingFlds ( Seis::GeomType  ,
IOPar  
) const

◆ getValue()

double SeisTrcInfo::getValue ( Fld  ) const

◆ inl()

IdxType SeisTrcInfo::inl ( ) const
inline

◆ lineNr()

IdxType SeisTrcInfo::lineNr ( ) const
inline

◆ nearestSample()

int SeisTrcInfo::nearestSample ( float  pos) const

◆ posKey()

Seis::PosKey SeisTrcInfo::posKey ( Seis::GeomType  ) const

◆ putTo()

void SeisTrcInfo::putTo ( PosAuxInfo ) const

◆ sampleGate()

SampleGate SeisTrcInfo::sampleGate ( const Interval< float > &  ) const

◆ samplePos()

float SeisTrcInfo::samplePos ( int  idx) const
inline

◆ setBinID()

SeisTrcInfo& SeisTrcInfo::setBinID ( const BinID bid)
inline

◆ setCrl()

SeisTrcInfo& SeisTrcInfo::setCrl ( IdxType  inr)
inline

◆ setInl()

SeisTrcInfo& SeisTrcInfo::setInl ( IdxType  inr)
inline

◆ setLineNr()

void SeisTrcInfo::setLineNr ( int  inr)
inline

◆ setPosKey()

void SeisTrcInfo::setPosKey ( const Seis::PosKey )

◆ setPSFlds()

void SeisTrcInfo::setPSFlds ( const Coord rcvpos,
const Coord srcpos,
bool  setpos = false 
)

◆ setTrcKey()

void SeisTrcInfo::setTrcKey ( const TrcKey )

◆ setTrcNr()

void SeisTrcInfo::setTrcNr ( int  inr)
inline

◆ trcKey()

TrcKey SeisTrcInfo::trcKey ( ) const
inline

◆ trcNr()

IdxType SeisTrcInfo::trcNr ( ) const
inline

◆ usePar()

void SeisTrcInfo::usePar ( const IOPar )

Member Data Documentation

◆ azimuth

float SeisTrcInfo::azimuth

◆ binid

BinID SeisTrcInfo::binid

◆ coord

Coord SeisTrcInfo::coord

◆ new_packet

bool SeisTrcInfo::new_packet

◆ nr

int SeisTrcInfo::nr

◆ offset

float SeisTrcInfo::offset

◆ pick

float SeisTrcInfo::pick

◆ refnr

float SeisTrcInfo::refnr

◆ sampling

SamplingData<float> SeisTrcInfo::sampling

◆ sNrSamples

const char* SeisTrcInfo::sNrSamples
static

◆ sSamplingInfo

const char* SeisTrcInfo::sSamplingInfo
static

◆ zref

float SeisTrcInfo::zref

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