OpendTect  6.6
Public Member Functions | Protected Attributes | List of all members
Attrib::Slice Class Reference

Slice containing attribute values. More...

Inheritance diagram for Attrib::Slice:
[legend]

Public Member Functions

 Slice (int nrows, int ncols, float udfval=0)
 
void setUndefValue (float udfval, bool initdata=false)
 
float undefValue () const
 
- Public Member Functions inherited from Array2DImpl< float >
 Array2DImpl (const Array2D< float > &)
 
 Array2DImpl (const Array2DImpl< float > &)
 
 Array2DImpl (const Array2DInfo &)
 
 Array2DImpl (int sz0, int sz1)
 
 ~Array2DImpl ()
 
bool canSetInfo () const
 
bool canSetStorage () const
 
void copyFrom (const Array2D< float > &)
 
float get (int, int) const
 
float ** get2DData ()
 
const float ** get2DData () const
 
const Array2DInfoinfo () const
 
bool isOK () const
 
Array2DImpl< float > & operator= (const Array2D< float > &ai)
 
Array2DImpl< float > & operator= (const Array2DImpl< float > &ai)
 
void set (int, int, float)
 
bool setInfo (const ArrayNDInfo &)
 
bool setSize (int, int)
 
bool setStorage (ValueSeries< float > *vs)
 
- Public Member Functions inherited from Array2D< float >
float getND (const int *pos) const
 
virtual void set (int, int, float)=0
 
void setND (const int *pos, float v)
 
- Public Member Functions inherited from ArrayND< float >
virtual ~ArrayND ()
 
virtual bool canChangeNrDims () 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 setStorage (ValueSeries< float > *s)
 
uint64_t totalSize () const
 
bool validPos (int *pos) const
 

Protected Attributes

float udfval_
 
- Protected Attributes inherited from Array2DImpl< float >
Array2DInfoImpl in_
 
float ** ptr2d_
 
- Protected Attributes inherited from ArrayImplBase< T >
T * ptr_
 
ValueSeries< T > * stor_
 

Additional Inherited Members

- Protected Member Functions inherited from Array2DImpl< float >
const float * getData_ () const
 
const ValueSeries< float > * getStorage_ () const
 
int64_t getStorageSize () const
 
void updateCachePointers ()
 
void updateStorage ()
 
- Protected Member Functions inherited from ArrayImplBase< T >
 ArrayImplBase ()
 
 ~ArrayImplBase ()
 
bool getDataFrom (const ArrayND< T > &templ)
 
bool setStorageInternal (ValueSeries< T > *)
 
bool setStorageNoResize (ValueSeries< T > *)
 
bool storageOK () const
 
bool updateStorageSize ()
 

Detailed Description

Slice containing attribute values.

The sliceidx determines the position of the slice in the requested cube, see AttribSliceSet for details.

<>

Constructor & Destructor Documentation

◆ Slice()

Attrib::Slice::Slice ( int  nrows,
int  ncols,
float  udfval = 0 
)

Member Function Documentation

◆ setUndefValue()

void Attrib::Slice::setUndefValue ( float  udfval,
bool  initdata = false 
)

◆ undefValue()

float Attrib::Slice::undefValue ( ) const

Member Data Documentation

◆ udfval_

float Attrib::Slice::udfval_
protected

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