Kstars
linenode.cpp
15 LineNode::LineNode(LineList *lineList, SkipHashList *skipList, QColor color, int width, Qt::PenStyle drawStyle)
void append(const T &value)
Definition: linelist.h:24
void setDrawingMode(unsigned int mode)
Stores dms coordinates for a point in the sky. for converting between coordinate systems.
Definition: skypoint.h:44
void updateGeometry()
Update lines based on the visibility of line segments in m_lineList.
Definition: linenode.cpp:65
void appendChildNode(QSGNode *node)
T & first()
void setGeometry(QSGGeometry *geometry)
void setOpaqueMaterial(QSGMaterial *material)
const QColor & color() const const
const QSGGeometry::AttributeSet & defaultAttributes_Point2D()
QLinkedList::const_iterator constEnd() const const
const T & at(int i) const const
QLinkedList::const_iterator constBegin() const const
Definition: projector.h:55
void markDirty(QSGNode::DirtyState bits)
SkyList * points()
return the list of points for iterating or appending (or whatever).
Definition: linelist.h:33
void setColor(const QColor &color)
DirtyMaterial
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
QSGNode::NodeType type() const const
int size() const const
int size() const const
void allocate(int vertexCount, int indexCount)
LineNode(LineList *lineList, SkipHashList *skipList, QColor color, int width, Qt::PenStyle drawStyle)
Constructor.
Definition: linenode.cpp:15
PenStyle
QSGGeometry::Point2D * vertexDataAsPoint2D()
void setLineWidth(float width)
bool checkVisibility(const SkyPoint *p) const
Determine if the skypoint p is likely to be visible in the display window.
Definition: projector.cpp:183
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Aug 15 2022 04:04:02 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Aug 15 2022 04:04:02 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.