OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Attrib::DataHolder Class Reference

Holds the attribute data. More...

Public Member Functions

 DataHolder (int z0, int nrsamples)
 
 ~DataHolder ()
 
DataHolderclone () const
 
ValueSeries< float > * add (bool addnull=false)
 Adds an ArrayValueSeries if !addnull. More...
 
int nrSeries () const
 
ValueSeries< float > * series (int idx) const
 
void replace (int idx, ValueSeries< float > *)
 
bool dataPresent (int samplenr) const
 
TypeSet< int > validSeriesIdx () const
 
float getValue (int serieidx, float exactz, float refstep) const
 
bool isEmpty () const
 

Static Public Member Functions

static float getExtraZFromSampPos (float, float)
 
static float getExtraZAndSampIdxFromExactZ (float, float, int &)
 

Public Attributes

int z0_
 See class comments. More...
 
int nrsamples_
 
float extrazfromsamppos_
 See class comments. More...
 
TypeSet< int > classstatus_
 

Protected Member Functions

ValueSeries< float > * gtSer (int idx) const
 

Protected Attributes

ObjectSet< ValueSeries< float > > data_
 

Detailed Description

Holds the attribute data.

Basically, this is a set of ValueSeries<float> objects, the size of each of these, and the start Z in the AE Z-Axis definition: N = N times the Z step. z0_ is therefore the amount of steps away from 0.

The AE will work with any type of ValueSeries<float>. Internally, ArrayValueSeries<float,float> objects are always allocated.

The class variable extrazfromsamppos_ is to keep track of an eventual exact position which would not be exactly on a sample ( in the case of horizons, picksets... )

Constructor & Destructor Documentation

Attrib::DataHolder::DataHolder ( int  z0,
int  nrsamples 
)
Attrib::DataHolder::~DataHolder ( )

Member Function Documentation

ValueSeries<float>* Attrib::DataHolder::add ( bool  addnull = false)

Adds an ArrayValueSeries if !addnull.

DataHolder* Attrib::DataHolder::clone ( ) const
bool Attrib::DataHolder::dataPresent ( int  samplenr) const
static float Attrib::DataHolder::getExtraZAndSampIdxFromExactZ ( float  ,
float  ,
int &   
)
static
static float Attrib::DataHolder::getExtraZFromSampPos ( float  ,
float   
)
static
float Attrib::DataHolder::getValue ( int  serieidx,
float  exactz,
float  refstep 
) const
ValueSeries<float>* Attrib::DataHolder::gtSer ( int  idx) const
protected
bool Attrib::DataHolder::isEmpty ( ) const
inline
int Attrib::DataHolder::nrSeries ( ) const
inline
void Attrib::DataHolder::replace ( int  idx,
ValueSeries< float > *   
)
ValueSeries<float>* Attrib::DataHolder::series ( int  idx) const
inline
TypeSet<int> Attrib::DataHolder::validSeriesIdx ( ) const

Member Data Documentation

TypeSet<int> Attrib::DataHolder::classstatus_
ObjectSet< ValueSeries<float> > Attrib::DataHolder::data_
protected
float Attrib::DataHolder::extrazfromsamppos_

See class comments.

int Attrib::DataHolder::nrsamples_
int Attrib::DataHolder::z0_

See class comments.


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