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

kstars

Public Member Functions | List of all members
SkyPolygonNode Class Reference

#include <skypolygonnode.h>

Inheritance diagram for SkyPolygonNode:
Inheritance graph
[legend]

Public Member Functions

 SkyPolygonNode (LineList *list)
 
virtual void hide () override
 
LineList * lineList ()
 
void setColor (QColor color)
 
void update (bool forceClip=true)
 
- Public Member Functions inherited from SkyNode
 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

- Public Attributes inherited from SkyNode
SkyOpacityNode * m_opacity { nullptr }
 
- Protected Attributes inherited from SkyNode
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.

Author
Artem Fedoskin
Version
1.0

Definition at line 34 of file skypolygonnode.h.

Constructor & Destructor Documentation

SkyPolygonNode::SkyPolygonNode ( LineList *  list)
explicit

Constructor.


skypolygonnode.cpp - K Desktop Planetarium

begin : 23/06/2016 copyright : (C) 2016 by Artem Fedoskin email : afedo[email protected]skin[email protected][email protected][email protected]il.c[email protected]om

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

void SkyPolygonNode::hide ( )
overridevirtual

hides all child nodes (sets opacity of m_opacity to 0)

Reimplemented from SkyNode.

Definition at line 111 of file skypolygonnode.cpp.

LineList* SkyPolygonNode::lineList ( )
inline

Definition at line 50 of file skypolygonnode.h.

void SkyPolygonNode::setColor ( QColor  color)

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:
  • skypolygonnode.h
  • skypolygonnode.cpp
This file is part of the KDE documentation.
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.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

edu API Reference

Skip menu "edu API Reference"
  •     core
  • kstars

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