![]() |
OpendTect
7.0
|
Public Types | |
enum | StringType { Default , URN , WKT , JSON , URL } |
![]() | |
typedef OD::String | name_type |
Public Member Functions | |
virtual CoordSystem * | clone () const =0 |
virtual Coord | convertFrom (const Coord &, const CoordSystem &from) const |
virtual Coord | convertTo (const Coord &, const CoordSystem &to) const |
virtual uiString | description () const =0 |
void | fillPar (IOPar &) const |
virtual Coord | fromString (const char *) const |
virtual bool | geographicTransformOK () const =0 |
BufferString | getDescString (StringType=Default, bool withsystem=false) const |
virtual CoordSystem * | getGeodeticSystem () const |
virtual BufferString | getUnitName () const |
virtual BufferString | getURNString () const =0 |
virtual bool | isFeet () const |
virtual bool | isGeodetic () const |
virtual bool | isMeter () const |
virtual bool | isOK () const =0 |
virtual bool | isOrthogonal () const =0 |
virtual bool | isProjection () const |
virtual bool | isWGS84 () const |
bool | operator!= (const CoordSystem &) const |
bool | operator== (const CoordSystem &) const |
virtual BufferString | summary () const =0 |
virtual BufferString | toString (const Coord &, bool withsystem=false) const |
virtual uiString | toUiString (const Coord &) const |
bool | usePar (const IOPar &) |
![]() | |
SharedObject (const char *nm=nullptr) | |
SharedObject (const SharedObject &) | |
![]() | |
NamedCallBacker (const char *nm=0) | |
NamedCallBacker (const NamedCallBacker &) | |
virtual Notifier< NamedCallBacker > & | objectToBeDeleted () const |
bool | operator== (const NamedCallBacker &oth) const |
bool | operator== (const NamedObject &oth) const |
![]() | |
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. More... | |
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. More... | |
void | stopReceivingNotifications () const |
virtual CallBacker * | trueCaller () |
![]() | |
NamedObject (const char *nm=nullptr) | |
NamedObject (const NamedObject &oth) | |
virtual | ~NamedObject () |
virtual BufferString | getName () const |
bool | getNameFromPar (const IOPar &) |
const name_type & | name () const override |
NamedObject & | operator= (const NamedObject &) |
bool | operator== (const NamedObject &oth) const |
virtual void | setName (const char *nm) |
![]() | |
virtual | ~ObjectWithName () |
bool | hasName (const char *nm) const |
bool | hasName (const name_type &nm) const |
void | putNameInPar (IOPar &) const |
![]() | |
void | addObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
int | nrRefs () const |
Only for expert use. More... | |
void | ref () const |
bool | refIfReffed () const |
Don't use in production, for debugging. More... | |
void | removeObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
bool | tryRef () const |
Not for normal use. May become private. More... | |
void | unRef () const |
void | unRefNoDelete () const |
Static Public Member Functions | |
static Coord | convert (const Coord &, const CoordSystem &from, const CoordSystem &to) |
static RefMan< CoordSystem > | createSystem (const char *str, BufferString &msgs) |
static RefMan< CoordSystem > | createSystem (const IOPar &) |
Creates subclass with settings. More... | |
static void | getSystemNames (bool onlyorthogonal, bool onlyprojection, uiStringSet &, ObjectSet< IOPar > &) |
Creates the subclasses without settings. More... | |
static CoordSystem * | getWGS84LLSystem () |
static void | initRepository (NotifierAccess *=nullptr) |
static const char * | sKeyFactoryName () |
static const char * | sKeyJSON () |
static const char * | sKeyUiName () |
static const char * | sKeyURL () |
static const char * | sKeyURN () |
static const char * | sKeyWKT () |
static BufferString | sWGS84ProjDispString () |
![]() | |
static Notifier< SharedObject > & | instanceCreated () |
![]() | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
![]() | |
static bool | isSane (const Referenced *) |
Protected Member Functions | |
virtual | ~CoordSystem () |
virtual void | doFillPar (IOPar &) const =0 |
virtual bool | doUsePar (const IOPar &)=0 |
virtual Coord | fromGeographic (const LatLong &, bool wgs84) const =0 |
virtual LatLong | toGeographic (const Coord &, bool wgs84) const =0 |
![]() | |
virtual | ~SharedObject () |
![]() | |
void | sendDelNotif () const |
![]() | |
Referenced () | |
Referenced (const Referenced &) | |
virtual | ~Referenced () |
Referenced & | operator= (const Referenced &) |
Friends | |
class | ::LatLong |
Additional Inherited Members | |
![]() | |
Threads::Atomic< bool > | delalreadytriggered_ |
Notifier< NamedCallBacker > | delnotif_ |
![]() | |
BufferString | name_ |
Base class for Coord systems, these are all two-dimensional and coordinates can be stored in Coord. They may use any projection, but they must be able to return Geographic coordinates using either the WGS84 datum or its own datum if applicable.
<>
|
protectedvirtual |
|
pure virtual |
Implemented in Coords::ProjectionBasedSystem, Coords::AnchorBasedXY, and Coords::UnlocatedXY.
|
static |
|
virtual |
Reimplemented in Coords::ProjectionBasedSystem.
|
virtual |
Reimplemented in Coords::ProjectionBasedSystem.
|
static |
|
static |
Creates subclass with settings.
Gets a list of coord systems and the corresponding IOPars to create them. IOPars become yours!
|
pure virtual |
Implemented in Coords::ProjectionBasedSystem, Coords::AnchorBasedXY, and Coords::UnlocatedXY.
|
protectedpure virtual |
Implemented in Coords::ProjectionBasedSystem, Coords::AnchorBasedXY, and Coords::UnlocatedXY.
|
protectedpure virtual |
Implemented in Coords::ProjectionBasedSystem, Coords::AnchorBasedXY, and Coords::UnlocatedXY.
void Coords::CoordSystem::fillPar | ( | IOPar & | ) | const |
|
protectedpure virtual |
Implemented in Coords::ProjectionBasedSystem, Coords::AnchorBasedXY, and Coords::UnlocatedXY.
|
virtual |
|
pure virtual |
Implemented in Coords::ProjectionBasedSystem, Coords::AnchorBasedXY, and Coords::UnlocatedXY.
BufferString Coords::CoordSystem::getDescString | ( | StringType | = Default , |
bool | withsystem = false |
||
) | const |
|
inlinevirtual |
Reimplemented in Coords::ProjectionBasedSystem.
|
static |
Creates the subclasses without settings.
|
inlinevirtual |
Reimplemented in Coords::ProjectionBasedSystem.
|
pure virtual |
Implemented in Coords::ProjectionBasedSystem, Coords::AnchorBasedXY, and Coords::UnlocatedXY.
|
static |
|
static |
To be called from initGeneral with a pointer to survey change notifier.
|
inlinevirtual |
Reimplemented in Coords::ProjectionBasedSystem, Coords::AnchorBasedXY, and Coords::UnlocatedXY.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in Coords::ProjectionBasedSystem, Coords::AnchorBasedXY, and Coords::UnlocatedXY.
|
pure virtual |
Implemented in Coords::ProjectionBasedSystem, Coords::AnchorBasedXY, and Coords::UnlocatedXY.
|
pure virtual |
Implemented in Coords::ProjectionBasedSystem, Coords::AnchorBasedXY, and Coords::UnlocatedXY.
|
inlinevirtual |
Reimplemented in Coords::ProjectionBasedSystem.
|
inlinevirtual |
Reimplemented in Coords::ProjectionBasedSystem.
bool Coords::CoordSystem::operator!= | ( | const CoordSystem & | ) | const |
bool Coords::CoordSystem::operator== | ( | const CoordSystem & | ) | const |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
pure virtual |
Implemented in Coords::ProjectionBasedSystem, Coords::AnchorBasedXY, and Coords::UnlocatedXY.
|
static |
|
protectedpure virtual |
Implemented in Coords::ProjectionBasedSystem, Coords::AnchorBasedXY, and Coords::UnlocatedXY.
|
virtual |
Returns string. If withsystem is turned on it will start with the factory name of the system, followed by a space.
bool Coords::CoordSystem::usePar | ( | const IOPar & | ) |
|
friend |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024