|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
Namespaces | |
| namespace | json_export |
| namespace | json_import |
| namespace | serialization |
| namespace | traits |
Classes | |
| class | AndNode |
| AND combinator: expr1 && expr2. More... | |
| struct | Artifact |
| One named cloud / table / mesh the pipeline traffics in. More... | |
| struct | Certifications |
| Certifications, approvals and declarations for the item. More... | |
| class | CloudReferenceNode |
| Cloud reference: a label cloud loaded from ProjectDB by name. More... | |
| class | CompareNode |
| Comparison operators: <cloud> >= value, etc. More... | |
| struct | ComponentRecord |
| Core-owned persistence contract for a row of the building_components table (#227). More... | |
| struct | Condition |
| Condition assessment of the construction item. More... | |
| struct | ConstructionItemDescription |
| Description of the reused construction item. More... | |
| struct | DangerousSubstance |
| Dangerous substance analysis record. More... | |
| struct | Dimensions |
| Physical dimensions and geometry of the construction item. More... | |
| struct | Emission |
| Emission measurement record. More... | |
| struct | EnvironmentalPotential |
| Environmental and resource potential for sustainable utilization. More... | |
| class | EqualNode |
| Equality: <cloud> == value. More... | |
| struct | FilterExpression |
| Parsed filter expression with resolved label cloud references. More... | |
| class | FilterNode |
| Base AST node for filter expressions. More... | |
| struct | FireProperties |
| Fire-related properties of the construction item. More... | |
| struct | GaussianSplatHeader |
| What the PLY header of an INRIA 3D Gaussian Splatting file says. More... | |
| struct | History |
| Historical usage information for the construction item. More... | |
| class | InNode |
| In-set: <cloud> in [v1, v2, v3]. More... | |
| class | IObserver |
| class | IProgressObserver |
| class | IVisualObserver |
| struct | MaterialPassport |
| A complete material passport for a reused building material. More... | |
| struct | MaterialPassportMetadata |
| Document-level metadata for the material passport. More... | |
| class | NotEqualNode |
| Not equal: <cloud> != value. More... | |
| class | OrNode |
| OR combinator: expr1 || expr2. More... | |
| struct | Owner |
| Owner contact information for the material passport. More... | |
| struct | Pollution |
| Pollution, content and emission information. More... | |
| struct | ProductInformation |
| Original product information. More... | |
| class | ProgressObserver |
| struct | SensorIntrinsics |
| Lightweight camera intrinsics replacing rtabmap::CameraModel in downstream code. More... | |
| struct | StageContract |
| The full input/output contract of one pipeline stage. More... | |
| struct | StageInput |
| One prerequisite of a stage. More... | |
| class | stopwatch |
| struct | TransactionLogEntry |
| A single entry in the material passport transaction log. More... | |
| struct | ValidationIssue |
| One problem discovered by a validation check. More... | |
| struct | ValidationReport |
| Aggregate result of running all validation checks over a project. More... | |
Typedefs | |
| using | LogHandler |
| using | ArtifactOverrides = std::map<std::string, std::string, std::less<>> |
| Runtime substitutions for artifact names, for the flags that let a stage be pointed at a differently-named cloud (rux create instances
--semantic-cloud foo). | |
Functions | |
| int32_t | cloud_label_at (const std::vector< CloudReferenceNode > &clouds, size_t cloud_idx, size_t point_idx) |
| Helper for leaf nodes: read the label for point_idx from cloud cloud_idx, returning -1 if the index is out of range. | |
| auto | parse_filter_expression (const std::string &expression, ProjectDB &db) -> std::unique_ptr< FilterExpression > |
| Parse filter expression and resolve label cloud references from ProjectDB. | |
| auto | evaluate_filter (const FilterExpression &expr, size_t cloud_size) -> IndicesPtr |
| Evaluate filter expression against all points, generate Indices. | |
| auto | evaluate_filter_expression (const std::string &filter_expr, ProjectDB &db, size_t expected_size) -> IndicesPtr |
| Parse and evaluate a filter expression against a project in one step. | |
| GaussianSplatHeader | parse_gaussian_splat_ply_header (std::string_view head) |
Parse the PLY header in head and verify it is an INRIA splat file. | |
| std::string | generate_guid () |
| Generate a fresh UUID-v4-like identifier (36-char, hyphenated hex). | |
| constexpr bool | is_valid_label (uint32_t label) noexcept |
| size_t | label_to_index (uint32_t label) |
| Convert a point label to a zero-based vector index, replacing the error-prone bare label - 1 idiom used to index parallel arrays such as plane_normals. | |
| uint32_t | api_to_point_label (int api_label) |
| API (CV_32S, -1 = background) → point label (uint32_t, 0 = unlabeled). | |
| int | point_label_to_api (uint32_t point_label) |
| Point label (uint32_t, 0 = unlabeled) → API (CV_32S, -1 = background). | |
| uint16_t | api_to_storage (int api_label) |
| API label (CV_32S, -1 = background) → storage value (CV_16U, 0 = bg, label + 1). | |
| int | storage_to_api (uint16_t storage_value) |
| Storage value (CV_16U, 0 = bg, label + 1) → API label (CV_32S, -1 = background). | |
| cv::Mat | storage_mat_to_api (const cv::Mat &storage) |
| Convert a storage label image (CV_16U, 0 = bg) to an API label image (CV_32S, -1 = background) by subtracting the +1 offset. | |
| cv::Mat | api_mat_to_storage (const cv::Mat &api) |
| Convert an API label image (CV_32S, -1 = background) to a storage label image (CV_16U, 0 = bg) by adding the +1 offset. | |
| void | set_log_handler (LogHandler handler) |
| void | reset_log_handler () |
| void | set_log_level (LogLevel level) |
| auto | get_log_level () -> LogLevel |
| auto | should_log (LogLevel level) -> bool |
| void | log_message (LogLevel level, std::string_view message) |
| template<typename... Args> | |
| void | log (LogLevel level, fmt::format_string< Args... > format, Args &&...args) |
| void | log (LogLevel level, std::string_view message) |
| template<typename... Args> | |
| void | trace (fmt::format_string< Args... > format, Args &&...args) |
| void | trace (std::string_view message) |
| template<typename... Args> | |
| void | debug (fmt::format_string< Args... > format, Args &&...args) |
| void | debug (std::string_view message) |
| template<typename... Args> | |
| void | info (fmt::format_string< Args... > format, Args &&...args) |
| void | info (std::string_view message) |
| template<typename... Args> | |
| void | warn (fmt::format_string< Args... > format, Args &&...args) |
| void | warn (std::string_view message) |
| template<typename... Args> | |
| void | error (fmt::format_string< Args... > format, Args &&...args) |
| void | error (std::string_view message) |
| template<typename... Args> | |
| void | critical (fmt::format_string< Args... > format, Args &&...args) |
| void | critical (std::string_view message) |
| auto | to_string (Material value) -> std::string_view |
| Convert Material enum to its string identifier. | |
| auto | material_from_string (std::string_view str) -> std::optional< Material > |
| Parse a Material from its string identifier. | |
| auto | to_string (TriState value) -> std::string_view |
| Convert TriState enum to its string identifier. | |
| auto | tri_state_from_string (std::string_view str) -> std::optional< TriState > |
| Parse a TriState from its string identifier. | |
| auto | to_string (EmissionQuantityType value) -> std::string_view |
| Convert EmissionQuantityType enum to its string identifier. | |
| auto | emission_quantity_type_from_string (std::string_view str) -> std::optional< EmissionQuantityType > |
| Parse an EmissionQuantityType from its string identifier. | |
| auto | to_string (SubstanceContentMethod value) -> std::string_view |
| Convert SubstanceContentMethod enum to its string identifier. | |
| auto | substance_content_method_from_string (std::string_view str) -> std::optional< SubstanceContentMethod > |
| Parse a SubstanceContentMethod from its string identifier. | |
| auto | to_string (TransactionType value) -> std::string_view |
| Convert TransactionType enum to its string identifier. | |
| auto | transaction_type_from_string (std::string_view str) -> std::optional< TransactionType > |
| Parse a TransactionType from its string identifier. | |
| void | set_visual_observer (IVisualObserver *observer) |
| void | set_progress_observer (IProgressObserver *observer) |
| void | reset_visual_observer () |
| void | reset_progress_observer () |
| auto | get_visual_observer () -> IVisualObserver * |
| auto | get_progress_observer () -> IProgressObserver * |
| const std::vector< StageContract > & | stage_contracts () |
| Every stage contract, in pipeline order. | |
| const StageContract & | stage_contract (PipelineStage stage) |
| The contract of one stage. | |
| const std::vector< Artifact > & | pipeline_artifacts () |
| Every artifact the contracts refer to. | |
| const Artifact * | find_artifact (std::string_view name) |
| Look up an artifact by name, or nullptr when it is not a pipeline artifact. | |
| std::optional< PipelineStage > | producing_stage (std::string_view artifact) |
The earliest stage that writes artifact, or nullopt when nothing does (an externally sourced artifact). | |
| std::optional< PipelineStage > | parse_pipeline_stage (std::string_view name) |
| Parse a stage name (e.g. | |
| std::string_view | to_string (PipelineStage stage) |
| Canonical lower-case name of a stage (the primary CLI token). | |
| std::vector< std::string > | pipeline_stage_names () |
| All stage names accepted by parse_pipeline_stage(), for help text. | |
| std::string_view | to_string (Stage stage) |
| void | check_orphaned_passports (const ProjectDB &db, std::vector< ValidationIssue > &out) |
| Material passports not referenced by any instance_materials link. | |
| void | check_dangling_instance_materials (const ProjectDB &db, std::vector< ValidationIssue > &out) |
| instance_materials rows whose instance row or passport is missing. | |
| void | check_instances_without_label_defs (const ProjectDB &db, std::vector< ValidationIssue > &out) |
| instances rows with no corresponding label_definitions entry. | |
| void | check_sibling_cloud_sizes (const ProjectDB &db, std::vector< ValidationIssue > &out) |
| Parallel/sibling clouds (cloud, labels, normals, planes, rooms, instances) whose point counts disagree — they are supposed to be index-aligned. | |
| ValidationReport | validate_project (const ProjectDB &db) |
| Run every check and aggregate the findings. | |
| void | check_stage_inputs (const ProjectDB &db, PipelineStage stage, std::vector< ValidationIssue > &out, const ArtifactOverrides &overrides={}) |
Assert that stage's input clouds/tables exist in db and are index-aligned, per the contract in core/stage_contract.hpp. | |
| ValidationReport | validate_stage (const ProjectDB &db, PipelineStage stage, const ArtifactOverrides &overrides={}) |
| Run check_stage_inputs for a single stage and aggregate the findings. | |
Variables | |
| constexpr std::size_t | kGaussianSplatHeaderProbeBytes = 64 * 1024 |
| How many bytes from the head of a file are enough to find end_header. | |
| constexpr uint32_t | kUnlabeled = 0 |
| Point-cloud convention: 0 means "unlabeled" in every CloudL (labels, planes, rooms, instances). | |
| constexpr int | kBackgroundApi = -1 |
| ProjectDB segmentation API convention: -1 marks background/unlabeled in the CV_32S label images returned by ProjectDB. | |
| constexpr uint16_t | kMaxStorableLabel = 65534 |
| Largest label that can be stored in the CV_16U PNG layer. | |
| using reusex::core::ArtifactOverrides = std::map<std::string, std::string, std::less<>> |
Runtime substitutions for artifact names, for the flags that let a stage be pointed at a differently-named cloud (rux create instances --semantic-cloud foo).
Maps the contract's declared name to the name to actually look for; when any member of an any_of input is overridden, the input collapses to the override so the check is exact rather than lenient.
Definition at line 98 of file validate.hpp.
| using reusex::core::LogHandler |
Definition at line 27 of file logging.hpp.
|
strong |
Which index-alignment class an artifact belongs to.
This is a property of the ARTIFACT, not of the stage that consumes it, so no stage can accidentally declare the per-plane plane_centroids to be index-aligned with the per-point cloud (STANDARDS §3.2).
| Enumerator | |
|---|---|
| none | not index-aligned with anything (tables, meshes) |
| per_point | one entry per point of cloud |
| per_plane | one entry per detected plane |
Definition at line 70 of file stage_contract.hpp.
|
strong |
What kind of thing a named artifact is inside a .rux project.
| Enumerator | |
|---|---|
| point_cloud | a named ProjectDB point cloud |
| mesh | a row in the meshes table |
| gaussian_splat | a row in the gaussian_splats table |
| table | a relational table (sensor_frames, …) |
Definition at line 58 of file stage_contract.hpp.
|
strong |
Emission quantity type.
Definition at line 170 of file materialepas_enums.hpp.
|
strong |
| Enumerator | |
|---|---|
| process | |
| progress | |
| visualization | |
Definition at line 24 of file processing_observer.hpp.
|
strong |
| Enumerator | |
|---|---|
| trace | |
| debug | |
| info | |
| warn | |
| error | |
| critical | |
| off | |
Definition at line 17 of file logging.hpp.
|
strong |
Material types from the Danish material passport standard (v1.0).
Closed value list with 43 entries. Each value corresponds to a building material category defined in the "Materialepas for genbrugte byggevarer" specification.
Definition at line 18 of file materialepas_enums.hpp.
|
strong |
Pipeline stages that have an input contract.
Declared in pipeline order: a stage's inputs may only be produced by a strictly earlier stage, which is asserted by tests/unit/core/test_stage_contract.cpp.
Definition at line 37 of file stage_contract.hpp.
|
strong |
Definition at line 11 of file stages.hpp.
|
strong |
Method used to determine substance content.
Definition at line 188 of file materialepas_enums.hpp.
|
strong |
Transaction log entry type.
| Enumerator | |
|---|---|
| document | Change to the document itself (metadata).
|
| property | Change to a property value.
|
Definition at line 203 of file materialepas_enums.hpp.
|
strong |
Tri-state value for Yes/No/Unknown fields.
Used where the standard defines three possible states, as distinct from std::optional<bool> which represents present-or-absent.
| Enumerator | |
|---|---|
| yes | Yes / true.
|
| no | No / false.
|
| unknown | Unknown / not determined.
|
Definition at line 155 of file materialepas_enums.hpp.
|
strong |
Severity of a single validation finding.
| Enumerator | |
|---|---|
| warning | |
| error | |
Definition at line 21 of file validate.hpp.
|
inline |
Convert an API label image (CV_32S, -1 = background) to a storage label image (CV_16U, 0 = bg) by adding the +1 offset.
| std::invalid_argument | if api is not CV_32S. |
| std::out_of_range | if any label is < -1 or > kMaxStorableLabel (would wrap the CV_16U storage layer). |
Definition at line 140 of file label_semantics.hpp.
References kBackgroundApi, and kMaxStorableLabel.
|
inline |
API (CV_32S, -1 = background) → point label (uint32_t, 0 = unlabeled).
Background (kBackgroundApi) maps to kUnlabeled. Valid class ids pass through unchanged (the semantic-class layer keeps its own numbering; only the background sentinel is translated).
| std::out_of_range | if api_label is negative but not the background sentinel. |
Definition at line 73 of file label_semantics.hpp.
References kBackgroundApi, and kUnlabeled.
|
inline |
API label (CV_32S, -1 = background) → storage value (CV_16U, 0 = bg, label + 1).
| std::out_of_range | if api_label < -1, or if api_label exceeds kMaxStorableLabel (would wrap the 16-bit storage layer). |
Definition at line 96 of file label_semantics.hpp.
References kBackgroundApi, and kMaxStorableLabel.
| void reusex::core::check_dangling_instance_materials | ( | const ProjectDB & | db, |
| std::vector< ValidationIssue > & | out ) |
instance_materials rows whose instance row or passport is missing.
| void reusex::core::check_instances_without_label_defs | ( | const ProjectDB & | db, |
| std::vector< ValidationIssue > & | out ) |
instances rows with no corresponding label_definitions entry.
| void reusex::core::check_orphaned_passports | ( | const ProjectDB & | db, |
| std::vector< ValidationIssue > & | out ) |
Material passports not referenced by any instance_materials link.
Reported as warnings (an unused passport is not necessarily a bug).
| void reusex::core::check_sibling_cloud_sizes | ( | const ProjectDB & | db, |
| std::vector< ValidationIssue > & | out ) |
Parallel/sibling clouds (cloud, labels, normals, planes, rooms, instances) whose point counts disagree — they are supposed to be index-aligned.
| void reusex::core::check_stage_inputs | ( | const ProjectDB & | db, |
| PipelineStage | stage, | ||
| std::vector< ValidationIssue > & | out, | ||
| const ArtifactOverrides & | overrides = {} ) |
Assert that stage's input clouds/tables exist in db and are index-aligned, per the contract in core/stage_contract.hpp.
Appends an issue per missing input or size mismatch, each carrying a derived resolution hint.
|
inline |
Helper for leaf nodes: read the label for point_idx from cloud cloud_idx, returning -1 if the index is out of range.
Definition at line 53 of file filter_expression.hpp.
References clouds.
Referenced by reusex::core::CompareNode::evaluate(), reusex::core::EqualNode::evaluate(), reusex::core::InNode::evaluate(), and reusex::core::NotEqualNode::evaluate().
|
inline |
Definition at line 107 of file logging.hpp.
|
inline |
Definition at line 111 of file logging.hpp.
|
inline |
Definition at line 79 of file logging.hpp.
|
inline |
Definition at line 83 of file logging.hpp.
|
nodiscard |
Parse an EmissionQuantityType from its string identifier.
|
inline |
Definition at line 100 of file logging.hpp.
|
inline |
Definition at line 104 of file logging.hpp.
| auto reusex::core::evaluate_filter | ( | const FilterExpression & | expr, |
| size_t | cloud_size ) -> IndicesPtr |
| auto reusex::core::evaluate_filter_expression | ( | const std::string & | filter_expr, |
| ProjectDB & | db, | ||
| size_t | expected_size ) -> IndicesPtr |
Parse and evaluate a filter expression against a project in one step.
The whole "resolve the named label clouds, check they line up with the cloud being filtered, evaluate, and say how much survived" sequence, which every caller needs and which used to be duplicated in the app layer. It lives here so rux and the pipeline stage runners filter identically (#284).
| filter_expr | Expression string; an empty string yields nullptr, i.e. "no filter", so callers can pass an unset option straight through. |
| db | Project to resolve the referenced label clouds from. |
| expected_size | Point count of the cloud the indices will index into. |
| std::runtime_error | on a parse error, a missing cloud, or a referenced cloud whose size disagrees with expected_size. |
| const Artifact * reusex::core::find_artifact | ( | std::string_view | name | ) |
Look up an artifact by name, or nullptr when it is not a pipeline artifact.
| std::string reusex::core::generate_guid | ( | ) |
Generate a fresh UUID-v4-like identifier (36-char, hyphenated hex).
Used for stable entity identity (material passports, building components, instances). Non-deterministic by design: each call yields a new value from a random_device-seeded generator. Do not use where reproducibility across runs is required.
| auto reusex::core::get_log_level | ( | ) | -> LogLevel |
| auto reusex::core::get_progress_observer | ( | ) | -> IProgressObserver * |
| auto reusex::core::get_visual_observer | ( | ) | -> IVisualObserver * |
|
inline |
Definition at line 86 of file logging.hpp.
|
inline |
Definition at line 90 of file logging.hpp.
|
inlineconstexprnoexcept |
label denotes a valid (non-unlabeled) point label. Definition at line 46 of file label_semantics.hpp.
References kUnlabeled.
Referenced by reusex::geometry::CellComplex::compute_room_probabilities(), and label_to_index().
|
inline |
Convert a point label to a zero-based vector index, replacing the error-prone bare label - 1 idiom used to index parallel arrays such as plane_normals.
| std::out_of_range | if label is kUnlabeled (0), which has no associated index. |
Definition at line 56 of file label_semantics.hpp.
References is_valid_label().
|
inline |
Definition at line 55 of file logging.hpp.
References log_message(), and should_log().
Referenced by critical(), critical(), debug(), debug(), error(), error(), info(), info(), trace(), trace(), warn(), and warn().
|
inline |
Definition at line 64 of file logging.hpp.
References log_message(), and should_log().
| void reusex::core::log_message | ( | LogLevel | level, |
| std::string_view | message ) |
|
nodiscard |
| auto reusex::core::parse_filter_expression | ( | const std::string & | expression, |
| ProjectDB & | db ) -> std::unique_ptr< FilterExpression > |
Parse filter expression and resolve label cloud references from ProjectDB.
| expression | Filter expression string (e.g., "planes in [1, 2]") |
| db | ProjectDB to load label clouds from |
| std::runtime_error | if syntax invalid or cloud not found |
| GaussianSplatHeader reusex::core::parse_gaussian_splat_ply_header | ( | std::string_view | head | ) |
Parse the PLY header in head and verify it is an INRIA splat file.
| head | The first bytes of the file, at least up to end_header (see kGaussianSplatHeaderProbeBytes). |
| std::runtime_error | when head is not a PLY, is truncated before end_header, is binary_big_endian, or is a PLY without the Gaussian properties — the last being the interesting case, since rux export ply writes a perfectly valid PLY that no splat renderer can draw. The message is user-facing: it names what is missing and which command produces the right file. |
| std::optional< PipelineStage > reusex::core::parse_pipeline_stage | ( | std::string_view | name | ) |
Parse a stage name (e.g.
"mesh", "register") to a PipelineStage. Returns std::nullopt for an unknown name.
| const std::vector< Artifact > & reusex::core::pipeline_artifacts | ( | ) |
Every artifact the contracts refer to.
| std::vector< std::string > reusex::core::pipeline_stage_names | ( | ) |
All stage names accepted by parse_pipeline_stage(), for help text.
|
inline |
Point label (uint32_t, 0 = unlabeled) → API (CV_32S, -1 = background).
Inverse of api_to_point_label(): kUnlabeled maps to kBackgroundApi.
Definition at line 85 of file label_semantics.hpp.
References kBackgroundApi, and kUnlabeled.
| std::optional< PipelineStage > reusex::core::producing_stage | ( | std::string_view | artifact | ) |
The earliest stage that writes artifact, or nullopt when nothing does (an externally sourced artifact).
optimize rewrites sensor_frames in place, so the earliest producer — import — is the one reported.
| void reusex::core::reset_log_handler | ( | ) |
| void reusex::core::reset_progress_observer | ( | ) |
| void reusex::core::reset_visual_observer | ( | ) |
| void reusex::core::set_log_handler | ( | LogHandler | handler | ) |
| void reusex::core::set_log_level | ( | LogLevel | level | ) |
| void reusex::core::set_progress_observer | ( | IProgressObserver * | observer | ) |
| void reusex::core::set_visual_observer | ( | IVisualObserver * | observer | ) |
| const StageContract & reusex::core::stage_contract | ( | PipelineStage | stage | ) |
The contract of one stage.
Throws std::logic_error for an enumerator with no table row — a programming error, never a runtime condition.
| const std::vector< StageContract > & reusex::core::stage_contracts | ( | ) |
Every stage contract, in pipeline order.
|
inline |
Convert a storage label image (CV_16U, 0 = bg) to an API label image (CV_32S, -1 = background) by subtracting the +1 offset.
| std::invalid_argument | if storage is not CV_16U (empty is passed through as empty). |
Definition at line 122 of file label_semantics.hpp.
|
inline |
Storage value (CV_16U, 0 = bg, label + 1) → API label (CV_32S, -1 = background).
Definition at line 111 of file label_semantics.hpp.
|
nodiscard |
Parse a SubstanceContentMethod from its string identifier.
|
nodiscard |
Convert EmissionQuantityType enum to its string identifier.
|
nodiscard |
Convert Material enum to its string identifier.
Referenced by fmt::formatter< reusex::core::EmissionQuantityType >::format(), fmt::formatter< reusex::core::Material >::format(), fmt::formatter< reusex::core::SubstanceContentMethod >::format(), fmt::formatter< reusex::core::TransactionType >::format(), fmt::formatter< reusex::core::TriState >::format(), reusex::core::IVisualObserver::viewer_add_camera_frustum(), reusex::core::IVisualObserver::viewer_add_cell_complex(), reusex::core::IVisualObserver::viewer_add_cloud(), reusex::core::IVisualObserver::viewer_add_geometry(), reusex::core::IVisualObserver::viewer_add_labeled_cloud(), reusex::core::IVisualObserver::viewer_add_plane(), reusex::core::IVisualObserver::viewer_add_plane(), reusex::core::IVisualObserver::viewer_add_plane_pair(), and reusex::core::IVisualObserver::viewer_add_visibility_graph().
| std::string_view reusex::core::to_string | ( | PipelineStage | stage | ) |
Canonical lower-case name of a stage (the primary CLI token).
| std::string_view reusex::core::to_string | ( | Stage | stage | ) |
|
nodiscard |
Convert SubstanceContentMethod enum to its string identifier.
|
nodiscard |
Convert TransactionType enum to its string identifier.
|
nodiscard |
Convert TriState enum to its string identifier.
|
inline |
Definition at line 72 of file logging.hpp.
|
inline |
Definition at line 76 of file logging.hpp.
|
nodiscard |
Parse a TransactionType from its string identifier.
|
nodiscard |
Parse a TriState from its string identifier.
| ValidationReport reusex::core::validate_project | ( | const ProjectDB & | db | ) |
Run every check and aggregate the findings.
| ValidationReport reusex::core::validate_stage | ( | const ProjectDB & | db, |
| PipelineStage | stage, | ||
| const ArtifactOverrides & | overrides = {} ) |
Run check_stage_inputs for a single stage and aggregate the findings.
|
inline |
Definition at line 93 of file logging.hpp.
|
inline |
Definition at line 97 of file logging.hpp.
|
inlineconstexpr |
ProjectDB segmentation API convention: -1 marks background/unlabeled in the CV_32S label images returned by ProjectDB.
Definition at line 38 of file label_semantics.hpp.
Referenced by api_mat_to_storage(), api_to_point_label(), api_to_storage(), and point_label_to_api().
|
inlineconstexpr |
How many bytes from the head of a file are enough to find end_header.
An INRIA header is ~1.5 KiB (62 properties at degree 3). 64 KiB is room for an implementation with comments and then some, while bounding the read of a file that turns out not to be a PLY at all.
Definition at line 42 of file gaussian_splat.hpp.
|
inlineconstexpr |
Largest label that can be stored in the CV_16U PNG layer.
Storage encodes label + 1, so the maximum encodable value before wrapping 16 bits is 65535 - 1 = 65534.
Definition at line 43 of file label_semantics.hpp.
Referenced by api_mat_to_storage(), and api_to_storage().
|
inlineconstexpr |
Point-cloud convention: 0 means "unlabeled" in every CloudL (labels, planes, rooms, instances).
Valid point labels start at 1.
Definition at line 34 of file label_semantics.hpp.
Referenced by api_to_point_label(), is_valid_label(), and point_label_to_api().