marble
#include <GeoDataOrientation.h>

Public Member Functions | |
GeoDataOrientation () | |
GeoDataOrientation (const GeoDataOrientation &other) | |
~GeoDataOrientation () | |
double | heading () const |
virtual const char * | nodeType () const |
GeoDataOrientation & | operator= (const GeoDataOrientation &other) |
double | roll () const |
void | setHeading (double heading) |
void | setRoll (double roll) |
void | setTilt (double tilt) |
double | tilt () const |
![]() | |
GeoDataObject () | |
GeoDataObject (const GeoDataObject &) | |
virtual | ~GeoDataObject () |
int | id () const |
GeoDataObject & | operator= (const GeoDataObject &) |
virtual void | pack (QDataStream &stream) const |
virtual GeoDataObject * | parent () const |
QString | resolvePath (const QString &relativePath) const |
void | setId (int value) |
virtual void | setParent (GeoDataObject *parent) |
void | setTargetId (int value) |
int | targetId () const |
virtual void | unpack (QDataStream &steam) |
![]() | |
GeoNode () | |
virtual | ~GeoNode () |
![]() | |
virtual | ~Serializable () |
Protected Attributes | |
GeoDataOrientationPrivate *const | d |
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 52 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 62 of file GeoDataOrientation.cpp.
|
virtual |
Provides type information for downcasting a GeoNode.
Implements Marble::GeoDataObject.
Definition at line 57 of file GeoDataOrientation.cpp.
GeoDataOrientation & Marble::GeoDataOrientation::operator= | ( | const GeoDataOrientation & | other | ) |
Definition at line 45 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 82 of file GeoDataOrientation.cpp.
void Marble::GeoDataOrientation::setHeading | ( | double | heading | ) |
Definition at line 67 of file GeoDataOrientation.cpp.
void Marble::GeoDataOrientation::setRoll | ( | double | roll | ) |
Definition at line 87 of file GeoDataOrientation.cpp.
void Marble::GeoDataOrientation::setTilt | ( | double | tilt | ) |
Definition at line 77 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 72 of file GeoDataOrientation.cpp.
Member Data Documentation
|
protected |
Definition at line 57 of file GeoDataOrientation.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.