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

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • lib
  • marble
  • geodata
  • data
GeoDataCamera.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2013 Mayank Madan <maddiemadan@gmail.com>
9 //
10 
11 #ifndef MARBLE_GEODATACAMERA_H
12 #define MARBLE_GEODATACAMERA_H
13 
14 #include "geodata_export.h"
15 #include "GeoDataAbstractView.h"
16 #include "GeoDataCoordinates.h"
17 
18 namespace Marble
19 {
20 class GeoDataCameraPrivate;
21 
22 class GEODATA_EXPORT GeoDataCamera : public GeoDataAbstractView
23 {
24 public:
25  GeoDataCamera();
26 
27  GeoDataCamera(const GeoDataCamera& other);
28 
29  GeoDataCamera& operator=(const GeoDataCamera &other);
30 
31  ~GeoDataCamera();
32 
33  GeoDataAbstractView *copy() const;
34 
40  void setAltitude( qreal altitude);
41 
46  qreal altitude( ) const;
47 
54  void setLatitude( qreal latitude,GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian );
55 
63  qreal latitude( GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian ) const;
64 
71  void setLongitude( qreal longitude,GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian );
72 
80  qreal longitude( GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian ) const;
81 
87  GeoDataCoordinates coordinates() const;
88 
89  void setRoll( qreal roll );
90 
91  qreal roll() const;
92 
93  qreal heading() const;
94 
95  void setHeading(qreal heading);
96 
97  qreal tilt() const;
98 
99  void setTilt(qreal tilt);
100 
101  AltitudeMode altitudeMode() const;
102 
103  void setAltitudeMode(const AltitudeMode altitudeMode);
104 
105  void setCoordinates( const GeoDataCoordinates& coordinates );
106 
108  virtual const char* nodeType() const;
109 
110  void detach();
111 private:
112  GeoDataCameraPrivate *d;
113 
114 };
115 
116 }
117 
118 Q_DECLARE_METATYPE( Marble::GeoDataCamera )
119 
120 #endif
Marble::GeoDataCoordinates::Unit
Unit
enum used constructor to specify the units used
Definition: GeoDataCoordinates.h:64
GeoDataCoordinates.h
Marble::GeoDataCoordinates
A 3d point representation.
Definition: GeoDataCoordinates.h:52
Marble::GeoDataCoordinates::Radian
Definition: GeoDataCoordinates.h:65
Marble::GeoDataAbstractView
Definition: GeoDataAbstractView.h:28
GeoDataAbstractView.h
Marble::GeoDataCamera
Definition: GeoDataCamera.h:22
Marble::AltitudeMode
AltitudeMode
Definition: MarbleGlobal.h:145
Marble::GeoDataCameraPrivate
Definition: GeoDataCamera_p.h:23
GEODATA_EXPORT
#define GEODATA_EXPORT
Definition: geodata_export.h:22
geodata_export.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • 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