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

Static Public Member Functions

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

Public Attributes

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

Protected Member Functions

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

Protected Attributes

bool mybuf_
 
bool needswap_
 
int previnl_
 
int seqnr_
 
int lineseqnr_
 

Detailed Description

Constructor & Destructor Documentation

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

Member Function Documentation

void SEGY::TrcHeader::dump ( od_ostream ) const
static int SEGY::TrcHeader::EntryCdp ( )
inlinestatic
static int SEGY::TrcHeader::EntryCoUnit ( )
inlinestatic
static int SEGY::TrcHeader::EntryCrossline ( )
inlinestatic
static int SEGY::TrcHeader::EntryDelRt ( )
inlinestatic
static int SEGY::TrcHeader::EntryDt ( )
inlinestatic
static int SEGY::TrcHeader::EntryDUse ( )
inlinestatic
static int SEGY::TrcHeader::EntryFldr ( )
inlinestatic
static int SEGY::TrcHeader::EntryGx ( )
inlinestatic
static int SEGY::TrcHeader::EntryGy ( )
inlinestatic
static int SEGY::TrcHeader::EntryInline ( )
inlinestatic
static int SEGY::TrcHeader::EntryLagA ( )
inlinestatic
static int SEGY::TrcHeader::EntryLagB ( )
inlinestatic
static int SEGY::TrcHeader::EntryNs ( )
inlinestatic
static int SEGY::TrcHeader::EntryOffset ( )
inlinestatic
static int SEGY::TrcHeader::EntryScalco ( )
inlinestatic
static int SEGY::TrcHeader::EntryScalel ( )
inlinestatic
static int SEGY::TrcHeader::EntrySP ( )
inlinestatic
static int SEGY::TrcHeader::EntrySPscale ( )
inlinestatic
static int SEGY::TrcHeader::EntrySx ( )
inlinestatic
static int SEGY::TrcHeader::EntrySy ( )
inlinestatic
static int SEGY::TrcHeader::EntryTracl ( )
inlinestatic
static int SEGY::TrcHeader::EntryTracr ( )
inlinestatic
static int SEGY::TrcHeader::EntryTrid ( )
inlinestatic
static int SEGY::TrcHeader::EntryTrwf ( )
inlinestatic
int SEGY::TrcHeader::entryVal ( int  idx) const
inline
static int SEGY::TrcHeader::EntryXcdp ( )
inlinestatic
static int SEGY::TrcHeader::EntryYcdp ( )
inlinestatic
void SEGY::TrcHeader::fill ( SeisTrcInfo ,
float   
) const
Coord SEGY::TrcHeader::getCoord ( bool  rcv,
float  extcoordsc 
) const
double SEGY::TrcHeader::getCoordScale ( float  extcoordsc) const
protected
void SEGY::TrcHeader::getRev1Flds ( SeisTrcInfo ) const
protected
static const HdrDef& SEGY::TrcHeader::hdrDef ( )
static
void SEGY::TrcHeader::initRead ( )

must call once before first usage

unsigned short SEGY::TrcHeader::nrSamples ( ) const
TrcHeader& SEGY::TrcHeader::operator= ( const TrcHeader )
float SEGY::TrcHeader::postScale ( int  numbfmt) const
void SEGY::TrcHeader::putRev1Flds ( const SeisTrcInfo ) const
protected
void SEGY::TrcHeader::putSampling ( SamplingData< float >  ,
unsigned  short 
)
void SEGY::TrcHeader::setEntryVal ( int  idx,
int  val 
) const
inline
void SEGY::TrcHeader::setNeedSwap ( bool  yn = true)
inline
void SEGY::TrcHeader::use ( const SeisTrcInfo )

Member Data Documentation

unsigned char* SEGY::TrcHeader::buf_
const TrcHeaderDef& SEGY::TrcHeader::hdef_
bool SEGY::TrcHeader::isrev0_
bool SEGY::TrcHeader::isusable
int SEGY::TrcHeader::lineseqnr_
protected
bool SEGY::TrcHeader::mybuf_
protected
bool SEGY::TrcHeader::needswap_
protected
bool SEGY::TrcHeader::nonrectcoords
int SEGY::TrcHeader::previnl_
protected
int SEGY::TrcHeader::seqnr_
protected

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