• 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
GeoDataFlyTo.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 
12 #ifndef MARBLE_GEODATAFLYTO_H
13 #define MARBLE_GEODATAFLYTO_H
14 
15 #include "GeoDataAbstractView.h"
16 #include "GeoDataTourPrimitive.h"
17 #include "MarbleGlobal.h"
18 
19 namespace Marble {
20 
21 class GeoDataFlyToPrivate;
22 
23 class MARBLE_EXPORT GeoDataFlyTo: public GeoDataTourPrimitive
24 {
25 public:
26  enum FlyToMode {
27  Bounce,
28  Smooth
29  };
30 
31  GeoDataFlyTo();
32 
33  GeoDataFlyTo( const GeoDataFlyTo &other );
34 
35  GeoDataFlyTo& operator=( const GeoDataFlyTo &other );
36  bool operator==( const GeoDataFlyTo& other ) const;
37  bool operator!=( const GeoDataFlyTo& other ) const;
38 
39  ~GeoDataFlyTo();
40 
42  virtual const char* nodeType() const;
43 
44  double duration() const;
45 
46  void setDuration( double duration );
47 
48  const GeoDataAbstractView *view() const;
49 
50  GeoDataAbstractView *view();
51 
52  void setView( GeoDataAbstractView *view );
53 
54  FlyToMode flyToMode() const;
55 
56  void setFlyToMode( const FlyToMode flyToMode );
57 
58 private:
59  GeoDataFlyToPrivate* const d;
60 };
61 
62 }
63 
64 #endif
Marble::GeoDataAbstractView
Definition: GeoDataAbstractView.h:30
GeoDataAbstractView.h
Marble::GeoDataTourPrimitive
Definition: GeoDataTourPrimitive.h:20
Marble::GeoDataFlyTo::FlyToMode
FlyToMode
Definition: GeoDataFlyTo.h:26
Marble::operator==
bool operator==(const DownloadPolicyKey &lhs, const DownloadPolicyKey &rhs)
Definition: DownloadPolicy.h:49
Marble::GeoDataFlyTo
Definition: GeoDataFlyTo.h:23
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::operator!=
bool operator!=(GeoDataLatLonBox const &lhs, GeoDataLatLonBox const &rhs)
Definition: GeoDataLatLonBox.cpp:59
MarbleGlobal.h
Marble::GeoDataFlyTo::Bounce
Definition: GeoDataFlyTo.h:27
Marble::FlyToMode
FlyToMode
Describes possible flight mode (interpolation between source and target camera positions) ...
Definition: MarbleGlobal.h:173
GeoDataTourPrimitive.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