Kstars
satellitenode.cpp
SkyOpacityNode derived class that represents stars and planets using cached QSGTexture.
Definition pointnode.h:25
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
A QSGClipNode derived class used as a container for holding pointers to nodes and for clipping.
Definition rootnode.h:60
virtual void changePos(QPointF pos) override
changes the position of SkyNode on SkyMapLite.
Definition satellitenode.cpp:137
void initLines()
Initialize m_lines (if not already) to draw satellite with lines.
Definition satellitenode.cpp:25
virtual void hide() override
hides all child nodes (sets opacity of m_opacity to 0)
Definition satellitenode.cpp:130
void initPoint()
Initialize m_point (if not already) to draw satellite as a star.
Definition satellitenode.cpp:62
virtual void update() override
Update position and visibility of satellite.
Definition satellitenode.cpp:76
qreal x() const const
qreal y() const const
void set(float x, float y)
const AttributeSet & defaultAttributes_Point2D()
void setFlag(Flags flags, bool on)
DirtyGeometry
OwnsGeometry
void markDirty(DirtyState bits)
void setMatrix(const QMatrix4x4 &matrix)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:02 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:02 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.