OpendTect-6_4
6.4
|
Base class for Probability Density Functions. More...
Public Member Functions | |
virtual ProbDenFunc * | clone () const =0 |
virtual | ~ProbDenFunc () |
virtual void | copyFrom (const ProbDenFunc &)=0 |
virtual bool | isEqual (const ProbDenFunc &) const |
virtual const char * | getTypeStr () const =0 |
virtual int | nrDims () const =0 |
virtual const char * | dimName (int dim) const =0 |
virtual void | setDimName (int dim, const char *)=0 |
virtual float | averagePos (int dim) const =0 |
virtual float | value (const TypeSet< float > &) const =0 |
virtual bool | canScale () const |
virtual void | scale (float) |
virtual float | normFac () const |
virtual void | fillPar (IOPar &) const =0 |
virtual bool | usePar (const IOPar &)=0 |
virtual void | writeBulk (od_ostream &, bool binary) const |
virtual bool | readBulk (od_istream &, bool binary) |
virtual bool | isCompatibleWith (const ProbDenFunc &) const |
void | getIndexTableFor (const ProbDenFunc &pdf, TypeSet< int > &tbl) const |
tbl[0] tells what my index is for pdf's index '0' More... | |
virtual void | prepareRandDrawing () const |
virtual void | drawRandomPos (TypeSet< float > &) const =0 |
Public Member Functions inherited from NamedObject | |
NamedObject (const char *nm=0) | |
NamedObject (const NamedObject *linkedto) | |
NamedObject (const NamedObject &) | |
virtual | ~NamedObject () |
void | setLinkedTo (NamedObject *) |
bool | operator== (const NamedObject &oth) const |
virtual const OD::String & | name () const |
virtual const OD::String & | annotName () const |
virtual void | setName (const char *) |
void | setCleanName (const char *) |
cleans string first More... | |
void | deleteNotify (const CallBack &) |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false) |
bool | attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) |
void | detachCB (NotifierAccess &, const CallBack &) |
void | detachCB (NotifierAccess *notif, const CallBack &cb) |
bool | isNotifierAttached (NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
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 and dim names More... | |
Protected Member Functions inherited from CallBacker | |
void | detachAllNotifiers () |
Call from the destructor of your inherited object. More... | |
Additional Inherited Members | |
Protected Attributes inherited from NamedObject | |
BufferString * | name_ |
NamedObject * | linkedto_ |
CallBackSet * | delnotify_ |
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.
|
inlinevirtual |
|
inlineprotected |
|
protected |
|
pure virtual |
Implemented in SampledNDProbDenFunc, Sampled2DProbDenFunc, GaussianNDProbDenFunc, ProbDenFunc1D, and Gaussian2DProbDenFunc.
|
inlinevirtual |
Reimplemented in SampledNDProbDenFunc, Sampled2DProbDenFunc, and Sampled1DProbDenFunc.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in SampledNDProbDenFunc, ProbDenFunc2D, GaussianNDProbDenFunc, and ProbDenFunc1D.
|
pure virtual |
Implemented in SampledNDProbDenFunc, ProbDenFunc2D, GaussianNDProbDenFunc, and ProbDenFunc1D.
|
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 |
|
virtual |
|
protectedpure virtual |
already checked for type, name and dim names
Implemented in SampledNDProbDenFunc, Sampled2DProbDenFunc, GaussianNDProbDenFunc, Sampled1DProbDenFunc, Gaussian2DProbDenFunc, and Gaussian1DProbDenFunc.
|
virtual |
|
inlinevirtual |
Reimplemented in SampledNDProbDenFunc, Sampled2DProbDenFunc, and Sampled1DProbDenFunc.
|
pure virtual |
Implemented in SampledNDProbDenFunc, ProbDenFunc2D, GaussianNDProbDenFunc, and ProbDenFunc1D.
|
inlinevirtual |
Reimplemented in SampledNDProbDenFunc, Sampled2DProbDenFunc, GaussianNDProbDenFunc, and Sampled1DProbDenFunc.
|
inlinevirtual |
Reimplemented in SampledNDProbDenFunc, Sampled2DProbDenFunc, and Sampled1DProbDenFunc.
|
inlinevirtual |
Reimplemented in SampledNDProbDenFunc, Sampled2DProbDenFunc, and Sampled1DProbDenFunc.
|
pure virtual |
Implemented in SampledNDProbDenFunc, ProbDenFunc2D, GaussianNDProbDenFunc, and ProbDenFunc1D.
|
static |
|
pure virtual |
|
pure virtual |
Implemented in SampledNDProbDenFunc, ProbDenFunc2D, GaussianNDProbDenFunc, and ProbDenFunc1D.
|
inlinevirtual |
Reimplemented in SampledNDProbDenFunc, Sampled2DProbDenFunc, and Sampled1DProbDenFunc.
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019