OpendTect  6.6
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 add (const float *, od_int64)
 
void add (float)
 
void finish () const
 
Interval< float > getRange (float clipratio) const
 
od_int64 nrVals () const
 
void report (IOPar &) const
 
void reset ()
 
const float * vals () const
 

Protected Member Functions

void doAdd (float)
 
BufferString getClipRgStr (float) const
 

Protected Attributes

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

Detailed Description

Data clipping sampler.

<>

Constructor & Destructor Documentation

◆ DataClipSampler()

DataClipSampler::DataClipSampler ( int  bufsz = 10000)

◆ ~DataClipSampler()

DataClipSampler::~DataClipSampler ( )
inline

Member Function Documentation

◆ add() [1/2]

void DataClipSampler::add ( const float *  ,
od_int64   
)

◆ add() [2/2]

void DataClipSampler::add ( float  )

◆ doAdd()

void DataClipSampler::doAdd ( float  )
protected

◆ finish()

void DataClipSampler::finish ( ) const

◆ getClipRgStr()

BufferString DataClipSampler::getClipRgStr ( float  ) const
protected

◆ getRange()

Interval<float> DataClipSampler::getRange ( float  clipratio) const

◆ nrVals()

od_int64 DataClipSampler::nrVals ( ) const

◆ report()

void DataClipSampler::report ( IOPar ) const

◆ reset()

void DataClipSampler::reset ( )
inline

◆ vals()

const float* DataClipSampler::vals ( ) const
inline

Member Data Documentation

◆ count_

od_int64 DataClipSampler::count_
protected

◆ finished_

bool DataClipSampler::finished_
protected

◆ maxnrvals_

const int DataClipSampler::maxnrvals_
protected

◆ rg_

Interval<float> DataClipSampler::rg_
protected

◆ vals_

float* DataClipSampler::vals_
protected

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