marble
#include <GeoDataLookAt.h>
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
Definition at line 109 of file GeoDataLookAt.cpp.
|
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
-
unit units 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
-
unit units 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.
|
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
-
altitude latitude
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
-
latitude latitude unit units 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
-
longitude longitude unit units 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:
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.