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

Go to the source code of this file.

Typedefs

typedef struct MR_DistanceMap MR_DistanceMap
typedef struct MR_DistanceMapSaveSettings MR_DistanceMapSaveSettings

Functions

MRC_API MR_expected_MR_Image_std_stringMR_ImageLoad_fromTiff (const char *path, const char *path_end)
MRC_API MR_expected_void_std_stringMR_ImageSave_toTiff (const MR_Image *image, const char *path, const char *path_end)
MRC_API MR_expected_void_std_stringMR_DistanceMapSave_toTiff (const MR_DistanceMap *dmap, const char *path, const char *path_end, const MR_DistanceMapSaveSettings *settings)

Typedef Documentation

◆ MR_DistanceMap

this class allows to store distances from the plane in particular pixels validVerts keeps only pixels with mesh-intersecting rays from them Generated from class MR::DistanceMap. Base classes: Direct: (non-virtual) MR::RectIndexer Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_DistanceMapSaveSettings

determines how to save distance maps Generated from class MR::DistanceMapSaveSettings. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee). Cartesian range vector between distance map borders in X direction Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named xRange. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

Function Documentation

◆ MR_DistanceMapSave_toTiff()

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 )

saves in .tiff format Generated from function MR::DistanceMapSave::toTiff. Parameter dmap can not be null. It is a single object. 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_void_std_string_Destroy() to free it when you're done using it.

◆ MR_ImageLoad_fromTiff()

MRC_API MR_expected_MR_Image_std_string * MR_ImageLoad_fromTiff ( const char * path,
const char * path_end )

loads from .tiff format Generated from function MR::ImageLoad::fromTiff. Parameter path is a UTF-8 encoded filesystem path. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Image_std_string_Destroy() to free it when you're done using it.

◆ MR_ImageSave_toTiff()

MRC_API MR_expected_void_std_string * MR_ImageSave_toTiff ( const MR_Image * image,
const char * path,
const char * path_end )

saves in .tiff format Generated from function MR::ImageSave::toTiff. Parameter image can not be null. It is a single object. Parameter path is a UTF-8 encoded filesystem path. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.