kstars
#include <satellitenode.h>

Public Member Functions | |
SatelliteNode (Satellite *sat, RootNode *rootNode) | |
virtual void | changePos (QPointF pos) override |
virtual void | hide () override |
void | initLines () |
void | initPoint () |
Satellite * | sat () |
virtual void | update () override |
![]() | |
SkyNode (SkyObject *skyObject) | |
SkyNode () | |
virtual | ~SkyNode () |
void | addChildNode (QSGNode *node) |
int | hideCount () |
SkyMapLite * | map () const |
const Projector * | projector () |
virtual void | show () |
SkyObject * | skyObject () const |
void | update (bool drawLabel) |
bool | visible () |
Additional Inherited Members | |
![]() | |
SkyOpacityNode * | m_opacity { nullptr } |
![]() | |
bool | m_drawLabel { false } |
int | m_hideCount { 0 } |
SkyObject * | m_skyObject { nullptr } |
Detailed Description
A SkyNode derived class that represents satellite.
- Version
- 1.0
Definition at line 35 of file satellitenode.h.
Constructor & Destructor Documentation
Constructor.
satellitenode.h - K Desktop Planetarium
begin : 25/06/2016 copyright : (C) 2016 by Artem Fedoskin email : afedo[email protected] il.c om skin
- Parameters
-
sat - satellite that is represented by this node rootNode - pointer to the top parent node
- 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) any later version. *
Definition at line 31 of file satellitenode.cpp.
Member Function Documentation
changes the position of SkyNode on SkyMapLite.
Has to be overridden by the classes that support moving
- Parameters
-
pos new position
Reimplemented from SkyNode.
Definition at line 148 of file satellitenode.cpp.
|
overridevirtual |
hides all child nodes (sets opacity of m_opacity to 0)
Reimplemented from SkyNode.
Definition at line 141 of file satellitenode.cpp.
void SatelliteNode::initLines | ( | ) |
Initialize m_lines (if not already) to draw satellite with lines.
Definition at line 36 of file satellitenode.cpp.
void SatelliteNode::initPoint | ( | ) |
Initialize m_point (if not already) to draw satellite as a star.
Definition at line 73 of file satellitenode.cpp.
|
inline |
Definition at line 65 of file satellitenode.h.
|
overridevirtual |
Update position and visibility of satellite.
We also check user settings (Options::drawSatellitesLikeStars()) and based on that draw satellite either like star or with lines
Reimplemented from SkyNode.
Definition at line 87 of file satellitenode.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2019 The KDE developers.
Generated on Fri Dec 13 2019 02:57:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.