Search for usage in LXR

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)
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

Additional Inherited Members

- Public Types inherited from QSGNode
enum  DirtyStateBit
enum  Flag
enum  NodeType
- Public Attributes inherited from QSGNode
typedef DirtyState
typedef Flags

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

Artem Fedoskin

Definition at line 24 of file pointnode.h.

Constructor & Destructor Documentation

◆ PointNode()

PointNode::PointNode ( RootNode * p,
char sp = 'A',
float size = 1 )


ppointer to the top parent RootNode which holds texture cache
spspectral type
sizeinitial 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

sizenew 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 Fri Jun 14 2024 11:55:04 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.