KOSMIndoorMap::SceneGraph
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< SceneGraphItemPayload > | findOrCreatePayload (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 |
SceneGraph & | operator= (const SceneGraph &)=delete |
SceneGraph & | operator= (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
◆ backgroundColor()
QColor SceneGraph::backgroundColor | ( | ) | const |
Canvas background color.
Definition at line 91 of file scenegraph.cpp.
◆ clear()
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-2022 The KDE developers.
Generated on Fri Aug 19 2022 04:06:44 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 19 2022 04:06:44 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.