OpendTect  7.0
Public Member Functions | Protected 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 override
 
void getAuxInfo (Seis::GeomType, int, IOPar &) const
 
int getComp () const
 
const Array2DInfoinfo () const override
 
bool isOK () const override
 
void set (int, int, float) override
 
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 override
 
void setND (const int *pos, float v) override
 
- 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)
 
std::uint64_t totalSize () const
 
bool validPos (int *pos) const
 

Protected Member Functions

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

Protected Attributes

SeisTrcBufbuf_
 
bool bufmine_
 
int comp_
 
Array2DInfoinfo_
 

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
overridevirtual

Implements Array2D< float >.

◆ getAuxInfo()

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

◆ getComp()

int SeisTrcBufArray2D::getComp ( ) const
inline

◆ getData_()

const float* SeisTrcBufArray2D::getData_ ( ) const
inlineoverrideprotectedvirtual

Reimplemented from ArrayND< float >.

◆ info()

const Array2DInfo& SeisTrcBufArray2D::info ( ) const
inlineoverridevirtual

Implements Array2D< float >.

◆ isOK()

bool SeisTrcBufArray2D::isOK ( ) const
inlineoverridevirtual

Reimplemented from ArrayND< float >.

◆ set()

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

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-2024