Agrarsense
SemanticColors.h
Go to the documentation of this file.
1// Copyright (c) 2023 FrostBit Software Lab at the Lapland University of Applied Sciences
2//
3// This work is licensed under the terms of the MIT license.
4// For a copy, see <https://opensource.org/licenses/MIT>.
5
6#pragma once
7
8#include "CoreMinimal.h"
9#include "Containers/Map.h"
10
11class AGRARSENSE_API USemanticColors
12{
13
14public:
15
16 static TMap<FString, FColor> GetSemanticColors()
17 {
18 return SemanticColors;
19 }
20
21private:
22
23 static const TMap<FString, FColor> SemanticColors;
24};
25
26const TMap<FString, FColor> USemanticColors::SemanticColors =
27{
28 {"None", FColor(0, 0, 0)}, // Black
29 {"Terrain", FColor(192, 96, 192)}, // Lavender
30 {"Props", FColor(128, 64, 128)}, // Purple
31
32 {"Human", FColor(220, 20, 60)}, // Red
33 {"Reindeer", FColor(0, 0, 255)}, // Blue
34 {"Moose", FColor(255, 140, 0)}, // Dark Orange
35
36 {"Rocks", FColor(139, 69, 19)}, // Brown
37
38 {"Vehicle", FColor(0, 0, 142)}, // Navy Blue
39 {"Forwarder", FColor(0, 0, 142)}, // Navy Blue
40 {"Harvester", FColor(0, 0, 142)}, // Navy Blue
41 {"Drone", FColor(0, 0, 142)}, // Navy Blue
42
43 {"Foliage", FColor(107, 142, 35)}, // Olive Green
44 {"Birch", FColor(0, 255, 0)}, // Bright Green
45 {"Pine", FColor(0, 128, 0)}, // Dark Green
46 {"Spruce", FColor(0, 192, 0)}, // Medium Green
47 {"Alder", FColor(0, 255, 128)}, // Mint Green
48 {"Willow", FColor(0, 255, 255)}, // Cyan
49 {"Deadwood", FColor(160, 82, 45)}, // SaddleBrown
50
51 {"Snowflake", FColor(255, 255, 0)}, // Yellow
52 {"Road", FColor(169, 169, 169)}, // Grey
53 {"Building", FColor(0, 0, 255)} // Blue
54};
static TMap< FString, FColor > GetSemanticColors()
static const TMap< FString, FColor > SemanticColors