CARLA
Static Public Member Functions | List of all members
carla::image::CityScapesPalette Class Reference

#include <CityScapesPalette.h>

Static Public Member Functions

static constexpr auto GetColor (uint8_t tag)
 Return an RGB uint8_t array. More...
 
static constexpr auto GetNumberOfTags ()
 

Detailed Description

Definition at line 56 of file CityScapesPalette.h.

Member Function Documentation

◆ GetColor()

static constexpr auto carla::image::CityScapesPalette::GetColor ( uint8_t  tag)
inlinestatic

Return an RGB uint8_t array.

Warning
It overflows if tag is greater than GetNumberOfTags().

Definition at line 67 of file CityScapesPalette.h.

References carla::image::detail::CITYSCAPES_PALETTE_MAP.

Referenced by carla::image::ColorConverter::CityScapesPalette::operator()().

+ Here is the caller graph for this function:

◆ GetNumberOfTags()

static constexpr auto carla::image::CityScapesPalette::GetNumberOfTags ( )
inlinestatic

Definition at line 59 of file CityScapesPalette.h.

References carla::image::detail::CITYSCAPES_PALETTE_MAP.


The documentation for this class was generated from the following file: