FOVSymbolBase

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
 
QSGNode::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 (QSGNode::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 (QSGNode::Flag f, bool enabled)
 
void setFlags (QSGNode::Flags f, bool enabled)
 
QSGNode::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
 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 QSGTransformNode derived base class of every type of FOV symbol.

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.

Author
Artem Fedoskin
Version
1.0

Definition at line 27 of file fovsymbolnode.h.

Constructor & Destructor Documentation

◆ FOVSymbolBase()

FOVSymbolBase::FOVSymbolBase ( FOVItem::Shape  shape)
protected
Parameters
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 ( )
inline

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


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Aug 18 2022 03:56:46 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.