Kstars
rootnode.cpp
54 // LabelsItem needs to be created first so that other items could insert their labels in labelsList
61 m_linesItem->addLinesComponent(m_skyComposite->equatorialCoordGrid(), "EquatorialGridColor", 1, Qt::DotLine);
62 m_linesItem->addLinesComponent(m_skyComposite->horizontalCoordGrid(), "HorizontalGridColor", 2, Qt::DotLine);
66 m_linesItem->addLinesComponent(m_skyComposite->constellationBoundary(), "CBoundColor", 1, Qt::SolidLine);
71 m_linesItem->addLinesComponent(m_skyComposite->constellationLines(), "CLineColor", 1, Qt::SolidLine);
81 m_planetsItem = new PlanetsItem(m_solarSystem->planets(), /* m_solarSystem->planetMoonsComponent(),*/ this);
85 m_constelNamesItem = new ConstellationNamesItem(m_skyComposite->constellationNamesComponent(), this);
106 m_linesItem->addLinesComponent( m_skyComposite->equatorialCoordGrid(), "EquatorialGridColor", 1, Qt::DotLine );
107 m_linesItem->addLinesComponent( m_skyComposite->horizontalCoordGrid(), "HorizontalGridColor", 2, Qt::DotLine );
109 m_linesItem->addLinesComponent( m_skyComposite->constellationBoundary(), "CBoundColor", 1, Qt::SolidLine );
110 m_linesItem->addLinesComponent( m_skyComposite->constellationLines(), "CLineColor", 1, Qt::SolidLine );
119 m_planetsItem = new PlanetsItem(m_solarSystem->planets(), m_solarSystem->planetMoonsComponent(), this);
123 m_constelNamesItem = new ConstellationNamesItem(m_skyComposite->constellationNamesComponent(), this);
virtual void update() override
Determines the visibility of the object and its label and hides/updates them accordingly.
Definition asteroidsitem.cpp:47
virtual void update() override
Determines the visibility of the object and its label and hides/updates them accordingly.
Definition cometsitem.cpp:24
This class handles constellation art in SkyMapLite.
Definition constellationartitem.h:23
void update() override
calls update() of all child ConstellationArtNodes if constellation art is on.
Definition constellationartitem.cpp:46
This class represents ConstellationNamesComponent in SkyMapLite.
Definition constellationnamesitem.h:39
virtual void update()
Update positions ConstellationName labels based on user settings and labels visibility.
Definition constellationnamesitem.cpp:35
virtual void update() override
updates positions of lines and compass labels
Definition eclipticitem.cpp:69
Handles representation of HorizonComponent in SkyMapLite (lines, filled polygon and compass labels).
Definition horizonitem.h:23
virtual void update()
Call update() of HorizonNode and update/hide compass labels based on their visibility.
Definition horizonitem.cpp:44
Class that handles lines (Constellation lines and boundaries and both coordinate grids) in SkyMapLite...
Definition linesitem.h:38
virtual void update()
updates all trixels that are associated with LineListIndex or hide them if selected() of this LineLis...
Definition linesitem.cpp:72
virtual void hide() override
hides this item and labels for all moons (currently only Jupiter moons.
Definition planetsitem.cpp:70
void update(bool clearTextures=false)
update positions of all child SkyItems
Definition rootnode.cpp:216
void genCachedTextures()
initializes textureCache with cached images of stars from SkyMapLite
Definition rootnode.cpp:165
void updateClipPoly()
triangulates and sets new clipping polygon provided by Projection system
Definition rootnode.cpp:190
QSGTexture * getCachedTexture(int size, char spType)
returns cached texture from textureCache
Definition rootnode.cpp:185
This class handles representation of satellites in SkyMapLite.
Definition satellitesitem.h:23
virtual void update() override
Update positions and visibility of satellites.
Definition satellitesitem.cpp:27
int harvardToIndex(char c)
Returns index for a Harvard spectral classification.
Definition skymaplite.cpp:810
QVector< QVector< QPixmap * > > getImageCache()
returns cache of star images
Definition skymaplite.cpp:844
virtual void update()
Update positions of nodes that represent stars In this function we perform almost the same thing as i...
Definition staritem.cpp:68
virtual void update() override
Update positions and visibility of supernovae.
Definition supernovaeitem.cpp:24
This class handles representation of telescope symbols in SkyMapLite.
Definition telescopesymbolsitem.h:28
virtual void update() override
Updates position and visibility of CrosshairNodes that represent telescope symbols If client is no mo...
Definition telescopesymbolsitem.cpp:47
iterator begin()
iterator end()
qsizetype length() const const
qsizetype size() const const
QQuickWindow * window() const const
TextureCanUseAtlas
QSGTexture * createTextureFromImage(const QImage &image) const const
void setGeometry(QSGGeometry *geometry)
void allocate(int vertexCount, int indexCount)
const AttributeSet & defaultAttributes_Point2D()
void markIndexDataDirty()
void markVertexDataDirty()
void setDrawingMode(unsigned int mode)
Point2D * vertexDataAsPoint2D()
DirtyGeometry
OwnsGeometry
void markDirty(DirtyState bits)
void setFlag(Flag f, bool enabled)
DotLine
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.