MeshLib Documentation
Loading...
Searching...
No Matches
MRDistanceMapSave.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
3#include "MRIOFilters.h"
5#include "MRExpected.h"
6#include <filesystem>
7
8namespace MR
9{
10
11namespace DistanceMapSave
12{
13
17
18MRMESH_API extern const IOFilters Filters;
19
26MRMESH_API Expected<void> toRAW( const std::filesystem::path& path, const DistanceMap& dmap );
27MRMESH_API Expected<void> toMrDistanceMap( const std::filesystem::path& path, const DistanceMap& dmapObject, const DistanceMapToWorld& params );
28MRMESH_API Expected<void> toAnySupportedFormat( const std::filesystem::path& path, const DistanceMap& dmapObject, const AffineXf3f * xf = nullptr );
29
31
32} // namespace DistanceMapSave
33
34} // namespace MR
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
Definition MRDistanceMap.h:24
MRMESH_API const IOFilters Filters
MRMESH_API Expected< void > toMrDistanceMap(const std::filesystem::path &path, const DistanceMap &dmapObject, const DistanceMapToWorld &params)
MRMESH_API Expected< void > toRAW(const std::filesystem::path &path, const DistanceMap &dmap)
Save DistanceMap to binary file Format: 2 integer - DistanceMap.resX & DistanceMap....
MRMESH_API Expected< void > toAnySupportedFormat(const std::filesystem::path &path, const DistanceMap &dmapObject, const AffineXf3f *xf=nullptr)
std::vector< IOFilter > IOFilters
Definition MRIOFilters.h:32
Definition MRCameraOrientationPlugin.h:8
tl::expected< T, E > Expected
Definition MRExpected.h:58
This structure store data to transform distance map to world coordinates.
Definition MRDistanceMapParams.h:136