Kstars
constellationartnode.cpp
23 SkyMapLite::Instance()->window()->createTextureFromImage(m_art->image(), QQuickWindow::TextureCanUseAtlas));
41 m_art->EquatorialToHorizontal(KStarsData::Instance()->lst(), KStarsData::Instance()->geo()->lat());
virtual void hide() override
hides all child nodes (sets opacity of m_opacity to 0)
Definition constellationartnode.cpp:75
virtual void update() override
Updates coordinate of the object on SkyMapLite.
Definition constellationartnode.cpp:29
void changePos(QPointF pos, double positionangle)
changePos change the position of this node
Definition constellationartnode.cpp:64
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
double findPA(const SkyObject *o, float x, float y) const
Determine the on-screen position angle of a SkyObject.
Definition projector.cpp:271
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
Provides virtual functions for update of coordinates and nodes hiding.
Definition skynode.h:28
void EquatorialToHorizontal(const CachingDms *LST, const CachingDms *lat)
Determine the (Altitude, Azimuth) coordinates of the SkyPoint from its (RA, Dec) coordinates,...
Definition skypoint.cpp:77
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
void rotate(const QQuaternion &quaternion)
void translate(const QVector3D &vector)
qreal x() const const
qreal y() const const
TextureCanUseAtlas
QSizeF size() const const
DirtyMatrix
void appendChildNode(QSGNode *node)
void markDirty(DirtyState bits)
void setOpacity(qreal opacity)
QRectF rect() const const
void setFiltering(QSGTexture::Filtering filtering)
void setRect(const QRectF &r)
void setTexture(QSGTexture *texture)
Linear
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 Sat Dec 21 2024 17:04:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.