OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | List of all members
Coords::ProjectionBasedSystem Class Reference
Inheritance diagram for Coords::ProjectionBasedSystem:
[legend]

Public Member Functions

 ProjectionBasedSystem ()
 
 ProjectionBasedSystem (const AuthorityCode &)
 
 ~ProjectionBasedSystem ()
 
CoordSystemclone () const override
 
Coord convertFrom (const Coord &, const CoordSystem &from) const override
 
Coord convertTo (const Coord &, const CoordSystem &to) const override
 
uiString description () const override
 
RefMan< CoordSystemfromDescString (const char *, BufferString *msg=nullptr) const
 
bool geographicTransformOK () const override
 
CoordSystemgetGeodeticSystem () const override
 
BufferString getJSONString () const
 
const ProjectiongetProjection () const
 
BufferString getUnitName () const override
 
BufferString getUrl () const
 
BufferString getURNString () const override
 
BufferString getWKTString () const
 
bool isFeet () const override
 
bool isLatLong () const
 
bool isMeter () const override
 
bool isOK () const override
 
bool isOrthogonal () const override
 
bool isProjection () const override
 
bool isWGS84 () const override
 
bool setProjection (const AuthorityCode &)
 
BufferString summary () const override
 
BufferString toDescString (StringType=Default, bool withsystem=false) const
 Default: URN. More...
 
- Public Member Functions inherited from Coords::CoordSystem
void fillPar (IOPar &) const
 
virtual Coord fromString (const char *) const
 
BufferString getDescString (StringType=Default, bool withsystem=false) const
 
virtual bool isGeodetic () const
 
bool operator!= (const CoordSystem &) const
 
bool operator== (const CoordSystem &) const
 
virtual BufferString toString (const Coord &, bool withsystem=false) const
 
virtual uiString toUiString (const Coord &) const
 
bool usePar (const IOPar &)
 
- Public Member Functions inherited from SharedObject
 SharedObject (const char *nm=nullptr)
 
 SharedObject (const SharedObject &)
 
- Public Member Functions inherited from NamedCallBacker
 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
 
- 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. 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 CallBackertrueCaller ()
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
const name_typename () const override
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 
- Public Member Functions inherited from RefCount::Referenced
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 CoordSystemgetWGS84LLSystem ()
 
- Static Public Member Functions inherited from Coords::CoordSystem
static Coord convert (const Coord &, const CoordSystem &from, const CoordSystem &to)
 
static RefMan< CoordSystemcreateSystem (const char *str, BufferString &msgs)
 
static RefMan< CoordSystemcreateSystem (const IOPar &)
 Creates subclass with settings. More...
 
static void getSystemNames (bool onlyorthogonal, bool onlyprojection, uiStringSet &, ObjectSet< IOPar > &)
 Creates the subclasses without settings. More...
 
static CoordSystemgetWGS84LLSystem ()
 
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 Public Member Functions inherited from SharedObject
static Notifier< SharedObject > & instanceCreated ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Static Public Member Functions inherited from RefCount::Referenced
static bool isSane (const Referenced *)
 

Protected Attributes

Projectionproj_ = nullptr
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Private Member Functions

void doFillPar (IOPar &) const override
 
bool doUsePar (const IOPar &) override
 
Coord fromGeographic (const LatLong &, bool wgs84) const override
 
LatLong toGeographic (const Coord &, bool wgs84) const override
 

Additional Inherited Members

- Public Types inherited from Coords::CoordSystem
enum  StringType {
  Default , URN , WKT , JSON ,
  URL
}
 
- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Protected Member Functions inherited from Coords::CoordSystem
virtual ~CoordSystem ()
 
- Protected Member Functions inherited from SharedObject
virtual ~SharedObject ()
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 
- Protected Member Functions inherited from RefCount::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
virtual ~Referenced ()
 
Referencedoperator= (const Referenced &)
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ ProjectionBasedSystem() [1/2]

Coords::ProjectionBasedSystem::ProjectionBasedSystem ( )

◆ ProjectionBasedSystem() [2/2]

Coords::ProjectionBasedSystem::ProjectionBasedSystem ( const AuthorityCode )

◆ ~ProjectionBasedSystem()

Coords::ProjectionBasedSystem::~ProjectionBasedSystem ( )

Member Function Documentation

◆ clone()

CoordSystem* Coords::ProjectionBasedSystem::clone ( ) const
overridevirtual

