MeshLib C Docs
Loading...
Searching...
No Matches
MRTiff.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#include <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_AffineXf3f MR_AffineXf3f; // Defined in `#include <MRCMesh/MRAffineXf.h>`.
13typedef struct MR_DistanceMap MR_DistanceMap; // Defined in `#include <MRCMesh/MRDistanceMap.h>`.
14typedef struct MR_DistanceMapLoadSettings MR_DistanceMapLoadSettings; // Defined in `#include <MRCMesh/MRDistanceMapParams.h>`.
15typedef struct MR_DistanceMapSaveSettings MR_DistanceMapSaveSettings; // Defined in `#include <MRCMesh/MRDistanceMapParams.h>`.
16typedef struct MR_Image MR_Image; // Defined in `#include <MRCMesh/MRImage.h>`.
17typedef struct MR_Raster MR_Raster; // Defined in `#include <MRCMesh/MRRaster.h>`.
18typedef struct MR_RasterLoadSettings MR_RasterLoadSettings; // Defined in `#include <MRCMesh/MRRaster.h>`.
19typedef struct MR_RasterSaveSettings MR_RasterSaveSettings; // Defined in `#include <MRCMesh/MRRaster.h>`.
20typedef struct MR_expected_MR_DistanceMap_std_string MR_expected_MR_DistanceMap_std_string; // Defined in `#include <MRCMisc/expected_MR_DistanceMap_std_string.h>`.
21typedef struct MR_expected_MR_Image_std_string MR_expected_MR_Image_std_string; // Defined in `#include <MRCMisc/expected_MR_Image_std_string.h>`.
22typedef struct MR_expected_MR_RasterInfo_std_string MR_expected_MR_RasterInfo_std_string; // Defined in `#include <MRCMisc/expected_MR_RasterInfo_std_string.h>`.
23typedef struct MR_expected_MR_Raster_std_string MR_expected_MR_Raster_std_string; // Defined in `#include <MRCMisc/expected_MR_Raster_std_string.h>`.
24typedef struct MR_expected_void_std_string MR_expected_void_std_string; // Defined in `#include <MRCMisc/expected_void_std_string.h>`.
25typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
26typedef struct MR_std_optional_double MR_std_optional_double; // Defined in `#include <MRCMisc/std_optional_double.h>`.
27
28
33
41
48
55
62
66
71
77
81
85
91
94
97
105
121MRC_API MR_expected_MR_Raster_std_string *MR_RasterLoad_fromTiff(const char *path, const char *path_end, const MR_RasterLoadSettings *settings, const MR_RasterLoad_TiffLoadSettings *tiffSettings);
122
128
135
143
150
158
166
174
181
188
195
199
204
208
212
217
221
227
232
237
240
243
250
258MRC_API MR_expected_void_std_string *MR_RasterSave_toTiff_MR_TiffSaveSettings(const MR_Raster *raster, const char *path, const char *path_end, const MR_TiffSaveSettings *settings);
259
266MRC_API MR_expected_void_std_string *MR_RasterSave_toTiff_MR_RasterSaveSettings(const MR_Raster *raster, const char *path, const char *path_end, const MR_RasterSaveSettings *settings);
267
274MRC_API MR_expected_MR_Image_std_string *MR_ImageLoad_fromTiff(const char *path, const char *path_end);
275
281MRC_API MR_expected_void_std_string *MR_ImageSave_toTiff(const MR_Image *image, const char *path, const char *path_end);
282
292
300MRC_API MR_expected_void_std_string *MR_DistanceMapSave_toTiff(const MR_DistanceMap *dmap, const char *path, const char *path_end, const MR_DistanceMapSaveSettings *settings);
301
302#ifdef __cplusplus
303} // extern "C"
304#endif
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:27
struct MR_expected_MR_Image_std_string MR_expected_MR_Image_std_string
Definition MRJpeg.h:13
struct MR_Image MR_Image
Definition MRJpeg.h:12
struct MR_RasterSaveSettings MR_RasterSaveSettings
Definition MRTiff.h:19
struct MR_Raster MR_Raster
Definition MRTiff.h:17
struct MR_TiffSaveSettings MR_TiffSaveSettings
Definition MRTiff.h:40
MRC_API void MR_TiffSaveSettings_Set_noData(MR_TiffSaveSettings *_this, const double *value)
MRC_API const MR_TiffSaveSettings * MR_TiffSaveSettings_OffsetPtr(const MR_TiffSaveSettings *ptr, ptrdiff_t i)
MRC_API MR_RasterLoad_TiffLoadSettings * MR_RasterLoad_TiffLoadSettings_ConstructFrom(MR_std_optional_double *noData)
struct MR_DistanceMapSaveSettings MR_DistanceMapSaveSettings
Definition MRTiff.h:15
MRC_API MR_RasterSaveSettings * MR_TiffSaveSettings_MutableUpcastTo_MR_RasterSaveSettings(MR_TiffSaveSettings *object)
MRC_API MR_RasterLoad_TiffLoadSettings * MR_RasterLoad_TiffLoadSettings_AssignFromAnother(MR_RasterLoad_TiffLoadSettings *_this, const MR_RasterLoad_TiffLoadSettings *_other)
MRC_API MR_TiffSaveSettings * MR_TiffSaveSettings_DefaultConstruct(void)
MRC_API MR_RasterLoad_TiffLoadSettings * MR_RasterLoad_TiffLoadSettings_DefaultConstruct(void)
MRC_API MR_expected_MR_DistanceMap_std_string * MR_DistanceMapLoad_fromTiff(const char *path, const char *path_end, const MR_DistanceMapLoadSettings *settings)
MRC_API void MR_TiffSaveSettings_Set_xf(MR_TiffSaveSettings *_this, const MR_AffineXf3f *value)
MRC_API MR_expected_MR_Raster_std_string * MR_RasterLoad_fromTiff(const char *path, const char *path_end, const MR_RasterLoadSettings *settings, const MR_RasterLoad_TiffLoadSettings *tiffSettings)
MRC_API MR_expected_void_std_string * MR_DistanceMapSave_toTiff(const MR_DistanceMap *dmap, const char *path, const char *path_end, const MR_DistanceMapSaveSettings *settings)
struct MR_expected_MR_DistanceMap_std_string MR_expected_MR_DistanceMap_std_string
Definition MRTiff.h:20
struct MR_RasterLoad_TiffLoadSettings MR_RasterLoad_TiffLoadSettings
Definition MRTiff.h:32
MRC_API void MR_TiffSaveSettings_Destroy(const MR_TiffSaveSettings *_this)
Destroys a heap-allocated instance of MR_TiffSaveSettings. Does nothing if the pointer is null.
MRC_API MR_expected_void_std_string * MR_ImageSave_toTiff(const MR_Image *image, const char *path, const char *path_end)
MRC_API MR_std_function_bool_from_float * MR_TiffSaveSettings_GetMutable_progress(MR_TiffSaveSettings *_this)
MRC_API void MR_RasterLoad_TiffLoadSettings_Set_noData(MR_RasterLoad_TiffLoadSettings *_this, MR_std_optional_double *value)
MRC_API MR_expected_void_std_string * MR_RasterSave_toTiff_MR_TiffSaveSettings(const MR_Raster *raster, const char *path, const char *path_end, const MR_TiffSaveSettings *settings)
struct MR_expected_MR_RasterInfo_std_string MR_expected_MR_RasterInfo_std_string
Definition MRTiff.h:22
MRC_API const MR_AffineXf3f *const * MR_TiffSaveSettings_Get_xf(const MR_TiffSaveSettings *_this)
MRC_API MR_TiffSaveSettings * MR_TiffSaveSettings_ConstructFromAnother(MR_PassBy _other_pass_by, MR_TiffSaveSettings *_other)
MRC_API MR_TiffSaveSettings * MR_TiffSaveSettings_DefaultConstructArray(size_t num_elems)
MRC_API const MR_RasterSaveSettings * MR_TiffSaveSettings_UpcastTo_MR_RasterSaveSettings(const MR_TiffSaveSettings *object)
MRC_API MR_RasterLoad_TiffLoadSettings * MR_RasterLoad_TiffLoadSettings_ConstructFromAnother(const MR_RasterLoad_TiffLoadSettings *_other)
MRC_API MR_RasterLoad_TiffLoadSettings * MR_RasterLoad_TiffLoadSettings_DefaultConstructArray(size_t num_elems)
struct MR_RasterLoadSettings MR_RasterLoadSettings
Definition MRTiff.h:18
MRC_API const MR_AffineXf3f ** MR_TiffSaveSettings_GetMutable_xf(MR_TiffSaveSettings *_this)
MRC_API MR_std_optional_double ** MR_RasterLoad_TiffLoadSettings_GetMutable_noData(MR_RasterLoad_TiffLoadSettings *_this)
MRC_API const MR_RasterLoad_TiffLoadSettings * MR_RasterLoad_TiffLoadSettings_OffsetPtr(const MR_RasterLoad_TiffLoadSettings *ptr, ptrdiff_t i)
MRC_API MR_expected_MR_Image_std_string * MR_ImageLoad_fromTiff(const char *path, const char *path_end)
MRC_API MR_TiffSaveSettings * MR_TiffSaveSettings_AssignFromAnother(MR_TiffSaveSettings *_this, MR_PassBy _other_pass_by, MR_TiffSaveSettings *_other)
MRC_API MR_RasterLoad_TiffLoadSettings * MR_RasterLoad_TiffLoadSettings_OffsetMutablePtr(MR_RasterLoad_TiffLoadSettings *ptr, ptrdiff_t i)
MRC_API const MR_std_optional_double * MR_TiffSaveSettings_Get_noData(const MR_TiffSaveSettings *_this)
MRC_API MR_std_optional_double * MR_TiffSaveSettings_GetMutable_noData(MR_TiffSaveSettings *_this)
MRC_API const MR_std_function_bool_from_float * MR_TiffSaveSettings_Get_progress(const MR_TiffSaveSettings *_this)
struct MR_DistanceMap MR_DistanceMap
Definition MRTiff.h:13
MRC_API MR_std_optional_double *const * MR_RasterLoad_TiffLoadSettings_Get_noData(const MR_RasterLoad_TiffLoadSettings *_this)
struct MR_DistanceMapLoadSettings MR_DistanceMapLoadSettings
Definition MRTiff.h:14
MRC_API void MR_TiffSaveSettings_Set_progress(MR_TiffSaveSettings *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API void MR_TiffSaveSettings_DestroyArray(const MR_TiffSaveSettings *_this)
Destroys a heap-allocated array of MR_TiffSaveSettings. Does nothing if the pointer is null.
MRC_API MR_expected_MR_RasterInfo_std_string * MR_RasterLoad_infoFromTiff(const char *path, const char *path_end)
MRC_API void MR_RasterLoad_TiffLoadSettings_DestroyArray(const MR_RasterLoad_TiffLoadSettings *_this)
Destroys a heap-allocated array of MR_RasterLoad_TiffLoadSettings. Does nothing if the pointer is nul...
MRC_API MR_expected_void_std_string * MR_RasterSave_toTiff_MR_RasterSaveSettings(const MR_Raster *raster, const char *path, const char *path_end, const MR_RasterSaveSettings *settings)
struct MR_std_optional_double MR_std_optional_double
Definition MRTiff.h:26
MRC_API MR_TiffSaveSettings * MR_TiffSaveSettings_MutableStaticDowncastFrom_MR_RasterSaveSettings(MR_RasterSaveSettings *object)
MRC_API MR_TiffSaveSettings * MR_TiffSaveSettings_OffsetMutablePtr(MR_TiffSaveSettings *ptr, ptrdiff_t i)
MRC_API void MR_RasterLoad_TiffLoadSettings_Destroy(const MR_RasterLoad_TiffLoadSettings *_this)
Destroys a heap-allocated instance of MR_RasterLoad_TiffLoadSettings. Does nothing if the pointer is ...
MRC_API const MR_TiffSaveSettings * MR_TiffSaveSettings_StaticDowncastFrom_MR_RasterSaveSettings(const MR_RasterSaveSettings *object)
struct MR_expected_MR_Raster_std_string MR_expected_MR_Raster_std_string
Definition MRTiff.h:23
MR_PassBy
Definition common.h:13
#define MRC_API
Definition include/MRCMisc/exports.h:11
Definition MRAffineXf.h:39