ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Toggle main menu visibility
Loading...
Searching...
No Matches
perturb_poses.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2026 Povl Filip Sonne-Frederiksen
2
//
3
// SPDX-License-Identifier: GPL-3.0-or-later
4
5
#pragma once
6
#include "
../global-params.hpp
"
7
8
#include <CLI/CLI.hpp>
9
#include <memory>
10
14
struct
SubcommandEditPerturbPosesOptions
{
15
unsigned
seed
= 42;
16
double
drift_scale
= 1.0;
17
double
target_drift_ratio
= 0.20;
18
int
min_frame_gap
= 50;
19
double
rot_bias_gain
= 0.020;
20
double
rot_walk_gain
= 0.010;
21
double
trans_bias_gain
= 0.020;
22
double
trans_walk_gain
= 0.010;
23
double
bias_correlation_length
= 5.0;
24
bool
dry_run
=
false
;
26
bool
yes
=
false
;
27
};
28
29
void
setup_subcommand_edit_perturb_poses
(
30
CLI::App &app, std::shared_ptr<RuxOptions> global_opt);
31
int
run_subcommand_edit_perturb_poses
(
32
SubcommandEditPerturbPosesOptions
const
&opt,
const
RuxOptions
&global_opt);
setup_subcommand_edit_perturb_poses
void setup_subcommand_edit_perturb_poses(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
run_subcommand_edit_perturb_poses
int run_subcommand_edit_perturb_poses(SubcommandEditPerturbPosesOptions const &opt, const RuxOptions &global_opt)
global-params.hpp
RuxOptions
Definition
global-params.hpp:44
SubcommandEditPerturbPosesOptions
Options for rux edit perturb-poses (issue #338).
Definition
perturb_poses.hpp:14
SubcommandEditPerturbPosesOptions::trans_walk_gain
double trans_walk_gain
Definition
perturb_poses.hpp:22
SubcommandEditPerturbPosesOptions::drift_scale
double drift_scale
Definition
perturb_poses.hpp:16
SubcommandEditPerturbPosesOptions::trans_bias_gain
double trans_bias_gain
Definition
perturb_poses.hpp:21
SubcommandEditPerturbPosesOptions::rot_bias_gain
double rot_bias_gain
Definition
perturb_poses.hpp:19
SubcommandEditPerturbPosesOptions::bias_correlation_length
double bias_correlation_length
Definition
perturb_poses.hpp:23
SubcommandEditPerturbPosesOptions::min_frame_gap
int min_frame_gap
Definition
perturb_poses.hpp:18
SubcommandEditPerturbPosesOptions::seed
unsigned seed
Definition
perturb_poses.hpp:15
SubcommandEditPerturbPosesOptions::target_drift_ratio
double target_drift_ratio
Definition
perturb_poses.hpp:17
SubcommandEditPerturbPosesOptions::dry_run
bool dry_run
Definition
perturb_poses.hpp:24
SubcommandEditPerturbPosesOptions::rot_walk_gain
double rot_walk_gain
Definition
perturb_poses.hpp:20
SubcommandEditPerturbPosesOptions::yes
bool yes
Required acknowledgement that the target project is a disposable copy.
Definition
perturb_poses.hpp:26
apps
rux
include
edit
perturb_poses.hpp
Generated by
1.17.0