OpendTect-6_4  6.4
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ProbDenFunc1D Class Referenceabstract

Probability Density Function for one dimensional datasets. More...

Inheritance diagram for ProbDenFunc1D:
[legend]

Public Member Functions

virtual void copyFrom (const ProbDenFunc &pdf)
 
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 ProbDenFuncclone () const =0
 
virtual ~ProbDenFunc ()
 
virtual bool isEqual (const ProbDenFunc &) const
 
virtual const char * getTypeStr () 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
 
- 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::Stringname () const
 
virtual const OD::StringannotName () 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 Attributes

BufferString varnm_
 

Protected Member Functions

 ProbDenFunc1D (const char *vnm="")
 
 ProbDenFunc1D (const ProbDenFunc1D &pdf)
 
virtual float gtAvgPos () const =0
 
virtual float gtVal (float) const =0
 
virtual void drwRandPos (float &) const =0
 
- Protected Member Functions inherited from ProbDenFunc
 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

- Static Public Member Functions inherited from ProbDenFunc
static const char * sKeyNrDim ()
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Detailed Description

Probability Density Function for one dimensional datasets.

Constructor & Destructor Documentation

ProbDenFunc1D::ProbDenFunc1D ( const char *  vnm = "")
inlineprotected
ProbDenFunc1D::ProbDenFunc1D ( const ProbDenFunc1D pdf)
inlineprotected

Member Function Documentation

virtual float ProbDenFunc1D::averagePos ( int  ) const
inlinevirtual

Implements ProbDenFunc.

virtual void ProbDenFunc1D::copyFrom ( const ProbDenFunc pdf)
inlinevirtual

Implements ProbDenFunc.

Reimplemented in Sampled1DProbDenFunc, and Gaussian1DProbDenFunc.

virtual const char* ProbDenFunc1D::dimName ( int  ) const
inlinevirtual

Implements ProbDenFunc.

void ProbDenFunc1D::drawRandomPos ( float &  v) const
inline
virtual void ProbDenFunc1D::drawRandomPos ( TypeSet< float > &  v) const
inlinevirtual

Implements ProbDenFunc.

virtual void ProbDenFunc1D::drwRandPos ( float &  ) const
protectedpure virtual
virtual float ProbDenFunc1D::gtAvgPos ( ) const
protectedpure virtual
virtual float ProbDenFunc1D::gtVal ( float  ) const
protectedpure virtual
virtual int ProbDenFunc1D::nrDims ( ) const
inlinevirtual

Implements ProbDenFunc.

virtual void ProbDenFunc1D::setDimName ( int  dim,
const char *  nm 
)
inlinevirtual

Implements ProbDenFunc.

float ProbDenFunc1D::value ( float  v) const
inline
virtual float ProbDenFunc1D::value ( const TypeSet< float > &  v) const
inlinevirtual

Implements ProbDenFunc.

virtual const char* ProbDenFunc1D::varName ( ) const
inlinevirtual

Member Data Documentation

BufferString ProbDenFunc1D::varnm_

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019