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

PDF based on ArrayND implementation. More...

Inheritance diagram for ArrayNDProbDenFunc:
[legend]

Public Member Functions

virtual ~ArrayNDProbDenFunc ()
 
void fillPar (IOPar &) const
 
virtual ArrayND< float > * getArrClone () const =0
 
float getAveragePos (int dim) const
 
virtual ArrayND< float > & getData ()
 
virtual const ArrayND< float > & getData () const
 
ArrayNDProbDenFuncoperator= (const ArrayNDProbDenFunc &)
 
bool readBulkData (od_istream &, bool)
 
virtual SamplingData< float > & sampling (int dim)
 
virtual SamplingData< float > sampling (int dim) const
 
int size (int dim) const
 
od_uint64 totalSize () const
 
bool usePar (const IOPar &)
 
void writeBulkData (od_ostream &, bool) const
 

Static Public Member Functions

static float findAveragePos (const float *, int, float grandtotal)
 

Protected Member Functions

 ArrayNDProbDenFunc ()
 
 ArrayNDProbDenFunc (const ArrayNDProbDenFunc &oth)
 
virtual void doScale (float)
 
void fillCumBins () const
 
virtual const ArrayND< float > & getArrND () const =0
 
od_uint64 getBinPos (float) const
 
virtual float getNormFac () const
 
od_uint64 getRandBin () const
 
virtual const SamplingData< float > & getSampling (int) const =0
 
virtual bool gtIsEq (const ProbDenFunc &) const
 
void prepRndDrw () const
 

Protected Attributes

TypeSet< float > avgpos_
 
float * cumbins_
 

Detailed Description

PDF based on ArrayND implementation.

This interface should allow read/write generalized from disk.

<>

Constructor & Destructor Documentation

◆ ~ArrayNDProbDenFunc()

virtual ArrayNDProbDenFunc::~ArrayNDProbDenFunc ( )
inlinevirtual

◆ ArrayNDProbDenFunc() [1/2]

ArrayNDProbDenFunc::ArrayNDProbDenFunc ( )
inlineprotected

◆ ArrayNDProbDenFunc() [2/2]

ArrayNDProbDenFunc::ArrayNDProbDenFunc ( const ArrayNDProbDenFunc oth)
inlineprotected

Member Function Documentation

◆ doScale()

virtual void ArrayNDProbDenFunc::doScale ( float  )
protectedvirtual

◆ fillCumBins()

void ArrayNDProbDenFunc::fillCumBins ( ) const
protected

◆ fillPar()

void ArrayNDProbDenFunc::fillPar ( IOPar ) const

◆ findAveragePos()

static float ArrayNDProbDenFunc::findAveragePos ( const float *  ,
int  ,
float  grandtotal 
)
static

◆ getArrClone()

virtual ArrayND<float>* ArrayNDProbDenFunc::getArrClone ( ) const
pure virtual

◆ getArrND()

virtual const ArrayND<float>& ArrayNDProbDenFunc::getArrND ( ) const
protectedpure virtual

◆ getAveragePos()

float ArrayNDProbDenFunc::getAveragePos ( int  dim) const

◆ getBinPos()

od_uint64 ArrayNDProbDenFunc::getBinPos ( float  ) const
protected

◆ getData() [1/2]

virtual ArrayND<float>& ArrayNDProbDenFunc::getData ( )
inlinevirtual

◆ getData() [2/2]

virtual const ArrayND<float>& ArrayNDProbDenFunc::getData ( ) const
inlinevirtual

◆ getNormFac()

virtual float ArrayNDProbDenFunc::getNormFac ( ) const
protectedvirtual

◆ getRandBin()

od_uint64 ArrayNDProbDenFunc::getRandBin ( ) const
protected

◆ getSampling()

virtual const SamplingData<float>& ArrayNDProbDenFunc::getSampling ( int  ) const
protectedpure virtual

◆ gtIsEq()

virtual bool ArrayNDProbDenFunc::gtIsEq ( const ProbDenFunc ) const
protectedvirtual

◆ operator=()

ArrayNDProbDenFunc& ArrayNDProbDenFunc::operator= ( const ArrayNDProbDenFunc )

◆ prepRndDrw()

void ArrayNDProbDenFunc::prepRndDrw ( ) const
protected

◆ readBulkData()

bool ArrayNDProbDenFunc::readBulkData ( od_istream ,
bool   
)

◆ sampling() [1/2]

virtual SamplingData<float>& ArrayNDProbDenFunc::sampling ( int  dim)
inlinevirtual

◆ sampling() [2/2]

virtual SamplingData<float> ArrayNDProbDenFunc::sampling ( int  dim) const
inlinevirtual

◆ size()

int ArrayNDProbDenFunc::size ( int  dim) const
inline

◆ totalSize()

od_uint64 ArrayNDProbDenFunc::totalSize ( ) const
inline

◆ usePar()

bool ArrayNDProbDenFunc::usePar ( const IOPar )

◆ writeBulkData()

void ArrayNDProbDenFunc::writeBulkData ( od_ostream ,
bool   
) const

Member Data Documentation

◆ avgpos_

TypeSet<float> ArrayNDProbDenFunc::avgpos_
mutableprotected

◆ cumbins_

float* ArrayNDProbDenFunc::cumbins_
mutableprotected

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