MeshLib C++ Docs
Loading...
Searching...
No Matches
MRRasterLoad.h File Reference
#include "MRMeshFwd.h"
#include "MRExpected.h"
#include "MRRaster.h"
#include <filesystem>

Go to the source code of this file.

Namespaces

namespace  MR
 Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
namespace  MR::RasterLoad

Functions

Expected< Raster > MR::RasterLoad::fromAnySupportedFormat (const std::filesystem::path &path, const RasterLoadSettings &settings={})
 detects the format from file extension and loads a raster from it
Expected< RasterInfo > MR::RasterLoad::infoFromAnySupportedFormat (const std::filesystem::path &path)
 detects the format from file extension and loads everything about the raster except its samples