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

Tunables for apply_mask_selection(). More...

#include <mask_selection.hpp>

Collaboration diagram for reusex::core::MaskSelectionOptions:

Public Attributes

std::string base_cloud = "cloud"
 Base cloud the indices refer to; its size sizes a missing label cloud.
std::string semantic_cloud = "labels"
std::string instance_cloud = std::string(kDefaultInstanceCloud)
std::string rooms_cloud = "rooms"
 Optional rooms cloud: when present and index-aligned, the new part gets the room most of its points fall in (as sync_survey does).
std::optional< int64_t > type_id
 Survey type for the new part.
int frame_id = -1
 Recorded in the pipeline log entry; -1 when the selection did not come from a frame.

Detailed Description

Tunables for apply_mask_selection().

Definition at line 82 of file mask_selection.hpp.

Member Data Documentation

◆ base_cloud

std::string reusex::core::MaskSelectionOptions::base_cloud = "cloud"

Base cloud the indices refer to; its size sizes a missing label cloud.

Definition at line 84 of file mask_selection.hpp.

◆ frame_id

int reusex::core::MaskSelectionOptions::frame_id = -1

Recorded in the pipeline log entry; -1 when the selection did not come from a frame.

Definition at line 101 of file mask_selection.hpp.

◆ instance_cloud

std::string reusex::core::MaskSelectionOptions::instance_cloud = std::string(kDefaultInstanceCloud)

Definition at line 86 of file mask_selection.hpp.

◆ rooms_cloud

std::string reusex::core::MaskSelectionOptions::rooms_cloud = "rooms"

Optional rooms cloud: when present and index-aligned, the new part gets the room most of its points fall in (as sync_survey does).

Definition at line 89 of file mask_selection.hpp.

◆ semantic_cloud

std::string reusex::core::MaskSelectionOptions::semantic_cloud = "labels"

Definition at line 85 of file mask_selection.hpp.

◆ type_id

std::optional<int64_t> reusex::core::MaskSelectionOptions::type_id

Survey type for the new part.

Unset: for a class that already existed, the type sync_survey would use for it (same semantic_class); else a type named exactly class_name; else a new type named class_name. A class created by this call never matches by semantic_class — a type carrying that id is a leftover from an earlier labels generation. Rejected (ReviewStatus::rejected) types are skipped by both matches: when only a rejected type matches, a new type is created instead of reviving it. Set to a rejected type, the call throws MaskSelectionError.

Definition at line 98 of file mask_selection.hpp.


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