ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
rux::view::ViewerState Struct Reference

Tracks the currently visible label overlay in the viewer. More...

#include <viewer_types.hpp>

Collaboration diagram for rux::view::ViewerState:

Public Attributes

int current_label
 Index of currently shown label (-1 = none, 0-8 = label index).
bool legend_visible = false
 Whether the label legend is shown.
std::vector< std::string > legend_ids
 Shape IDs for legend text elements.

Detailed Description

Tracks the currently visible label overlay in the viewer.

Definition at line 48 of file viewer_types.hpp.

Member Data Documentation

◆ current_label

int rux::view::ViewerState::current_label
Initial value:
=
-1

Index of currently shown label (-1 = none, 0-8 = label index).

Definition at line 49 of file viewer_types.hpp.

◆ legend_ids

std::vector<std::string> rux::view::ViewerState::legend_ids

Shape IDs for legend text elements.

Definition at line 52 of file viewer_types.hpp.

◆ legend_visible

bool rux::view::ViewerState::legend_visible = false

Whether the label legend is shown.

Definition at line 51 of file viewer_types.hpp.


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