Program Listing for File ScanSchemaUtils.hpp

Return to documentation for file (include/lvr2/util/ScanSchemaUtils.hpp)

#ifndef SCANSCHEMAUTILS
#define SCANSCHEMAUTILS

#include <string>
#include <vector>

#include "lvr2/io/schema/ScanProjectSchema.hpp"

namespace lvr2
{

DirectorySchemaPtr directorySchemaFromName(const std::string& schemaName, const std::string& rootDir);

HDF5SchemaPtr hdf5SchemaFromName(const std::string& schemaName);

ScanProjectSchemaPtr schemaFromName(const std::string& schemaName, const std::string& root);

const std::vector<std::string> implementedDirectorySchemas = {
    "EUROC",
    "HYPERLIB",
    "RAW",
    "RAWPLY",
#ifdef LVR2_USE_RDB
    "RDBX",
#endif
    "SLAM6D"};

const std::vector<std::string> implementedHDF5Schemas = {"HDF5", "HDF5V2"};

} // namespace lvr2

#endif // SCANSCHEMAUTILS