OpendTect  7.0
Public Member Functions | Protected Member Functions | List of all members
ProbDenFunc2D Class Referenceabstract

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

Inheritance diagram for ProbDenFunc2D:
[legend]

Public Member Functions

void drawRandomPos (float &x1, float &x2) const
 
void drawRandomPos (TypeSet< float > &v) const override
 
bool hasLimits () const override
 
int nrDims () const override
 
float value (const TypeSet< float > &v) const override
 
float value (float x1, float x2) const
 
- Public Member Functions inherited from ProbDenFunc
virtual ~ProbDenFunc ()
 
virtual float averagePos (int dim) const =0
 
virtual bool canScale () const
 
virtual ProbDenFuncclone () const =0
 
virtual void copyFrom (const ProbDenFunc &)=0
 
const char * dimName (int dim) const
 
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)
 
virtual void scale (float)
 
void setDimName (int dim, const char *)
 
void setUOMSymbol (int dim, const char *)
 
virtual float stddevPos (int dim) const =0
 
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 &)
 
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
 

Protected Member Functions

 ProbDenFunc2D (const char *vnm0="Dim 0", const char *vnm1="Dim 1")
 
virtual void drwRandPos (float &, float &) const =0
 
virtual float gtVal (float, float) const =0
 
virtual bool hasLims () const =0
 
- Protected Member Functions inherited from ProbDenFunc
 ProbDenFunc ()
 
 ProbDenFunc (const ProbDenFunc &)
 
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 two dimensional datasets.

<>

Constructor & Destructor Documentation

◆ ProbDenFunc2D()

ProbDenFunc2D::ProbDenFunc2D ( const char *  vnm0 = "Dim 0",
const char *  vnm1 = "Dim 1" 
)
protected

Member Function Documentation

◆ drawRandomPos() [1/2]

void ProbDenFunc2D::drawRandomPos ( float &  x1,
float &  x2 
) const
inline

◆ drawRandomPos() [2/2]

void ProbDenFunc2D::drawRandomPos ( TypeSet< float > &  v) const
inlineoverridevirtual

Implements ProbDenFunc.

◆ drwRandPos()

virtual void ProbDenFunc2D::drwRandPos ( float &  ,
float &   
) const
protectedpure virtual

◆ gtVal()

virtual float ProbDenFunc2D::gtVal ( float  ,
float   
) const
protectedpure virtual

◆ hasLimits()

bool ProbDenFunc2D::hasLimits ( ) const
inlineoverridevirtual

Implements ProbDenFunc.

◆ hasLims()

virtual bool ProbDenFunc2D::hasLims ( ) const
protectedpure virtual

◆ nrDims()

int ProbDenFunc2D::nrDims ( ) const
inlineoverridevirtual

Implements ProbDenFunc.

◆ value() [1/2]

float ProbDenFunc2D::value ( const TypeSet< float > &  v) const
inlineoverridevirtual

Implements ProbDenFunc.

◆ value() [2/2]

float ProbDenFunc2D::value ( float  x1,
float  x2 
) const
inline

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