ReUseX  0.0.1
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
ReUseX::vision::osd::LayoutResult Struct Reference

Final placement result for a single label. More...

#include <labelLayoutSolver.hpp>

Public Attributes

float x
 Left edge of the placed label box.
float y
 Top edge of the placed label box.
int fontSize
 Font size chosen for this label (may be scaled down).
int width
 Width of the label box in pixels.
int height
 Height of the label box in pixels.
int textAscent
 Ascent value to use when calling putText.

Detailed Description

Final placement result for a single label.

Definition at line 59 of file labelLayoutSolver.hpp.

Member Data Documentation

◆ fontSize

int ReUseX::vision::osd::LayoutResult::fontSize

Font size chosen for this label (may be scaled down).

Definition at line 62 of file labelLayoutSolver.hpp.

◆ height

int ReUseX::vision::osd::LayoutResult::height

Height of the label box in pixels.

Definition at line 64 of file labelLayoutSolver.hpp.

◆ textAscent

int ReUseX::vision::osd::LayoutResult::textAscent

Ascent value to use when calling putText.

Definition at line 65 of file labelLayoutSolver.hpp.

◆ width

int ReUseX::vision::osd::LayoutResult::width

Width of the label box in pixels.

Definition at line 63 of file labelLayoutSolver.hpp.

◆ x

float ReUseX::vision::osd::LayoutResult::x

Left edge of the placed label box.

Definition at line 60 of file labelLayoutSolver.hpp.

◆ y

float ReUseX::vision::osd::LayoutResult::y

Top edge of the placed label box.

Definition at line 61 of file labelLayoutSolver.hpp.


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