OpendTect-6_4
6.4
|
One dimensional PDF based on binned data. More...
Public Member Functions | |
Sampled1DProbDenFunc () | |
Sampled1DProbDenFunc (const Array1D< float > &) | |
Sampled1DProbDenFunc (const TypeSet< float > &) | |
Sampled1DProbDenFunc (const float *, int) | |
Sampled1DProbDenFunc (const Sampled1DProbDenFunc &) | |
Sampled1DProbDenFunc & | operator= (const Sampled1DProbDenFunc &) |
virtual void | copyFrom (const ProbDenFunc &) |
virtual Sampled1DProbDenFunc * | clone () const |
virtual const char * | getTypeStr () const |
virtual float | normFac () const |
virtual bool | canScale () const |
virtual void | scale (float f) |
virtual void | prepareRandDrawing () const |
virtual bool | isEq (const ProbDenFunc &oth) const |
already checked for type, name and dim names More... | |
virtual void | fillPar (IOPar &) const |
virtual bool | usePar (const IOPar &) |
virtual void | writeBulk (od_ostream &, bool binary) const |
virtual bool | readBulk (od_istream &, bool binary) |
virtual ArrayND< float > * | getArrClone () const |
Public Member Functions inherited from ProbDenFunc1D | |
virtual int | nrDims () const |
virtual const char * | dimName (int) const |
virtual void | setDimName (int dim, const char *nm) |
virtual const char * | varName () const |
virtual float | averagePos (int) const |
float | value (float v) const |
virtual float | value (const TypeSet< float > &v) const |
void | drawRandomPos (float &v) const |
virtual void | drawRandomPos (TypeSet< float > &v) const |
Public Member Functions inherited from ProbDenFunc | |
virtual | ~ProbDenFunc () |
virtual bool | isEqual (const ProbDenFunc &) const |
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... | |
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... | |
Public Member Functions inherited from ArrayNDProbDenFunc | |
ArrayNDProbDenFunc () | |
ArrayNDProbDenFunc (const ArrayNDProbDenFunc &oth) | |
virtual | ~ArrayNDProbDenFunc () |
ArrayNDProbDenFunc & | operator= (const ArrayNDProbDenFunc &) |
int | size (int dim) const |
od_uint64 | totalSize () const |
virtual const ArrayND< float > & | getData () const |
virtual ArrayND< float > & | getData () |
virtual SamplingData< float > | sampling (int dim) const |
virtual SamplingData< float > & | sampling (int dim) |
void | fillPar (IOPar &) const |
bool | usePar (const IOPar &) |
void | writeBulkData (od_ostream &, bool) const |
bool | readBulkData (od_istream &, bool) |
float | getAveragePos (int dim) 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) |
Public Attributes | |
SamplingData< float > | sd_ |
Array1DImpl< float > | bins_ |
Public Attributes inherited from ProbDenFunc1D | |
BufferString | varnm_ |
Protected Member Functions | |
virtual const ArrayND< float > & | getArrND () const |
virtual const SamplingData< float > & | getSampling (int) const |
virtual float | gtAvgPos () const |
virtual float | gtVal (float) const |
virtual void | drwRandPos (float &) const |
Protected Member Functions inherited from ProbDenFunc1D | |
ProbDenFunc1D (const char *vnm="") | |
ProbDenFunc1D (const ProbDenFunc1D &pdf) | |
Protected Member Functions inherited from ProbDenFunc | |
ProbDenFunc () | |
ProbDenFunc (const ProbDenFunc &) | |
Protected Member Functions inherited from CallBacker | |
void | detachAllNotifiers () |
Call from the destructor of your inherited object. More... | |
Protected Member Functions inherited from ArrayNDProbDenFunc | |
virtual float | getNormFac () const |
virtual void | doScale (float) |
virtual bool | gtIsEq (const ProbDenFunc &) const |
void | prepRndDrw () const |
void | fillCumBins () const |
od_uint64 | getRandBin () const |
od_uint64 | getBinPos (float) const |
Additional Inherited Members | |
Protected Attributes inherited from NamedObject | |
BufferString * | name_ |
NamedObject * | linkedto_ |
CallBackSet * | delnotify_ |
Protected Attributes inherited from ArrayNDProbDenFunc | |
float * | cumbins_ |
One dimensional PDF based on binned data.
Sampled1DProbDenFunc::Sampled1DProbDenFunc | ( | ) |
Sampled1DProbDenFunc::Sampled1DProbDenFunc | ( | const Array1D< float > & | ) |
Sampled1DProbDenFunc::Sampled1DProbDenFunc | ( | const TypeSet< float > & | ) |
Sampled1DProbDenFunc::Sampled1DProbDenFunc | ( | const float * | , |
int | |||
) |
Sampled1DProbDenFunc::Sampled1DProbDenFunc | ( | const Sampled1DProbDenFunc & | ) |
|
inlinevirtual |
Reimplemented from ProbDenFunc.
|
inlinevirtual |
Implements ProbDenFunc.
|
virtual |
Reimplemented from ProbDenFunc1D.
|
protectedvirtual |
Implements ProbDenFunc1D.
|
virtual |
Implements ProbDenFunc.
|
inlinevirtual |
Implements ArrayNDProbDenFunc.
|
inlineprotectedvirtual |
Implements ArrayNDProbDenFunc.
|
inlineprotectedvirtual |
Implements ArrayNDProbDenFunc.
|
inlinevirtual |
Implements ProbDenFunc.
|
protectedvirtual |
Implements ProbDenFunc1D.
|
protectedvirtual |
Implements ProbDenFunc1D.
|
inlinevirtual |
already checked for type, name and dim names
Implements ProbDenFunc.
|
inlinevirtual |
Reimplemented from ProbDenFunc.
Sampled1DProbDenFunc& Sampled1DProbDenFunc::operator= | ( | const Sampled1DProbDenFunc & | ) |
|
inlinevirtual |
Reimplemented from ProbDenFunc.
|
virtual |
Reimplemented from ProbDenFunc.
|
inlinevirtual |
Reimplemented from ProbDenFunc.
|
inlinestatic |
|
virtual |
Implements ProbDenFunc.
|
virtual |
Reimplemented from ProbDenFunc.
Array1DImpl<float> Sampled1DProbDenFunc::bins_ |
SamplingData<float> Sampled1DProbDenFunc::sd_ |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019