OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SeisCBVSPSIO Class Reference

Implementation class: I/O from a CBVS prestack seismic data store. More...

Inheritance diagram for SeisCBVSPSIO:
[legend]

Public Member Functions

 SeisCBVSPSIO (const char *dirnm)
 
virtual ~SeisCBVSPSIO ()
 
uiString errMsg () const
 
const char * ext () const
 
BufferString get2DFileName (const char *lnm) const
 
BufferString get2DFileName (Pos::GeomID) const
 
bool get3DFileNames (BufferStringSet &, const Interval< int > *inlrg=0) const
 
bool getSampleNames (BufferStringSet &) const
 
void setPrefStorType (DataCharacteristics::UserType ut)
 
bool setSampleNames (const BufferStringSet &) const
 
void usePar (const IOPar &)
 

Static Public Member Functions

static int getInlNr (const char *filenm)
 

Protected Member Functions

void close ()
 
bool dirNmOK (bool forread) const
 
bool goTo (int, int) const
 
bool prepGather (int, SeisTrcBuf &) const
 
SeisTrcreadNewTrace (int) const
 
bool startWrite (const char *, const SeisTrc &)
 

Protected Attributes

const BufferString dirnm_
 
uiString errmsg_
 
int nringather_
 
DataCharacteristics::UserType reqdtype_
 
const BufferString selmask_
 
CBVSSeisTrcTranslatortr_
 

Detailed Description

Implementation class: I/O from a CBVS prestack seismic data store.

Every (in)line is a CBVS cube. A gather corresponds to one crossline/trace number). Because CBSV seismics is inline-sorted, the crossline number is stored as inline in the cube. Upon retrieval actual BinID and Coord are restored.

In 2D, things are a bit more 'normal'. Every trace number is an inline and the crosslines are simply sequence numbers for the vaious offsets.

You can make an instance of this class, to construct file names.

<>

Constructor & Destructor Documentation

◆ SeisCBVSPSIO()

SeisCBVSPSIO::SeisCBVSPSIO ( const char *  dirnm)

◆ ~SeisCBVSPSIO()

virtual SeisCBVSPSIO::~SeisCBVSPSIO ( )
virtual

Member Function Documentation

◆ close()

void SeisCBVSPSIO::close ( )
protected

◆ dirNmOK()

bool SeisCBVSPSIO::dirNmOK ( bool  forread) const
protected

◆ errMsg()

uiString SeisCBVSPSIO::errMsg ( ) const
inline

◆ ext()

const char* SeisCBVSPSIO::ext ( ) const
inline

◆ get2DFileName() [1/2]

BufferString SeisCBVSPSIO::get2DFileName ( const char *  lnm) const

◆ get2DFileName() [2/2]

BufferString SeisCBVSPSIO::get2DFileName ( Pos::GeomID  ) const

◆ get3DFileNames()

bool SeisCBVSPSIO::get3DFileNames ( BufferStringSet ,
const Interval< int > *  inlrg = 0 
) const

◆ getInlNr()

static int SeisCBVSPSIO::getInlNr ( const char *  filenm)
static

◆ getSampleNames()

bool SeisCBVSPSIO::getSampleNames ( BufferStringSet ) const

◆ goTo()

bool SeisCBVSPSIO::goTo ( int  ,
int   
) const
protected

◆ prepGather()

bool SeisCBVSPSIO::prepGather ( int  ,
SeisTrcBuf  
) const
protected

◆ readNewTrace()

SeisTrc* SeisCBVSPSIO::readNewTrace ( int  ) const
protected

◆ setPrefStorType()

void SeisCBVSPSIO::setPrefStorType ( DataCharacteristics::UserType  ut)
inline

◆ setSampleNames()

bool SeisCBVSPSIO::setSampleNames ( const BufferStringSet ) const

◆ startWrite()

bool SeisCBVSPSIO::startWrite ( const char *  ,
const SeisTrc  
)
protected

◆ usePar()

void SeisCBVSPSIO::usePar ( const IOPar )

Member Data Documentation

◆ dirnm_

const BufferString SeisCBVSPSIO::dirnm_
protected

◆ errmsg_

uiString SeisCBVSPSIO::errmsg_
mutableprotected

◆ nringather_

int SeisCBVSPSIO::nringather_
protected

◆ reqdtype_

DataCharacteristics::UserType SeisCBVSPSIO::reqdtype_
protected

◆ selmask_

const BufferString SeisCBVSPSIO::selmask_
protected

◆ tr_

CBVSSeisTrcTranslator* SeisCBVSPSIO::tr_
protected

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