ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
reusex::geometry::BuildingComponent Struct Reference

A detected or manual building component (window, door, wall, ...). More...

#include <BuildingComponent.hpp>

Collaboration diagram for reusex::geometry::BuildingComponent:

Public Attributes

std::string name
std::string guid
 Stable, immutable identifier.
std::string source_instance_guid
 GUID of the point-cloud instance this component was derived from.
ComponentType type = ComponentType::window
CoplanarPolygon boundary
int parent_id = -1
double confidence = -1.0
std::string notes
std::variant< WindowData, DoorData, WallDatadata = WindowData{}

Detailed Description

A detected or manual building component (window, door, wall, ...).

Definition at line 36 of file BuildingComponent.hpp.

Member Data Documentation

◆ boundary

CoplanarPolygon reusex::geometry::BuildingComponent::boundary

◆ confidence

double reusex::geometry::BuildingComponent::confidence = -1.0

◆ data

std::variant<WindowData, DoorData, WallData> reusex::geometry::BuildingComponent::data = WindowData{}

Definition at line 51 of file BuildingComponent.hpp.

◆ guid

std::string reusex::geometry::BuildingComponent::guid

Stable, immutable identifier.

Auto-generated on first save if empty. Survives renames, so it is the match key for CSV round-trip editing.

Definition at line 40 of file BuildingComponent.hpp.

Referenced by reusex::geometry::from_component_record(), and reusex::geometry::to_component_record().

◆ name

std::string reusex::geometry::BuildingComponent::name

◆ notes

std::string reusex::geometry::BuildingComponent::notes

◆ parent_id

int reusex::geometry::BuildingComponent::parent_id = -1

◆ source_instance_guid

std::string reusex::geometry::BuildingComponent::source_instance_guid

GUID of the point-cloud instance this component was derived from.

Empty when unknown (manual components, or legacy data created before per-instance identity existed). Provides component -> instance -> material passport provenance. See issue #211.

Definition at line 45 of file BuildingComponent.hpp.

◆ type

ComponentType reusex::geometry::BuildingComponent::type = ComponentType::window

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