OpendTect  6.6
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ProbDenFunc1D Class Referenceabstract

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

Inheritance diagram for ProbDenFunc1D:
[legend]

Public Member Functions

virtual float averagePos (int) const
 
virtual void copyFrom (const ProbDenFunc &pdf)
 
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
 
virtual ProbDenFuncclone () const =0
 
void copyUOMFrom (const ProbDenFunc &)
 
virtual void fillPar (IOPar &) const =0
 
void getIndexTableFor (const ProbDenFunc &pdf, TypeSet< int > &tbl) const
 tbl[0] tells what my index is for pdf's index '0' More...
 
virtual const char * getTypeStr () const =0
 
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 bool usePar (const IOPar &)=0
 
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
 

Public Attributes

BufferString varnm_
 

Protected Member Functions

 ProbDenFunc1D (const char *vnm="")
 
 ProbDenFunc1D (const ProbDenFunc1D &pdf)
 
virtual void drwRandPos (float &) const =0
 
virtual float gtAvgPos () const =0
 
virtual float gtVal (float) const =0
 
ProbDenFunc1Doperator= (const ProbDenFunc1D &)
 
- Protected Member Functions inherited from ProbDenFunc
 ProbDenFunc ()
 
 ProbDenFunc (const ProbDenFunc &)
 
void cleanup ()
 
void copyNameFrom (const ProbDenFunc &)
 
void init ()
 
virtual bool isEq (const ProbDenFunc &) const =0
 already checked for type, name, dim names and units More...
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Static Public Member Functions inherited from ProbDenFunc
static const char * sKeyNrDim ()
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Detailed Description

Probability Density Function for one dimensional datasets.

<>

Constructor & Destructor Documentation

◆ ProbDenFunc1D() [1/2]

ProbDenFunc1D::ProbDenFunc1D ( const char *  vnm = "")
inlineprotected

◆ ProbDenFunc1D() [2/2]

ProbDenFunc1D::ProbDenFunc1D ( const ProbDenFunc1D pdf)
inlineprotected

Member Function Documentation

◆ averagePos()

virtual float ProbDenFunc1D::averagePos ( int  ) const
inlinevirtual

Implements ProbDenFunc.

◆ copyFrom()

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

Implements ProbDenFunc.

Reimplemented in Sampled1DProbDenFunc, and Gaussian1DProbDenFunc.

◆ dimName()

virtual const char* ProbDenFunc1D::dimName ( int  ) const
inlinevirtual

Implements ProbDenFunc.

◆ drawRandomPos() [1/2]

void ProbDenFunc1D::drawRandomPos ( float &  v) const
inline

◆ drawRandomPos() [2/2]

virtual void ProbDenFunc1D::drawRandomPos ( TypeSet< float > &  v) const
inlinevirtual

Implements ProbDenFunc.

◆ drwRandPos()

virtual void ProbDenFunc1D::drwRandPos ( float &  ) const
protectedpure virtual

◆ gtAvgPos()

virtual float ProbDenFunc1D::gtAvgPos ( ) const
protectedpure virtual

◆ gtVal()

virtual float ProbDenFunc1D::gtVal ( float  ) const
protectedpure virtual

◆ nrDims()

virtual int ProbDenFunc1D::nrDims ( ) const
inlinevirtual

Implements ProbDenFunc.

◆ operator=()

ProbDenFunc1D& ProbDenFunc1D::operator= ( const ProbDenFunc1D )
protected

◆ setDimName()

virtual void ProbDenFunc1D::setDimName ( int  dim,
const char *  nm 
)
inlinevirtual

Implements ProbDenFunc.

◆ value() [1/2]

virtual float ProbDenFunc1D::value ( const TypeSet< float > &  v) const
inlinevirtual

Implements ProbDenFunc.

◆ value() [2/2]

float ProbDenFunc1D::value ( float  v) const
inline

◆ varName()

virtual const char* ProbDenFunc1D::varName ( ) const
inlinevirtual

Member Data Documentation

◆ varnm_

BufferString ProbDenFunc1D::varnm_

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