OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DataClipSampler Class Reference

Data clipping sampler. More...

Public Member Functions

 DataClipSampler (int bufsz=10000)
 
 ~DataClipSampler ()
 
void reset ()
 
void add (float)
 
void add (const float *, od_int64)
 
void finish () const
 
od_int64 nrVals () const
 
const float * vals () const
 
void report (IOPar &) const
 
Interval< float > getRange (float clipratio) const
 

Protected Member Functions

void doAdd (float)
 
BufferString getClipRgStr (float) const
 

Protected Attributes

float * vals_
 
const int maxnrvals_
 
od_int64 count_
 
Interval< float > rg_
 
bool finished_
 

Detailed Description

Data clipping sampler.

Constructor & Destructor Documentation

DataClipSampler::DataClipSampler ( int  bufsz = 10000)
DataClipSampler::~DataClipSampler ( )
inline

Member Function Documentation

void DataClipSampler::add ( float  )
void DataClipSampler::add ( const float *  ,
od_int64   
)
void DataClipSampler::doAdd ( float  )
protected
void DataClipSampler::finish ( ) const
BufferString DataClipSampler::getClipRgStr ( float  ) const
protected
Interval<float> DataClipSampler::getRange ( float  clipratio) const
od_int64 DataClipSampler::nrVals ( ) const
void DataClipSampler::report ( IOPar ) const
void DataClipSampler::reset ( )
inline
const float* DataClipSampler::vals ( ) const
inline

Member Data Documentation

od_int64 DataClipSampler::count_
protected
bool DataClipSampler::finished_
protected
const int DataClipSampler::maxnrvals_
protected
Interval<float> DataClipSampler::rg_
protected
float* DataClipSampler::vals_
protected

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