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
void append(const T &value)
A container for nodes that holds collection of textures for stars and provides clipping.
Definition: rootnode.h:59
int length() const const
void deleteLabels(label_t labelType)
deletes all labels of type labelType
Definition: labelsitem.cpp:214
void appendChildNode(QSGNode *node)
void removeAllChildNodes()
virtual void update() override
If planet has any moons first updateMoons() is called then the planet is updated.
Definition: planetmoonsnode.cpp:31
A container for PointNode and QSGSimpleTextureNode used for displaying some solar system objects.
Definition: planetnode.h:29
virtual void hide() override
hides all child nodes (sets opacity of m_opacity to 0)
Definition: planetnode.cpp:138
A SkyNode derived class that represents stars and objects that are drawn as stars.
Definition: pointsourcenode.h:26
PlanetMoonsNode(KSPlanetBase *planet, RootNode *parentNode)
Constructor.
Definition: planetmoonsnode.cpp:15
Provides virtual functions for update of coordinates and nodes hiding.
Definition: skynode.h:27
void prependChildNode(QSGNode *node)
Provides necessary information about objects in the solar system.
Definition: ksplanetbase.h:49
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Aug 11 2022 04:00:02 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Aug 11 2022 04:00:02 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.