SymbolNode

Search for usage in LXR

#include <dsosymbolnode.h>

Inheritance diagram for SymbolNode:

Public Member Functions

virtual void updateSymbol (float x, float y, float e, float size)
 
- 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
 

Protected Attributes

float dx1 { 0 }
 
float dx2 { 0 }
 
float dxa { 0 }
 
float dxb { 0 }
 
float dy1 { 0 }
 
float dy2 { 0 }
 
float dya { 0 }
 
float dyb { 0 }
 
int isize { 0 }
 
float psize { 0 }
 
float x1 { 0 }
 
float x2 { 0 }
 
float xa { 0 }
 
float xb { 0 }
 
float y1 { 0 }
 
float y2 { 0 }
 
float ya { 0 }
 
float yb { 0 }
 
float zoom { 0 }
 

Additional Inherited Members

- Public Types inherited from QSGNode
enum  DirtyStateBit
 
enum  Flag
 
enum  NodeType
 
- Public Attributes inherited from QSGNode
 BasicNodeType
 
 ClipNodeType
 
 DirtyForceUpdate
 
 DirtyGeometry
 
 DirtyMaterial
 
 DirtyMatrix
 
 DirtyNodeAdded
 
 DirtyNodeRemoved
 
 DirtyOpacity
 
 DirtyPropagationMask
 
typedef DirtyState
 
 DirtySubtreeBlocked
 
 DirtyUsePreprocess
 
typedef Flags
 
 GeometryNodeType
 
 InternalReserved
 
 IsVisitableNode
 
 OpacityNodeType
 
 OwnedByParent
 
 OwnsGeometry
 
 OwnsMaterial
 
 OwnsOpaqueMaterial
 
 RenderNodeType
 
 RootNodeType
 
 TransformNodeType
 
 UsePreprocess
 

Detailed Description

A base class for all symbol nodes.

Definition at line 18 of file dsosymbolnode.h.

Constructor & Destructor Documentation

◆ SymbolNode()

SymbolNode::SymbolNode ( )
inlineprotected

Definition at line 29 of file dsosymbolnode.h.

Member Function Documentation

◆ updateSymbol()

void SymbolNode::updateSymbol ( float x,
float y,
float e,
float size )
virtual

Update size and the symbol itself.

Each SymbolNode should override this function, and call SymbolNode::updateSymbol() in the beginning of overridden updateSymbol to initialize values that are used across all symbols.

Definition at line 14 of file dsosymbolnode.cpp.

Member Data Documentation

◆ dx1

float SymbolNode::dx1 { 0 }
protected

Definition at line 33 of file dsosymbolnode.h.

◆ dx2

float SymbolNode::dx2 { 0 }
protected

Definition at line 34 of file dsosymbolnode.h.

◆ dxa

float SymbolNode::dxa { 0 }
protected

Definition at line 42 of file dsosymbolnode.h.

◆ dxb

float SymbolNode::dxb { 0 }
protected

Definition at line 43 of file dsosymbolnode.h.

◆ dy1

float SymbolNode::dy1 { 0 }
protected

Definition at line 35 of file dsosymbolnode.h.

◆ dy2

float SymbolNode::dy2 { 0 }
protected

Definition at line 36 of file dsosymbolnode.h.

◆ dya

float SymbolNode::dya { 0 }
protected

Definition at line 44 of file dsosymbolnode.h.

◆ dyb

float SymbolNode::dyb { 0 }
protected

Definition at line 45 of file dsosymbolnode.h.

◆ isize

int SymbolNode::isize { 0 }
protected

Definition at line 31 of file dsosymbolnode.h.

◆ psize

float SymbolNode::psize { 0 }
protected

Definition at line 50 of file dsosymbolnode.h.

◆ x1

float SymbolNode::x1 { 0 }
protected

Definition at line 37 of file dsosymbolnode.h.

◆ x2

float SymbolNode::x2 { 0 }
protected

Definition at line 38 of file dsosymbolnode.h.

◆ xa

float SymbolNode::xa { 0 }
protected

Definition at line 46 of file dsosymbolnode.h.

◆ xb

float SymbolNode::xb { 0 }
protected

Definition at line 47 of file dsosymbolnode.h.

◆ y1

float SymbolNode::y1 { 0 }
protected

Definition at line 39 of file dsosymbolnode.h.

◆ y2

float SymbolNode::y2 { 0 }
protected

Definition at line 40 of file dsosymbolnode.h.

◆ ya

float SymbolNode::ya { 0 }
protected

Definition at line 48 of file dsosymbolnode.h.

◆ yb

float SymbolNode::yb { 0 }
protected

Definition at line 49 of file dsosymbolnode.h.

◆ zoom

float SymbolNode::zoom { 0 }
protected

Definition at line 30 of file dsosymbolnode.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 Tue Mar 26 2024 11:19:05 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.