8namespace fs = std::filesystem;
const fs::path plane_normals
const fs::path plane_centroids
int run_subcommand_segment_rooms(SubcommandSegRoomsOptions const &opt)
Run the segment rooms subcommand with given options.
void setup_subcommand_segment_rooms(CLI::App &app)
Setup the segment rooms subcommand in the CLI application.
Collection of all options for room segmentation subcommand.
double convergence_threshold
Convergence threshold for optimization.
bool visualize
Enable visualization.
int expansion
Cell expansion factor.
fs::path planes_path_in
Input planes path.
fs::path cloud_path_in
Input point cloud path.
double inflation
Inflation factor for room boundaries.
int max_iter
Maximum number of iterations.
fs::path plane_normals_path_in
Input plane normals path.
fs::path plane_centroids_path_in
Input plane centroids path.
float grid_size
Grid cell size.
fs::path rooms_path_out
Output rooms path.
double pruning_threshold
Threshold for pruning small regions.