2#include "MRPch/MRBindingMacros.h"
12namespace DistanceMapSave
26[[deprecated(
"Use toRAW( dmap, path, settings )")]]
29 return toRAW( dmap, path );
33[[deprecated(
"Use toMrDistanceMap( dmap, path, settings )")]]
36 const auto xf = params.
xf();
43[[deprecated(
"Use toAnySupportedFormat( dmap, path, settings )")]]
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:80
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....
Definition MRCameraOrientationPlugin.h:8
tl::expected< T, E > Expected
Definition MRExpected.h:25
std::array< Vector3f, 3 > MR_BIND_IGNORE
Definition MRMeshBuilderTypes.h:10
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