Skip to main content

run

Function run 

Source
pub fn run(
    source: &mut dyn FrameSource,
    options: &Options,
    observer: &mut dyn Observer,
    control: &Control,
) -> Result<RunResult, Error>
Expand description

Runs the whole reconstruction on source. Progress and diagnostics go to observer as they happen; control pauses or stops the run from another thread. Returns the result even when the run ended partial (a stop, or a failure after some frames were rendered); only a run that rendered nothing is an Error::Failed.