1 #ifndef linesetposinfo_h 2 #define linesetposinfo_h 15 #include "generalmod.h" 33 int nrLines()
const {
return data_.size(); }
35 {
return data_[idx]->lnm_.buf(); }
37 {
return data_[idx]->pos_; }
38 const Line2DData* getLineData(
const char*)
const;
39 void removeLine(
const char*);
51 float getDistBetwTrcs(
bool,
const char* linenm =0)
const;
52 BinID getElementStepout(
const char* linenm)
const;
53 void compDistBetwTrcsStats();
55 {
return trcdiststatsperlines_.size(); }
67 Info* findLine(
const char*)
const;
75 , mediandist_(mediandist)
76 , maxdist_( maxdist ) {};
80 return ltds.linename_ == linename_
81 && ltds.mediandist_ == mediandist_
82 && ltds.maxdist_ == maxdist_;
#define mExpClass(module)
Definition: commondefs.h:160
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
#define mStruct(module)
Definition: commondefs.h:165
BufferString lnm_
Definition: linesetposinfo.h:61
ObjectSet< Info > data_
Definition: linesetposinfo.h:65
const Line2DData & lineData(int idx) const
Definition: linesetposinfo.h:36
BinIDValueSet * posns_
Definition: linesetposinfo.h:47
Definition: linesetposinfo.h:41
Position info for a 2D line.
Definition: posinfo2d.h:65
Set of pointers to objects.
Definition: commontypes.h:32
int nrLines() const
Definition: linesetposinfo.h:33
Definition: linesetposinfo.h:59
const char * lineName(int idx) const
Definition: linesetposinfo.h:34
Position info for a set of 2D lines.
Definition: linesetposinfo.h:26
virtual ~LineSet2DData()
Definition: linesetposinfo.h:30
Position info, often segmented.
Definition: posinfo.h:40
bool areStatsComputed() const
Definition: linesetposinfo.h:54
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
Line2DData pos_
Definition: linesetposinfo.h:62
A Pos::IdxPairValueSet with BinIDs.
Definition: binidvalset.h:23
TypeSet< LineTrcDistStats > trcdiststatsperlines_
Definition: linesetposinfo.h:88
BufferString lnm_
Definition: linesetposinfo.h:46
IR()
Definition: linesetposinfo.h:43
void deepErase(ObjectSet< T > &os)
empty the ObjectSet deleting all objects pointed to.
Definition: objectset.h:118