PointNode
PointNode Class Reference
#include <pointnode.h>
Inheritance diagram for PointNode:
Public Member Functions | |
PointNode (RootNode *p, char sp='A', float size=1) | |
void | setSize (float size) |
QSizeF | size () const |
Public Member Functions inherited from SkyOpacityNode | |
virtual void | hide () |
virtual void | show () |
bool | visible () |
Public Member Functions inherited from QSGOpacityNode | |
qreal | opacity () const const |
void | setOpacity (qreal opacity) |
Public Member Functions inherited from QSGNode | |
void | appendChildNode (QSGNode *node) |
QSGNode * | childAtIndex (int i) const const |
int | childCount () const const |
QSGNode * | firstChild () const const |
Flags | flags () const const |
void | insertChildNodeAfter (QSGNode *node, QSGNode *after) |
void | insertChildNodeBefore (QSGNode *node, QSGNode *before) |
virtual bool | isSubtreeBlocked () const const |
QSGNode * | lastChild () const const |
void | markDirty (DirtyState bits) |
QSGNode * | nextSibling () const const |
QSGNode * | parent () const const |
void | prependChildNode (QSGNode *node) |
virtual void | preprocess () |
QSGNode * | previousSibling () const const |
void | removeAllChildNodes () |
void | removeChildNode (QSGNode *node) |
void | setFlag (Flag f, bool enabled) |
void | setFlags (Flags f, bool enabled) |
NodeType | type () const const |
Additional Inherited Members | |
Public Types inherited from QSGNode | |
typedef | DirtyState |
enum | DirtyStateBit |
enum | Flag |
typedef | Flags |
enum | NodeType |
Public Attributes inherited from QSGNode | |
BasicNodeType | |
ClipNodeType | |
DirtyForceUpdate | |
DirtyGeometry | |
DirtyMaterial | |
DirtyMatrix | |
DirtyNodeAdded | |
DirtyNodeRemoved | |
DirtyOpacity | |
DirtyPropagationMask | |
DirtySubtreeBlocked | |
DirtyUsePreprocess | |
GeometryNodeType | |
InternalReserved | |
IsVisitableNode | |
OpacityNodeType | |
OwnedByParent | |
OwnsGeometry | |
OwnsMaterial | |
OwnsOpaqueMaterial | |
RenderNodeType | |
RootNodeType | |
TransformNodeType | |
UsePreprocess | |
Detailed Description
SkyOpacityNode derived class that represents stars and planets using cached QSGTexture.
A SkyOpacityNode derived class used for representing stars and planets as stars. Upon construction loads the texture of star cached in parentNode
- Version
- 1.0
Definition at line 24 of file pointnode.h.
Constructor & Destructor Documentation
◆ PointNode()
|
explicit |
Constructor.
- Parameters
-
p pointer to the top parent RootNode which holds texture cache sp spectral type size initial size of PointNode
Definition at line 15 of file pointnode.cpp.
Member Function Documentation
◆ setSize()
void PointNode::setSize | ( | float | size | ) |
setSize update size of PointNode with the given parameter
- Parameters
-
size new size of PointNode
Definition at line 23 of file pointnode.cpp.
◆ size()
QSizeF PointNode::size | ( | ) | const |
Definition at line 42 of file pointnode.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 Mon Nov 4 2024 16:38:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.