46 , color_(
Color::Black())
50 {
return m.
name() == name(); }
51 bool operator > (
const Marker& wm )
const 52 {
return dah_ > wm.
dah_; }
54 inline float dah()
const {
return dah_; }
55 inline void setDah(
float v ) { dah_ = v; }
56 inline int levelID()
const {
return levelid_; }
60 static const char* sKeyDah();
83 const Marker*
getByName(
const char* nm)
const {
return gtByName(nm); }
84 Marker*
getByName(
const char* nm) {
return gtByName(nm); }
85 const Marker*
getByLvlID(
int id)
const {
return gtByLvlID(
id);}
87 int getIdxAbove(
float z,
const Well::Track* trck=0)
const;
88 int getIdxBelow(
float z,
const Well::Track* trck=0)
const;
91 bool isPresent(
const char* n)
const {
return getByName(n); }
98 { mergeOtherWell(ms); }
113 Marker* gtByName(
const char*)
const;
114 Marker* gtByLvlID(
int)
const;
132 const char*,
const char*);
134 inline int size()
const {
return rg_.width(
false) + 1; }
135 bool isValid()
const;
138 {
return rg_.includes(i,
false);}
139 bool isIncluded(
const char*)
const;
140 bool isIncluded(
float z)
const;
149 float thickness()
const;
170 : MarkerRange(ms,idxrg) {}
173 : MarkerRange(ms,m1,m2) {}
175 void setThickness(
float);
179 {
return const_cast<MarkerSet&
>(markers_); }
int size() const
Definition: wellmarker.h:134
#define mExpClass(module)
Definition: commondefs.h:160
void setLevelID(int id)
Definition: wellmarker.h:57
Set of Markers.
Definition: wellmarker.h:76
Range of markers (typically describing zone of interest)
Definition: wellmarker.h:125
const Marker * getByLvlID(int id) const
Definition: wellmarker.h:85
Interval< int > rg_
Definition: wellmarker.h:154
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
MarkerRange that can change its MarkerSet.
Definition: wellmarker.h:164
bool isPresent(const Marker *m) const
Definition: wellmarker.h:102
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
MarkerSet()
Definition: wellmarker.h:80
void setColor(Color col)
Definition: wellmarker.h:63
const MarkerSet & markers() const
Definition: wellmarker.h:146
virtual bool isPresent(const T *) const
Definition: objectset.h:344
const Interval< int > & idxRange() const
Definition: wellmarker.h:147
Set of BufferString objects.
Definition: bufstringset.h:28
ObjectSet< T >::size_type indexOf(const ObjectSet< T > &os, const S &val)
Locate object in set.
Definition: objectset.h:169
Marker(int lvlid, float dh)
Definition: wellmarker.h:44
const MarkerSet & markers_
Definition: wellmarker.h:153
Marker * getByName(const char *nm)
Definition: wellmarker.h:84
const Marker * getByName(const char *nm) const
Definition: wellmarker.h:83
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Class that can execute a task.
Definition: task.h:169
int levelID() const
Definition: wellmarker.h:56
float dah() const
Definition: wellmarker.h:54
FixedString Color()
Definition: keystrs.h:46
Definition: directionalsurvey.h:19
void setDah(float v)
Definition: wellmarker.h:55
Color color_
Definition: wellmarker.h:68
Well track.
Definition: welltrack.h:29
Marker * getByLvlID(int id)
Definition: wellmarker.h:86
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Marker(const char *nm=0, float dh=0, Color c=Color())
Definition: wellmarker.h:39
bool isPresent(const char *n) const
Definition: wellmarker.h:91
int indexOf(const Marker *m) const
Definition: wellmarker.h:100
bool isIncluded(int i) const
Definition: wellmarker.h:137
float dah_
Definition: wellmarker.h:67
int levelid_
Definition: wellmarker.h:69
Object with a name.
Definition: namedobj.h:35
MarkerSet & getMarkers()
Definition: wellmarker.h:178
MarkerChgRange(MarkerSet &ms, const char *m1, const char *m2)
Definition: wellmarker.h:171
Marker, should be attached to Strat level.
Definition: wellmarker.h:35
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
MarkerChgRange(MarkerSet &ms, const Interval< int > &idxrg=Interval< int >(-1,-1))
Definition: wellmarker.h:168
bool isconst_
Definition: wellmarker.h:155
ObjectSet where the objects contained are owned by this set.
Definition: manobjectset.h:23
Interval< int > & idxRange()
Definition: wellmarker.h:148
virtual const OD::String & name() const
Definition: namedobj.h:47
virtual size_type indexOf(const T *) const
Definition: objectset.h:337
virtual void append(const ObjectSet< Marker > &ms)
Definition: wellmarker.h:97