OpendTect
7.0
|
Base class for Probability Density Functions. More...
Public Member Functions | |
virtual | ~ProbDenFunc () |
virtual float | averagePos (int dim) const =0 |
virtual bool | canScale () const |
virtual ProbDenFunc * | clone () const =0 |
virtual void | copyFrom (const ProbDenFunc &)=0 |
const char * | dimName (int dim) const |
virtual void | drawRandomPos (TypeSet< float > &) const =0 |
virtual void | fillPar (IOPar &) const =0 |
void | getIndexTableFor (const ProbDenFunc &pdf, TypeSet< int > &tbl) const |
tbl[0] tells what my index is for pdf's index '0' More... | |
virtual const char * | getTypeStr () const =0 |
const char * | getUOMSymbol (int dim) const |
virtual bool | hasLimits () const =0 |
virtual bool | isCompatibleWith (const ProbDenFunc &) const |
virtual bool | isEqual (const ProbDenFunc &) const |
virtual float | normFac () const |
virtual int | nrDims () const =0 |
virtual void | prepareRandDrawing () const |
virtual bool | readBulk (od_istream &, bool binary) |
virtual void | scale (float) |
void | setDimName (int dim, const char *) |
void | setUOMSymbol (int dim, const char *) |
virtual float | stddevPos (int dim) const =0 |
virtual bool | usePar (const IOPar &)=0 |
virtual float | value (const TypeSet< float > &) const =0 |
virtual void | writeBulk (od_ostream &, bool binary) const |
Public Member Functions inherited from NamedObject | |
NamedObject (const char *nm=nullptr) | |
NamedObject (const NamedObject &oth) | |
virtual | ~NamedObject () |
virtual BufferString | getName () const |
bool | getNameFromPar (const IOPar &) |
const name_type & | name () const override |
NamedObject & | operator= (const NamedObject &) |
bool | operator== (const NamedObject &oth) const |
virtual void | setName (const char *nm) |
Public Member Functions inherited from ObjectWithName | |
virtual | ~ObjectWithName () |
bool | hasName (const char *nm) const |
bool | hasName (const name_type &nm) const |
void | putNameInPar (IOPar &) const |
Static Public Member Functions | |
static const char * | sKeyNrDim () |
Protected Member Functions | |
ProbDenFunc () | |
ProbDenFunc (const ProbDenFunc &) | |
virtual bool | isEq (const ProbDenFunc &) const =0 |
already checked for type, name, dim names and units More... | |
Private Attributes | |
BufferStringSet | dimnms_ |
BufferStringSet | uoms_ |
Additional Inherited Members | |
Public Types inherited from ObjectWithName | |
typedef OD::String | name_type |
Protected Attributes inherited from NamedObject | |
BufferString | name_ |
Base class for Probability Density Functions.
The values may not be normalized; if you need them to be: multiply with 'normFac()'. What you are getting can for example be the values from a histogram. All we require is that the value() implementation always returns positive values.
<>
|
virtual |
|
protected |
|
protected |
|
pure virtual |
Implemented in ProbDenFunc1D, GaussianNDProbDenFunc, SampledNDProbDenFunc, Sampled2DProbDenFunc, and Gaussian2DProbDenFunc.
|
inlinevirtual |
Reimplemented in SampledNDProbDenFunc, Sampled2DProbDenFunc, and Sampled1DProbDenFunc.
|
pure virtual |
|
pure virtual |
const char* ProbDenFunc::dimName | ( | int | dim | ) | const |
|
pure virtual |
Implemented in ProbDenFunc2D, ProbDenFunc1D, SampledNDProbDenFunc, and GaussianNDProbDenFunc.
|
pure virtual |
void ProbDenFunc::getIndexTableFor | ( | const ProbDenFunc & | pdf, |
TypeSet< int > & | tbl | ||
) | const |
tbl[0] tells what my index is for pdf's index '0'
|
pure virtual |
const char* ProbDenFunc::getUOMSymbol | ( | int | dim | ) | const |
|
pure virtual |
Implemented in SampledNDProbDenFunc, ProbDenFunc2D, ProbDenFunc1D, and GaussianNDProbDenFunc.
|
virtual |
|
protectedpure virtual |
already checked for type, name, dim names and units
Implemented in SampledNDProbDenFunc, Sampled2DProbDenFunc, Sampled1DProbDenFunc, GaussianNDProbDenFunc, Gaussian2DProbDenFunc, and Gaussian1DProbDenFunc.
|
virtual |
|
inlinevirtual |
Reimplemented in SampledNDProbDenFunc, Sampled2DProbDenFunc, and Sampled1DProbDenFunc.
|
pure virtual |
Implemented in SampledNDProbDenFunc, ProbDenFunc2D, ProbDenFunc1D, and GaussianNDProbDenFunc.
|
inlinevirtual |
Reimplemented in SampledNDProbDenFunc, Sampled2DProbDenFunc, Sampled1DProbDenFunc, and GaussianNDProbDenFunc.
|
inlinevirtual |
Reimplemented in SampledNDProbDenFunc, Sampled2DProbDenFunc, and Sampled1DProbDenFunc.
|
inlinevirtual |
Reimplemented in SampledNDProbDenFunc, Sampled2DProbDenFunc, and Sampled1DProbDenFunc.
void ProbDenFunc::setDimName | ( | int | dim, |
const char * | |||
) |
void ProbDenFunc::setUOMSymbol | ( | int | dim, |
const char * | |||
) |
|
static |
|
pure virtual |
Implemented in SampledNDProbDenFunc, ProbDenFunc1D, GaussianNDProbDenFunc, Sampled2DProbDenFunc, and Gaussian2DProbDenFunc.
|
pure virtual |
|
pure virtual |
Implemented in ProbDenFunc2D, ProbDenFunc1D, SampledNDProbDenFunc, and GaussianNDProbDenFunc.
|
inlinevirtual |
Reimplemented in SampledNDProbDenFunc, Sampled2DProbDenFunc, and Sampled1DProbDenFunc.
|
private |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024