OpendTect
6.6
|
Holds the attribute data. More...
Public Member Functions | |
DataHolder (int z0, int nrsamples) | |
~DataHolder () | |
ValueSeries< float > * | add (bool addnull=false) |
Adds an ArrayValueSeries if !addnull. More... | |
DataHolder * | clone () const |
bool | dataPresent (int samplenr) const |
float | getValue (int serieidx, float exactz, float refstep) const |
bool | isEmpty () const |
int | nrSeries () const |
void | replace (int idx, ValueSeries< float > *) |
ValueSeries< float > * | series (int idx) const |
TypeSet< int > | validSeriesIdx () const |
Static Public Member Functions | |
static float | getExtraZAndSampIdxFromExactZ (float, float, int &) |
static float | getExtraZFromSampPos (float, float) |
Public Attributes | |
TypeSet< int > | classstatus_ |
float | extrazfromsamppos_ |
See class comments. More... | |
int | nrsamples_ |
int | z0_ |
See class comments. More... | |
Protected Member Functions | |
ValueSeries< float > * | gtSer (int idx) const |
Protected Attributes | |
ObjectSet< ValueSeries< float > > | data_ |
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... )
<>
Attrib::DataHolder::DataHolder | ( | int | z0, |
int | nrsamples | ||
) |
Attrib::DataHolder::~DataHolder | ( | ) |
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 |
|
static |
float Attrib::DataHolder::getValue | ( | int | serieidx, |
float | exactz, | ||
float | refstep | ||
) | const |
|
protected |
|
inline |
|
inline |
void Attrib::DataHolder::replace | ( | int | idx, |
ValueSeries< float > * | |||
) |
|
inline |
TypeSet<int> Attrib::DataHolder::validSeriesIdx | ( | ) | const |
TypeSet<int> Attrib::DataHolder::classstatus_ |
|
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. 1995-2022