LineNode
LineNode Class Reference
#include <linenode.h>
Inheritance diagram for LineNode:
Additional Inherited Members | |
Public Types inherited from QSGNode | |
enum | DirtyStateBit |
enum | Flag |
enum | NodeType |
Public Attributes inherited from QSGNode | |
BasicNodeType | |
ClipNodeType | |
DirtyForceUpdate | |
DirtyGeometry | |
DirtyMaterial | |
DirtyMatrix | |
DirtyNodeAdded | |
DirtyNodeRemoved | |
DirtyOpacity | |
DirtyPropagationMask | |
typedef | DirtyState |
DirtySubtreeBlocked | |
DirtyUsePreprocess | |
typedef | Flags |
GeometryNodeType | |
InternalReserved | |
IsVisitableNode | |
OpacityNodeType | |
OwnedByParent | |
OwnsGeometry | |
OwnsMaterial | |
OwnsOpaqueMaterial | |
RenderNodeType | |
RootNodeType | |
TransformNodeType | |
UsePreprocess | |
Detailed Description
SkyOpacityNode derived class that draws lines from LineList.
- Version
- 1.0
Definition at line 27 of file linenode.h.
Constructor & Destructor Documentation
◆ LineNode()
LineNode::LineNode | ( | LineList * | lineList, |
SkipHashList * | skipList, | ||
QColor | color, | ||
int | width, | ||
Qt::PenStyle | drawStyle ) |
Constructor.
- Parameters
-
lineList - lines that have to be drawn skipList - lines that have to be skipped color - line color width - line width drawStyle - not used currently
Definition at line 15 of file linenode.cpp.
◆ ~LineNode()
|
virtual |
Definition at line 31 of file linenode.cpp.
Member Function Documentation
◆ lineList()
|
inline |
Definition at line 52 of file linenode.h.
◆ setColor()
void LineNode::setColor | ( | QColor | color | ) |
Definition at line 37 of file linenode.cpp.
◆ setDrawStyle()
void LineNode::setDrawStyle | ( | Qt::PenStyle | drawStyle | ) |
Definition at line 53 of file linenode.cpp.
◆ setStyle()
void LineNode::setStyle | ( | QColor | color, |
int | width, | ||
Qt::PenStyle | drawStyle ) |
Definition at line 58 of file linenode.cpp.
◆ setWidth()
void LineNode::setWidth | ( | int | width | ) |
Definition at line 47 of file linenode.cpp.
◆ updateGeometry()
void LineNode::updateGeometry | ( | ) |
Update lines based on the visibility of line segments in m_lineList.
Definition at line 65 of file linenode.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:04 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:04 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.