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

One dimensional Gaussian PDF. More...

Inheritance diagram for Gaussian1DProbDenFunc:
[legend]

Public Member Functions

 Gaussian1DProbDenFunc (float exp=0, float stdev=1)
 
 Gaussian1DProbDenFunc (const Gaussian1DProbDenFunc &oth)
 
 ~Gaussian1DProbDenFunc ()
 
Gaussian1DProbDenFuncoperator= (const Gaussian1DProbDenFunc &)
 
virtual Gaussian1DProbDenFuncclone () 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...
 
- 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 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 exp_
 
float std_
 
- Public Attributes inherited from ProbDenFunc1D
BufferString varnm_
 

Protected Member Functions

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 Attributes

Stats::NormalRandGenrgen_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Detailed Description

One dimensional Gaussian PDF.

Constructor & Destructor Documentation

Gaussian1DProbDenFunc::Gaussian1DProbDenFunc ( float  exp = 0,
float  stdev = 1 
)
inline
Gaussian1DProbDenFunc::Gaussian1DProbDenFunc ( const Gaussian1DProbDenFunc oth)
inline
Gaussian1DProbDenFunc::~Gaussian1DProbDenFunc ( )

Member Function Documentation

virtual Gaussian1DProbDenFunc* Gaussian1DProbDenFunc::clone ( ) const
inlinevirtual

Implements ProbDenFunc.

virtual void Gaussian1DProbDenFunc::copyFrom ( const ProbDenFunc )
virtual

Reimplemented from ProbDenFunc1D.

virtual void Gaussian1DProbDenFunc::drwRandPos ( float &  ) const
protectedvirtual

Implements ProbDenFunc1D.

virtual void Gaussian1DProbDenFunc::fillPar ( IOPar ) const
virtual

Implements ProbDenFunc.

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

Implements ProbDenFunc.

virtual float Gaussian1DProbDenFunc::gtAvgPos ( ) const
inlineprotectedvirtual

Implements ProbDenFunc1D.

virtual float Gaussian1DProbDenFunc::gtVal ( float  ) const
protectedvirtual

Implements ProbDenFunc1D.

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

already checked for type, name and dim names

Implements ProbDenFunc.

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

Implements ProbDenFunc.

Member Data Documentation

float Gaussian1DProbDenFunc::exp_
Stats::NormalRandGen* Gaussian1DProbDenFunc::rgen_
mutableprotected
float Gaussian1DProbDenFunc::std_

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