49 virtual Filter* clone()
const = 0;
52 virtual const char* type()
const = 0;
53 virtual bool is2D()
const = 0;
57 { reset();
return true; }
58 virtual void reset() = 0;
60 virtual bool includes(
const Coord&,
61 float z=
mUdf(
float))
const = 0;
69 virtual float estRatio(
const Provider&)
const = 0;
71 static Filter* make(
const IOPar&,
bool is2d);
83 virtual bool is2D()
const {
return false; }
85 virtual bool includes(
const BinID&,
float z=
mUdf(
float))
const = 0;
86 virtual bool includes(
const Coord&,
float z=
mUdf(
float))
const;
104 virtual bool is2D()
const {
return true; }
105 virtual bool includes(
int,
float z=
mUdf(
float),
int lidx=0)
const = 0;
106 virtual bool includes(
const Coord&,
107 float z=
mUdf(
float))
const = 0;
110 void removeGeomID(
int lidx);
#define mExpClass(module)
Definition: commondefs.h:160
virtual bool initialize(TaskRunner *tr=0)
Definition: posfilter.h:56
Provides a series of positions; can also be used for subselection.
Definition: posprovider.h:33
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
Provides a filter related to 3D data.
Definition: posfilter.h:79
A cartesian coordinate in 2D space.
Definition: coord.h:25
virtual bool hasZAdjustment() const
Definition: posfilter.h:62
virtual ~Filter()
Definition: posfilter.h:50
virtual bool is2D() const
Definition: posfilter.h:104
Decides whether a given position should be included.
Definition: posfilter.h:45
virtual bool isProvider() const
Definition: posfilter.h:54
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Class that can execute a task.
Definition: task.h:169
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:272
Position.
Definition: commontypes.h:42
virtual bool is2D() const
Definition: posfilter.h:83
#define mDefineFactoryInClass(T, funcname)
Definition: factory.h:426
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Index_Type GeomID
Definition: commontypes.h:52
Provides a filter related to 2D seismic data.
Definition: posfilter.h:98
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
bool is2D(const PicksType &picks)
Definition: pickset.h:142
TypeSet< Pos::GeomID > geomids_
Definition: posfilter.h:119
Filter2D()
Definition: posfilter.h:101
virtual float adjustedZ(const Coord &, float z) const
Definition: posfilter.h:63