Search for usage in LXR

#include <fovsymbolnode.h>

Inheritance diagram for FOVSymbolBase:

Public Member Functions

FOVItem::Shape type ()
virtual void updateSymbol (QColor color, float pixelSizeX, float pixelSizeY)=0
- Public Member Functions inherited from QSGTransformNode
const QMatrix4x4matrix () const const
void setMatrix (const QMatrix4x4 &matrix)
- 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 Member Functions

 FOVSymbolBase (FOVItem::Shape shape)

Protected Attributes

FOVItem::Shape m_shape

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

FOVSymbolBase is a virtual class that should be subclassed by every type of FOV symbol.

It is derived from QSGTransformNode to provide transform matrix for updating coordinates of FOV symbol.

A QSGTransformNode derived base class of every type of FOV symbol

Artem Fedoskin

Definition at line 27 of file fovsymbolnode.h.

Constructor & Destructor Documentation

◆ FOVSymbolBase()

FOVSymbolBase::FOVSymbolBase ( FOVItem::Shape shape)
shapeof the symbol. Each subclass sets its own type. Returned in type()

Definition at line 87 of file fovsymbolnode.cpp.

Member Function Documentation

◆ type()

FOVItem::Shape FOVSymbolBase::type ( )

return type of this FOV symbol

Definition at line 34 of file fovsymbolnode.h.

◆ updateSymbol()

virtual void FOVSymbolBase::updateSymbol ( QColor color,
float pixelSizeX,
float pixelSizeY )
pure virtual

updates geometry (position, size) of elements of this FOV symbol

Member Data Documentation

◆ m_shape

FOVItem::Shape FOVSymbolBase::m_shape

Definition at line 41 of file fovsymbolnode.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 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.