• 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
MarblePhysics.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 2008 Torsten Rahn <rahn@kde.org>
9 //
10 
11 #ifndef MARBLE_MARBLEPHYSICS_H
12 #define MARBLE_MARBLEPHYSICS_H
13 
14 #include "GeoDataLookAt.h"
15 
16 #include <QObject>
17 
18 namespace Marble
19 {
20 
21 class MarblePhysicsPrivate;
22 class MarbleWidget;
23 
24 class MarblePhysics : public QObject
25 {
26  Q_OBJECT
27 
28  public:
33  explicit MarblePhysics( MarbleWidget *widget );
34 
38  ~MarblePhysics();
39 
45  void flyTo( const GeoDataLookAt &target, FlyToMode mode = Instant );
46 
47 private Q_SLOTS:
48  void updateProgress(qreal progress);
49 
53  void startStillMode();
54 
55  private:
56  Q_DISABLE_COPY( MarblePhysics )
57 
58  MarblePhysicsPrivate* d;
59 };
60 
61 }
62 
63 #endif
Marble::MarblePhysics::flyTo
void flyTo(const GeoDataLookAt &target, FlyToMode mode=Instant)
Initiate an animation to the target according to the given mode.
Definition: MarblePhysics.cpp:123
Marble::MarblePhysics::MarblePhysics
MarblePhysics(MarbleWidget *widget)
Constructor.
Definition: MarblePhysics.cpp:108
QObject
Marble::MarbleWidget
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:102
Marble::MarblePhysics::~MarblePhysics
~MarblePhysics()
Destructor.
Definition: MarblePhysics.cpp:118
GeoDataLookAt.h
Marble::GeoDataLookAt
Definition: GeoDataLookAt.h:23
Marble::FlyToMode
FlyToMode
Describes possible flight mode (interpolation between source and target camera positions) ...
Definition: MarbleGlobal.h:169
Marble::MarblePhysics
Definition: MarblePhysics.h:24
Marble::Instant
Change camera position immediately (no interpolation)
Definition: MarbleGlobal.h:171
MarbleWidget
Wraps a Marble::MarbleWidget, providing access to important properties and methods.
Definition: MarbleDeclarativeWidget.h:50
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:51 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