OpendTect  7.0
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | List of all members
Pos::RandomFilter Class Reference

Passes a percentage of the positions. More...

Inheritance diagram for Pos::RandomFilter:
[legend]

Public Member Functions

 RandomFilter ()
 
 RandomFilter (const RandomFilter &)
 
 ~RandomFilter ()
 
float estRatio (const Provider &) const override
 
void fillPar (IOPar &) const override
 
void getSummary (BufferString &) const override
 
bool initialize (TaskRunner *=nullptr) override
 
RandomFilteroperator= (const RandomFilter &)
 
void reset () override
 
void usePar (const IOPar &) override
 
- Public Member Functions inherited from Pos::Filter
virtual ~Filter ()
 
virtual float adjustedZ (const Coord &, float z) const
 
virtual Filterclone () const =0
 
virtual bool hasZAdjustment () const
 
virtual bool includes (const Coord &, float z=mUdf(float)) const =0
 
virtual bool is2D () const =0
 
virtual bool isProvider () const
 
virtual const char * type () const =0
 

Static Public Member Functions

static const char * ratioStr ()
 
static const char * typeStr ()
 
- Static Public Member Functions inherited from Pos::Filter
static Filtermake (const IOPar &, bool is2d)
 

Public Attributes

float passratio_ = 0.01f
 

Protected Member Functions

bool drawRes () const
 
void initStats ()
 

Private Attributes

Stats::RandomGeneratorgen_
 

Detailed Description

Passes a percentage of the positions.

<>

Constructor & Destructor Documentation

◆ RandomFilter() [1/2]

Pos::RandomFilter::RandomFilter ( )

◆ RandomFilter() [2/2]

Pos::RandomFilter::RandomFilter ( const RandomFilter )

◆ ~RandomFilter()

Pos::RandomFilter::~RandomFilter ( )

Member Function Documentation

◆ drawRes()

bool Pos::RandomFilter::drawRes ( ) const
protected

◆ estRatio()

float Pos::RandomFilter::estRatio ( const Provider ) const
inlineoverridevirtual

Implements Pos::Filter.

◆ fillPar()

void Pos::RandomFilter::fillPar ( IOPar ) const
overridevirtual

Implements Pos::Filter.

◆ getSummary()

void Pos::RandomFilter::getSummary ( BufferString ) const
overridevirtual

Implements Pos::Filter.

◆ initialize()

bool Pos::RandomFilter::initialize ( TaskRunner = nullptr)
overridevirtual

Reimplemented from Pos::Filter.

◆ initStats()

void Pos::RandomFilter::initStats ( )
protected

◆ operator=()

RandomFilter& Pos::RandomFilter::operator= ( const RandomFilter )

◆ ratioStr()

static const char* Pos::RandomFilter::ratioStr ( )
static

◆ reset()

void Pos::RandomFilter::reset ( )
inlineoverridevirtual

Implements Pos::Filter.

◆ typeStr()

static const char* Pos::RandomFilter::typeStr ( )
static

◆ usePar()

void Pos::RandomFilter::usePar ( const IOPar )
overridevirtual

Implements Pos::Filter.

Member Data Documentation

◆ gen_

Stats::RandomGenerator& Pos::RandomFilter::gen_
private

◆ passratio_

float Pos::RandomFilter::passratio_ = 0.01f

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