11namespace DistanceMapSave
25[[deprecated(
"Use toRAW( dmap, path, settings )")]]
28 return toRAW( dmap, path );
32[[deprecated(
"Use toMrDistanceMap( dmap, path, settings )")]]
35 const auto xf = params.
xf();
42[[deprecated(
"Use toAnySupportedFormat( dmap, path, settings )")]]
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:79
Definition MRDistanceMap.h:24
MRMESH_API Expected< void > toAnySupportedFormat(const DistanceMap &dmap, const std::filesystem::path &path, const DistanceMapSaveSettings &settings={})
MRMESH_API Expected< void > toMrDistanceMap(const DistanceMap &dmap, const std::filesystem::path &path, const DistanceMapSaveSettings &settings={})
MRMESH_API Expected< void > toRAW(const DistanceMap &dmap, const std::filesystem::path &path, const DistanceMapSaveSettings &settings={})
Save DistanceMap to binary file Format: 2 integer - DistanceMap.resX & DistanceMap....
tl::expected< T, E > Expected
Definition MRExpected.h:59
determines how to save distance maps
Definition MRDistanceMapParams.h:198
This structure store data to transform distance map to world coordinates.
Definition MRDistanceMapParams.h:136
AffineXf3f xf() const
Definition MRDistanceMapParams.h:170