1 #ifndef seisselection_h 2 #define seisselection_h 21 namespace Pos {
class Provider; }
89 virtual Type type()
const = 0;
90 static SelData*
get(
Type);
91 static SelData*
get(
const IOPar&);
93 virtual SelData* clone()
const = 0;
94 virtual void copyFrom(
const SelData&) = 0;
96 bool isAll()
const {
return isall_; }
98 inline bool isOK(
const BinID& b )
const {
return !selRes(b); }
99 virtual int selRes(
const BinID&)
const = 0;
107 virtual int expectedNrTraces(
bool for2d=
false,
108 const BinID* step=0)
const = 0;
112 static void removeFromPar(
IOPar&);
115 virtual void extendH(
const BinID& stepout,
116 const BinID* stepoutstep=0);
117 virtual void include(
const SelData&) = 0;
130 int tracesInSI()
const;
131 virtual void doExtendH(
BinID stepout,
BinID stepoutstep) = 0;
137 return !sd || sd->
isAll();
#define mExpClass(module)
Definition: commondefs.h:160
Summary for a Seismic object.
Definition: segydirectdef.h:23
bool isAll() const
Definition: seisselection.h:96
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
#define mDefSetupClssMemb(clss, typ, memb)
Definition: commondefs.h:133
setup for subselection of seismic data
Definition: seisselection.h:29
void setIsAll(bool yn=true)
Definition: seisselection.h:97
virtual bool setZRange(Interval< float >)
Definition: seisselection.h:102
SelType Type
Definition: seisselection.h:88
SelType
Definition: seistype.h:26
Pos::GeomID geomID() const
Definition: seisselection.h:120
bool isOK(const BinID &b) const
Definition: seisselection.h:98
bool isall_
Definition: seisselection.h:127
Key for a line in a line set.
Definition: linekey.h:22
GeomType
Definition: seistype.h:33
bool isPS(GeomType gt)
Definition: seistype.h:38
void setGeomID(Pos::GeomID geomid)
Definition: seisselection.h:121
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
SelSetup(Seis::GeomType gt)
Definition: seisselection.h:33
Position.
Definition: commontypes.h:42
virtual bool setCrlRange(Interval< int >)
Definition: seisselection.h:106
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
contains input (sub-)selection data from a cube or lineset
Definition: seisselection.h:82
Index_Type GeomID
Definition: commontypes.h:52
Type
Definition: angles.h:27
virtual bool setInlRange(Interval< int >)
Definition: seisselection.h:104
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
Pos::GeomID geomid_
Definition: seisselection.h:128
GeomType geomTypeOf(const char *)
bool isEmpty(const NLAModel *mdl)
SelSetup(bool is_2d, bool is_ps=false)
Definition: seisselection.h:41