24 #define mUdfGeomID Survey::GeometryManager::cUndefGeomID() 25 #define mIsUdfGeomID(geomid) (geomid == mUdfGeomID) 50 enum RelationType { UnRelated=0, Related, SubSet, SuperSet, Identical };
54 virtual bool is2D()
const = 0;
58 ID
getID()
const {
return id_; }
59 void setID( ID
id ) { id_ = id; }
62 virtual const char* getName()
const = 0;
69 bool includes(
const TrcKey&)
const;
77 virtual TrcKey nearestTrace(
const Coord&,
float* distance=0)
const = 0;
81 virtual float averageTrcDist()
const = 0;
116 const Geometry* getGeometry(
const char*)
const;
121 int nrGeometries()
const;
150 void ensureSIPresent()
const;
154 bool hasDuplicateLineNames();
174 const char* linenm)
const;
177 bool fetchFrom2DGeom(
uiString& errmsg);
212 const
char* crfromstr=0)
const {
return true; }
GeometryManager & GMAdmin()
Definition: survgeom.h:184
virtual Geometry3D * as3D()
Definition: survgeom.h:89
#define mExpClass(module)
Definition: commondefs.h:157
Coord toCoord(const BinID &b) const
Definition: survgeom.h:65
const GeometryManager & GM()
Index_Type LineID
Definition: commontypes.h:46
virtual ~GeometryWriter()
Definition: survgeom.h:208
virtual Geometry2D * as2D()
Definition: survgeom.h:86
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class...
Definition: threadlock.h:51
static Geometry::ID cUndefGeomID()
Definition: survgeom.h:146
const TrcKeyZSampling & sampling() const
Definition: survgeom.h:79
ID id_
Definition: survgeom.h:101
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Index_Type TraceID
Definition: commontypes.h:47
#define mGlobal(module)
Definition: commondefs.h:160
static const TrcKey::SurvID surv2did_
Definition: survgeom.h:158
bool is2D(GeomType gt)
Definition: seistype.h:32
Geometry of a 2D Line.
Definition: survgeom2d.h:26
bool includes(const BinID &b) const
Definition: survgeom.h:70
Pos::SurvID SurvID
Definition: trckey.h:30
Definition: uistring.h:88
virtual Geometry::ID createNewGeomID(const char *) const
Definition: survgeom.h:214
Set of BufferString objects.
Definition: bufstringset.h:25
ObjectSet< T >::size_type indexOf(const ObjectSet< T > &os, const S &val)
Locate object in set.
Definition: objectset.h:173
IdxType & trcNr()
Definition: posidxpair.h:47
unsigned short CoordSysID
Definition: survgeom.h:48
virtual bool updateGeometries(ObjectSet< Geometry > &, TaskRunner *) const
Definition: survgeom.h:198
Set of pointers to objects.
Definition: commontypes.h:28
Threads::Lock lock_
Definition: survgeom.h:156
RelationType
Definition: survgeom.h:50
Set of (small) copyable elements.
Definition: commontypes.h:26
Index_Type SurvID
Definition: commontypes.h:45
Class that can execute a task.
Definition: task.h:193
void setCoordSysID(CoordSysID id)
Definition: survgeom.h:61
CoordSysID coordsysid_
Definition: survgeom.h:97
Definition: survgeom.h:204
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:270
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:32
bool hasduplnms_
Definition: survgeom.h:160
virtual bool removeEntry(const char *) const
Definition: survgeom.h:215
#define mDefineFactoryInClass(T, funcname)
Definition: factory.h:424
ObjectSet< Geometry > geometries_
Definition: survgeom.h:157
Index_Type GeomID
Definition: commontypes.h:48
virtual IOObj * createEntry(const char *) const
Definition: survgeom.h:213
virtual RelationType compare(const Geometry &, bool usezrg) const
Definition: survgeom.h:82
void setID(ID id)
Definition: survgeom.h:59
IdxType & lineNr()
Definition: posidxpair.h:42
Scaled down survey geometry for an inl/crl geometry.
Definition: survgeom3d.h:26
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:28
ID getID() const
Definition: survgeom.h:58
Pos::GeomID ID
Definition: survgeom.h:47
virtual ~GeometryReader()
Definition: survgeom.h:193
Makes geometries accessible from a geometry ID, or a DBKey.
Definition: survgeom.h:108
static TrcKey::SurvID get2DSurvID()
Definition: survgeom.h:143
Definition: survgeom.h:28
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
Definition: survgeom.h:189
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:26
2D point or vector class.
Definition: commontypes.h:58
TrcKeyZSampling sampling_
Definition: survgeom.h:96
bool exists(const char *)
Definition: arraytesselator.h:19
const SeisTrc * getTrace(EM::SubID) const
CoordSysID coordSysID() const
Definition: survgeom.h:60
FixedString Geometry()
Definition: keystrs.h:68