TrixelNode

Search for usage in LXR

#include <trixelnode.h>

Inheritance diagram for TrixelNode:

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)
 
QSGNodechildAtIndex (int i) const const
 
int childCount () const const
 
QSGNodefirstChild () const const
 
Flags flags () const const
 
void insertChildNodeAfter (QSGNode *node, QSGNode *after)
 
void insertChildNodeBefore (QSGNode *node, QSGNode *before)
 
virtual bool isSubtreeBlocked () const const
 
QSGNodelastChild () const const
 
void markDirty (DirtyState bits)
 
QSGNodenextSibling () const const
 
QSGNodeparent () const const
 
void prependChildNode (QSGNode *node)
 
virtual void preprocess ()
 
QSGNodepreviousSibling () 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()

TrixelNode::TrixelNode ( const Trixel & trixel)
explicit

Constructor.

Definition at line 12 of file trixelnode.cpp.

Member Function Documentation

◆ deleteAllChildNodes()

void TrixelNode::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()

void TrixelNode::hide ( )
overridevirtual

hides this node

Reimplemented from SkyOpacityNode.

Definition at line 34 of file trixelnode.cpp.

◆ hideCount()

int TrixelNode::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()

void TrixelNode::resetHideCount ( )
inline

Whenever the corresponding trixel is visible, m_hideCount is reset.

Definition at line 33 of file trixelnode.h.

◆ show()

void TrixelNode::show ( )
overridevirtual

makes this node visible

Reimplemented from SkyOpacityNode.

Definition at line 40 of file trixelnode.cpp.

◆ trixelID()

Trixel TrixelNode::trixelID ( )
inline

Definition at line 38 of file trixelnode.h.

Member Data Documentation

◆ m_nodes

QLinkedList<QPair<SkyObject *, SkyNode *> > TrixelNode::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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:57:50 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.