• 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
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 "MarbleGlobal.h"
17 
18 namespace Marble {
19 
20 class GeoDataFlyToPrivate;
21 
22 class GeoDataFlyTo: public GeoDataObject
23 {
24 public:
25  enum FlyToMode {
26  Bounce,
27  Smooth
28  };
29 
30  GeoDataFlyTo();
31 
32  GeoDataFlyTo( const GeoDataFlyTo &other );
33 
34  GeoDataFlyTo& operator=( const GeoDataFlyTo &other );
35 
36  ~GeoDataFlyTo();
37 
39  virtual const char* nodeType() const;
40 
41  double duration() const;
42 
43  void setDuration( double duration );
44 
45  const GeoDataAbstractView *view() const;
46 
47  GeoDataAbstractView *view();
48 
49  void setView( GeoDataAbstractView *view );
50 
51  FlyToMode flyToMode() const;
52 
53  void setFlyToMode( const FlyToMode flyToMode );
54 
55 private:
56  GeoDataFlyToPrivate* const d;
57 };
58 
59 }
60 
61 #endif
Marble::GeoDataAbstractView
Definition: GeoDataAbstractView.h:28
GeoDataAbstractView.h
Marble::GeoDataObject
A base class for all geodata objects.
Definition: GeoDataObject.h:48
Marble::GeoDataFlyTo::FlyToMode
FlyToMode
Definition: GeoDataFlyTo.h:25
Marble::GeoDataFlyTo::operator=
GeoDataFlyTo & operator=(const GeoDataFlyTo &other)
Definition: GeoDataFlyTo.cpp:46
Marble::GeoDataFlyTo::setDuration
void setDuration(double duration)
Definition: GeoDataFlyTo.cpp:83
Marble::GeoDataFlyTo
Definition: GeoDataFlyTo.h:22
MarbleGlobal.h
Marble::GeoDataFlyTo::Smooth
Definition: GeoDataFlyTo.h:27
Marble::GeoDataFlyTo::setView
void setView(GeoDataAbstractView *view)
Definition: GeoDataFlyTo.cpp:73
Marble::GeoDataFlyTo::flyToMode
FlyToMode flyToMode() const
Definition: GeoDataFlyTo.cpp:88
Marble::GeoDataFlyTo::GeoDataFlyTo
GeoDataFlyTo()
Definition: GeoDataFlyTo.cpp:35
Marble::GeoDataFlyTo::nodeType
virtual const char * nodeType() const
Provides type information for downcasting a GeoNode.
Definition: GeoDataFlyTo.cpp:58
Marble::GeoDataFlyTo::Bounce
Definition: GeoDataFlyTo.h:26
Marble::FlyToMode
FlyToMode
Describes possible flight mode (interpolation between source and target camera positions) ...
Definition: MarbleGlobal.h:169
Marble::GeoDataFlyTo::duration
double duration() const
Definition: GeoDataFlyTo.cpp:78
Marble::GeoDataFlyTo::setFlyToMode
void setFlyToMode(const FlyToMode flyToMode)
Definition: GeoDataFlyTo.cpp:93
Marble::GeoDataFlyTo::view
const GeoDataAbstractView * view() const
Definition: GeoDataFlyTo.cpp:63
Marble::GeoDataFlyTo::~GeoDataFlyTo
~GeoDataFlyTo()
Definition: GeoDataFlyTo.cpp:53
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