OpendTect
7.0
|
Two dimensional PDF based on binned data. More...
Public Member Functions | |
Sampled2DProbDenFunc (const Array2D< float > &) | |
Sampled2DProbDenFunc (const char *vnm0="", const char *vnm1="") | |
Sampled2DProbDenFunc (const Sampled2DProbDenFunc &) | |
float | averagePos (int dim) const override |
bool | canScale () const override |
Sampled2DProbDenFunc * | clone () const override |
void | copyFrom (const ProbDenFunc &) override |
void | fillPar (IOPar &) const override |
float | get (int idx, int idy) const |
const char * | getTypeStr () const override |
bool | isEq (const ProbDenFunc &oth) const override |
already checked for type, name, dim names and units More... | |
float | normFac () const override |
Sampled2DProbDenFunc & | operator= (const Sampled2DProbDenFunc &) |
void | prepareRandDrawing () const override |
bool | readBulk (od_istream &, bool binary) override |
void | scale (float f) override |
void | set (int idx, int idy, float val) |
float | stddevPos (int dim) const override |
bool | usePar (const IOPar &) override |
void | writeBulk (od_ostream &, bool binary) const override |
Public Member Functions inherited from ProbDenFunc2D | |
void | drawRandomPos (float &x1, float &x2) const |
void | drawRandomPos (TypeSet< float > &v) const override |
bool | hasLimits () const override |
int | nrDims () const override |
float | value (const TypeSet< float > &v) const override |
float | value (float x1, float x2) const |
Public Member Functions inherited from ProbDenFunc | |
virtual | ~ProbDenFunc () |
const char * | dimName (int dim) const |
void | getIndexTableFor (const ProbDenFunc &pdf, TypeSet< int > &tbl) const |
tbl[0] tells what my index is for pdf's index '0' More... | |
const char * | getUOMSymbol (int dim) const |
virtual bool | isCompatibleWith (const ProbDenFunc &) const |
virtual bool | isEqual (const ProbDenFunc &) const |
void | setDimName (int dim, const char *) |
void | setUOMSymbol (int dim, const char *) |
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 |
Public Member Functions inherited from ArrayNDProbDenFunc | |
virtual | ~ArrayNDProbDenFunc () |
void | fillPar (IOPar &) const |
ArrayND< float > * | getArrClone () const |
float | getAveragePos (int dim) const |
ArrayND< float > & | getData () |
const ArrayND< float > & | getData () const |
Interval< float > | getRange (int dim) const |
ArrayNDProbDenFunc & | operator= (const ArrayNDProbDenFunc &) |
bool | readBulkData (od_istream &, bool) |
SamplingData< float > & | sampling (int dim) |
const SamplingData< float > & | sampling (int dim) const |
void | setRange (int dim, const StepInterval< float > &) |
bool | setSize (const int *, int sz) |
bool | setSize (const TypeSet< int > &) |
int | size (int dim) const |
od_uint64 | totalSize () const |
bool | usePar (const IOPar &) |
void | writeBulkData (od_ostream &, bool) const |
Static Public Member Functions | |
static const char * | typeStr () |
Static Public Member Functions inherited from ProbDenFunc | |
static const char * | sKeyNrDim () |
Static Public Member Functions inherited from ArrayNDProbDenFunc | |
static float | findAveragePos (const float *, int, float grandtotal) |
Private Member Functions | |
void | drwRandPos (float &, float &) const override |
const ArrayND< float > & | getArrND () const override |
float | gtVal (float, float) const override |
bool | hasLims () const override |
Private Attributes | |
Array2DImpl< float > | bins_ |
Additional Inherited Members | |
Public Types inherited from ObjectWithName | |
typedef OD::String | name_type |
Protected Member Functions inherited from ProbDenFunc2D | |
ProbDenFunc2D (const char *vnm0="Dim 0", const char *vnm1="Dim 1") | |
Protected Member Functions inherited from ProbDenFunc | |
ProbDenFunc () | |
ProbDenFunc (const ProbDenFunc &) | |
Protected Member Functions inherited from ArrayNDProbDenFunc | |
ArrayNDProbDenFunc (const ArrayNDProbDenFunc &) | |
ArrayNDProbDenFunc (int nrdims) | |
virtual void | doScale (float) |
void | fillCumBins () const |
od_uint64 | getBinPos (float) const |
virtual float | getNormFac () const |
od_uint64 | getRandBin () const |
virtual bool | gtIsEq (const ProbDenFunc &) const |
int | nrDims_ () const |
void | prepRndDrw () const |
Protected Attributes inherited from NamedObject | |
BufferString | name_ |
Protected Attributes inherited from ArrayNDProbDenFunc | |
float * | cumbins_ = nullptr |
Stats::RandomGenerator & | gen_ |
Two dimensional PDF based on binned data.
<>
Sampled2DProbDenFunc::Sampled2DProbDenFunc | ( | const char * | vnm0 = "" , |
const char * | vnm1 = "" |
||
) |
Sampled2DProbDenFunc::Sampled2DProbDenFunc | ( | const Array2D< float > & | ) |
Sampled2DProbDenFunc::Sampled2DProbDenFunc | ( | const Sampled2DProbDenFunc & | ) |
|
inlineoverridevirtual |
Implements ProbDenFunc.
|
inlineoverridevirtual |
Reimplemented from ProbDenFunc.
|
inlineoverridevirtual |
Implements ProbDenFunc.
|
overridevirtual |
Implements ProbDenFunc.
|
overrideprivatevirtual |
Implements ProbDenFunc2D.
|
overridevirtual |
Implements ProbDenFunc.
|
inline |
|
inlineoverrideprivatevirtual |
Implements ArrayNDProbDenFunc.
|
inlineoverridevirtual |
Implements ProbDenFunc.
|
overrideprivatevirtual |
Implements ProbDenFunc2D.
|
inlineoverrideprivatevirtual |
Implements ProbDenFunc2D.
|
inlineoverridevirtual |
already checked for type, name, dim names and units
Implements ProbDenFunc.
|
inlineoverridevirtual |
Reimplemented from ProbDenFunc.
Sampled2DProbDenFunc& Sampled2DProbDenFunc::operator= | ( | const Sampled2DProbDenFunc & | ) |
|
inlineoverridevirtual |
Reimplemented from ProbDenFunc.
|
overridevirtual |
Reimplemented from ProbDenFunc.
|
inlineoverridevirtual |
Reimplemented from ProbDenFunc.
|
inline |
|
inlineoverridevirtual |
Implements ProbDenFunc.
|
inlinestatic |
|
overridevirtual |
Implements ProbDenFunc.
|
overridevirtual |
Reimplemented from ProbDenFunc.
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024