Kstars
pointsourcenode.h
62 * The reason behind this function is that in StarItem we are already checking the visibility of star
63 * to decide whether we need to create this node or no. So to avoid calculating the same thing twice
SkyOpacityNode derived class that represents stars and planets using cached QSGTexture.
Definition pointnode.h:25
A SkyNode derived class used for displaying PointNode with coordinates provided by SkyObject.
Definition pointsourcenode.h:27
PointSourceNode(SkyObject *skyObject, RootNode *parentNode, LabelsItem::label_t labelType=LabelsItem::label_t::STAR_LABEL, char spType='A', float size=1, short trixel=-1)
Constructor.
Definition pointsourcenode.cpp:18
virtual void update() override
update updates coordinates of this node based on the visibility of its SkyObject
Definition pointsourcenode.cpp:77
void updatePoint()
updatePoint initializes PointNode if not done that yet.
Definition pointsourcenode.cpp:56
void updatePos(QPointF pos, bool drawLabel)
updatePos updates position of this node and its label.
Definition pointsourcenode.cpp:99
virtual void changePos(QPointF pos) override
changePos changes the position m_point
Definition pointsourcenode.cpp:67
float starWidth(float mag) const
Get the width of a star of magnitude mag.
Definition pointsourcenode.cpp:25
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
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
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.