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);
QSGTexture * getCachedTexture(int size, char spType)
returns cached texture from textureCache
Definition: rootnode.cpp:185
void updateClipPoly()
triangulates and sets new clipping polygon provided by Projection system
Definition: rootnode.cpp:190
Definition: satellitesitem.h:22
Definition: planetsitem.h:21
void genCachedTextures()
initializes textureCache with cached images of stars from SkyMapLite
Definition: rootnode.cpp:165
Definition: horizonitem.h:22
QVector::iterator begin()
TextureCanUseAtlas
int harvardToIndex(char c)
Returns index for a Harvard spectral classification.
Definition: skymaplite.cpp:810
QSGTexture * createTextureFromImage(const QImage &image) const const
Definition: constellationartitem.h:22
const QSGGeometry::AttributeSet & defaultAttributes_Point2D()
Definition: supernovaeitem.h:19
Definition: telescopesymbolsitem.h:27
QVector::iterator end()
Item for displaying sky objects; also handles user interaction events.
Definition: skymaplite.h:58
DirtyGeometry
Definition: cometsitem.h:19
OwnsGeometry
int length() const const
Definition: fovitem.h:17
int size() const const
Definition: asteroidsitem.h:20
DotLine
void update(bool clearTextures=false)
update positions of all child SkyItems
Definition: rootnode.cpp:216
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 04:05:44 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 04:05:44 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.