OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
Coords::CoordSystem Class Referenceabstract
Inheritance diagram for Coords::CoordSystem:
[legend]

Public Member Functions

virtual CoordSystemclone () const =0
 
Coord convertFrom (const Coord &, const CoordSystem &from) const
 
virtual uiString description () const =0
 
void fillPar (IOPar &) const
 
virtual Coord fromString (const char *) const
 
virtual bool geographicTransformOK () const =0
 
virtual bool isFeet () const
 
virtual bool isMeter () const
 
virtual bool isOK () const =0
 
virtual bool isOrthogonal () const =0
 
virtual bool isProjection () 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 &)
 

Static Public Member Functions

static Coord convert (const Coord &, const CoordSystem &from, const CoordSystem &to)
 
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 void initRepository (NotifierAccess *=0)
 
static const char * sKeyFactoryName ()
 
static const char * sKeyUiName ()
 

Protected Member Functions

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
 

Friends

class ::LatLong
 

Additional Inherited Members

- Private 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
 
- Static Private Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

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.

<>

Member Function Documentation

◆ clone()

virtual CoordSystem* Coords::CoordSystem::clone ( ) const
pure virtual

◆ convert()

static Coord Coords::CoordSystem::convert ( const Coord ,
const CoordSystem from,
const CoordSystem to 
)
static

◆ convertFrom()

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

◆ createSystem()

static RefMan<CoordSystem> Coords::CoordSystem::createSystem ( const IOPar )
static

Creates subclass with settings.

Gets a list of coord systems and the corresponding IOPars to create them. IOPars become yours!

◆ description()

virtual uiString Coords::CoordSystem::description ( ) const
pure virtual

◆ doFillPar()

virtual void Coords::CoordSystem::doFillPar ( IOPar ) const
protectedpure virtual

◆ doUsePar()

virtual bool Coords::CoordSystem::doUsePar ( const IOPar )
protectedpure virtual

◆ fillPar()

void Coords::CoordSystem::fillPar ( IOPar ) const

◆ fromGeographic()

virtual Coord Coords::CoordSystem::fromGeographic ( const LatLong ,
bool  wgs84 
) const
protectedpure virtual

◆ fromString()

virtual Coord Coords::CoordSystem::fromString ( const char *  ) const
virtual

◆ geographicTransformOK()

virtual bool Coords::CoordSystem::geographicTransformOK ( ) const
pure virtual

◆ getSystemNames()

static void Coords::CoordSystem::getSystemNames ( bool  onlyorthogonal,
bool  onlyprojection,
uiStringSet ,
ObjectSet< IOPar > &   
)
static

Creates the subclasses without settings.

◆ initRepository()

static void Coords::CoordSystem::initRepository ( NotifierAccess = 0)
static

To be called from initGeneral with a pointer to survey change notifier.

◆ isFeet()

virtual bool Coords::CoordSystem::isFeet ( ) const
inlinevirtual

◆ isMeter()

virtual bool Coords::CoordSystem::isMeter ( ) const
inlinevirtual

◆ isOK()

virtual bool Coords::CoordSystem::isOK ( ) const
pure virtual

◆ isOrthogonal()

virtual bool Coords::CoordSystem::isOrthogonal ( ) const
pure virtual

◆ isProjection()

virtual bool Coords::CoordSystem::isProjection ( ) const
inlinevirtual

Reimplemented in Coords::ProjectionBasedSystem.

◆ operator==()

bool Coords::CoordSystem::operator== ( const CoordSystem ) const

◆ sKeyFactoryName()

static const char* Coords::CoordSystem::sKeyFactoryName ( )
static

◆ sKeyUiName()

static const char* Coords::CoordSystem::sKeyUiName ( )
static

◆ summary()

virtual BufferString Coords::CoordSystem::summary ( ) const
pure virtual

◆ toGeographic()

virtual LatLong Coords::CoordSystem::toGeographic ( const Coord ,
bool  wgs84 
) const
protectedpure virtual

◆ toString()

virtual BufferString Coords::CoordSystem::toString ( const Coord ,
bool  withsystem = false 
) const
virtual

Returns string. If withsystem is turned on it will start with the factory name of the system, followed by a space.

◆ toUiString()

virtual uiString Coords::CoordSystem::toUiString ( const Coord ) const
virtual

◆ usePar()

bool Coords::CoordSystem::usePar ( const IOPar )

Friends And Related Function Documentation

◆ ::LatLong

friend class ::LatLong
friend

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