OpendTect  7.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private 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 , SeqNr , GeomID
}
 
typedef IdxPair::IdxType IdxType
 

Public Member Functions

 SeisTrcInfo ()
 
 SeisTrcInfo (const SeisTrcInfo &)
 
 ~SeisTrcInfo ()
 
BinID binID () const
 
SeisTrcInfocalcCoord ()
 from current TrcKey position More...
 
IdxType crl () const
 
bool dataPresent (float pos, int trcsize) const
 
void fillPar (IOPar &) const
 
Pos::GeomID geomID () const
 
OD::GeomSystem geomSystem () const
 
int getDefaultAxisFld (Seis::GeomType, const SeisTrcInfo *next) const
 
Fld getDefaultAxisFld (Seis::GeomType, const SeisTrcInfo *next, const SeisTrcInfo *last) const
 
void getFrom (const PosAuxInfo &)
 
void getInterestingFlds (Seis::GeomType, IOPar &) const
 
double getValue (Fld) const
 
Pos::IdxPair idxPair () const
 
IdxType inl () const
 
bool is2D () const
 
bool is3D () const
 
bool isSynthetic () const
 
IdxType lineNr () const
 
int nearestSample (float pos) const
 
SeisTrcInfooperator= (const SeisTrcInfo &)
 
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 crl)
 
SeisTrcInfosetGeomID (Pos::GeomID)
 
SeisTrcInfosetGeomSystem (OD::GeomSystem)
 
SeisTrcInfosetInl (IdxType inl)
 
SeisTrcInfosetLineNr (IdxType)
 
SeisTrcInfosetPos (const BinID &)
 
SeisTrcInfosetPos (Pos::GeomID, IdxType)
 
void setPosKey (const Seis::PosKey &)
 
void setPSFlds (const Coord &rcvpos, const Coord &srcpos, bool setpos=false)
 
SeisTrcInfosetTrcKey (const TrcKey &)
 
SeisTrcInfosetTrcNr (IdxType)
 
const TrcKeytrcKey () 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 = 0.f
 
BinIDbinid
 
Coord coord
 
bool new_packet = false
 
int & nr
 
float offset = 0.f
 
float pick = mUdf(float)
 
float refnr = mUdf(float)
 
SamplingData< float > sampling
 
int seqnr_ = 0
 
float zref = 0.f
 

Static Public Attributes

static const char * sNrSamples
 
static const char * sSamplingInfo
 

Private Attributes

TrcKeytrckey_
 

Detailed Description

Information for a seismic trace, AKA trace header info.

<>

Member Typedef Documentation

◆ IdxType

Member Enumeration Documentation

◆ Fld

Enumerator
TrcNr 
Pick 
RefNr 
CoordX 
CoordY 
BinIDInl 
BinIDCrl 
Offset 
Azimuth 
SeqNr 
GeomID 

Constructor & Destructor Documentation

◆ SeisTrcInfo() [1/2]

SeisTrcInfo::SeisTrcInfo ( )

◆ ~SeisTrcInfo()

SeisTrcInfo::~SeisTrcInfo ( )

◆ SeisTrcInfo() [2/2]

SeisTrcInfo::SeisTrcInfo ( const SeisTrcInfo )

Member Function Documentation

◆ binID()

BinID SeisTrcInfo::binID ( ) const

◆ calcCoord()

SeisTrcInfo& SeisTrcInfo::calcCoord ( )

from current TrcKey position

◆ crl()

IdxType SeisTrcInfo::crl ( ) const

◆ dataPresent()

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

◆ defaultSampleInterval()

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

◆ fillPar()

void SeisTrcInfo::fillPar ( IOPar ) const

◆ geomID()

Pos::GeomID SeisTrcInfo::geomID ( ) const

◆ geomSystem()

OD::GeomSystem SeisTrcInfo::geomSystem ( ) const

◆ getAxisCandidates()

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

◆ getDefaultAxisFld() [1/2]

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

◆ getDefaultAxisFld() [2/2]

Fld SeisTrcInfo::getDefaultAxisFld ( Seis::GeomType  ,
const SeisTrcInfo next,
const SeisTrcInfo last 
) const

◆ getFrom()

void SeisTrcInfo::getFrom ( const PosAuxInfo )

◆ getInterestingFlds()

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

◆ getValue()

double SeisTrcInfo::getValue ( Fld  ) const

◆ idxPair()

Pos::IdxPair SeisTrcInfo::idxPair ( ) const

◆ inl()

IdxType SeisTrcInfo::inl ( ) const

◆ is2D()

bool SeisTrcInfo::is2D ( ) const

◆ is3D()

bool SeisTrcInfo::is3D ( ) const

◆ isSynthetic()

bool SeisTrcInfo::isSynthetic ( ) const

◆ lineNr()

IdxType SeisTrcInfo::lineNr ( ) const

◆ nearestSample()

int SeisTrcInfo::nearestSample ( float  pos) const

◆ operator=()

SeisTrcInfo& SeisTrcInfo::operator= ( const SeisTrcInfo )

◆ 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  crl)
inline

◆ setGeomID()

SeisTrcInfo& SeisTrcInfo::setGeomID ( Pos::GeomID  )

◆ setGeomSystem()

SeisTrcInfo& SeisTrcInfo::setGeomSystem ( OD::GeomSystem  )

◆ setInl()

SeisTrcInfo& SeisTrcInfo::setInl ( IdxType  inl)
inline

◆ setLineNr()

SeisTrcInfo& SeisTrcInfo::setLineNr ( IdxType  )

◆ setPos() [1/2]

SeisTrcInfo& SeisTrcInfo::setPos ( const BinID )

◆ setPos() [2/2]

SeisTrcInfo& SeisTrcInfo::setPos ( Pos::GeomID  ,
IdxType   
)

◆ setPosKey()

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

◆ setPSFlds()

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

◆ setTrcKey()

SeisTrcInfo& SeisTrcInfo::setTrcKey ( const TrcKey )

◆ setTrcNr()

SeisTrcInfo& SeisTrcInfo::setTrcNr ( IdxType  )

◆ trcKey()

const TrcKey& SeisTrcInfo::trcKey ( ) const
inline

◆ trcNr()

IdxType SeisTrcInfo::trcNr ( ) const

◆ usePar()

void SeisTrcInfo::usePar ( const IOPar )

Member Data Documentation

◆ azimuth

float SeisTrcInfo::azimuth = 0.f

◆ binid

BinID& SeisTrcInfo::binid

◆ coord

Coord SeisTrcInfo::coord

◆ new_packet

bool SeisTrcInfo::new_packet = false

◆ nr

int& SeisTrcInfo::nr

◆ offset

float SeisTrcInfo::offset = 0.f

◆ pick

float SeisTrcInfo::pick = mUdf(float)

◆ refnr

float SeisTrcInfo::refnr = mUdf(float)

◆ sampling

SamplingData<float> SeisTrcInfo::sampling

◆ seqnr_

int SeisTrcInfo::seqnr_ = 0

◆ sNrSamples

const char* SeisTrcInfo::sNrSamples
static

◆ sSamplingInfo

const char* SeisTrcInfo::sSamplingInfo
static

◆ trckey_

TrcKey& SeisTrcInfo::trckey_
private

◆ zref

float SeisTrcInfo::zref = 0.f

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