MeshLib C Docs
Loading...
Searching...
No Matches
MRDistanceMapLoad.h File Reference
#include <MRCMisc/exports.h>

Go to the source code of this file.

Typedefs

typedef struct MR_DistanceMapLoadSettings MR_DistanceMapLoadSettings
 
typedef struct MR_expected_MR_DistanceMap_std_string MR_expected_MR_DistanceMap_std_string
 

Functions

MRC_API MR_expected_MR_DistanceMap_std_stringMR_DistanceMapLoad_fromRaw (const char *path, const char *path_end, const MR_DistanceMapLoadSettings *settings)
 Load DistanceMap from binary file Format: 2 integer - DistanceMap.resX & DistanceMap.resY [resX * resY] float - matrix of values.
 
MRC_API MR_expected_MR_DistanceMap_std_stringMR_DistanceMapLoad_fromMrDistanceMap (const char *path, const char *path_end, const MR_DistanceMapLoadSettings *settings)
 
MRC_API MR_expected_MR_DistanceMap_std_stringMR_DistanceMapLoad_fromTiff (const char *path, const char *path_end, const MR_DistanceMapLoadSettings *settings)
 
MRC_API MR_expected_MR_DistanceMap_std_stringMR_DistanceMapLoad_fromAnySupportedFormat (const char *path, const char *path_end, const MR_DistanceMapLoadSettings *settings)
 

Typedef Documentation

◆ MR_DistanceMapLoadSettings

◆ MR_expected_MR_DistanceMap_std_string

Function Documentation

◆ MR_DistanceMapLoad_fromAnySupportedFormat()

MRC_API MR_expected_MR_DistanceMap_std_string * MR_DistanceMapLoad_fromAnySupportedFormat ( const char * path,
const char * path_end,
const MR_DistanceMapLoadSettings * settings )

Generated from function MR::DistanceMapLoad::fromAnySupportedFormat. Parameter path is a UTF-8 encoded filesystem path. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_DistanceMap_std_string_Destroy() to free it when you're done using it.

◆ MR_DistanceMapLoad_fromMrDistanceMap()

MRC_API MR_expected_MR_DistanceMap_std_string * MR_DistanceMapLoad_fromMrDistanceMap ( const char * path,
const char * path_end,
const MR_DistanceMapLoadSettings * settings )

Generated from function MR::DistanceMapLoad::fromMrDistanceMap. Parameter path is a UTF-8 encoded filesystem path. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_DistanceMap_std_string_Destroy() to free it when you're done using it.

◆ MR_DistanceMapLoad_fromRaw()

MRC_API MR_expected_MR_DistanceMap_std_string * MR_DistanceMapLoad_fromRaw ( const char * path,
const char * path_end,
const MR_DistanceMapLoadSettings * settings )

Load DistanceMap from binary file Format: 2 integer - DistanceMap.resX & DistanceMap.resY [resX * resY] float - matrix of values.

Generated from function MR::DistanceMapLoad::fromRaw. Parameter path is a UTF-8 encoded filesystem path. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_DistanceMap_std_string_Destroy() to free it when you're done using it.

◆ MR_DistanceMapLoad_fromTiff()

MRC_API MR_expected_MR_DistanceMap_std_string * MR_DistanceMapLoad_fromTiff ( const char * path,
const char * path_end,
const MR_DistanceMapLoadSettings * settings )

Generated from function MR::DistanceMapLoad::fromTiff. Parameter path is a UTF-8 encoded filesystem path. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_DistanceMap_std_string_Destroy() to free it when you're done using it.