36 void add(
const IOPar&);
38 static const char* typeStr();
42 virtual bool includes(
const Coord&,
float)
const;
43 virtual float adjustedZ(
const Coord&,
float)
const;
44 virtual bool hasZAdjustment()
const;
48 virtual float estRatio(
const Provider&)
const;
50 bool isEmpty()
const {
return filts_.isEmpty(); }
51 int size()
const {
return filts_.size(); }
65 #define mSimpPosFilterSetDefFns(dim) \ 67 FilterSet##dim( const FilterSet##dim& fs ) \ 69 FilterSet##dim& operator =( const FilterSet##dim& fs ) \ 70 { copyFrom(fs); return *this; } \ 71 virtual Filter* clone() const { return new FilterSet##dim(*this); } \ 72 virtual const char* type() const { return typeStr(); } \ 73 virtual const char* factoryKeyword() const { return type(); } \ 74 virtual bool includes( const Coord& c, float z=1e30 ) const \ 75 { return FilterSet::includes(c,z); } \ 87 virtual bool is2D()
const {
return false; }
88 virtual bool includes(
const BinID&,
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;
#define mExpClass(module)
Definition: commondefs.h:160
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
ObjectSet< Filter > filts_
Definition: posfilterset.h:58
#define mSimpPosFilterSetDefFns(dim)
Definition: posfilterset.h:65
virtual bool is2D() const
Definition: posfilterset.h:87
A cartesian coordinate in 2D space.
Definition: coord.h:25
Decides whether a given position should be included.
Definition: posfilter.h:45
Set of pointers to objects.
Definition: commontypes.h:32
3D FilterSet
Definition: posfilterset.h:82
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
const ObjectSet< Filter > & filters() const
Definition: posfilterset.h:54
Class that can execute a task.
Definition: task.h:169
int size() const
Definition: posfilterset.h:51
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:272
ObjectSet< Filter > & filters()
Definition: posfilterset.h:53
virtual bool is2D() const
Definition: posfilterset.h:104
Position.
Definition: commontypes.h:42
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
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
Set of Filters. Owns the Filters.
Definition: posfilterset.h:29
bool isEmpty() const
Definition: posfilterset.h:50
2D FilterSet
Definition: posfilterset.h:99