• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • Marble
  • GeoDataLookAt
Public Member Functions | List of all members
Marble::GeoDataLookAt Class Reference

#include <GeoDataLookAt.h>

Inheritance diagram for Marble::GeoDataLookAt:
Inheritance graph
[legend]

Public Member Functions

 GeoDataLookAt ()
 
 GeoDataLookAt (const GeoDataLookAt &other)
 
 ~GeoDataLookAt ()
 
qreal altitude () const
 
GeoDataCoordinates coordinates () const
 
GeoDataAbstractView * copy () const
 
void detach ()
 
qreal latitude (GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
 
qreal longitude (GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
 
virtual const char * nodeType () const
 
bool operator!= (const GeoDataLookAt &other) const
 
GeoDataLookAt & operator= (const GeoDataLookAt &other)
 
bool operator== (const GeoDataLookAt &other) const
 
qreal range () const
 
void setAltitude (qreal altitude)
 
void setCoordinates (const GeoDataCoordinates &coordinates)
 
void setLatitude (qreal latitude, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian)
 
void setLongitude (qreal longitude, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian)
 
void setRange (qreal range)
 
- Public Member Functions inherited from Marble::GeoDataAbstractView
 GeoDataAbstractView ()
 
 GeoDataAbstractView (const GeoDataAbstractView &other)
 
 ~GeoDataAbstractView ()
 
AltitudeMode altitudeMode () const
 
GeoDataCoordinates coordinates () const
 
GeoDataAbstractView & operator= (const GeoDataAbstractView &other)
 
void setAltitudeMode (const AltitudeMode altitudeMode)
 
void setTimeSpan (const GeoDataTimeSpan &timeSpan)
 
void setTimeStamp (const GeoDataTimeStamp &timeStamp)
 
const GeoDataTimeSpan & timeSpan () const
 
GeoDataTimeSpan & timeSpan ()
 
GeoDataTimeStamp & timeStamp ()
 
const GeoDataTimeStamp & timeStamp () const
 
- Public Member Functions inherited from Marble::GeoDataObject
 GeoDataObject ()
 
 GeoDataObject (const GeoDataObject &)
 
virtual ~GeoDataObject ()
 
QString id () const
 
GeoDataObject & operator= (const GeoDataObject &)
 
virtual void pack (QDataStream &stream) const
 
virtual GeoDataObject * parent () const
 
QString resolvePath (const QString &relativePath) const
 
void setId (const QString &value)
 
virtual void setParent (GeoDataObject *parent)
 
void setTargetId (const QString &value)
 
QString targetId () const
 
virtual void unpack (QDataStream &steam)
 
- Public Member Functions inherited from Marble::GeoNode
 GeoNode ()
 
virtual ~GeoNode ()
 
- Public Member Functions inherited from Marble::Serializable
virtual ~Serializable ()
 

Additional Inherited Members

- Protected Member Functions inherited from Marble::GeoDataAbstractView
bool equals (const GeoDataAbstractView &other) const
 
- Protected Member Functions inherited from Marble::GeoDataObject
virtual bool equals (const GeoDataObject &other) const
 

Detailed Description

Definition at line 23 of file GeoDataLookAt.h.

Constructor & Destructor Documentation

Marble::GeoDataLookAt::GeoDataLookAt ( )

Definition at line 23 of file GeoDataLookAt.cpp.

Marble::GeoDataLookAt::GeoDataLookAt ( const GeoDataLookAt &  other)

Definition at line 29 of file GeoDataLookAt.cpp.

Marble::GeoDataLookAt::~GeoDataLookAt ( )

Definition at line 55 of file GeoDataLookAt.cpp.

Member Function Documentation

qreal Marble::GeoDataLookAt::altitude ( ) const

retrieves the altitude of the GeoDataLookAt object

Returns
latitude

Definition at line 82 of file GeoDataLookAt.cpp.

GeoDataCoordinates Marble::GeoDataLookAt::coordinates ( ) const

retrieve the lat/lon/alt triple as a GeoDataCoordinates object

Returns
GeoDataCoordinates
See also
longitude latitude altitude

Definition at line 109 of file GeoDataLookAt.cpp.

GeoDataAbstractView * Marble::GeoDataLookAt::copy ( ) const
virtual

Implements Marble::GeoDataAbstractView.

Definition at line 61 of file GeoDataLookAt.cpp.

void Marble::GeoDataLookAt::detach ( )

Definition at line 125 of file GeoDataLookAt.cpp.

qreal Marble::GeoDataLookAt::latitude ( GeoDataCoordinates::Unit  unit = GeoDataCoordinates::Radian) const

retrieves the latitude of the GeoDataLookAt object use the unit parameter to switch between Radian and DMS

Parameters
unitunits that lon and lat get measured in (default for Radian: north pole at pi/2, southpole at -pi/2)
Returns
latitude

Definition at line 93 of file GeoDataLookAt.cpp.

qreal Marble::GeoDataLookAt::longitude ( GeoDataCoordinates::Unit  unit = GeoDataCoordinates::Radian) const

retrieves the longitude of the GeoDataLookAt object use the unit parameter to switch between Radian and DMS

Parameters
unitunits that lon and lat get measured in (default for Radian: north pole at pi/2, southpole at -pi/2)
Returns
latitude

Definition at line 104 of file GeoDataLookAt.cpp.

const char * Marble::GeoDataLookAt::nodeType ( ) const
virtual

Provides type information for downcasting a GeoNode.

Implements Marble::GeoDataObject.

Definition at line 71 of file GeoDataLookAt.cpp.

bool Marble::GeoDataLookAt::operator!= ( const GeoDataLookAt &  other) const

Definition at line 50 of file GeoDataLookAt.cpp.

GeoDataLookAt & Marble::GeoDataLookAt::operator= ( const GeoDataLookAt &  other)

Definition at line 36 of file GeoDataLookAt.cpp.

bool Marble::GeoDataLookAt::operator== ( const GeoDataLookAt &  other) const

Definition at line 43 of file GeoDataLookAt.cpp.

qreal Marble::GeoDataLookAt::range ( ) const

Retrieve the distance (in meters) between the camera and the object looked at.

See also
setRange

Definition at line 120 of file GeoDataLookAt.cpp.

void Marble::GeoDataLookAt::setAltitude ( qreal  altitude)

set the altitude in a GeoDataLookAt object

Parameters
altitudelatitude

Definition at line 76 of file GeoDataLookAt.cpp.

void Marble::GeoDataLookAt::setCoordinates ( const GeoDataCoordinates &  coordinates)

set the GeoDataCoordinates object

Parameters
GeoDataCoordinates
See also
GeoDataCoordinates

Definition at line 66 of file GeoDataLookAt.cpp.

void Marble::GeoDataLookAt::setLatitude ( qreal  latitude,
GeoDataCoordinates::Unit  unit = GeoDataCoordinates::Radian 
)

set the latitude in a GeoDataLookAt object

Parameters
latitudelatitude
unitunits that lon and lat get measured in (default for Radian: north pole at pi/2, southpole at -pi/2)

Definition at line 87 of file GeoDataLookAt.cpp.

void Marble::GeoDataLookAt::setLongitude ( qreal  longitude,
GeoDataCoordinates::Unit  unit = GeoDataCoordinates::Radian 
)

set the longitude in a GeoDataLookAt object

Parameters
longitudelongitude
unitunits that lon and lat get measured in (default for Radian: north pole at pi/2, southpole at -pi/2)

Definition at line 98 of file GeoDataLookAt.cpp.

void Marble::GeoDataLookAt::setRange ( qreal  range)

Change the distance (in meters) between the camera and the object looked at.

See also
range

Definition at line 114 of file GeoDataLookAt.cpp.


The documentation for this class was generated from the following files:
  • GeoDataLookAt.h
  • GeoDataLookAt.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal