ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
stage_contract.hpp File Reference
#include <optional>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for stage_contract.hpp:

Go to the source code of this file.

Classes

struct  reusex::core::Artifact
 One named cloud / table / mesh the pipeline traffics in. More...
struct  reusex::core::StageInput
 One prerequisite of a stage. More...
struct  reusex::core::StageContract
 The full input/output contract of one pipeline stage. More...

Namespaces

namespace  reusex
namespace  reusex::core

Enumerations

enum class  reusex::core::PipelineStage {
  reusex::core::import , reusex::core::optimize , reusex::core::clouds , reusex::core::annotate ,
  reusex::core::project , reusex::core::planes , reusex::core::rooms , reusex::core::instances ,
  reusex::core::mesh , reusex::core::texture , reusex::core::windows , reusex::core::gsplat
}
 Pipeline stages that have an input contract. More...
enum class  reusex::core::ArtifactKind { reusex::core::point_cloud , reusex::core::mesh , reusex::core::gaussian_splat , reusex::core::table }
 What kind of thing a named artifact is inside a .rux project. More...
enum class  reusex::core::Alignment { reusex::core::none , reusex::core::per_point , reusex::core::per_plane }
 Which index-alignment class an artifact belongs to. More...

Functions

const std::vector< StageContract > & reusex::core::stage_contracts ()
 Every stage contract, in pipeline order.
const StageContractreusex::core::stage_contract (PipelineStage stage)
 The contract of one stage.
const std::vector< Artifact > & reusex::core::pipeline_artifacts ()
 Every artifact the contracts refer to.
const Artifactreusex::core::find_artifact (std::string_view name)
 Look up an artifact by name, or nullptr when it is not a pipeline artifact.
std::optional< PipelineStagereusex::core::producing_stage (std::string_view artifact)
 The earliest stage that writes artifact, or nullopt when nothing does (an externally sourced artifact).
std::optional< PipelineStagereusex::core::parse_pipeline_stage (std::string_view name)
 Parse a stage name (e.g.
std::string_view reusex::core::to_string (PipelineStage stage)
 Canonical lower-case name of a stage (the primary CLI token).
std::vector< std::string > reusex::core::pipeline_stage_names ()
 All stage names accepted by parse_pipeline_stage(), for help text.