OpendTect  7.0
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
Gaussian1DProbDenFunc Class Reference

One dimensional Gaussian PDF. More...

Inheritance diagram for Gaussian1DProbDenFunc:
[legend]

Public Member Functions

 Gaussian1DProbDenFunc (const char *dimnm=nullptr)
 
 Gaussian1DProbDenFunc (const Gaussian1DProbDenFunc &oth)
 
 ~ Gaussian1DProbDenFunc ()
 
Gaussian1DProbDenFuncclone () const override
 
void copyFrom (const ProbDenFunc &) override
 
void fillPar (IOPar &) const override
 
const char * getTypeStr () const override
 
bool isEq (const ProbDenFunc &) const override
 already checked for type, name, dim names and units More...
 
Gaussian1DProbDenFuncoperator= (const Gaussian1DProbDenFunc &)
 
Gaussian1DProbDenFuncset (float exp, float std)
 
bool usePar (const IOPar &) override
 
- Public Member Functions inherited from ProbDenFunc1D
float averagePos (int) const override
 
void drawRandomPos (float &v) const
 
void drawRandomPos (TypeSet< float > &v) const override
 
bool hasLimits () const override
 
int nrDims () const override
 
float stddevPos (int) const override
 
float value (const TypeSet< float > &v) const override
 
float value (float v) const
 
- Public Member Functions inherited from ProbDenFunc
virtual ~ProbDenFunc ()
 
virtual bool canScale () const
 
const char * dimName (int dim) const
 
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)
 
virtual void scale (float)
 
void setDimName (int dim, const char *)
 
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 &)
 
const name_typename () const override
 
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 ()
 

Private Member Functions

void drwRandPos (float &) const override
 
float gtAvgPos () const override
 
float gtStdDevPos () const override
 
float gtVal (float) const override
 
bool hasLims () const override
 

Private Attributes

float exp_ = 0.f
 
Stats::NormalRandGenrgen_ = nullptr
 
float std_ = 1.f
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Protected Member Functions inherited from ProbDenFunc1D
 ProbDenFunc1D (const char *vnm="")
 
- Protected Member Functions inherited from ProbDenFunc
 ProbDenFunc ()
 
 ProbDenFunc (const ProbDenFunc &)
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Detailed Description

One dimensional Gaussian PDF.

<>

Constructor & Destructor Documentation

◆ Gaussian1DProbDenFunc() [1/2]

Gaussian1DProbDenFunc::Gaussian1DProbDenFunc ( const char *  dimnm = nullptr)
inline

◆ Gaussian1DProbDenFunc() [2/2]

Gaussian1DProbDenFunc::Gaussian1DProbDenFunc ( const Gaussian1DProbDenFunc oth)
inline

◆ ~ Gaussian1DProbDenFunc()

Gaussian1DProbDenFunc::~ Gaussian1DProbDenFunc ( )

Member Function Documentation

◆ clone()

Gaussian1DProbDenFunc* Gaussian1DProbDenFunc::clone ( ) const
inlineoverridevirtual

Implements ProbDenFunc.

◆ copyFrom()

void Gaussian1DProbDenFunc::copyFrom ( const ProbDenFunc )
overridevirtual

Implements ProbDenFunc.

◆ drwRandPos()

void Gaussian1DProbDenFunc::drwRandPos ( float &  ) const
overrideprivatevirtual

Implements ProbDenFunc1D.

◆ fillPar()

void Gaussian1DProbDenFunc::fillPar ( IOPar ) const
overridevirtual

Implements ProbDenFunc.

◆ getTypeStr()

const char* Gaussian1DProbDenFunc::getTypeStr ( ) const
inlineoverridevirtual

Implements ProbDenFunc.

◆ gtAvgPos()

float Gaussian1DProbDenFunc::gtAvgPos ( ) const
inlineoverrideprivatevirtual

Implements ProbDenFunc1D.

◆ gtStdDevPos()

float Gaussian1DProbDenFunc::gtStdDevPos ( ) const
inlineoverrideprivatevirtual

Implements ProbDenFunc1D.

◆ gtVal()

float Gaussian1DProbDenFunc::gtVal ( float  ) const
overrideprivatevirtual

Implements ProbDenFunc1D.

◆ hasLims()

bool Gaussian1DProbDenFunc::hasLims ( ) const
inlineoverrideprivatevirtual

Implements ProbDenFunc1D.

◆ isEq()

bool Gaussian1DProbDenFunc::isEq ( const ProbDenFunc ) const
overridevirtual

already checked for type, name, dim names and units

Implements ProbDenFunc.

◆ operator=()

Gaussian1DProbDenFunc& Gaussian1DProbDenFunc::operator= ( const Gaussian1DProbDenFunc )

◆ set()

Gaussian1DProbDenFunc& Gaussian1DProbDenFunc::set ( float  exp,
float  std 
)
inline

◆ typeStr()

static const char* Gaussian1DProbDenFunc::typeStr ( )
inlinestatic

◆ usePar()

bool Gaussian1DProbDenFunc::usePar ( const IOPar )
overridevirtual

Implements ProbDenFunc.

Member Data Documentation

◆ exp_

float Gaussian1DProbDenFunc::exp_ = 0.f
private

◆ rgen_

Stats::NormalRandGen* Gaussian1DProbDenFunc::rgen_ = nullptr
mutableprivate

◆ std_

float Gaussian1DProbDenFunc::std_ = 1.f
private

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