OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Gaussian2DProbDenFunc Class Reference

Two dimensional Gaussian PDF. More...

Inheritance diagram for Gaussian2DProbDenFunc:
[legend]

Public Member Functions

 Gaussian2DProbDenFunc ()
 
 Gaussian2DProbDenFunc (const Gaussian2DProbDenFunc &oth)
 
 ~Gaussian2DProbDenFunc ()
 
Gaussian2DProbDenFuncoperator= (const Gaussian2DProbDenFunc &)
 
virtual Gaussian2DProbDenFuncclone () const
 
virtual void copyFrom (const ProbDenFunc &)
 
virtual const char * getTypeStr () const
 
virtual void fillPar (IOPar &) const
 
virtual bool usePar (const IOPar &)
 
virtual bool isEq (const ProbDenFunc &) const
 already checked for type, name and dim names More...
 
virtual float averagePos (int dim) const
 
- Public Member Functions inherited from ProbDenFunc2D
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 ~ProbDenFunc ()
 
virtual bool isEqual (const ProbDenFunc &) const
 
virtual bool canScale () const
 
virtual void scale (float)
 
virtual float normFac () const
 
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...
 

Static Public Member Functions

static const char * typeStr ()
 
- Static Public Member Functions inherited from ProbDenFunc
static const char * sKeyNrDim ()
 

Public Attributes

float exp0_
 
float exp1_
 
float std0_
 
float std1_
 
float cc_
 
- Public Attributes inherited from ProbDenFunc2D
BufferString dim0nm_
 
BufferString dim1nm_
 

Protected Member Functions

virtual float gtVal (float, float) const
 
virtual void drwRandPos (float &, float &) const
 
- Protected Member Functions inherited from ProbDenFunc2D
 ProbDenFunc2D (const char *vnm0="Dim 0", const char *vnm1="Dim 1")
 
 ProbDenFunc2D (const ProbDenFunc2D &pdf)
 
ProbDenFunc2Doperator= (const ProbDenFunc2D &)
 
- 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 Attributes

Stats::NormalRandGenrgen0_
 
Stats::NormalRandGenrgen1_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Detailed Description

Two dimensional Gaussian PDF.

Constructor & Destructor Documentation

Gaussian2DProbDenFunc::Gaussian2DProbDenFunc ( )
inline
Gaussian2DProbDenFunc::Gaussian2DProbDenFunc ( const Gaussian2DProbDenFunc oth)
inline
Gaussian2DProbDenFunc::~Gaussian2DProbDenFunc ( )

Member Function Documentation

virtual float Gaussian2DProbDenFunc::averagePos ( int  dim) const
inlinevirtual

Implements ProbDenFunc.

virtual Gaussian2DProbDenFunc* Gaussian2DProbDenFunc::clone ( ) const
inlinevirtual

Implements ProbDenFunc.

virtual void Gaussian2DProbDenFunc::copyFrom ( const ProbDenFunc )
virtual

Reimplemented from ProbDenFunc2D.

virtual void Gaussian2DProbDenFunc::drwRandPos ( float &  ,
float &   
) const
protectedvirtual

Implements ProbDenFunc2D.

virtual void Gaussian2DProbDenFunc::fillPar ( IOPar ) const
virtual

Implements ProbDenFunc.

virtual const char* Gaussian2DProbDenFunc::getTypeStr ( ) const
inlinevirtual

Implements ProbDenFunc.

virtual float Gaussian2DProbDenFunc::gtVal ( float  ,
float   
) const
protectedvirtual

Implements ProbDenFunc2D.

virtual bool Gaussian2DProbDenFunc::isEq ( const ProbDenFunc ) const
virtual

already checked for type, name and dim names

Implements ProbDenFunc.

Gaussian2DProbDenFunc& Gaussian2DProbDenFunc::operator= ( const Gaussian2DProbDenFunc )
static const char* Gaussian2DProbDenFunc::typeStr ( )
inlinestatic
virtual bool Gaussian2DProbDenFunc::usePar ( const IOPar )
virtual

Implements ProbDenFunc.

Member Data Documentation

float Gaussian2DProbDenFunc::cc_
float Gaussian2DProbDenFunc::exp0_
float Gaussian2DProbDenFunc::exp1_
Stats::NormalRandGen* Gaussian2DProbDenFunc::rgen0_
mutableprotected
Stats::NormalRandGen* Gaussian2DProbDenFunc::rgen1_
mutableprotected
float Gaussian2DProbDenFunc::std0_
float Gaussian2DProbDenFunc::std1_

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