OpendTect  6.6
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 (const Gaussian1DProbDenFunc &oth)
 
 Gaussian1DProbDenFunc (float exp=0, float stdev=1)
 
 ~ Gaussian1DProbDenFunc ()
 
virtual Gaussian1DProbDenFuncclone () const
 
virtual void copyFrom (const ProbDenFunc &)
 
virtual void fillPar (IOPar &) const
 
virtual const char * getTypeStr () const
 
virtual bool isEq (const ProbDenFunc &) const
 already checked for type, name, dim names and units More...
 
Gaussian1DProbDenFuncoperator= (const Gaussian1DProbDenFunc &)
 
virtual bool usePar (const IOPar &)
 
- Public Member Functions inherited from ProbDenFunc1D
virtual float averagePos (int) const
 
virtual const char * dimName (int) const
 
void drawRandomPos (float &v) const
 
virtual void drawRandomPos (TypeSet< float > &v) const
 
virtual int nrDims () const
 
virtual void setDimName (int dim, const char *nm)
 
virtual float value (const TypeSet< float > &v) const
 
float value (float v) const
 
virtual const char * varName () const
 
- Public Member Functions inherited from ProbDenFunc
virtual ~ProbDenFunc ()
 
virtual bool canScale () const
 
void copyUOMFrom (const ProbDenFunc &)
 
void getIndexTableFor (const ProbDenFunc &pdf, TypeSet< int > &tbl) const
 tbl[0] tells what my index is for pdf's index '0' More...
 
const char * getUOMSymbol (int dim) const
 
virtual bool isCompatibleWith (const ProbDenFunc &) const
 
virtual bool isEqual (const ProbDenFunc &) const
 
virtual float normFac () const
 
virtual void prepareRandDrawing () const
 
virtual bool readBulk (od_istream &, bool binary)
 
void readUOMFromPar (const IOPar &)
 
virtual void scale (float)
 
void setUOMSymbol (int dim, const char *)
 
virtual void writeBulk (od_ostream &, bool binary) const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
virtual const name_typename () const
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

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

Protected Attributes

Stats::NormalRandGenrgen_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 

Detailed Description

One dimensional Gaussian PDF.

<>

Constructor & Destructor Documentation

◆ Gaussian1DProbDenFunc() [1/2]

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

◆ Gaussian1DProbDenFunc() [2/2]

Gaussian1DProbDenFunc::Gaussian1DProbDenFunc ( const Gaussian1DProbDenFunc oth)
inline

◆ ~ Gaussian1DProbDenFunc()

Gaussian1DProbDenFunc::~ Gaussian1DProbDenFunc ( )

Member Function Documentation

◆ clone()

virtual Gaussian1DProbDenFunc* Gaussian1DProbDenFunc::clone ( ) const
inlinevirtual

Implements ProbDenFunc.

◆ copyFrom()

virtual void Gaussian1DProbDenFunc::copyFrom ( const ProbDenFunc )
virtual

Reimplemented from ProbDenFunc1D.

◆ drwRandPos()

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

Implements ProbDenFunc1D.

◆ fillPar()

virtual void Gaussian1DProbDenFunc::fillPar ( IOPar ) const
virtual

Implements ProbDenFunc.

◆ getTypeStr()

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

Implements ProbDenFunc.

◆ gtAvgPos()

virtual float Gaussian1DProbDenFunc::gtAvgPos ( ) const
inlineprotectedvirtual

Implements ProbDenFunc1D.

◆ gtVal()

virtual float Gaussian1DProbDenFunc::gtVal ( float  ) const
protectedvirtual

Implements ProbDenFunc1D.

◆ isEq()

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

already checked for type, name, dim names and units

Implements ProbDenFunc.

◆ operator=()

Gaussian1DProbDenFunc& Gaussian1DProbDenFunc::operator= ( const Gaussian1DProbDenFunc )

◆ typeStr()

static const char* Gaussian1DProbDenFunc::typeStr ( )
inlinestatic

◆ usePar()

virtual bool Gaussian1DProbDenFunc::usePar ( const IOPar )
virtual

Implements ProbDenFunc.

Member Data Documentation

◆ exp_

float Gaussian1DProbDenFunc::exp_

◆ rgen_

Stats::NormalRandGen* Gaussian1DProbDenFunc::rgen_
mutableprotected

◆ std_

float Gaussian1DProbDenFunc::std_

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