Kstars
supernovanode.cpp
void set(float x, float y)
Definition: kstarsdata.h:71
void setGeometry(QSGGeometry *geometry)
void setOpaqueMaterial(QSGMaterial *material)
const QColor & color() const const
Definition: supernova.h:33
bool onScreen(const QPointF &p) const
Check whether the projected point is on-screen.
Definition: projector.cpp:98
const QSGGeometry::AttributeSet & defaultAttributes_Point2D()
virtual void changePos(QPointF pos) override
changes the position of SkyNode on SkyMapLite.
Definition: supernovanode.cpp:76
Definition: projector.h:56
void setMatrix(const QMatrix4x4 &matrix)
void markDirty(QSGNode::DirtyState bits)
void setColor(const QColor &color)
DirtyMaterial
qreal x() const const
qreal y() const const
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
OwnsGeometry
void allocate(int vertexCount, int indexCount)
QSGGeometry::Point2D * vertexDataAsPoint2D()
virtual void update() override
Update position and visibility of supernova.
Definition: supernovanode.cpp:21
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 setFlag(QSGNode::Flag f, bool enabled)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Oct 1 2023 04:02:44 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Oct 1 2023 04:02:44 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.