|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
Accumulates stage parameters as a JSON object. More...
#include <stage_bridge.hpp>
Public Member Functions | |
| template<typename T> | |
| StageParams & | set (const char *key, const T &value) |
| template<typename T> | |
| StageParams & | set_if (bool condition, const char *key, const T &value) |
| Set key only when condition holds. | |
| std::string | dump () const |
Accumulates stage parameters as a JSON object.
Floats are routed through fmt's shortest round-trip for their own type before being stored, so a 0.05f flag value stays 0.05 in pipeline_log.parameters instead of widening to 0.05000000074505806 the way a plain float-to-double conversion would render it. That column is read by humans (rux log), and it is what the CLI has always written.
Definition at line 47 of file stage_bridge.hpp.
|
inline |
Definition at line 67 of file stage_bridge.hpp.
|
inline |
Definition at line 51 of file stage_bridge.hpp.
Referenced by set_if().
|
inline |
Set key only when condition holds.
Used for the parameters whose mere presence carries meaning — an explicitly passed -d/-m pins that threshold and bypasses adaptive derivation for it (#214).
Definition at line 63 of file stage_bridge.hpp.
References set().