KOSMIndoorMap::SceneGraphItem

Search for usage in LXR

KOSMIndoorMap::SceneGraphItem Class Reference

#include <scenegraphitem.h>

Public Attributes

OSM::Element element
 
int layer = 0
 
LayerSelectorKey layerSelector
 
int level = 0
 
std::unique_ptr< SceneGraphItemPayloadpayload
 

Detailed Description

Scene graph item description and handle for its content.

This is a minimal and cheap part that can be used allocation-free, and it holds the expensive polymorphic parts (geometry, materials) depending on the type of this is item. This split allows to use this part for searching/sorting/indexing.

Definition at line 44 of file scenegraphitem.h.

Member Data Documentation

◆ element

OSM::Element KOSMIndoorMap::SceneGraphItem::element

The OSM::Element this item refers to.

Definition at line 48 of file scenegraphitem.h.

◆ layer

int KOSMIndoorMap::SceneGraphItem::layer = 0

Definition at line 51 of file scenegraphitem.h.

◆ layerSelector

LayerSelectorKey KOSMIndoorMap::SceneGraphItem::layerSelector

Definition at line 53 of file scenegraphitem.h.

◆ level

int KOSMIndoorMap::SceneGraphItem::level = 0

Definition at line 50 of file scenegraphitem.h.

◆ payload

std::unique_ptr<SceneGraphItemPayload> KOSMIndoorMap::SceneGraphItem::payload

Definition at line 55 of file scenegraphitem.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:55:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.