CARLA
MapLayer.h
Go to the documentation of this file.
1 // Copyright (c) 2020 Computer Vision Center (CVC) at the Universitat Autonoma
2 // de Barcelona (UAB).
3 //
4 // This work is licensed under the terms of the MIT license.
5 // For a copy, see <https://opensource.org/licenses/MIT>.
6 
7 #pragma once
8 
9 #include "carla/MsgPack.h"
10 
11 #include <cstdint>
12 
13 namespace carla {
14 namespace rpc {
15 
16 using MapLayerType = uint16_t;
17 
18 enum class MapLayer : MapLayerType
19 {
20  None = 0,
21  Buildings = 0x1,
22  Decals = 0x1 << 1,
23  Foliage = 0x1 << 2,
24  Ground = 0x1 << 3,
25  ParkedVehicles = 0x1 << 4,
26  Particles = 0x1 << 5,
27  Props = 0x1 << 6,
28  StreetLights = 0x1 << 7,
29  Walls = 0x1 << 8,
30  All = 0xFFFF,
31 };
32 
33 std::string MapLayerToString(MapLayer MapLayerValue);
34 
35 } // namespace rpc
36 } // namespace carla
37 
MSGPACK_ADD_ENUM(carla::rpc::MapLayer)
This file contains definitions of common data structures used in traffic manager. ...
Definition: Carla.cpp:99
uint16_t MapLayerType
Definition: MapLayer.h:16
std::string MapLayerToString(MapLayer MapLayerValue)
Definition: MapLayer.cpp:12