PointNode

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

Author
Artem Fedoskin
Version
1.0

Definition at line 24 of file pointnode.h.

Constructor & Destructor Documentation

◆ PointNode()

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

Constructor.

Parameters
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

Parameters
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 Sat Dec 21 2024 17:04:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.