Kstars
constellationnamesitem.cpp
29ConstellationNamesItem::ConstellationNamesItem(ConstellationNamesComponent *constComp, RootNode *parent)
Represents the constellation names on the sky map.
Definition constellationnamescomponent.h:24
bool selected() override
Definition constellationnamescomponent.cpp:102
ConstellationNamesItem(ConstellationNamesComponent *constComp, RootNode *rootNode=nullptr)
Constructor.
Definition constellationnamesitem.cpp:29
virtual void update()
Update positions ConstellationName labels based on user settings and labels visibility.
Definition constellationnamesitem.cpp:35
void recreateList()
Delete all labels and recreate m_names according to object list of m_constelNamesComp.
Definition constellationnamesitem.cpp:100
void setLabelPos(QPointF pos)
set the position of label with the given offset from SkyObject's position and makes the label visible...
Definition labelnode.cpp:123
LabelNode * addLabel(SkyObject *skyObject, label_t labelType)
Create LabelNode with given skyObject and append it to LabelTypeNode that corresponds to type.
Definition labelsitem.cpp:111
void deleteLabels(label_t labelType)
deletes all labels of type labelType
Definition labelsitem.cpp:214
The Projector class is the primary class that serves as an interface to handle projections.
Definition projector.h:58
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
bool onScreen(const QPointF &p) const
Check whether the projected point is on-screen.
Definition projector.cpp:98
bool checkVisibility(const SkyPoint *p) const
Determine if the skypoint p is likely to be visible in the display window.
Definition projector.cpp:183
A QSGClipNode derived class used as a container for holding pointers to nodes and for clipping.
Definition rootnode.h:60
This is an interface for implementing SkyItems that represent SkyComponent derived objects on the Sky...
Definition skyitem.h:30
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
void setX(qreal x)
qreal x() const const
qsizetype length() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:53:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:53:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.