OpendTect  6.6
Public Member Functions | Public Attributes | 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

virtual void copyFrom (const ProbDenFunc &pdf)
 
virtual const char * dimName (int) const
 
void drawRandomPos (float &x1, float &x2) 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 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
 
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 dim0nm_
 
BufferString dim1nm_
 

Protected Member Functions

 ProbDenFunc2D (const char *vnm0="Dim 0", const char *vnm1="Dim 1")
 
 ProbDenFunc2D (const ProbDenFunc2D &pdf)
 
virtual void drwRandPos (float &, float &) const =0
 
virtual float gtVal (float, float) const =0
 
ProbDenFunc2Doperator= (const ProbDenFunc2D &)
 
- 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 two dimensional datasets.

<>

Constructor & Destructor Documentation

◆ ProbDenFunc2D() [1/2]

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

◆ ProbDenFunc2D() [2/2]

ProbDenFunc2D::ProbDenFunc2D ( const ProbDenFunc2D pdf)
inlineprotected

Member Function Documentation

◆ copyFrom()

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

Implements ProbDenFunc.

Reimplemented in Sampled2DProbDenFunc, and Gaussian2DProbDenFunc.

◆ dimName()

virtual const char* ProbDenFunc2D::dimName ( int  ) const
virtual

Implements ProbDenFunc.

◆ drawRandomPos() [1/2]

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

◆ drawRandomPos() [2/2]

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

Implements ProbDenFunc.

◆ drwRandPos()

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

◆ gtVal()

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

◆ nrDims()

virtual int ProbDenFunc2D::nrDims ( ) const
inlinevirtual

Implements ProbDenFunc.

◆ operator=()

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

◆ setDimName()

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

Implements ProbDenFunc.

◆ value() [1/2]

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

Implements ProbDenFunc.

◆ value() [2/2]

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

Member Data Documentation

◆ dim0nm_

BufferString ProbDenFunc2D::dim0nm_

◆ dim1nm_

BufferString ProbDenFunc2D::dim1nm_

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