OpendTect  7.0
Public Member Functions | Static Public Member Functions | List of all members
Pos::Filter Class Referenceabstract

Decides whether a given position should be included. More...

Inheritance diagram for Pos::Filter:
[legend]

Public Member Functions

virtual ~Filter ()
 
virtual float adjustedZ (const Coord &, float z) const
 
virtual Filterclone () const =0
 
virtual float estRatio (const Provider &) const =0
 
virtual void fillPar (IOPar &) const =0
 
virtual void getSummary (BufferString &) const =0
 
virtual bool hasZAdjustment () const
 
virtual bool includes (const Coord &, float z=mUdf(float)) const =0
 
virtual bool initialize (TaskRunner *=nullptr)
 
virtual bool is2D () const =0
 
virtual bool isProvider () const
 
virtual void reset ()=0
 
virtual const char * type () const =0
 
virtual void usePar (const IOPar &)=0
 

Static Public Member Functions

static Filtermake (const IOPar &, bool is2d)
 

Detailed Description

Decides whether a given position should be included.

Some Filters require initialization. There are two levels of initialization:

After 'usePar' the object may be in an intermediate state. You should be able to ask all kinds of global questions, but not toNextPos(), toNextZ(), curCoord(), curZ(), or includes(). To be able to fully use all functions, you have to initialize() the object.

Filter2D and Filter3D have factories. Providers too. Standard providers are not added to the Filter factory. Non-standard should in general be added to both.

<>

Constructor & Destructor Documentation

◆ ~Filter()

virtual Pos::Filter::~Filter ( )
inlinevirtual

Member Function Documentation

◆ adjustedZ()

virtual float Pos::Filter::adjustedZ ( const Coord ,
float  z 
) const
inlinevirtual

Reimplemented in Pos::EMSurfaceProvider, and Pos::FilterSet.

◆ clone()

virtual Filter* Pos::Filter::clone ( ) const
pure virtual

◆ estRatio()

virtual float Pos::Filter::estRatio ( const Provider ) const
pure virtual

◆ fillPar()

virtual void Pos::Filter::fillPar ( IOPar ) const
pure virtual

◆ getSummary()

virtual void Pos::Filter::getSummary ( BufferString ) const
pure virtual

◆ hasZAdjustment()

virtual bool Pos::Filter::hasZAdjustment ( ) const
inlinevirtual

Reimplemented in Pos::EMSurfaceProvider, and Pos::FilterSet.

◆ includes()

virtual bool Pos::Filter::includes ( const Coord ,
float  z = mUdf(float) 
) const
pure virtual

◆ initialize()

virtual bool Pos::Filter::initialize ( TaskRunner = nullptr)
inlinevirtual

◆ is2D()

virtual bool Pos::Filter::is2D ( ) const
pure virtual

◆ isProvider()

virtual bool Pos::Filter::isProvider ( ) const
inlinevirtual

◆ make()

static Filter* Pos::Filter::make ( const IOPar ,
bool  is2d 
)
static

◆ reset()

virtual void Pos::Filter::reset ( )
pure virtual

◆ type()

virtual const char* Pos::Filter::type ( ) const
pure virtual

◆ usePar()

virtual void Pos::Filter::usePar ( const IOPar )
pure virtual

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