Kstars
planetmoonsnode.cpp
16 : SkyNode(planet), m_rootNode(parentNode), pmoons(0), m_planetNode(new PlanetNode(planet, parentNode)),
51 //we need to first append the planet (both m_point and m_planetPic) then append all nodes for moons
A subclass of TrailObject that provides additional information needed for most solar system objects.
Definition ksplanetbase.h:50
void deleteLabels(label_t labelType)
deletes all labels of type labelType
Definition labelsitem.cpp:214
PlanetMoonsNode(KSPlanetBase *planet, RootNode *parentNode)
Constructor.
Definition planetmoonsnode.cpp:15
virtual void update() override
If planet has any moons first updateMoons() is called then the planet is updated.
Definition planetmoonsnode.cpp:31
A SkyNode derived class used as a container for holding two other nodes: PointNode and QSGSimpleTextu...
Definition planetnode.h:30
virtual void hide() override
hides all child nodes (sets opacity of m_opacity to 0)
Definition planetnode.cpp:138
A SkyNode derived class used for displaying PointNode with coordinates provided by SkyObject.
Definition pointsourcenode.h:27
A QSGClipNode derived class used as a container for holding pointers to nodes and for clipping.
Definition rootnode.h:60
Provides virtual functions for update of coordinates and nodes hiding.
Definition skynode.h:28
void append(QList< T > &&value)
qsizetype length() const const
void appendChildNode(QSGNode *node)
void prependChildNode(QSGNode *node)
void removeAllChildNodes()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.