Kstars
deepskynode.cpp
22DeepSkyNode::DeepSkyNode(DeepSkyObject *skyObject, DSOSymbolNode *symbol, LabelsItem::label_t labelType, short trixel)
A SkyNode derived class used for Deep Sky symbols in SkyMapLite.
Definition dsosymbolnode.h:150
void update(float size, const QPointF &pos, float positionangle)
Update size and position of the symbol.
Definition dsosymbolnode.cpp:424
virtual void hide() override
hides all child nodes (sets opacity of m_opacity to 0)
Definition deepskynode.cpp:142
void setColor(QColor color, TrixelNode *symbolTrixel)
sets color of DSO symbol and label To not increase the code for symbols we just recreate the symbol p...
Definition deepskynode.cpp:46
virtual void changePos(QPointF pos) override
changePos changes the position of this node and rotate it according to m_angle
Definition deepskynode.cpp:34
DeepSkyNode(DeepSkyObject *skyObject, DSOSymbolNode *symbol, LabelsItem::label_t labelType, short trixel=-1)
Constructor.
Definition deepskynode.cpp:22
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
The Projector class is the primary class that serves as an interface to handle projections.
Definition projector.h:58
static constexpr double PI
PI is a const static member; it's public so that it can be used anywhere, as long as dms....
Definition dms.h:385
qreal x() const const
qreal y() const const
TextureCanUseAtlas
QSizeF size() const const
DirtyMatrix
void appendChildNode(QSGNode *node)
void markDirty(DirtyState bits)
QRectF rect() const const
void setOwnsTexture(bool owns)
void setRect(const QRectF &r)
void setTexture(QSGTexture *texture)
void setMatrix(const QMatrix4x4 &matrix)
qreal height() const const
qreal width() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:03 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:03 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.