DSOIndexNode

Search for usage in LXR

#include <deepskyitem.h>

Inheritance diagram for DSOIndexNode:

Public Member Functions

 DSOIndexNode (DeepSkyIndex *index, LabelsItem::label_t labelType, QString colorString)
 
virtual void hide ()
 
virtual void show ()
 
- 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

DeepSkyIndex * m_index { nullptr }
 
LabelsItem::label_t m_labelType
 
QSGNodem_trixels { nullptr }
 
QString schemeColor
 
- 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

This class represents DSOs from particular catalog.

To create a node, first create a DSOTrixelNode, (if a node of this trixelID is not a child of m_trixels yet), append it to m_trixels and then append DeepSkyNode to DSOTrixelNode

Definition at line 23 of file deepskyitem.h.

Constructor & Destructor Documentation

◆ DSOIndexNode()

DSOIndexNode::DSOIndexNode ( DeepSkyIndex * index,
LabelsItem::label_t labelType,
QString colorString )

Definition at line 21 of file deepskyitem.cpp.

Member Function Documentation

◆ hide()

void DSOIndexNode::hide ( )
virtual

hides the catalog nodes and their labels

Reimplemented from SkyOpacityNode.

Definition at line 27 of file deepskyitem.cpp.

◆ show()

void DSOIndexNode::show ( )
virtual

shows the catalog nodes and their labels

Reimplemented from SkyOpacityNode.

Definition at line 33 of file deepskyitem.cpp.

Member Data Documentation

◆ m_index

DeepSkyIndex* DSOIndexNode::m_index { nullptr }

Definition at line 34 of file deepskyitem.h.

◆ m_labelType

LabelsItem::label_t DSOIndexNode::m_labelType

m_labelType holds label type of this catalog

Definition at line 37 of file deepskyitem.h.

◆ m_trixels

QSGNode* DSOIndexNode::m_trixels { nullptr }

Definition at line 35 of file deepskyitem.h.

◆ schemeColor

QString DSOIndexNode::schemeColor

schemeColor holds the color, with which nodes of this catalog should be drawn

Definition at line 39 of file deepskyitem.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 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.