marble
#include <GeoDataOrientation.h>
Public Member Functions | |
GeoDataOrientation () | |
GeoDataOrientation (const GeoDataOrientation &other) | |
~GeoDataOrientation () | |
double | heading () const |
virtual const char * | nodeType () const |
bool | operator!= (const GeoDataOrientation &other) const |
GeoDataOrientation & | operator= (const GeoDataOrientation &other) |
bool | operator== (const GeoDataOrientation &other) const |
double | roll () const |
void | setHeading (double heading) |
void | setRoll (double roll) |
void | setTilt (double tilt) |
double | tilt () 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 () |
Protected Attributes | |
GeoDataOrientationPrivate *const | d |
Additional Inherited Members | |
Protected Member Functions inherited from Marble::GeoDataObject | |
virtual bool | equals (const GeoDataObject &other) const |
Detailed Description
Definition at line 21 of file GeoDataOrientation.h.
Constructor & Destructor Documentation
Marble::GeoDataOrientation::GeoDataOrientation | ( | ) |
Definition at line 34 of file GeoDataOrientation.cpp.
Marble::GeoDataOrientation::GeoDataOrientation | ( | const GeoDataOrientation & | other | ) |
Definition at line 39 of file GeoDataOrientation.cpp.
Marble::GeoDataOrientation::~GeoDataOrientation | ( | ) |
Definition at line 66 of file GeoDataOrientation.cpp.
Member Function Documentation
double Marble::GeoDataOrientation::heading | ( | ) | const |
Returns by how much degrees the camera has been rotated about the normal.
Default value= 0. Range: 0-360 degrees
Definition at line 76 of file GeoDataOrientation.cpp.
|
virtual |
Provides type information for downcasting a GeoNode.
Implements Marble::GeoDataObject.
Definition at line 71 of file GeoDataOrientation.cpp.
bool Marble::GeoDataOrientation::operator!= | ( | const GeoDataOrientation & | other | ) | const |
Definition at line 61 of file GeoDataOrientation.cpp.
GeoDataOrientation & Marble::GeoDataOrientation::operator= | ( | const GeoDataOrientation & | other | ) |
Definition at line 45 of file GeoDataOrientation.cpp.
bool Marble::GeoDataOrientation::operator== | ( | const GeoDataOrientation & | other | ) | const |
Definition at line 53 of file GeoDataOrientation.cpp.
double Marble::GeoDataOrientation::roll | ( | ) | const |
Returns the rotation of the camera in degrees around the Z axis.
Range: −180 to +180 degrees.
Definition at line 96 of file GeoDataOrientation.cpp.
void Marble::GeoDataOrientation::setHeading | ( | double | heading | ) |
Definition at line 81 of file GeoDataOrientation.cpp.
void Marble::GeoDataOrientation::setRoll | ( | double | roll | ) |
Definition at line 101 of file GeoDataOrientation.cpp.
void Marble::GeoDataOrientation::setTilt | ( | double | tilt | ) |
Definition at line 91 of file GeoDataOrientation.cpp.
double Marble::GeoDataOrientation::tilt | ( | ) | const |
Returns the rotation of the camera in degrees, around the X axis.
Value ranges from 0 (indicating that the view is aimed straight down toward the earth), through 90 (indicating that the view is aimed toward the horizon) to values greater than 90 (indicating that the view is pointed up into the sky. Values are clamped at +180 degrees.
Definition at line 86 of file GeoDataOrientation.cpp.
Member Data Documentation
|
protected |
Definition at line 60 of file GeoDataOrientation.h.
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.