Implements Coords::CoordSystem.

◆ convertFrom()

Coord Coords::ProjectionBasedSystem::convertFrom ( const Coord ,
const CoordSystem from 
) const
overridevirtual

Reimplemented from Coords::CoordSystem.

◆ convertTo()

Coord Coords::ProjectionBasedSystem::convertTo ( const Coord ,
const CoordSystem to 
) const
overridevirtual

Reimplemented from Coords::CoordSystem.

◆ description()

uiString Coords::ProjectionBasedSystem::description ( ) const
inlineoverridevirtual

Implements Coords::CoordSystem.

◆ doFillPar()

void Coords::ProjectionBasedSystem::doFillPar ( IOPar ) const
overrideprivatevirtual

Implements Coords::CoordSystem.

◆ doUsePar()

bool Coords::ProjectionBasedSystem::doUsePar ( const IOPar )
overrideprivatevirtual

Implements Coords::CoordSystem.

◆ fromDescString()

RefMan<CoordSystem> Coords::ProjectionBasedSystem::fromDescString ( const char *  ,
BufferString msg = nullptr 
) const

◆ fromGeographic()

Coord Coords::ProjectionBasedSystem::fromGeographic ( const LatLong ,
bool  wgs84 
) const
overrideprivatevirtual

Implements Coords::CoordSystem.

◆ geographicTransformOK()

bool Coords::ProjectionBasedSystem::geographicTransformOK ( ) const
overridevirtual

Implements Coords::CoordSystem.

◆ getGeodeticSystem()

CoordSystem* Coords::ProjectionBasedSystem::getGeodeticSystem ( ) const
overridevirtual

Reimplemented from Coords::CoordSystem.

◆ getJSONString()

BufferString Coords::ProjectionBasedSystem::getJSONString ( ) const

◆ getProjection()

const Projection* Coords::ProjectionBasedSystem::getProjection ( ) const

◆ getUnitName()

BufferString Coords::ProjectionBasedSystem::getUnitName ( ) const
overridevirtual

Reimplemented from Coords::CoordSystem.

◆ getUrl()

BufferString Coords::ProjectionBasedSystem::getUrl ( ) const

◆ getURNString()

BufferString Coords::ProjectionBasedSystem::getURNString ( ) const
overridevirtual

Implements Coords::CoordSystem.

◆ getWGS84LLSystem()

static CoordSystem* Coords::ProjectionBasedSystem::getWGS84LLSystem ( )
static

◆ getWKTString()

BufferString Coords::ProjectionBasedSystem::getWKTString ( ) const

◆ isFeet()

bool Coords::ProjectionBasedSystem::isFeet ( ) const
overridevirtual

Reimplemented from Coords::CoordSystem.

◆ isLatLong()

bool Coords::ProjectionBasedSystem::isLatLong ( ) const

◆ isMeter()

bool Coords::ProjectionBasedSystem::isMeter ( ) const
overridevirtual

Reimplemented from Coords::CoordSystem.

◆ isOK()

bool Coords::ProjectionBasedSystem::isOK ( ) const
overridevirtual

Implements Coords::CoordSystem.

◆ isOrthogonal()

bool Coords::ProjectionBasedSystem::isOrthogonal ( ) const
overridevirtual

Implements Coords::CoordSystem.

◆ isProjection()

bool Coords::ProjectionBasedSystem::isProjection ( ) const
inlineoverridevirtual

Reimplemented from Coords::CoordSystem.

◆ isWGS84()

bool Coords::ProjectionBasedSystem::isWGS84 ( ) const
overridevirtual

Reimplemented from Coords::CoordSystem.

◆ setProjection()

bool Coords::ProjectionBasedSystem::setProjection ( const AuthorityCode )

◆ summary()

BufferString Coords::ProjectionBasedSystem::summary ( ) const
overridevirtual

Implements Coords::CoordSystem.

◆ toDescString()

BufferString Coords::ProjectionBasedSystem::toDescString ( StringType  = Default,
bool  withsystem = false 
) const

Default: URN.

◆ toGeographic()

LatLong Coords::ProjectionBasedSystem::toGeographic ( const Coord ,
bool  wgs84 
) const
overrideprivatevirtual

Implements Coords::CoordSystem.

Member Data Documentation

◆ proj_

Projection* Coords::ProjectionBasedSystem::proj_ = nullptr
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024