 |
OpendTect
6.6
|
Go to the documentation of this file.
14 #include "geometrymod.h"
35 int ID()
const {
return id_; }
44 bool isEmpty()
const {
return nodes_.isEmpty(); }
54 bool allowduplicate=
false,
59 bool allowduplicate=
false,
64 { zrange_ = rg; zrangeChanged.trigger(); }
75 enum Event {
Undef, Added, Inserted, Moving, Moved, Removed };
131 bool isEmpty()
const {
return lines_.isEmpty(); }
136 int size()
const {
return lines_.size(); }
RandomLineSet * lset_
Definition: randomlinegeom.h:98
const BinID & nodePosition(int) const
int indexOf(const MultiID &) const
CallBacker object with a name. Use if you want your object to be able to send and receive CallBack's,...
Definition: namedobj.h:72
CNotifier< RandomLineManager, int > added
Definition: randomlinegeom.h:173
const IOPar & pars() const
Definition: randomlinegeom.h:143
Definition: randomlinegeom.h:122
void insertLine(RandomLine &, int idx)
void setName(const char *)
FixedString RandomLine()
Definition: keystrs.h:127
#define mGlobal(module)
Definition: commondefs.h:180
Set of pointers to objects.
Definition: commontypes.h:31
int id_
Definition: randomlinegeom.h:104
Definition: arraytesselator.h:21
static void getPathBids(const TypeSet< BinID > &knots, TypeSet< BinID > &path, bool allowduplicate=false, TypeSet< int > *segments=0)
Deprecated in coming versions of OD.
void allNodePositions(TrcKeyPath &) const
mRefCountImpl(RandomLine) public int ID() const
Definition: randomlinegeom.h:35
void removeNode(const BinID &)
static void getPathBids(const TypeSet< BinID > &knots, Pos::SurvID, TypeSet< BinID > &path, DuplicateMode dupmode=NoConsecutiveDups, TypeSet< int > *segments=0)
RandomLineSet(const RandomLine &, double dist, bool parallel)
dist in XY units
Event ev_
Definition: randomlinegeom.h:82
#define mExpClass(module)
Definition: commondefs.h:177
Index_Type SurvID
Definition: commontypes.h:84
void setLocked(bool yn)
Definition: randomlinegeom.h:70
void setZRange(const Interval< float > &rg)
Definition: randomlinegeom.h:63
A Line2 is a line on XY-plane, and it is defined in slope-intercept form y = slope*x + y-intercept; f...
Definition: trigonometry.h:397
@ Undef
Definition: randomlinegeom.h:75
void allNodePositions(TypeSet< BinID > &) const
Interval< float > zRange() const
Definition: randomlinegeom.h:65
TypeSet< BinID > nodes_
Definition: randomlinegeom.h:95
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
IOPar & pars_
Definition: randomlinegeom.h:149
static void getPathBids(const TypeSet< BinID > &knots, Pos::SurvID, TypeSet< BinID > &path, bool allowduplicate=false, TypeSet< int > *segments=0)
Deprecated in coming versions of OD.
void setNodePositions(const TypeSet< BinID > &)
void setNodePosition(int idx, const BinID &, bool moving=false)
static int getNearestPathPosIdx(const TrcKeyPath &, const TrcKeyPath &, const TrcKey &)
Event
Definition: randomlinegeom.h:75
Definition: randomlinegeom.h:160
bool isLocked() const
Definition: randomlinegeom.h:71
friend RandomLineManager & RLM()
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
FixedString Undef()
Definition: keystrs.h:176
bool isEmpty() const
Definition: randomlinegeom.h:44
Definition: randomlinegeom.h:31
RandomLine * getRandomLine(int)
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:31
A cartesian coordinate in 2D space.
Definition: coord.h:25
MultiID getMultiID() const
Definition: randomlinegeom.h:68
int nodeidx_
Definition: randomlinegeom.h:83
bool isLoaded(const MultiID &) const
int nodeIndex(const BinID &) const
Notifier< RandomLine > nameChanged
Definition: randomlinegeom.h:86
Notifier< RandomLine > zrangeChanged
Definition: randomlinegeom.h:88
Class to help setup a callback handling.
Definition: notify.h:126
CNotifier< RandomLine, const ChangeData & > nodeChanged
Definition: randomlinegeom.h:87
static void getGeometry(const MultiID &, TypeSet< BinID > &knots, StepInterval< float > *zrg=0)
bool isLoaded(int id) const
bool locked_
Definition: randomlinegeom.h:99
void insertNode(int, const BinID &)
CNotifier< RandomLineManager, int > removed
Definition: randomlinegeom.h:174
const RandomLineSet * lineSet() const
Definition: randomlinegeom.h:91
ChangeData(Event ev=Undef, int nodeidx=-1)
Definition: randomlinegeom.h:77
void createParallelLines(const Line2 &baseline, double dist)
void limitTo(const TrcKeyZSampling &)
Compound key consisting of ints.
Definition: multiid.h:24
RandomLineSet * lineSet()
Definition: randomlinegeom.h:90
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28
const RandomLine * get(int id) const
void addLine(RandomLine &)
const ObjectSet< RandomLine > & lines() const
Definition: randomlinegeom.h:137
DuplicateMode
Definition: randomlinegeom.h:112
void setMultiID(const MultiID &)
ObjectSet< RandomLine > lines_
Definition: randomlinegeom.h:148
const RandomLine * getRandomLine(int) const
bool isEmpty() const
Definition: randomlinegeom.h:131
IOPar & pars()
Definition: randomlinegeom.h:144
int addNode(const BinID &)
RandomLine * get(const MultiID &)
Definition: randomlinegeom.h:74
Interval< float > zrange_
Definition: randomlinegeom.h:96
ObjectSet< RandomLine > lines_
Definition: randomlinegeom.h:183
RandomLineManager & RLM()
MultiID mid_
Definition: randomlinegeom.h:97
int size() const
Definition: randomlinegeom.h:136
void limitTo(const TrcKeyZSampling &)
Notifier with automatic capsule creation.
Definition: notify.h:171
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
static Coord getNormal(const TrcKeyPath &knots, const TrcKey &pos)
void remove(RandomLine *)
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021