kstars
#include <skypolygonnode.h>

Public Member Functions | |
SkyPolygonNode (LineList *list) | |
virtual void | hide () override |
LineList * | lineList () |
void | setColor (QColor color) |
void | update (bool forceClip=true) |
![]() | |
SkyNode (SkyObject *skyObject) | |
SkyNode () | |
virtual | ~SkyNode () |
void | addChildNode (QSGNode *node) |
virtual void | changePos (QPointF pos) |
int | hideCount () |
SkyMapLite * | map () const |
const Projector * | projector () |
virtual void | show () |
SkyObject * | skyObject () const |
virtual void | update () |
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 polygon (either filled or non-filled) One of the applications of this class is drawing of Milky Way.
- Version
- 1.0
Definition at line 34 of file skypolygonnode.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
skypolygonnode.cpp - K Desktop Planetarium
begin : 23/06/2016 copyright : (C) 2016 by Artem Fedoskin email : afedo[email protected] il.c om skin
- Parameters
-
list - Used of lines that comprise polygon
- 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 23 of file skypolygonnode.cpp.
Member Function Documentation
|
overridevirtual |
hides all child nodes (sets opacity of m_opacity to 0)
Reimplemented from SkyNode.
Definition at line 111 of file skypolygonnode.cpp.
|
inline |
Definition at line 50 of file skypolygonnode.h.
Definition at line 106 of file skypolygonnode.cpp.
void SkyPolygonNode::update | ( | bool | forceClip = true | ) |
Update position and visibility of this polygon.
- Note
- This is not an overridden function because it requires a parameter
- Parameters
-
forceClip - true if a polygon should be clipped
Definition at line 28 of file skypolygonnode.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2019 The KDE developers.
Generated on Mon Dec 9 2019 02:11:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.