KOSMIndoorMap::SceneGraph

Search for usage in LXR

KOSMIndoorMap::SceneGraph Class Reference

#include <scenegraph.h>

Public Types

typedef std::pair< std::size_t, std::size_t > LayerOffset
 
typedef std::vector< SceneGraphItem >::const_iterator SceneGraphItemIter
 

Public Member Functions

 SceneGraph (const SceneGraph &)=delete
 
 SceneGraph (SceneGraph &&)
 
void addItem (SceneGraphItem &&item)
 
QColor backgroundColor () const
 
void beginSwap ()
 
void clear ()
 
int currentFloorLevel () const
 
void endSwap ()
 
template<typename T >
std::unique_ptr< SceneGraphItemPayloadfindOrCreatePayload (OSM::Element e, int level, LayerSelectorKey layerSelector)
 
const std::vector< SceneGraphItem > & items () const
 
SceneGraphItemIter itemsBegin (LayerOffset layer) const
 
SceneGraphItemIter itemsEnd (LayerOffset layer) const
 
const std::vector< LayerOffset > & layerOffsets () const
 
SceneGraphoperator= (const SceneGraph &)=delete
 
SceneGraphoperator= (SceneGraph &&other)
 
void setBackgroundColor (const QColor &bg)
 
void setCurrentFloorLevel (int level)
 
void setZoomLevel (int zoom)
 
int zoomLevel () const
 
void zSort ()
 

Detailed Description

Scene graph of the currently displayed level.

Definition at line 28 of file scenegraph.h.

Member Function Documentation

QColor SceneGraph::backgroundColor ( ) const

Canvas background color.

Definition at line 91 of file scenegraph.cpp.

void SceneGraph::clear ( )

Clears all data from the scene graph.

Definition at line 20 of file scenegraph.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Jul 29 2021 23:03:59 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.