• 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
GeoDataModel.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 // Copyright 2013 Sanjiban Bairagya <sanjiban22393@gmail.com>
10 //
11 
12 #ifndef GEODATAMODEL_H
13 #define GEODATAMODEL_H
14 
15 #include "GeoDataGeometry.h"
16 #include "MarbleGlobal.h"
17 #include "GeoDataLink.h"
18 #include "GeoDataScale.h"
19 #include "GeoDataOrientation.h"
20 #include "GeoDataCoordinates.h"
21 #include "GeoDataLocation.h"
22 #include "GeoDataResourceMap.h"
23 #include "GeoDataAlias.h"
24 
25 namespace Marble {
26 
27 class GeoDataModelPrivate;
28 
29 class MARBLE_EXPORT GeoDataModel: public GeoDataGeometry
30 {
31 public:
32  GeoDataModel();
33 
34  GeoDataModel( const GeoDataModel &other );
35 
36  GeoDataModel& operator=( const GeoDataModel &other );
37 
38  ~GeoDataModel();
39 
41  virtual const char* nodeType() const;
42 
43  double altitude() const;
44  void setAltitude( double altitude );
45 
46  AltitudeMode altitudeMode() const;
47  void setAltitudeMode( const AltitudeMode altitudeMode );
48 
49  const GeoDataLink& link() const;
50  GeoDataLink& link();
51  void setLink( const GeoDataLink &link );
52 
53  const GeoDataCoordinates& coordinates() const;
54  GeoDataCoordinates& coordinates();
55  void setCoordinates(const GeoDataCoordinates &coordinates);
56 
57  const GeoDataScale& scale() const;
58  GeoDataScale& scale();
59  void setScale(const GeoDataScale &scale);
60 
61  const GeoDataOrientation& orientation() const;
62  GeoDataOrientation& orientation();
63  void setOrientation( const GeoDataOrientation &orientation);
64 
65  const GeoDataLocation& location() const;
66  GeoDataLocation& location();
67  void setLocation( const GeoDataLocation &location);
68 
69  const GeoDataResourceMap& resourceMap() const;
70  GeoDataResourceMap& resourceMap();
71  void setResourceMap( const GeoDataResourceMap &map);
72 
73  QString sourceHref() const;
74  QString targetHref() const;
75  void setSourceHref(const QString &sourceHref);
76  void setTargetHref(const QString &targetHref);
77 
78 private:
79  GeoDataModelPrivate* const d;
80 };
81 
82 }
83 
84 
85 #endif // GEODATAMODEL_H
GeoDataCoordinates.h
Marble::GeoDataCoordinates
A 3d point representation.
Definition: GeoDataCoordinates.h:52
GeoDataResourceMap.h
Marble::GeoDataGeometry
A base class for all geodata features.
Definition: GeoDataGeometry.h:47
Marble::GeoDataLink
Definition: GeoDataLink.h:22
Marble::GeoDataModel
Definition: GeoDataModel.h:29
Marble::AltitudeMode
AltitudeMode
Definition: MarbleGlobal.h:145
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
GeoDataLink.h
MarbleGlobal.h
GeoDataLocation.h
Marble::GeoDataScale
Definition: GeoDataScale.h:22
Marble::GeoDataResourceMap
Definition: GeoDataResourceMap.h:22
Marble::GeoDataLocation
Definition: GeoDataLocation.h:23
GeoDataAlias.h
GeoDataScale.h
GeoDataGeometry.h
Marble::GeoDataOrientation
Definition: GeoDataOrientation.h:21
GeoDataOrientation.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:50 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