|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
When a request's geometry path fails at run time (encode_boxes / decode with a geometry slot), the request is re-run text-only. More...
#include <sam3_geometry.hpp>
Public Member Functions | |
| bool | record_failure () noexcept |
| Record one failed request; true when geometry should now be disabled. | |
| void | record_success () noexcept |
| int | consecutive () const noexcept |
Static Public Attributes | |
| static constexpr int | kFailuresBeforeDisable = 3 |
When a request's geometry path fails at run time (encode_boxes / decode with a geometry slot), the request is re-run text-only.
One failure is not taken as proof the engines cannot do geometry (it may be transient); only kFailuresBeforeDisable requests in a row that fail turn geometry off for the model's lifetime. A request whose geometry path succeeds resets it.
Definition at line 137 of file sam3_geometry.hpp.
|
inlinenodiscardnoexcept |
Definition at line 146 of file sam3_geometry.hpp.
|
inlinenoexcept |
Record one failed request; true when geometry should now be disabled.
Definition at line 142 of file sam3_geometry.hpp.
References kFailuresBeforeDisable.
|
inlinenoexcept |
Definition at line 145 of file sam3_geometry.hpp.
|
staticconstexpr |
Definition at line 139 of file sam3_geometry.hpp.
Referenced by record_failure().