OpendTect  7.0
Public Member Functions | Static Public Member Functions | List of all members
RegularZValues Class Reference

ValueSeries<double> implementation where the Z values are retrieved from a SamplingData object, i.e. the values are never stored, but always calculated when needed. More...

Inheritance diagram for RegularZValues:
[legend]

Public Member Functions

 RegularZValues (const SamplingData< double > &, od_int64 sz, const ZDomain::Info &)
 
 RegularZValues (const SamplingData< float > &, od_int64 sz, const ZDomain::Info &)
 
 RegularZValues (const ZSampling &, const ZDomain::Info &)
 
 ~RegularZValues ()
 
ValueSeries< double > * clone () const override
 
od_int64 getIndex (double) const
 
double getStep () const
 
bool isRegular () const override
 
bool operator!= (const RegularZValues &) const
 
bool operator== (const RegularZValues &) const
 
double value (od_int64) const override
 
- Public Member Functions inherited from SamplingValues< double >
 SamplingValues (const SamplingData< double > &, std::int64_t sz)
 
 SamplingValues (const SamplingValues &)
 
 SamplingValues (const StepInterval< double > &)
 
 ~SamplingValues ()
 
char bytesPerItem () const override
 
ValueSeries< double > * clone () const override
 
const SamplingData< double > & getSampling () const
 
bool isOK () const override
 
bool operator!= (const SamplingValues< double > &) const
 
ValueSeries< double > & operator= (const SamplingValues &)
 
bool operator== (const SamplingValues< double > &) const
 
bool reSizeable () const override
 
void setSampling (const SamplingData< double > &, std::int64_t sz=-1)
 
void setSampling (const StepInterval< double > &)
 
bool setSize (std::int64_t) override
 
std::int64_t size () const override
 
double value (std::int64_t) const override
 
- Public Member Functions inherited from ValueSeries< double >
virtual ~ValueSeries ()
 
virtual double * arr ()
 
virtual const double * arr () const
 
virtual bool canSetAll () const
 
void getValues (double *, std::int64_t nrvals) const
 
void getValues (ValueSeries< double > &, std::int64_t nrvals) const
 
double operator[] (std::int64_t idx) const
 
virtual bool selfSufficient () const
 
virtual void setAll (double)
 
virtual void setValue (std::int64_t, double)
 
virtual bool writable () const
 
- Public Member Functions inherited from ZValueSeries
 ~ZValueSeries ()
 
bool inFeet () const
 
bool inMeter () const
 
bool isDepth () const
 
bool isTime () const
 
bool operator!= (const ZValueSeries &) const
 
bool operator== (const ZValueSeries &) const
 
void setScaler (const LinScaler &)
 
const ZDomain::InfozDomainInfo () const
 

Static Public Member Functions

static SamplingData< double > getDoubleSamplingData (const SamplingData< float > &)
 

Additional Inherited Members

- Protected Member Functions inherited from ZValueSeries
 ZValueSeries (const ZDomain::Info &)
 
const LinScalergetScaler () const
 
- Protected Attributes inherited from SamplingValues< double >
SamplingData< double > sd_
 
std::int64_t sz_
 

Detailed Description

ValueSeries<double> implementation where the Z values are retrieved from a SamplingData object, i.e. the values are never stored, but always calculated when needed.

<>

Constructor & Destructor Documentation

◆ RegularZValues() [1/3]

RegularZValues::RegularZValues ( const ZSampling ,
const ZDomain::Info  
)

◆ RegularZValues() [2/3]

RegularZValues::RegularZValues ( const SamplingData< float > &  ,
od_int64  sz,
const ZDomain::Info  
)

◆ RegularZValues() [3/3]

RegularZValues::RegularZValues ( const SamplingData< double > &  ,
od_int64  sz,
const ZDomain::Info  
)

◆ ~RegularZValues()

RegularZValues::~RegularZValues ( )

Member Function Documentation

◆ clone()

ValueSeries<double>* RegularZValues::clone ( ) const
overridevirtual

Implements ValueSeries< double >.

◆ getDoubleSamplingData()

static SamplingData<double> RegularZValues::getDoubleSamplingData ( const SamplingData< float > &  )
static

◆ getIndex()

od_int64 RegularZValues::getIndex ( double  ) const

◆ getStep()

double RegularZValues::getStep ( ) const

◆ isRegular()

bool RegularZValues::isRegular ( ) const
inlineoverridevirtual

Reimplemented from ZValueSeries.

◆ operator!=()

bool RegularZValues::operator!= ( const RegularZValues ) const

◆ operator==()

bool RegularZValues::operator== ( const RegularZValues ) const

◆ value()

double RegularZValues::value ( od_int64  ) const
override

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