MeshLib C Docs
Loading...
Searching...
No Matches
MRDistanceMapSave.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9typedef struct MR_DistanceMap MR_DistanceMap; // Defined in `#include <MRCMesh/MRDistanceMap.h>`.
10typedef struct MR_DistanceMapSaveSettings MR_DistanceMapSaveSettings; // Defined in `#include <MRCMesh/MRDistanceMapParams.h>`.
11typedef struct MR_expected_void_std_string MR_expected_void_std_string; // Defined in `#include <MRCMisc/expected_void_std_string.h>`.
12
13
26MRC_API MR_expected_void_std_string *MR_DistanceMapSave_toRAW(const MR_DistanceMap *dmap, const char *path, const char *path_end, const MR_DistanceMapSaveSettings *settings);
27
34MRC_API MR_expected_void_std_string *MR_DistanceMapSave_toMrDistanceMap(const MR_DistanceMap *dmap, const char *path, const char *path_end, const MR_DistanceMapSaveSettings *settings);
35
43
44#ifdef __cplusplus
45} // extern "C"
46#endif
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:20
struct MR_DistanceMapSaveSettings MR_DistanceMapSaveSettings
Definition MRDistanceMapParams.h:40
MRC_API MR_expected_void_std_string * MR_DistanceMapSave_toMrDistanceMap(const MR_DistanceMap *dmap, const char *path, const char *path_end, const MR_DistanceMapSaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_DistanceMapSave_toAnySupportedFormat(const MR_DistanceMap *dmap, const char *path, const char *path_end, const MR_DistanceMapSaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_DistanceMapSave_toRAW(const MR_DistanceMap *dmap, const char *path, const char *path_end, const MR_DistanceMapSaveSettings *settings)
Save DistanceMap to binary file Format: 2 integer - DistanceMap.resX & DistanceMap....
struct MR_DistanceMap MR_DistanceMap
Definition MRDistanceMap.h:46
#define MRC_API
Definition exports.h:11