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

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

Inheritance diagram for ProbDenFunc2D:
[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)
 
float value (float x1, float x2) const
 
virtual float value (const TypeSet< float > &v) const
 
void drawRandomPos (float &x1, float &x2) 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 float averagePos (int dim) 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 dim0nm_
 
BufferString dim1nm_
 

Protected Member Functions

 ProbDenFunc2D (const char *vnm0="Dim 0", const char *vnm1="Dim 1")
 
 ProbDenFunc2D (const ProbDenFunc2D &pdf)
 
ProbDenFunc2Doperator= (const ProbDenFunc2D &)
 
virtual float gtVal (float, float) const =0
 
virtual void drwRandPos (float &, 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 two dimensional datasets.

Constructor & Destructor Documentation

ProbDenFunc2D::ProbDenFunc2D ( const char *  vnm0 = "Dim 0",
const char *  vnm1 = "Dim 1" 
)
inlineprotected
ProbDenFunc2D::ProbDenFunc2D ( const ProbDenFunc2D pdf)
inlineprotected

Member Function Documentation

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

Implements ProbDenFunc.

Reimplemented in Sampled2DProbDenFunc, and Gaussian2DProbDenFunc.

virtual const char* ProbDenFunc2D::dimName ( int  ) const
virtual

Implements ProbDenFunc.

void ProbDenFunc2D::drawRandomPos ( float &  x1,
float &  x2 
) const
inline
virtual void ProbDenFunc2D::drawRandomPos ( TypeSet< float > &  v) const
inlinevirtual

Implements ProbDenFunc.

virtual void ProbDenFunc2D::drwRandPos ( float &  ,
float &   
) const
protectedpure virtual
virtual float ProbDenFunc2D::gtVal ( float  ,
float   
) const
protectedpure virtual
virtual int ProbDenFunc2D::nrDims ( ) const
inlinevirtual

Implements ProbDenFunc.

ProbDenFunc2D& ProbDenFunc2D::operator= ( const ProbDenFunc2D )
protected
virtual void ProbDenFunc2D::setDimName ( int  dim,
const char *  nm 
)
inlinevirtual

Implements ProbDenFunc.

float ProbDenFunc2D::value ( float  x1,
float  x2 
) const
inline
virtual float ProbDenFunc2D::value ( const TypeSet< float > &  v) const
inlinevirtual

Implements ProbDenFunc.

Member Data Documentation

BufferString ProbDenFunc2D::dim0nm_
BufferString ProbDenFunc2D::dim1nm_

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