|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
The categorical colour scale label layers are drawn with. More...
#include <scene.hpp>

Public Attributes | |
| std::vector< std::array< std::uint8_t, 3 > > | colors |
| labels 1..N, cyclic | |
| std::array< std::uint8_t, 3 > | unlabeled {0, 0, 0} |
| label 0 (STANDARDS §3) | |
| std::array< std::uint8_t, 3 > | invalid {0, 0, 0} |
| An out-of-contract label (core::is_out_of_contract_label: a wrapped -1). | |
The categorical colour scale label layers are drawn with.
The default is the design tokens' --label-0 … --label-7 scale (Okabe-Ito, colourblind-safe) and --label-unlabeled, so a rux render, the web viewport and the Qt client colour a label the same way and their legends agree. tests/unit/visualize/test_scene.cpp pins these values to apps/rux/qt/theme/tokens.css (a vendored copy of rux-frontend's src/tokens.css); a design sync that changes the scale fails that test until this table follows.
| std::vector<std::array<std::uint8_t, 3> > reusex::visualize::LabelPalette::colors |
| std::array<std::uint8_t, 3> reusex::visualize::LabelPalette::invalid {0, 0, 0} |
An out-of-contract label (core::is_out_of_contract_label: a wrapped -1).
Not a class: never one of colors.
| std::array<std::uint8_t, 3> reusex::visualize::LabelPalette::unlabeled {0, 0, 0} |