|
ReUseX
0.0.1
3D Point Cloud Processing for Building Reuse
|
Internal representation of a single placement candidate for a label. More...
#include <labelLayoutSolver.hpp>

Public Attributes | |
| LayoutBox | box |
| Candidate label box on the canvas. | |
| float | geometricCost |
| Cost based on anchor preference and font scale. | |
| float | staticCost |
| Cost from overlap with object boxes (computed once). | |
| float | area |
| Box area (cached for performance). | |
| float | invArea |
| Reciprocal of area (cached for performance). | |
| int16_t | fontSize |
| Font size for this candidate. | |
| int16_t | textAscent |
| Text ascent (for putText offset calculation). | |
Internal representation of a single placement candidate for a label.
Definition at line 218 of file labelLayoutSolver.hpp.
| float ReUseX::vision::osd::LabelLayoutSolver::Candidate::area |
Box area (cached for performance).
Definition at line 223 of file labelLayoutSolver.hpp.
Referenced by ReUseX::vision::osd::LabelLayoutSolver::add().
| LayoutBox ReUseX::vision::osd::LabelLayoutSolver::Candidate::box |
Candidate label box on the canvas.
Definition at line 219 of file labelLayoutSolver.hpp.
Referenced by ReUseX::vision::osd::LabelLayoutSolver::add(), and ReUseX::vision::osd::LabelLayoutSolver::solve().
| int16_t ReUseX::vision::osd::LabelLayoutSolver::Candidate::fontSize |
Font size for this candidate.
Definition at line 225 of file labelLayoutSolver.hpp.
Referenced by ReUseX::vision::osd::LabelLayoutSolver::add().
| float ReUseX::vision::osd::LabelLayoutSolver::Candidate::geometricCost |
Cost based on anchor preference and font scale.
Definition at line 220 of file labelLayoutSolver.hpp.
Referenced by ReUseX::vision::osd::LabelLayoutSolver::add(), and ReUseX::vision::osd::LabelLayoutSolver::solve().
| float ReUseX::vision::osd::LabelLayoutSolver::Candidate::invArea |
Reciprocal of area (cached for performance).
Definition at line 224 of file labelLayoutSolver.hpp.
Referenced by ReUseX::vision::osd::LabelLayoutSolver::add(), and ReUseX::vision::osd::LabelLayoutSolver::solve().
| float ReUseX::vision::osd::LabelLayoutSolver::Candidate::staticCost |
Cost from overlap with object boxes (computed once).
Definition at line 221 of file labelLayoutSolver.hpp.
Referenced by ReUseX::vision::osd::LabelLayoutSolver::add(), and ReUseX::vision::osd::LabelLayoutSolver::solve().
| int16_t ReUseX::vision::osd::LabelLayoutSolver::Candidate::textAscent |
Text ascent (for putText offset calculation).
Definition at line 226 of file labelLayoutSolver.hpp.
Referenced by ReUseX::vision::osd::LabelLayoutSolver::add().