OpendTect-6_4  6.4
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 Filterclone () const =0
 
virtual ~Filter ()
 
virtual const char * type () const =0
 
virtual bool is2D () const =0
 
virtual bool isProvider () const
 
virtual bool initialize (TaskRunner *tr=0)
 
virtual void reset ()=0
 
virtual bool includes (const Coord &, float z=mUdf(float)) const =0
 
virtual bool hasZAdjustment () const
 
virtual float adjustedZ (const Coord &, float z) const
 
virtual void usePar (const IOPar &)=0
 
virtual void fillPar (IOPar &) const =0
 
virtual void getSummary (BufferString &) const =0
 
virtual float estRatio (const Provider &) const =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

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

Member Function Documentation

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

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

virtual Filter* Pos::Filter::clone ( ) const
pure virtual
virtual float Pos::Filter::estRatio ( const Provider ) const
pure virtual
virtual void Pos::Filter::fillPar ( IOPar ) const
pure virtual
virtual void Pos::Filter::getSummary ( BufferString ) const
pure virtual
virtual bool Pos::Filter::hasZAdjustment ( ) const
inlinevirtual

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

virtual bool Pos::Filter::includes ( const Coord ,
float  z = mUdf(float) 
) const
pure virtual
virtual bool Pos::Filter::initialize ( TaskRunner tr = 0)
inlinevirtual
virtual bool Pos::Filter::is2D ( ) const
pure virtual
virtual bool Pos::Filter::isProvider ( ) const
inlinevirtual
static Filter* Pos::Filter::make ( const IOPar ,
bool  is2d 
)
static
virtual void Pos::Filter::reset ( )
pure virtual
virtual const char* Pos::Filter::type ( ) const
pure virtual
virtual void Pos::Filter::usePar ( const IOPar )
pure virtual

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