Function lvr2::loadScanProject

Function Documentation

ScanProjectPtr lvr2::loadScanProject(const std::string &schema, const std::string &source, bool loadData = false)

Loads a scan project from given source.

Parameters:
  • schema – The schema name that describes the project’s structure

  • source – The data source

  • loadData – If true, all data will be loaded. If false, only meta data and the project structure will be parsed.

Returns:

ScanProjectPtr A new scan project or nullptr if loading failed.