• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
  • printing
shfovexporter.h
Go to the documentation of this file.
1 /***************************************************************************
2  shfovexporter.h - K Desktop Planetarium
3  -------------------
4  begin : Thu Aug 4 2011
5  copyright : (C) 2011 by Rafał Kułaga
6  email : rl.kulaga@gmail.com
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef SHFOVEXPORTER_H
19 #define SHFOVEXPORTER_H
20 
21 #include "starhopper.h"
22 
23 class SkyMap;
24 class PrintingWizard;
25 
31 class ShFovExporter
32 {
33 public:
37  ShFovExporter(PrintingWizard *wizard, SkyMap *map);
38 
47  bool calculatePath(const SkyPoint &src, const SkyPoint &dest, double fov, double maglim);
48 
54  bool exportPath();
55 
56 private:
62  void centerBetweenAndCapture(const SkyPoint &ptA, const SkyPoint &ptB);
63 
64  SkyMap *m_Map;
65  StarHopper m_StarHopper;
66  SkyPoint m_Src;
67  SkyPoint m_Dest;
68  PrintingWizard *m_ParentWizard;
69  QList<StarObject const *> m_Path;
70 };
71 
72 #endif // SHFOVEXPORTER_H
ShFovExporter::exportPath
bool exportPath()
Export FOV snapshots across calculated path.
Definition: shfovexporter.cpp:45
starhopper.h
SkyPoint
The sky coordinates of a point in the sky.
Definition: skypoint.h:50
ShFovExporter::calculatePath
bool calculatePath(const SkyPoint &src, const SkyPoint &dest, double fov, double maglim)
Calculate path between source and destination SkyPoints.
Definition: shfovexporter.cpp:31
ShFovExporter::ShFovExporter
ShFovExporter(PrintingWizard *wizard, SkyMap *map)
Constructor.
Definition: shfovexporter.cpp:28
StarHopper
Helps planning star hopping.
Definition: starhopper.h:32
PrintingWizard
Class representing Printing Wizard for KStars printed documents (currently only finder charts)...
Definition: printingwizard.h:66
ShFovExporter
Helper class used as a wrapper for StarHopper when capturing FOV snapshots.
Definition: shfovexporter.h:31
SkyMap
This is the canvas on which the sky is painted.
Definition: skymap.h:72
QList
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • 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