OpendTect
7.0
|
Make any sampled series comply with MathFunction. More...
Public Member Functions | |
SampledFunction (bool periodic_=false) | |
virtual float | getDx () const =0 |
float | getIndex (float x) const |
int | getNearestIndex (float x) const |
RT | getValue (const RT *x) const |
RT | getValue (RT x) const override |
virtual float | getX0 () const =0 |
virtual RT | operator[] (od_int64) const =0 |
virtual float | period () const |
void | setPeriodic (bool np) |
virtual int | size () const =0 |
Public Member Functions inherited from MathFunction< RT, RT > | |
RT | getNDValue (const RT *pos) const override |
int | getNrDim () const override |
Public Member Functions inherited from MathFunctionND< RT, PT > | |
virtual | ~MathFunctionND () |
virtual RT | getNDValue (const PT *) const =0 |
Protected Member Functions | |
virtual bool | doInterpolate () const |
virtual bool | extrapolate () const |
virtual bool | hasUdfs () const |
Protected Attributes | |
bool | periodic |
Make any sampled series comply with MathFunction.
If the sampled values are periodic (i.e. phase), set the periodic flag and let period() return the period ( i.e. 2*pi for phase ).
<>
|
inline |
|
inlineprotectedvirtual |
Reimplemented in SampledFunctionImpl< RT, T >.
|
inlineprotectedvirtual |
|
pure virtual |
Implemented in SampledFunctionImpl< RT, T >.
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements MathFunction< RT, RT >.
|
pure virtual |
Implemented in SampledFunctionImpl< RT, T >.
|
inlineprotectedvirtual |
Reimplemented in SampledFunctionImpl< RT, T >.
|
pure virtual |
Implemented in SampledFunctionImpl< RT, T >.
|
inlinevirtual |
Reimplemented in SampledFunctionImpl< RT, T >.
|
inline |
|
pure virtual |
Implemented in SampledFunctionImpl< RT, T >.
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024