ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
highlight.hpp File Reference
#include <array>
#include <cstddef>
#include <cstdint>
#include <vector>
Include dependency graph for highlight.hpp:

Go to the source code of this file.

Namespaces

namespace  reusex
namespace  reusex::visualize

Functions

std::size_t reusex::visualize::apply_instance_highlight (std::vector< unsigned char > &rgb, const std::vector< std::uint32_t > &labels, std::uint32_t instance_id)
 Paint points whose label == instance_id in kHighlightRgb and dim every other point to kHighlightDimFactor of its colour.

Variables

constexpr std::array< unsigned char, 3 > reusex::visualize::kHighlightRgb {255, 176, 64}
 Accent colour painted onto the highlighted instance's points.
constexpr double reusex::visualize::kHighlightDimFactor = 0.3
 Brightness multiplier applied to every non-highlighted point's colour.