OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
SEGY::ScanInfo Class Reference

info collected by scanning a SEG-Y file More...

Public Member Functions

 ScanInfo (const char *fnm, bool is2d)
 
 ~ScanInfo ()
 
BasicFileInfobasicInfo ()
 
const BasicFileInfobasicInfo () const
 
const char * fileName () const
 
void getFromSEGYBody (od_istream &, const LoadDef &, bool surv, DataClipSampler &, TaskRunner *t=0)
 will do full scan if TaskRunner passed More...
 
bool is2D () const
 
bool isEmpty () const
 
bool isFull () const
 
const HdrEntryKeyDatakeyData () const
 
void merge (const ScanInfo &)
 
int nrTraces () const
 
const PosInfo::DetectorpiDetector () const
 
const ScanRangeInforanges () const
 

Protected Member Functions

bool addNextTrace (od_istream &, char *, float *, const LoadDef &, DataClipSampler &, const OffsetCalculator &)
 
void addTrace (TrcHeader &, const float *, const LoadDef &, DataClipSampler &, const OffsetCalculator &, int trcidx)
 
void addTraces (od_istream &, Interval< int >, char *, float *, const LoadDef &, DataClipSampler &, const OffsetCalculator &)
 
void addValues (DataClipSampler &, const float *, int)
 
void ensureStepsFound (od_istream &, char *, float *, const LoadDef &, DataClipSampler &, const OffsetCalculator &)
 
void reInit ()
 

Protected Attributes

BasicFileInfo basicinfo_
 
BufferString filenm_
 
bool full_
 
int idxfirstlive_
 
HdrEntryKeyDatakeydata_
 
int nrtrcs_
 
PosInfo::Detectorpidetector_ = nullptr
 
ScanRangeInfo rgs_
 
od_stream_Pos startpos_
 

Private Member Functions

void finishGet (od_istream &)
 
void init (bool)
 

Friends

class FullUIScanner
 

Detailed Description

info collected by scanning a SEG-Y file

<>

Constructor & Destructor Documentation

◆ ScanInfo()

SEGY::ScanInfo::ScanInfo ( const char *  fnm,
bool  is2d 
)

◆ ~ScanInfo()

SEGY::ScanInfo::~ScanInfo ( )

Member Function Documentation

◆ addNextTrace()

bool SEGY::ScanInfo::addNextTrace ( od_istream ,
char *  ,
float *  ,
const LoadDef ,
DataClipSampler ,
const OffsetCalculator  
)
protected

◆ addTrace()

void SEGY::ScanInfo::addTrace ( TrcHeader ,
const float *  ,
const LoadDef ,
DataClipSampler ,
const OffsetCalculator ,
int  trcidx 
)
protected

◆ addTraces()

void SEGY::ScanInfo::addTraces ( od_istream ,
Interval< int >  ,
char *  ,
float *  ,
const LoadDef ,
DataClipSampler ,
const OffsetCalculator  
)
protected

◆ addValues()

void SEGY::ScanInfo::addValues ( DataClipSampler ,
const float *  ,
int   
)
protected

◆ basicInfo() [1/2]

BasicFileInfo& SEGY::ScanInfo::basicInfo ( )
inline

◆ basicInfo() [2/2]

const BasicFileInfo& SEGY::ScanInfo::basicInfo ( ) const
inline

◆ ensureStepsFound()

void SEGY::ScanInfo::ensureStepsFound ( od_istream ,
char *  ,
float *  ,
const LoadDef ,
DataClipSampler ,
const OffsetCalculator  
)
protected

◆ fileName()

const char* SEGY::ScanInfo::fileName ( ) const
inline

◆ finishGet()

void SEGY::ScanInfo::finishGet ( od_istream )
private

◆ getFromSEGYBody()

void SEGY::ScanInfo::getFromSEGYBody ( od_istream ,
const LoadDef ,
bool  surv,
DataClipSampler ,
TaskRunner t = 0 
)

will do full scan if TaskRunner passed

◆ init()

void SEGY::ScanInfo::init ( bool  )
private

◆ is2D()

bool SEGY::ScanInfo::is2D ( ) const

◆ isEmpty()

bool SEGY::ScanInfo::isEmpty ( ) const
inline

◆ isFull()

bool SEGY::ScanInfo::isFull ( ) const
inline

◆ keyData()

const HdrEntryKeyData& SEGY::ScanInfo::keyData ( ) const
inline

◆ merge()

void SEGY::ScanInfo::merge ( const ScanInfo )

◆ nrTraces()

int SEGY::ScanInfo::nrTraces ( ) const
inline

◆ piDetector()

const PosInfo::Detector& SEGY::ScanInfo::piDetector ( ) const
inline

◆ ranges()

const ScanRangeInfo& SEGY::ScanInfo::ranges ( ) const
inline

◆ reInit()

void SEGY::ScanInfo::reInit ( )
inlineprotected

Friends And Related Function Documentation

◆ FullUIScanner

friend class FullUIScanner
friend

Member Data Documentation

◆ basicinfo_

BasicFileInfo SEGY::ScanInfo::basicinfo_
protected

◆ filenm_

BufferString SEGY::ScanInfo::filenm_
protected

◆ full_

bool SEGY::ScanInfo::full_
protected

◆ idxfirstlive_

int SEGY::ScanInfo::idxfirstlive_
protected

◆ keydata_

HdrEntryKeyData& SEGY::ScanInfo::keydata_
protected

◆ nrtrcs_

int SEGY::ScanInfo::nrtrcs_
protected

◆ pidetector_

PosInfo::Detector* SEGY::ScanInfo::pidetector_ = nullptr
protected

◆ rgs_

ScanRangeInfo SEGY::ScanInfo::rgs_
protected

◆ startpos_

od_stream_Pos SEGY::ScanInfo::startpos_
protected

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