kstars
#include <trixelnode.h>

Public Member Functions | |
TrixelNode (const Trixel &trixel) | |
virtual void | deleteAllChildNodes () |
virtual void | hide () override |
int | hideCount () |
void | resetHideCount () |
virtual void | show () override |
Trixel | trixelID () |
![]() | |
SkyOpacityNode () | |
bool | visible () |
Public Attributes | |
QLinkedList< QPair< SkyObject *, SkyNode * > > | m_nodes |
Detailed Description
Convenience class that represents trixel in SkyMapLite.
It should be used as a parent for nodes that represent SkyObjects indexed by HTMesh
Definition at line 31 of file trixelnode.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
trixelnode.cpp - K Desktop Planetarium
begin : 01/07/2016 copyright : (C) 2016 by Artem Fedoskin email : afedo[email protected] il.c om skin
- 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 trixelnode.cpp.
Member Function Documentation
|
virtual |
Delete all childNodes and remove nodes from pairs in m_nodes.
Reimplemented in DSOTrixelNode.
Definition at line 27 of file trixelnode.cpp.
|
overridevirtual |
|
inline |
m_hideCount is a counter of how much updates of SkyMapLite this trixel remained hidden.
Used to reduce memory consumption
Definition at line 41 of file trixelnode.h.
|
inline |
Whenever the corresponding trixel is visible, m_hideCount is reset.
Definition at line 44 of file trixelnode.h.
|
overridevirtual |
makes this node visible
Reimplemented from SkyOpacityNode.
Definition at line 51 of file trixelnode.cpp.
|
inline |
Definition at line 49 of file trixelnode.h.
Member Data Documentation
QLinkedList<QPair<SkyObject *, SkyNode *> > TrixelNode::m_nodes |
m_nodes - holds SkyNodes with corresponding SkyObjects
Definition at line 52 of file trixelnode.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2019 The KDE developers.
Generated on Sun Dec 15 2019 03:10:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.