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:24
A container for nodes that holds collection of textures for stars and provides clipping.
Definition: rootnode.h:59
float starWidth(float mag) const
Get the width of a star of magnitude mag.
Definition: pointsourcenode.cpp:25
void updatePoint()
updatePoint initializes PointNode if not done that yet.
Definition: pointsourcenode.cpp:56
A SkyNode derived class that represents stars and objects that are drawn as stars.
Definition: pointsourcenode.h:26
virtual void update() override
update updates coordinates of this node based on the visibility of its SkyObject
Definition: pointsourcenode.cpp:77
Item for displaying sky objects; also handles user interaction events.
Definition: skymaplite.h:58
void updatePos(QPointF pos, bool drawLabel)
updatePos updates position of this node and its label.
Definition: pointsourcenode.cpp:99
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
Provides virtual functions for update of coordinates and nodes hiding.
Definition: skynode.h:27
virtual void changePos(QPointF pos) override
changePos changes the position m_point
Definition: pointsourcenode.cpp:67
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Sep 25 2023 03:54:34 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Sep 25 2023 03:54:34 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.