• 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
GeoDataLookAt.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 2009 Gaurav Gupta <1989.gaurav@googlemail.com>
9 // Copyright 2010 Bastian Holst <bastianholst@gmx.de>
10 //
11 
12 #ifndef MARBLE_GEODATALOOKAT_H
13 #define MARBLE_GEODATALOOKAT_H
14 
15 #include "geodata_export.h"
16 #include "GeoDataAbstractView.h"
17 #include "GeoDataCoordinates.h"
18 
19 namespace Marble
20 {
21  class GeoDataLookAtPrivate;
22 
23  class GEODATA_EXPORT GeoDataLookAt : public GeoDataAbstractView
24  {
25  public:
26  GeoDataLookAt();
27 
28  GeoDataLookAt(const GeoDataLookAt& other);
29 
30  GeoDataLookAt& operator=(const GeoDataLookAt &other);
31 
32  bool operator==(const GeoDataLookAt &other) const;
33  bool operator!=(const GeoDataLookAt &other) const;
34 
35  ~GeoDataLookAt();
36 
37  GeoDataAbstractView *copy() const;
38 
44  void setAltitude( qreal altitude);
45 
50  qreal altitude( ) const;
51 
58  void setLatitude( qreal latitude,GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian );
59 
67  qreal latitude( GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian ) const;
68 
75  void setLongitude( qreal longitude,GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian );
76 
84  qreal longitude( GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian ) const;
85 
91  GeoDataCoordinates coordinates() const;
92 
97  void setRange( qreal range );
98 
103  qreal range() const;
104 
110  void setCoordinates( const GeoDataCoordinates& coordinates );
111 
113  virtual const char* nodeType() const;
114 
115  void detach();
116  private:
117  GeoDataLookAtPrivate *d;
118 
119  };
120 }
121 Q_DECLARE_METATYPE( Marble::GeoDataLookAt )
122 #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::operator==
bool operator==(const DownloadPolicyKey &lhs, const DownloadPolicyKey &rhs)
Definition: DownloadPolicy.h:49
Marble::operator!=
bool operator!=(GeoDataLatLonBox const &lhs, GeoDataLatLonBox const &rhs)
Definition: GeoDataLatLonBox.cpp:59
Marble::GeoDataLookAt
Definition: GeoDataLookAt.h:23
Marble::GeoDataLookAtPrivate
Definition: GeoDataLookAt_p.h:25
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