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

Public Member Functions

 TrcHeader (const TrcHeader &oth)
 
 TrcHeader (unsigned char *, const TrcHeaderDef &, bool rev0, bool manbuf=false)
 
 ~TrcHeader ()
 
void dump (od_ostream &) const
 
int entryVal (int idx) const
 
void fill (SeisTrcInfo &, float) const
 
Coord getCoord (bool rcv, float extcoordsc) const
 
void initRead ()
 must call once before first usage More...
 
unsigned short nrSamples () const
 
TrcHeaderoperator= (const TrcHeader &)
 
float postScale (int numbfmt) const
 
void putSampling (SamplingData< float >, unsigned short)
 
void setEntryVal (int idx, int val) const
 
void setNeedSwap (bool yn=true)
 
void use (const SeisTrcInfo &)
 

Static Public Member Functions

static int EntryCdp ()
 
static int EntryCoUnit ()
 
static int EntryCrossline ()
 
static int EntryDelRt ()
 
static int EntryDt ()
 
static int EntryDUse ()
 
static int EntryFldr ()
 
static int EntryGx ()
 
static int EntryGy ()
 
static int EntryInline ()
 
static int EntryLagA ()
 
static int EntryLagB ()
 
static int EntryNs ()
 
static int EntryOffset ()
 
static int EntryOldSP ()
 
static int EntryScalco ()
 
static int EntryScalel ()
 
static int EntrySP ()
 
static int EntrySPscale ()
 
static int EntrySx ()
 
static int EntrySy ()
 
static int EntryTracl ()
 
static int EntryTracr ()
 
static int EntryTrid ()
 
static int EntryTrwf ()
 
static int EntryXcdp ()
 
static int EntryYcdp ()
 
static void fillRev1Def (TrcHeaderDef &)
 
static const HdrDefhdrDef ()
 

Public Attributes

unsigned char * buf_
 
const TrcHeaderDefhdef_
 
bool isrev0_
 
bool isusable
 
bool nonrectcoords
 

Protected Member Functions

double getCoordScale (float extcoordsc) const
 
void getRev1Flds (SeisTrcInfo &) const
 
void putRev1Flds (const SeisTrcInfo &) const
 

Protected Attributes

int lineseqnr_
 
bool mybuf_
 
bool needswap_
 
int previnl_
 
int seqnr_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ TrcHeader() [1/2]

SEGY::TrcHeader::TrcHeader ( unsigned char *  ,
const TrcHeaderDef ,
bool  rev0,
bool  manbuf = false 
)

◆ TrcHeader() [2/2]

SEGY::TrcHeader::TrcHeader ( const TrcHeader oth)
inline

◆ ~TrcHeader()

SEGY::TrcHeader::~TrcHeader ( )

Member Function Documentation

◆ dump()

void SEGY::TrcHeader::dump ( od_ostream ) const

◆ EntryCdp()

static int SEGY::TrcHeader::EntryCdp ( )
inlinestatic

◆ EntryCoUnit()

static int SEGY::TrcHeader::EntryCoUnit ( )
inlinestatic

◆ EntryCrossline()

static int SEGY::TrcHeader::EntryCrossline ( )
inlinestatic

◆ EntryDelRt()

static int SEGY::TrcHeader::EntryDelRt ( )
inlinestatic

◆ EntryDt()

static int SEGY::TrcHeader::EntryDt ( )
inlinestatic

◆ EntryDUse()

static int SEGY::TrcHeader::EntryDUse ( )
inlinestatic

◆ EntryFldr()

static int SEGY::TrcHeader::EntryFldr ( )
inlinestatic

◆ EntryGx()

static int SEGY::TrcHeader::EntryGx ( )
inlinestatic

◆ EntryGy()

static int SEGY::TrcHeader::EntryGy ( )
inlinestatic

◆ EntryInline()

static int SEGY::TrcHeader::EntryInline ( )
inlinestatic

◆ EntryLagA()

static int SEGY::TrcHeader::EntryLagA ( )
inlinestatic

◆ EntryLagB()

static int SEGY::TrcHeader::EntryLagB ( )
inlinestatic

