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

Array2D based on SeisTrcBuf. More...

Inheritance diagram for SeisTrcBufArray2D:
[legend]

Public Member Functions

 SeisTrcBufArray2D (const SeisTrcBuf *, int compnr)
 
 SeisTrcBufArray2D (SeisTrcBuf *, bool mine, int compnr)
 
 ~SeisTrcBufArray2D ()
 
bool bufIsMine () const
 
float get (int, int) const
 
void getAuxInfo (Seis::GeomType, int, IOPar &) const
 
int getComp () const
 
float * getData () const
 
const Array2DInfoinfo () const
 
bool isOK () const
 
void set (int, int, float)
 
void setBufMine (bool yn)
 
void setComp (int ic)
 
SeisTrcBuftrcBuf ()
 
const SeisTrcBuftrcBuf () const
 
- Public Member Functions inherited from Array2D< float >
virtual float ** get2DData ()
 
virtual const float ** get2DData () const
 
float getND (const int *pos) const
 
void setND (const int *pos, float v)
 
- Public Member Functions inherited from ArrayND< float >
virtual ~ArrayND ()
 
virtual bool canChangeNrDims () const
 
virtual bool canSetInfo () const
 
virtual bool canSetStorage () const
 
virtual float * get1D (const int *)
 
virtual const float * get1D (const int *) const
 
virtual int get1DDim () const
 
virtual void getAll (float *ptr) const
 
virtual void getAll (ValueSeries< float > &vs) const
 
float * getData ()
 
const float * getData () const
 
int getSize (int dim) const
 
ValueSeries< float > * getStorage ()
 
const ValueSeries< float > * getStorage () const
 
virtual bool isEmpty () const
 
virtual bool isSettable () const
 
int nrDims () const
 
virtual void setAll (float)
 
virtual bool setInfo (const ArrayNDInfo &)
 
virtual bool setStorage (ValueSeries< float > *s)
 
uint64_t totalSize () const
 
bool validPos (int *pos) const
 

Protected Attributes

SeisTrcBufbuf_
 
bool bufmine_
 
int comp_
 
Array2DInfoinfo_
 

Additional Inherited Members

- Protected Member Functions inherited from ArrayND< float >
virtual const float * getData_ () const
 
virtual const ValueSeries< float > * getStorage_ () const
 

Detailed Description

Array2D based on SeisTrcBuf.

<>

Constructor & Destructor Documentation

◆ SeisTrcBufArray2D() [1/2]

SeisTrcBufArray2D::SeisTrcBufArray2D ( SeisTrcBuf ,
bool  mine,
int  compnr 
)

◆ SeisTrcBufArray2D() [2/2]

SeisTrcBufArray2D::SeisTrcBufArray2D ( const SeisTrcBuf ,
int  compnr 
)

◆ ~SeisTrcBufArray2D()

SeisTrcBufArray2D::~SeisTrcBufArray2D ( )

Member Function Documentation

◆ bufIsMine()

bool SeisTrcBufArray2D::bufIsMine ( ) const
inline

◆ get()

float SeisTrcBufArray2D::get ( int  ,
int   
) const
virtual

Implements Array2D< float >.

◆ getAuxInfo()

void SeisTrcBufArray2D::getAuxInfo ( Seis::GeomType  ,
int  ,
IOPar  
) const

◆ getComp()

int SeisTrcBufArray2D::getComp ( ) const
inline

◆ getData()

float* SeisTrcBufArray2D::getData ( ) const
inline

◆ info()

const Array2DInfo& SeisTrcBufArray2D::info ( ) const
inlinevirtual

Implements Array2D< float >.

◆ isOK()

bool SeisTrcBufArray2D::isOK ( ) const
inlinevirtual

Reimplemented from ArrayND< float >.

◆ set()

void SeisTrcBufArray2D::set ( int  ,
int  ,
float   
)
virtual

Implements Array2D< float >.

◆ setBufMine()

void SeisTrcBufArray2D::setBufMine ( bool  yn)
inline

◆ setComp()

void SeisTrcBufArray2D::setComp ( int  ic)
inline

◆ trcBuf() [1/2]

SeisTrcBuf& SeisTrcBufArray2D::trcBuf ( )
inline

◆ trcBuf() [2/2]

const SeisTrcBuf& SeisTrcBufArray2D::trcBuf ( ) const
inline

Member Data Documentation

◆ buf_

SeisTrcBuf* SeisTrcBufArray2D::buf_
protected

◆ bufmine_

bool SeisTrcBufArray2D::bufmine_
protected

◆ comp_

int SeisTrcBufArray2D::comp_
protected

◆ info_

Array2DInfo* SeisTrcBufArray2D::info_
protected

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