TrixelNode
#include <trixelnode.h>
Public Member Functions | |
TrixelNode (const Trixel &trixel) | |
virtual void | deleteAllChildNodes () |
virtual void | hide () override |
int | hideCount () |
void | resetHideCount () |
virtual void | show () override |
Trixel | trixelID () |
Public Member Functions inherited from SkyOpacityNode | |
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 |
Public Attributes | |
QLinkedList< QPair< SkyObject *, SkyNode * > > | m_nodes |
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 | |
Additional Inherited Members | |
Public Types inherited from QSGNode | |
typedef | DirtyState |
enum | DirtyStateBit |
enum | Flag |
typedef | Flags |
enum | NodeType |
Detailed Description
Convenience class that represents trixel in SkyMapLite.
It should be used as a parent for nodes that represent SkyObjects indexed by HTMesh
Definition at line 20 of file trixelnode.h.
Constructor & Destructor Documentation
◆ TrixelNode()
|
explicit |
Constructor.
Definition at line 12 of file trixelnode.cpp.
Member Function Documentation
◆ deleteAllChildNodes()
|
virtual |
Delete all childNodes and remove nodes from pairs in m_nodes.
Reimplemented in DSOTrixelNode.
Definition at line 16 of file trixelnode.cpp.
◆ hide()
|
overridevirtual |
◆ hideCount()
|
inline |
m_hideCount is a counter of how much updates of SkyMapLite this trixel remained hidden.
Used to reduce memory consumption
Definition at line 30 of file trixelnode.h.
◆ resetHideCount()
|
inline |
Whenever the corresponding trixel is visible, m_hideCount is reset.
Definition at line 33 of file trixelnode.h.
◆ show()
|
overridevirtual |
makes this node visible
Reimplemented from SkyOpacityNode.
Definition at line 40 of file trixelnode.cpp.
◆ trixelID()
|
inline |
Definition at line 38 of file trixelnode.h.
Member Data Documentation
◆ m_nodes
m_nodes - holds SkyNodes with corresponding SkyObjects
Definition at line 41 of file trixelnode.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.