8#include "MRPch/MRBindingMacros.h"
28[[deprecated(
"Use fromRaw( path, settings )")]]
32 .progress = progressCb,
37[[deprecated(
"Use fromMrDistanceMap( path, settings )")]]
41 .distanceMapToWorld = ¶ms,
42 .progress = progressCb,
47[[deprecated(
"Use fromAnySupportedFormat( path, settings )" )]]
51 .distanceMapToWorld = params,
52 .progress = progressCb,
#define MRMESH_API
Definition MRMeshFwd.h:85
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:790
Expected< DistanceMap > fromAnySupportedFormat(const std::filesystem::path &path, const DistanceMapLoadSettings &settings={})
Expected< DistanceMap > fromMrDistanceMap(const std::filesystem::path &path, const DistanceMapLoadSettings &settings={})
Expected< DistanceMap > fromRaw(const std::filesystem::path &path, const DistanceMapLoadSettings &settings={})
Load DistanceMap from binary file Format: 2 integer - DistanceMap.resX & DistanceMap....
tl::expected< T, E > Expected
Definition MRExpected.h:31
Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
Definition MRCameraOrientationPlugin.h:8
settings for loading distance maps from external formats
Definition MRDistanceMapParams.h:189
This structure store data to transform distance map to world coordinates.
Definition MRDistanceMapParams.h:136