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

Public Member Functions

 AnchorBasedXY ()
 
 AnchorBasedXY (const LatLong &, const Coord &)
 
CoordSystemclone () const override
 
uiString description () const override
 
bool geographicTransformOK () const override
 
BufferString getURNString () const override
 
bool isFeet () const override
 
bool isMeter () const override
 
bool isOK () const override
 
bool isOrthogonal () const override
 
const CoordrefCoord () const
 
const LatLongrefLatLong () const
 
void setIsFeet (bool isfeet)
 
void setLatLongEstimate (const LatLong &, const Coord &)
 
BufferString summary () const override
 
- Public Member Functions inherited from Coords::CoordSystem
virtual Coord convertFrom (const Coord &, const CoordSystem &from) const
 
virtual Coord convertTo (const Coord &, const CoordSystem &to) const
 
void fillPar (IOPar &) const
 
virtual Coord fromString (const char *) const
 
BufferString getDescString (StringType=Default, bool withsystem=false) const
 
virtual CoordSystemgetGeodeticSystem () const
 
virtual BufferString getUnitName () const
 
virtual bool isGeodetic () const
 
virtual bool isProjection () const
 
virtual bool isWGS84 () 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
 

Private Member Functions

virtual void doFillPar (IOPar &) const override
 
virtual bool doUsePar (const IOPar &) override
 
Coord fromGeographic (const LatLong &, bool wgs84) const override
 
LatLong toGeographic (const Coord &, bool wgs84) const override
 Very approximate! Be Aware! More...
 

Private Attributes

bool isfeet_ = false
 
double lngdist_ = Values::Undef< double >::val()
 
Coord refcoord_ = Coord::udf()
 
LatLong reflatlng_ = LatLong::udf()
 

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
 
- 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 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 &)
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ AnchorBasedXY() [1/2]

Coords::AnchorBasedXY::AnchorBasedXY ( )

◆ AnchorBasedXY() [2/2]

Coords::AnchorBasedXY::AnchorBasedXY ( const LatLong ,
const Coord  
)

Member Function Documentation

◆ clone()

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

Implements Coords::CoordSystem.

◆ description()

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

Implements Coords::CoordSystem.

◆ doFillPar()

virtual void Coords::AnchorBasedXY::doFillPar ( IOPar ) const
overrideprivatevirtual

Implements Coords::CoordSystem.

◆ doUsePar()

virtual bool Coords::AnchorBasedXY::doUsePar ( const IOPar )
overrideprivatevirtual

Implements Coords::CoordSystem.

◆ fromGeographic()

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

Implements Coords::CoordSystem.

◆ geographicTransformOK()

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

Implements Coords::CoordSystem.

◆ getURNString()

BufferString Coords::AnchorBasedXY::getURNString ( ) const
inlineoverridevirtual

Implements Coords::CoordSystem.

◆ isFeet()

bool Coords::AnchorBasedXY::isFeet ( ) const
inlineoverridevirtual

Reimplemented from Coords::CoordSystem.

◆ isMeter()

bool Coords::AnchorBasedXY::isMeter ( ) const
inlineoverridevirtual

Reimplemented from Coords::CoordSystem.

◆ isOK()

bool Coords::AnchorBasedXY::isOK ( ) const
inlineoverridevirtual

Implements Coords::CoordSystem.

◆ isOrthogonal()

bool Coords::AnchorBasedXY::isOrthogonal ( ) const
inlineoverridevirtual

Implements Coords::CoordSystem.

◆ refCoord()

const Coord& Coords::AnchorBasedXY::refCoord ( ) const
inline

◆ refLatLong()

const LatLong& Coords::AnchorBasedXY::refLatLong ( ) const
inline

◆ setIsFeet()

void Coords::AnchorBasedXY::setIsFeet ( bool  isfeet)
inline

◆ setLatLongEstimate()

void Coords::AnchorBasedXY::setLatLongEstimate ( const LatLong ,
const Coord  
)

◆ summary()

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

Implements Coords::CoordSystem.

◆ toGeographic()

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

Very approximate! Be Aware!

Implements Coords::CoordSystem.

Member Data Documentation

◆ isfeet_

bool Coords::AnchorBasedXY::isfeet_ = false
private

◆ lngdist_

double Coords::AnchorBasedXY::lngdist_ = Values::Undef< double >::val()
private

◆ refcoord_

Coord Coords::AnchorBasedXY::refcoord_ = Coord::udf()
private

◆ reflatlng_

LatLong Coords::AnchorBasedXY::reflatlng_ = LatLong::udf()
private

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