OpendTect  6.3
Public Types | Public Member Functions | Protected Attributes | List of all members
DataDistributionChanger< VT > Class Template Reference

Public Types

typedef DataDistribution< VT > DistribType
 
typedef DistribType::IdxType IdxType
 
typedef DistribType::PosType PosType
 
typedef DistribType::ValueType ValueType
 
typedef DistribType::SetType SetType
 

Public Member Functions

 DataDistributionChanger (DistribType &d)
 
void normalise (bool in_the_math_sense=true)
 if !math, sets max to 1 More...
 
bool deSpike (VT ratioaboverg=VT(0.4))
 
void usePar (const IOPar &)
 

Protected Attributes

DistribTypedistrib_
 

Detailed Description

template<class VT>
class DataDistributionChanger< VT >

Member Typedef Documentation

template<class VT >
typedef DataDistribution<VT> DataDistributionChanger< VT >::DistribType
template<class VT >
typedef DistribType::IdxType DataDistributionChanger< VT >::IdxType
template<class VT >
typedef DistribType::PosType DataDistributionChanger< VT >::PosType
template<class VT >
typedef DistribType::SetType DataDistributionChanger< VT >::SetType
template<class VT >
typedef DistribType::ValueType DataDistributionChanger< VT >::ValueType

Constructor & Destructor Documentation

template<class VT >
DataDistributionChanger< VT >::DataDistributionChanger ( DistribType d)
inline

Member Function Documentation

template<class VT >
bool DataDistributionChanger< VT >::deSpike ( VT  ratioaboverg = VT(0.4))
inline

Returns whether any change made Note that your distrib is no longer correct Useful for nice displays

template<class VT >
void DataDistributionChanger< VT >::normalise ( bool  in_the_math_sense = true)
inline

if !math, sets max to 1

template<class VT >
void DataDistributionChanger< VT >::usePar ( const IOPar iop)
inline

Member Data Documentation

template<class VT >
DistribType& DataDistributionChanger< VT >::distrib_
protected

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