• 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
  • projections
equirectangularprojector.h
Go to the documentation of this file.
1 /*
2  <one line to give the program's name and a brief idea of what it does.>
3  Copyright (C) <year> <name of author>
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License along
16  with this program; if not, write to the Free Software Foundation, Inc.,
17  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 
19 */
20 
21 #ifndef EQUIRECTANGULARPROJECTOR_H
22 #define EQUIRECTANGULARPROJECTOR_H
23 
24 #include "projector.h"
25 
26 
27 class EquirectangularProjector : public Projector
28 {
29 public:
30  explicit EquirectangularProjector(const ViewParams& p);
31  virtual SkyMap::Projection type() const;
32  virtual double radius() const;
33  virtual bool unusablePoint( const QPointF& p) const;
34  virtual Vector2f toScreenVec(const SkyPoint* o, bool oRefract = true, bool* onVisibleHemisphere = 0) const;
35  virtual SkyPoint fromScreen(const QPointF& p, dms* LST, const dms* lat) const;
36  virtual QVector< Vector2f > groundPoly(SkyPoint* labelpoint = 0, bool* drawLabel = 0) const;
37 };
38 
39 #endif // EQUIRECTANGULARPROJECTOR_H
SkyMap::Projection
Projection
Definition: skymap.h:96
EquirectangularProjector::unusablePoint
virtual bool unusablePoint(const QPointF &p) const
Check if the current point on screen is a valid point on the sky.
Definition: equirectangularprojector.cpp:102
EquirectangularProjector::groundPoly
virtual QVector< Vector2f > groundPoly(SkyPoint *labelpoint=0, bool *drawLabel=0) const
Get the ground polygon.
Definition: equirectangularprojector.cpp:109
EquirectangularProjector
Definition: equirectangularprojector.h:27
EquirectangularProjector::EquirectangularProjector
EquirectangularProjector(const ViewParams &p)
Definition: equirectangularprojector.cpp:27
EquirectangularProjector::radius
virtual double radius() const
Get the radius of this projection's sky circle.
Definition: equirectangularprojector.cpp:38
SkyPoint
The sky coordinates of a point in the sky.
Definition: skypoint.h:50
Projector
This class serves as an interface to handle projections.
Definition: projector.h:49
dms
An angle, stored as degrees, but expressible in many ways.
Definition: dms.h:42
EquirectangularProjector::type
virtual SkyMap::Projection type() const
Return the type of this projection.
Definition: equirectangularprojector.cpp:33
EquirectangularProjector::fromScreen
virtual SkyPoint fromScreen(const QPointF &p, dms *LST, const dms *lat) const
Determine RA, Dec coordinates of the pixel at (dx, dy), which are the screen pixel coordinate offsets...
Definition: equirectangularprojector.cpp:73
projector.h
EquirectangularProjector::toScreenVec
virtual Vector2f toScreenVec(const SkyPoint *o, bool oRefract=true, bool *onVisibleHemisphere=0) const
Given the coordinates of the SkyPoint argument, determine the pixel coordinates in the SkyMap...
Definition: equirectangularprojector.cpp:43
ViewParams
This is just a container that holds infromation needed to do projections.
Definition: projector.h:37
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:19 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