◆ EntryNs()

static int SEGY::TrcHeader::EntryNs ( )
inlinestatic

◆ EntryOffset()

static int SEGY::TrcHeader::EntryOffset ( )
inlinestatic

◆ EntryOldSP()

static int SEGY::TrcHeader::EntryOldSP ( )
inlinestatic

◆ EntryScalco()

static int SEGY::TrcHeader::EntryScalco ( )
inlinestatic

◆ EntryScalel()

static int SEGY::TrcHeader::EntryScalel ( )
inlinestatic

◆ EntrySP()

static int SEGY::TrcHeader::EntrySP ( )
inlinestatic

◆ EntrySPscale()

static int SEGY::TrcHeader::EntrySPscale ( )
inlinestatic

◆ EntrySx()

static int SEGY::TrcHeader::EntrySx ( )
inlinestatic

◆ EntrySy()

static int SEGY::TrcHeader::EntrySy ( )
inlinestatic

◆ EntryTracl()

static int SEGY::TrcHeader::EntryTracl ( )
inlinestatic

◆ EntryTracr()

static int SEGY::TrcHeader::EntryTracr ( )
inlinestatic

◆ EntryTrid()

static int SEGY::TrcHeader::EntryTrid ( )
inlinestatic

◆ EntryTrwf()

static int SEGY::TrcHeader::EntryTrwf ( )
inlinestatic

◆ entryVal()

int SEGY::TrcHeader::entryVal ( int  idx) const
inline

◆ EntryXcdp()

static int SEGY::TrcHeader::EntryXcdp ( )
inlinestatic

◆ EntryYcdp()

static int SEGY::TrcHeader::EntryYcdp ( )
inlinestatic

◆ fill()

void SEGY::TrcHeader::fill ( SeisTrcInfo ,
float   
) const

◆ fillRev1Def()

static void SEGY::TrcHeader::fillRev1Def ( TrcHeaderDef )
static

◆ getCoord()

Coord SEGY::TrcHeader::getCoord ( bool  rcv,
float  extcoordsc 
) const

◆ getCoordScale()

double SEGY::TrcHeader::getCoordScale ( float  extcoordsc) const
protected

◆ getRev1Flds()

void SEGY::TrcHeader::getRev1Flds ( SeisTrcInfo ) const
protected

◆ hdrDef()

static const HdrDef& SEGY::TrcHeader::hdrDef ( )
static

◆ initRead()

void SEGY::TrcHeader::initRead ( )

must call once before first usage

◆ nrSamples()

unsigned short SEGY::TrcHeader::nrSamples ( ) const

◆ operator=()

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

◆ postScale()

float SEGY::TrcHeader::postScale ( int  numbfmt) const

◆ putRev1Flds()

void SEGY::TrcHeader::putRev1Flds ( const SeisTrcInfo ) const
protected

◆ putSampling()

void SEGY::TrcHeader::putSampling ( SamplingData< float >  ,
unsigned short   
)

◆ setEntryVal()

void SEGY::TrcHeader::setEntryVal ( int  idx,
int  val 
) const
inline

◆ setNeedSwap()

void SEGY::TrcHeader::setNeedSwap ( bool  yn = true)
inline

◆ use()

void SEGY::TrcHeader::use ( const SeisTrcInfo )

Member Data Documentation

◆ buf_

unsigned char* SEGY::TrcHeader::buf_

◆ hdef_

const TrcHeaderDef& SEGY::TrcHeader::hdef_

◆ isrev0_

bool SEGY::TrcHeader::isrev0_

◆ isusable

bool SEGY::TrcHeader::isusable

◆ lineseqnr_

int SEGY::TrcHeader::lineseqnr_
protected

◆ mybuf_

bool SEGY::TrcHeader::mybuf_
protected

◆ needswap_

bool SEGY::TrcHeader::needswap_
protected

◆ nonrectcoords

bool SEGY::TrcHeader::nonrectcoords

◆ previnl_

int SEGY::TrcHeader::previnl_
protected

◆ seqnr_

int SEGY::TrcHeader::seqnr_
protected

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