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

marble

  • sources
  • kde-4.14
  • 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  bool operator==( const GeoDataCamera &other ) const;
31  bool operator!=( const GeoDataCamera &other ) const;
32 
33  ~GeoDataCamera();
34 
35  GeoDataAbstractView *copy() const;
36 
42  void setAltitude( qreal altitude);
43 
48  qreal altitude( ) const;
49 
56  void setLatitude( qreal latitude,GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian );
57 
65  qreal latitude( GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian ) const;
66 
73  void setLongitude( qreal longitude,GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian );
74 
82  qreal longitude( GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian ) const;
83 
89  GeoDataCoordinates coordinates() const;
90 
91  void setRoll( qreal roll );
92 
93  qreal roll() const;
94 
95  qreal heading() const;
96 
97  void setHeading(qreal heading);
98 
99  qreal tilt() const;
100 
101  void setTilt(qreal tilt);
102 
103  void setCoordinates( const GeoDataCoordinates& coordinates );
104 
106  virtual const char* nodeType() const;
107 
108  void detach();
109 private:
110  GeoDataCameraPrivate *d;
111 
112 };
113 
114 }
115 
116 Q_DECLARE_METATYPE( Marble::GeoDataCamera )
117 
118 #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:30
GeoDataAbstractView.h
Marble::GeoDataCamera
Definition: GeoDataCamera.h:22
Marble::operator==
bool operator==(const DownloadPolicyKey &lhs, const DownloadPolicyKey &rhs)
Definition: DownloadPolicy.h:49
Marble::GeoDataCameraPrivate
Definition: GeoDataCamera_p.h:23
Marble::operator!=
bool operator!=(GeoDataLatLonBox const &lhs, GeoDataLatLonBox const &rhs)
Definition: GeoDataLatLonBox.cpp:59
GEODATA_EXPORT
#define GEODATA_EXPORT
Definition: geodata_export.h:22
geodata_export.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 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