![]() |
OpendTect 8.0
|
Makes geometries accessible from a geometry ID, or a MultiID.
More...
#include <survgeom.h>
Public Member Functions | |
| GeometryManager () | |
| ~GeometryManager () | |
| Pos::GeomID | addNewEntry (Geometry *, uiString &) |
| Pos::GeomID | default2DGeomID () const |
| TrcKey::SurvID | default3DSurvID () const |
| void | ensureSIPresent () |
| bool | fetchFrom2DGeom (uiString &errmsg) |
| bool | fillGeometries (TaskRunner *) |
| Pos::GeomID | findRelated (const Geometry &, Geometry::RelationType &, bool usezrg) const |
| Returns GeomID::udf() if none found. | |
| Geometry2D & | get2D (const Pos::GeomID &) |
| const Geometry2D & | get2D (const Pos::GeomID &) const |
| const Geometry * | getGeometry (const char *) const |
| const Geometry * | getGeometry (const MultiID &) const |
| Geometry * | getGeometry (const Pos::GeomID &) |
| const Geometry * | getGeometry (const Pos::GeomID &) const |
| const Geometry3D * | getGeometry3D (OD::GeomSystem) const |
| Pos::GeomID | getGeomID (const char *linenm) const |
| Pos::GeomID | getGeomID (const char *lsm, const char *linenm) const |
| bool | getList (BufferStringSet &names, TypeSet< Pos::GeomID > &ids, bool is2d) const |
| const char * | getName (const Pos::GeomID &) const |
| bool | has2D () const |
| bool | isUsable (const Pos::GeomID &) const |
| TrcKey | nearestTrace (const Coord &, bool is2d, float *dist=nullptr) const |
| TrcKey | nearestTrace (const TypeSet< Pos::GeomID > &, const Coord &, float *dist=nullptr) const |
| int | nrGeometries () const |
| bool | removeGeometry (const Pos::GeomID &) |
| Coord | toCoord (const TrcKey &) const |
| TrcKey | traceKey (Pos::GeomID, Pos::LineID, Pos::TraceID) const |
| For 3D. | |
| TrcKey | traceKey (Pos::GeomID, Pos::TraceID) const |
| For 2D. | |
| bool | updateGeometries (TaskRunner *) |
| bool | write (Geometry &, uiString &) |
| StepInterval< float > | zRange (const Pos::GeomID &) const |
Public Member Functions inherited from CallBacker | |
| CallBacker () | |
| CallBacker (const CallBacker &) | |
| virtual | ~CallBacker () |
| bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
| bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
| void | detachAllNotifiers () const |
| Call from the destructor of your inherited object. | |
| void | detachCB (const NotifierAccess &, const CallBack &) const |
| void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
| virtual bool | isCapsule () const |
| bool | isNotifierAttached (const NotifierAccess *) const |
| Only for debugging purposes, don't use. | |
| CallBacker & | operator= (const CallBacker &)=delete |
| void | stopReceivingNotifications () const |
| virtual CallBacker * | trueCaller () |
Static Public Member Functions | |
| static Pos::GeomID | cUndefGeomID () |
| static TrcKey::SurvID | get2DSurvID () |
| static TrcKey::SurvID | get3DSurvID () |
Static Public Member Functions inherited from CallBacker | |
| static void | createReceiverForCurrentThread () |
| static void | removeReceiverForCurrentThread () |
Public Attributes | |
| Notifier< GeometryManager > | closing |
| Notifier< GeometryManager > | geometryRead |
Protected Member Functions | |
| void | addGeometry (Geometry &) |
| const Geometry * | getGeometry (OD::GeomSystem) const =delete |
| bool | hasDuplicateLineNames () |
| int | indexOf (const Pos::GeomID &) const |
Protected Attributes | |
| RefObjectSet< Geometry > | geometries_ |
| bool | hasduplnms_ = false |
| Threads::Lock | lock_ |
Private Attributes | |
| std::unordered_map< int, int > | geomidmap_ |
| std::unordered_map< std::string, int > | namemap_ |
Makes geometries accessible from a geometry ID, or a MultiID.
<>
| Survey::GeometryManager::GeometryManager | ( | ) |
| Survey::GeometryManager::~GeometryManager | ( | ) |
|
protected |
| Pos::GeomID Survey::GeometryManager::addNewEntry | ( | Geometry * | , |
| uiString & | ) |
|
inlinestatic |
| Pos::GeomID Survey::GeometryManager::default2DGeomID | ( | ) | const |
|
inline |
| void Survey::GeometryManager::ensureSIPresent | ( | ) |
| bool Survey::GeometryManager::fetchFrom2DGeom | ( | uiString & | errmsg | ) |
| bool Survey::GeometryManager::fillGeometries | ( | TaskRunner * | ) |
Admin functions: Use the following functions only when you know what you are doing.
| Pos::GeomID Survey::GeometryManager::findRelated | ( | const Geometry & | , |
| Geometry::RelationType & | , | ||
| bool | usezrg ) const |
Returns GeomID::udf() if none found.
| Geometry2D & Survey::GeometryManager::get2D | ( | const Pos::GeomID & | ) |
| const Geometry2D & Survey::GeometryManager::get2D | ( | const Pos::GeomID & | ) | const |
|
inlinestatic |
|
inlinestatic |
| const Geometry * Survey::GeometryManager::getGeometry | ( | const char * | ) | const |
| Geometry * Survey::GeometryManager::getGeometry | ( | const Pos::GeomID & | ) |
| const Geometry * Survey::GeometryManager::getGeometry | ( | const Pos::GeomID & | ) | const |
|
protecteddelete |
| const Geometry3D * Survey::GeometryManager::getGeometry3D | ( | OD::GeomSystem | ) | const |
| Pos::GeomID Survey::GeometryManager::getGeomID | ( | const char * | linenm | ) | const |
| Pos::GeomID Survey::GeometryManager::getGeomID | ( | const char * | lsm, |
| const char * | linenm ) const |
Use only if you are converting od4 geometries to od5 geometries
| bool Survey::GeometryManager::getList | ( | BufferStringSet & | names, |
| TypeSet< Pos::GeomID > & | ids, | ||
| bool | is2d ) const |
| const char * Survey::GeometryManager::getName | ( | const Pos::GeomID & | ) | const |
| bool Survey::GeometryManager::has2D | ( | ) | const |
|
protected |
|
protected |
| bool Survey::GeometryManager::isUsable | ( | const Pos::GeomID & | ) | const |
| TrcKey Survey::GeometryManager::nearestTrace | ( | const Coord & | , |
| bool | is2d, | ||
| float * | dist = nullptr ) const |
| TrcKey Survey::GeometryManager::nearestTrace | ( | const TypeSet< Pos::GeomID > & | , |
| const Coord & | , | ||
| float * | dist = nullptr ) const |
| int Survey::GeometryManager::nrGeometries | ( | ) | const |
| bool Survey::GeometryManager::removeGeometry | ( | const Pos::GeomID & | ) |
Returns new GeomID.
| TrcKey Survey::GeometryManager::traceKey | ( | Pos::GeomID | , |
| Pos::LineID | , | ||
| Pos::TraceID | ) const |
For 3D.
| TrcKey Survey::GeometryManager::traceKey | ( | Pos::GeomID | , |
| Pos::TraceID | ) const |
For 2D.
| bool Survey::GeometryManager::updateGeometries | ( | TaskRunner * | ) |
| StepInterval< float > Survey::GeometryManager::zRange | ( | const Pos::GeomID & | ) | const |
| Notifier<GeometryManager> Survey::GeometryManager::closing |
|
protected |
| Notifier<GeometryManager> Survey::GeometryManager::geometryRead |
|
private |
|
protected |
|
mutableprotected |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2025