Kstars
staritem.cpp
24 : SkyItem(LabelsItem::label_t::STAR_LABEL, rootNode), m_starComp(starComp), m_stars(new SkyOpacityNode),
Represents the stars on the sky map. For optimization reasons the stars are not separate objects and ...
Definition: starcomponent.h:47
Definition: MeshIterator.h:20
void append(const T &value)
A base class that is used for displaying SkyComponents on SkyMapLite.
Definition: skyitem.h:29
virtual void deleteAllChildNodes()
Delete all childNodes and remove nodes from pairs in m_nodes.
Definition: trixelnode.cpp:16
A container for nodes that holds collection of textures for stars and provides clipping.
Definition: rootnode.h:59
Stores dms coordinates for a point in the sky. for converting between coordinate systems.
Definition: skypoint.h:44
void aperture(SkyPoint *center, double radius, MeshBufNum_t bufNum=DRAW_BUF)
finds the set of trixels that cover the circular aperture specified after first performing a reverse ...
Definition: skymesh.cpp:56
void deleteLabels(label_t labelType)
deletes all labels of type labelType
Definition: labelsitem.cpp:214
void appendChildNode(QSGNode *node)
QSGNode * firstChild() const const
Definition: kstarsdata.h:70
bool onScreen(const QPointF &p) const
Check whether the projected point is on-screen.
Definition: projector.cpp:98
static double deleteLimit()
return limit of hides for the node to delete it
Definition: skymaplite.cpp:199
int size() const const
This class handles representation of unnamed stars in SkyMapLite.
Definition: deepstaritem.h:25
const T & at(int i) const const
const T & at(int i) const const
A SkyNode derived class that represents stars and objects that are drawn as stars.
Definition: pointsourcenode.h:26
Definition: projector.h:55
virtual void update()
Update positions of nodes that represent stars In this function we perform almost the same thing as i...
Definition: staritem.cpp:68
A wrapper for QSGOpacityNode that provides hide() and show() functions. If node is invisible (opacity...
Definition: skyopacitynode.h:20
QLinkedList< QPair< SkyObject *, SkyNode * > > m_nodes
m_nodes - holds SkyNodes with corresponding SkyObjects
Definition: trixelnode.h:41
void clear()
static SkyMesh * Instance()
returns the default instance of SkyMesh or null if it has not yet been created.
Definition: skymesh.cpp:39
Item for displaying sky objects; also handles user interaction events.
Definition: skymaplite.h:58
char spchar() const
Returns just the first character of the spectral type string.
Definition: starobject.cpp:554
void updatePos(QPointF pos, bool drawLabel)
updatePos updates position of this node and its label.
Definition: pointsourcenode.cpp:99
QLinkedList::iterator begin()
QPointF toScreen(const SkyPoint *o, bool oRefract=true, bool *onVisibleHemisphere=nullptr) const
This is exactly the same as toScreenVec but it returns a QPointF.
Definition: projector.cpp:93
QLinkedList::iterator end()
void JITupdate()
added for JIT updates from both StarComponent and ConstellationLines
Definition: starobject.cpp:526
int hideCount()
m_hideCount is a counter of how much updates of SkyMapLite this trixel remained hidden.
Definition: trixelnode.h:30
int size() const const
Provides virtual functions for update of coordinates and nodes hiding.
Definition: skynode.h:27
QSGNode * nextSibling() const const
bool checkVisibility(const SkyPoint *p) const
Determine if the skypoint p is likely to be visible in the display window.
Definition: projector.cpp:183
void removeChildNode(QSGNode *node)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Aug 11 2022 04:00:06 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:06 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.