kstars
horizoncomponent.cpp
Go to the documentation of this file.
88 skyp->setPen( QPen( QColor( data->colorScheme()->colorNamed( "HorzColor" ) ), 2, Qt::SolidLine ) );
124 psky.setPen( QPen( QColor( data->colorScheme()->colorNamed( "HorzColor" ) ), 2, Qt::SolidLine ) );
342 // t1 = -1.0*acos( (groundPoly.last().x() - 0.5*Width)/r0/Options::zoomFactor() )/dms::DegToRad; //angle in degrees
virtual void draw(SkyPainter *skyp)
Draw the Horizon on the Sky map map Pointer to the SkyMap object psky Reference to the QPainter on wh...
Definition: horizoncomponent.cpp:75
bool onScreen(const QPointF &p) const
Check whether the projected point is on-screen.
Definition: projector.cpp:98
Definition: skymap.h:97
virtual void update(KSNumbers *)
Update the sky positions of this component.
Definition: horizoncomponent.cpp:61
Definition: skymap.h:101
QColor colorNamed(const QString &name) const
Retrieve a color by name.
Definition: colorscheme.cpp:97
Definition: skymap.h:96
void getMargins(const QString &text, float *left, float *right, float *top, float *bot)
sets four margins for help in keeping labels entirely on the screen.
Definition: skylabeler.cpp:195
QPointF toScreen(const SkyPoint *o, bool oRefract=true, bool *onVisibleHemisphere=0) const
This is exactly the same as toScreenVec but it returns a QPointF.
Definition: projector.cpp:93
SkyPoint * focus()
Retrieve the Focus point; the position on the sky at the center of the skymap.
Definition: skymap.h:120
i18nc("string from libindi, used in the config dialog","100x")
virtual void drawHorizon(bool filled, SkyPoint *labelPoint=0, bool *drawLabel=0)=0
void HorizontalToEquatorial(const dms *LST, const dms *lat)
Determine the (RA, Dec) coordinates of the SkyPoint from its (Altitude, Azimuth) coordinates, given the local sidereal time and the observer's latitude.
Definition: skypoint.cpp:102
HorizonComponent(SkyComposite *parent)
Constructor parent Pointer to the parent SkyComposite object.
Definition: horizoncomponent.cpp:36
SkyComposite is a kind of container class for SkyComponent objects.
Definition: skycomposite.h:43
bool drawGuideLabel(QPointF &o, const QString &text, double angle)
Tries to draw the text at the position and angle specified.
Definition: skylabeler.cpp:104
void EquatorialToHorizontal(const dms *LST, const dms *lat)
Determine the (Altitude, Azimuth) coordinates of the SkyPoint from its (RA, Dec) coordinates, given the local sidereal time and the observer's latitude.
Definition: skypoint.cpp:55
Definition: skymap.h:99
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition: ksnumbers.h:43
An abstract parent class, to be inherited by SkyComponents that store a QList of SkyPoints.
Definition: pointlistcomponent.h:37
void setPen(const QPen &pen)
sets the pen used for drawing labels on the sky.
Definition: skylabeler.cpp:173
virtual void emitProgressText(const QString &message)
Emit signal about progress.
Definition: skycomponent.cpp:35
Definition: skymap.h:100
The purpose of this class is to prevent labels from overlapping.
Definition: skylabeler.h:112
Definition: skymap.h:98
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
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.