Kstars
linelistindex.cpp
34LineListIndex::LineListIndex(SkyComposite *parent, const QString &name) : SkyComponent(parent), m_name(name)
251 printf("%4d out of %4d trixels in line index %3d%%\n", lineSize, total, 100 * lineSize / total);
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition ksnumbers.h:43
void drawLines(SkyPainter *skyp)
Draws all the lines in m_listList as simple lines in float mode.
Definition linelistindex.cpp:180
void appendBoth(const std::shared_ptr< LineList > &lineList)
a convenience method that adds a lineList to both the lineIndex and the polyIndex.
Definition linelistindex.cpp:100
virtual void preDraw(SkyPainter *skyp)
Gives the subclasses access to the top of the draw() method.
Definition linelistindex.cpp:153
virtual void JITupdate(LineList *lineList)
this is called from within the draw routines when the updateID of the lineList is stale.
Definition linelistindex.cpp:129
void summary()
prints out some summary statistics if the skyMesh debug is greater than 1.
Definition linelistindex.cpp:241
virtual MeshBufNum_t drawBuffer()
a callback overridden by NoPrecessIndex so it can use the drawing code with the non-reverse-precessed...
Definition linelistindex.h:142
void appendPoly(const std::shared_ptr< LineList > &lineList)
Typically called from within a subclasses constructors.
Definition linelistindex.cpp:82
void appendLine(const std::shared_ptr< LineList > &lineList)
Typically called from within a subclasses constructors.
Definition linelistindex.cpp:63
void drawFilled(SkyPainter *skyp)
Draws all the lines in m_listList as filled polygons in float mode.
Definition linelistindex.cpp:203
void reindexLines()
as the name says, recreates the lineIndex using the LineLists in the previous index.
Definition linelistindex.cpp:108
virtual SkipHashList * skipList(LineList *lineList)
Also overridden by SkipListIndex.
Definition linelistindex.cpp:174
LineListIndex(SkyComposite *parent, const QString &name="")
Constructor Simply set the internal skyMesh, parent, and name.
Definition linelistindex.cpp:34
virtual const IndexHash & getIndexHash(LineList *lineList)
Returns an IndexHash from the SkyMesh that contains the set of trixels that cover lineList.
Definition linelistindex.cpp:42
SkyList * points()
return the list of points for iterating or appending (or whatever).
Definition linelist.h:33
MeshIterator is a very lightweight class used to iterate over the result set of an HTMesh intersectio...
Definition MeshIterator.h:21
virtual void emitProgressText(const QString &message)
Emit signal about progress.
Definition skycomponent.cpp:18
SkyComposite is a kind of container class for SkyComponent objects.
Definition skycomposite.h:30
const IndexHash & indexLine(SkyList *points)
fills a QHash with the trixel indices needed to cover all the line segments specified in the QVector<...
Definition skymesh.cpp:126
static SkyMesh * Instance()
returns the default instance of SkyMesh or null if it has not yet been created.
Definition skymesh.cpp:39
const IndexHash & indexPoly(SkyList *points)
fills a QHash with the trixel indices needed to cover the polygon specified in the QList<SkyPoints*> ...
Definition skymesh.cpp:208
virtual void drawSkyPolyline(LineList *list, SkipHashList *skipList=nullptr, LineListLabel *label=nullptr)=0
Draw a polyline in the sky.
virtual void drawSkyPolygon(LineList *list, bool forceClip=true)=0
Draw a polygon in the sky.
QString i18n(const char *text, const TYPE &arg...)
const_iterator constBegin() const const
const_iterator constEnd() const const
QString arg(Args &&... args) const const
SolidLine
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.