MCPcopy Create free account
hub / github.com/ComputationalRobotics/XM-code / Reset

Method Reset

deps/glomap/glomap/controllers/option_manager.cc:251–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251void OptionManager::Reset() {
252 const bool kResetPaths = true;
253 ResetOptions(kResetPaths);
254
255 desc_ = std::make_shared<boost::program_options::options_description>();
256
257 options_bool_.clear();
258 options_int_.clear();
259 options_double_.clear();
260 options_string_.clear();
261
262 added_mapper_options_ = false;
263 added_view_graph_calibration_options_ = false;
264 added_relative_pose_options_ = false;
265 added_rotation_averaging_options_ = false;
266 added_track_establishment_options_ = false;
267 added_global_positioning_options_ = false;
268 added_bundle_adjustment_options_ = false;
269 added_triangulation_options_ = false;
270 added_inliers_options_ = false;
271}
272
273void OptionManager::ResetOptions(const bool reset_paths) {
274 if (reset_paths) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected