Back to index

kdeartwork  4.3.2
Classes | Defines | Functions
rotation.cpp File Reference

KRotation screen saver for KDE. More...

#include <cstdlib>
#include <deque>
#include <QCheckBox>
#include <QLineEdit>
#include <QValidator>
#include <QToolTip>
#include <QResizeEvent>
#include <KLocale>
#include <KGlobal>
#include <KConfig>
#include <KDebug>
#include <KMessageBox>
#include <Eigen/Core>
#include <Eigen/Geometry>
#include "sspreviewarea.h"
#include "rotation.h"
#include "rotation.moc"

Go to the source code of this file.


class  KRotationSaverInterface


#define QT_NO_COMPAT
#define KROTATION_VERSION   "2.0"
 Version number of this screen saver.
#define M_PI   3.14159265358979323846


int main (int argc, char *argv[])

Detailed Description

KRotation screen saver for KDE.

The screen saver displays a physically realistic simulation of a force free rotating asymmetric body. The equations of motion for such a rotation, the Euler equations, are integrated numerically by the Runge-Kutta method.

Copyright (C) 2004 Georg Drenkhahn,

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License or (at your option) version 3 or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 14 of version 3 of the license.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Definition in file rotation.cpp.

Define Documentation

#define KROTATION_VERSION   "2.0"

Version number of this screen saver.

Definition at line 60 of file rotation.cpp.

#define M_PI   3.14159265358979323846

Definition at line 63 of file rotation.cpp.

#define QT_NO_COMPAT

Definition at line 24 of file rotation.cpp.

Function Documentation

int main ( int  argc,
char *  argv[] 

Definition at line 92 of file rotation.cpp.

   KRotationSaverInterface kss;
   return kScreenSaverMain(argc, argv, kss);