#include <MapLayers.hxx>
Definition at line 7 of file MapLayers.hxx.
◆ MapLayers()
◆ ~MapLayers()
MapLayers::~MapLayers |
( |
| ) |
|
|
privatedefault |
◆ deactivateAllLayers()
static void MapLayers::deactivateAllLayers |
( |
| ) |
|
|
inlinestaticprivate |
◆ disableLayer()
static void MapLayers::disableLayer |
( |
unsigned int |
layer | ) |
|
|
inlinestatic |
Disable Drawing Layer.
Disable Drawing Layer ( Turned off by using bitwise AND with inversed pattern)
- Parameters
-
layer | uint32_t from enum "Layer" |
- See also
- Layer
Definition at line 21 of file MapLayers.hxx.
◆ enableLayers()
void MapLayers::enableLayers |
( |
std::vector< unsigned int > && |
layers | ) |
|
|
static |
Enable drawing layers.
- Parameters
-
layers | Layers to be enabled. |
- See also
- Layer
Definition at line 26 of file MapLayers.cxx.
28 unsigned int enLayers = 0U;
30 for (
auto layer : layers)
32 enLayers |= 1U << layer;
◆ isLayerActive()
static bool MapLayers::isLayerActive |
( |
unsigned int |
layer | ) |
|
|
inlinestatic |
Check if given Layer is being drawn.
- Parameters
-
layer | uint32_t from enum "Layer" |
- See also
- Layer
Definition at line 34 of file MapLayers.hxx.
◆ setLayerEditMode()
◆ toggleLayer()
static void MapLayers::toggleLayer |
( |
unsigned int |
layer | ) |
|
|
inlinestatic |
Toggle Drawing Layer.
Toggle Drawing Layer (use bitwise XOR to toggle layer)
- Parameters
-
layer | uint32_t from enum "Layer" |
- See also
- Layer
Definition at line 28 of file MapLayers.hxx.
◆ m_activeLayers
unsigned int MapLayers::m_activeLayers = 0 |
|
staticprivate |
The documentation for this class was generated from the following files: