MeshLib C Docs
Loading...
Searching...
No Matches
MRCtm.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRColor.h>
5#include <MRCMisc/common.h>
6#include <MRCMisc/exports.h>
7
8#include <stdbool.h>
9#include <stddef.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15typedef struct MR_AffineXf3d MR_AffineXf3d; // Defined in `#include <MRCMesh/MRAffineXf.h>`.
16typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
17typedef struct MR_MeshLoadSettings MR_MeshLoadSettings; // Defined in `#include <MRCMesh/MRMeshLoadSettings.h>`.
18typedef struct MR_MeshTexture MR_MeshTexture; // Defined in `#include <MRCMesh/MRMeshTexture.h>`.
19typedef struct MR_PointCloud MR_PointCloud; // Defined in `#include <MRCMesh/MRPointCloud.h>`.
20typedef struct MR_PointsLoadSettings MR_PointsLoadSettings; // Defined in `#include <MRCMesh/MRPointsLoadSettings.h>`.
21typedef struct MR_SaveSettings MR_SaveSettings; // Defined in `#include <MRCMesh/MRSaveSettings.h>`.
22typedef struct MR_VertColors MR_VertColors; // Defined in `#include <MRCMesh/MRVector.h>`.
23typedef struct MR_VertCoords2 MR_VertCoords2; // Defined in `#include <MRCMesh/MRVector.h>`.
24typedef struct MR_expected_MR_Mesh_std_string MR_expected_MR_Mesh_std_string; // Defined in `#include <MRCMisc/expected_MR_Mesh_std_string.h>`.
25typedef struct MR_expected_MR_PointCloud_std_string MR_expected_MR_PointCloud_std_string; // Defined in `#include <MRCMisc/expected_MR_PointCloud_std_string.h>`.
26typedef struct MR_expected_void_std_string MR_expected_void_std_string; // Defined in `#include <MRCMisc/expected_void_std_string.h>`.
27typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
28typedef struct MR_std_istream MR_std_istream; // Defined in `#include <MRCMisc/iostream.h>`.
29typedef struct MR_std_optional_MR_Color MR_std_optional_MR_Color; // Defined in `#include <MRCMisc/std_optional_MR_Color.h>`.
30typedef struct MR_std_optional_MR_LengthUnit MR_std_optional_MR_LengthUnit; // Defined in `#include <MRCMisc/std_optional_MR_LengthUnit.h>`.
31typedef struct MR_std_ostream MR_std_ostream; // Defined in `#include <MRCMisc/iostream.h>`.
32typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
33typedef struct MR_std_vector_MR_Color MR_std_vector_MR_Color; // Defined in `#include <MRCMisc/std_vector_MR_Color.h>`.
34
35
45
52
59
67
74
79
83
88
89//~= 0.00098
94
95//~= 0.00098
99
100//~= 0.00098
105
111
116
122
128
133
139
146
152
159
169
178
188
194
199
205
211
216
222
228
233
239
246
252
259
265
270
276
282
288MRC_API void MR_MeshSave_CtmSaveOptions_Set_materialName(MR_MeshSave_CtmSaveOptions *_this, const char *value, const char *value_end);
289
295
301
306
312
318
324
330
336
342
348
354
359
365
369
374
377
380
384
387
391
394
397
402
410
417
425
433
441
448
454
459
465
471
476
482
489
495
502
512
521
531
537
542
548
554
559
565
571
576
582
589
595
602
608
613
619
625
632
638
644
649
655
661
667
673
679
685
691
697
702
708
712
717
720
723
727
730
734
737
740
745
753
760
768
776
777#ifdef __cplusplus
778} // extern "C"
779#endif
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
MRC_API void MR_MeshSave_CtmSaveOptions_Destroy(const MR_MeshSave_CtmSaveOptions *_this)
Destroys a heap-allocated instance of MR_MeshSave_CtmSaveOptions. Does nothing if the pointer is null...
MRC_API MR_expected_MR_PointCloud_std_string * MR_PointsLoad_fromCtm_std_filesystem_path(const char *file, const char *file_end, const MR_PointsLoadSettings *settings)
MRC_API void MR_MeshSave_CtmSaveOptions_Set_saveTriCornerUVCoords(MR_MeshSave_CtmSaveOptions *_this, bool value)
MRC_API void MR_MeshSave_CtmSaveOptions_Set_solidColor(MR_MeshSave_CtmSaveOptions *_this, const MR_Color *value)
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:26
MRC_API void MR_MeshSave_CtmSaveOptions_Set_compressionLevel(MR_MeshSave_CtmSaveOptions *_this, int value)
MRC_API void MR_PointsSave_CtmSavePointsOptions_Set_packPrimitives(MR_PointsSave_CtmSavePointsOptions *_this, bool value)
struct MR_expected_MR_Mesh_std_string MR_expected_MR_Mesh_std_string
Definition MRCtm.h:24
MRC_API MR_std_function_bool_from_float * MR_MeshSave_CtmSaveOptions_GetMutable_progress(MR_MeshSave_CtmSaveOptions *_this)
MRC_API const MR_std_vector_MR_Color *const * MR_PointsSave_CtmSavePointsOptions_Get_primitiveColors(const MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API MR_MeshSave_CtmSaveOptions_MeshCompression * MR_MeshSave_CtmSaveOptions_GetMutable_meshCompression(MR_MeshSave_CtmSaveOptions *_this)
MRC_API bool * MR_MeshSave_CtmSaveOptions_GetMutable_saveTriCornerUVCoords(MR_MeshSave_CtmSaveOptions *_this)
MRC_API MR_SaveSettings * MR_PointsSave_CtmSavePointsOptions_MutableUpcastTo_MR_SaveSettings(MR_PointsSave_CtmSavePointsOptions *object)
Upcasts an instance of MR::PointsSave::CtmSavePointsOptions to its base class MR::SaveSettings.
MRC_API const MR_VertCoords2 ** MR_PointsSave_CtmSavePointsOptions_GetMutable_uvMap(MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API const MR_VertColors ** MR_MeshSave_CtmSaveOptions_GetMutable_colors(MR_MeshSave_CtmSaveOptions *_this)
MRC_API void MR_PointsSave_CtmSavePointsOptions_Set_uvMap(MR_PointsSave_CtmSavePointsOptions *_this, const MR_VertCoords2 *value)
MRC_API void MR_PointsSave_CtmSavePointsOptions_Set_materialName(MR_PointsSave_CtmSavePointsOptions *_this, const char *value, const char *value_end)
MRC_API const MR_AffineXf3d ** MR_PointsSave_CtmSavePointsOptions_GetMutable_xf(MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API void MR_PointsSave_CtmSavePointsOptions_Set_texture(MR_PointsSave_CtmSavePointsOptions *_this, const MR_MeshTexture *value)
struct MR_VertColors MR_VertColors
Definition MRCtm.h:22
MRC_API const MR_VertCoords2 *const * MR_MeshSave_CtmSaveOptions_Get_uvMap(const MR_MeshSave_CtmSaveOptions *_this)
MRC_API void MR_PointsSave_CtmSavePointsOptions_Set_compressionLevel(MR_PointsSave_CtmSavePointsOptions *_this, int value)
MRC_API MR_std_optional_MR_Color * MR_MeshSave_CtmSaveOptions_GetMutable_solidColor(MR_MeshSave_CtmSaveOptions *_this)
MRC_API const bool * MR_MeshSave_CtmSaveOptions_Get_onlyValidPoints(const MR_MeshSave_CtmSaveOptions *_this)
MRC_API const bool * MR_MeshSave_CtmSaveOptions_Get_saveTriCornerUVCoords(const MR_MeshSave_CtmSaveOptions *_this)
MRC_API const MR_std_function_bool_from_float * MR_MeshSave_CtmSaveOptions_Get_progress(const MR_MeshSave_CtmSaveOptions *_this)
struct MR_Mesh MR_Mesh
Definition MRCtm.h:16
MRC_API void MR_MeshSave_CtmSaveOptions_Set_comment(MR_MeshSave_CtmSaveOptions *_this, const char *value)
MRC_API const bool * MR_PointsSave_CtmSavePointsOptions_Get_onlyValidPoints(const MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API MR_expected_MR_Mesh_std_string * MR_MeshLoad_fromCtm_std_istream(MR_std_istream *in, const MR_MeshLoadSettings *settings)
MRC_API MR_expected_void_std_string * MR_MeshSave_toCtm_const_std_filesystem_path_ref_MR_SaveSettings(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings)
MRC_API void MR_MeshSave_CtmSaveOptions_Set_xf(MR_MeshSave_CtmSaveOptions *_this, const MR_AffineXf3d *value)
MRC_API const MR_std_string * MR_PointsSave_CtmSavePointsOptions_Get_materialName(const MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API const MR_VertColors *const * MR_MeshSave_CtmSaveOptions_Get_colors(const MR_MeshSave_CtmSaveOptions *_this)
MRC_API const char *const * MR_PointsSave_CtmSavePointsOptions_Get_comment(const MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API const MR_VertColors ** MR_PointsSave_CtmSavePointsOptions_GetMutable_colors(MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API void MR_MeshSave_CtmSaveOptions_Set_uvMap(MR_MeshSave_CtmSaveOptions *_this, const MR_VertCoords2 *value)
MRC_API const float * MR_MeshSave_CtmSaveOptions_Get_vertexPrecision(const MR_MeshSave_CtmSaveOptions *_this)
MRC_API const MR_std_function_bool_from_float * MR_PointsSave_CtmSavePointsOptions_Get_progress(const MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API void MR_PointsSave_CtmSavePointsOptions_Set_onlyValidPoints(MR_PointsSave_CtmSavePointsOptions *_this, bool value)
MRC_API void MR_PointsSave_CtmSavePointsOptions_Set_lengthUnit(MR_PointsSave_CtmSavePointsOptions *_this, const MR_LengthUnit *value)
MRC_API bool * MR_MeshSave_CtmSaveOptions_GetMutable_onlyValidPoints(MR_MeshSave_CtmSaveOptions *_this)
MRC_API bool * MR_MeshSave_CtmSaveOptions_GetMutable_packPrimitives(MR_MeshSave_CtmSaveOptions *_this)
MRC_API void MR_MeshSave_CtmSaveOptions_Set_texture(MR_MeshSave_CtmSaveOptions *_this, const MR_MeshTexture *value)
MRC_API MR_PointsSave_CtmSavePointsOptions * MR_PointsSave_CtmSavePointsOptions_AssignFromAnother(MR_PointsSave_CtmSavePointsOptions *_this, MR_PassBy _other_pass_by, MR_PointsSave_CtmSavePointsOptions *_other)
MRC_API const MR_VertColors *const * MR_PointsSave_CtmSavePointsOptions_Get_colors(const MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API void MR_PointsSave_CtmSavePointsOptions_Set_primitiveColors(MR_PointsSave_CtmSavePointsOptions *_this, const MR_std_vector_MR_Color *value)
MRC_API const MR_SaveSettings * MR_MeshSave_CtmSaveOptions_UpcastTo_MR_SaveSettings(const MR_MeshSave_CtmSaveOptions *object)
MRC_API const char *const * MR_MeshSave_CtmSaveOptions_Get_comment(const MR_MeshSave_CtmSaveOptions *_this)
MRC_API MR_MeshSave_CtmSaveOptions * MR_MeshSave_CtmSaveOptions_AssignFromAnother(MR_MeshSave_CtmSaveOptions *_this, MR_PassBy _other_pass_by, MR_MeshSave_CtmSaveOptions *_other)
MRC_API int * MR_PointsSave_CtmSavePointsOptions_GetMutable_compressionLevel(MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API void MR_PointsSave_CtmSavePointsOptions_Set_progress(MR_PointsSave_CtmSavePointsOptions *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API MR_MeshSave_CtmSaveOptions * MR_MeshSave_CtmSaveOptions_ConstructFromAnother(MR_PassBy _other_pass_by, MR_MeshSave_CtmSaveOptions *_other)
MRC_API float * MR_MeshSave_CtmSaveOptions_GetMutable_vertexPrecision(MR_MeshSave_CtmSaveOptions *_this)
MRC_API const bool * MR_MeshSave_CtmSaveOptions_Get_packPrimitives(const MR_MeshSave_CtmSaveOptions *_this)
MRC_API void MR_MeshSave_CtmSaveOptions_Set_materialName(MR_MeshSave_CtmSaveOptions *_this, const char *value, const char *value_end)
MRC_API MR_expected_void_std_string * MR_MeshSave_toCtm_std_ostream_ref_MR_SaveSettings(const MR_Mesh *mesh, MR_std_ostream *out, const MR_SaveSettings *settings)
MRC_API MR_MeshSave_CtmSaveOptions * MR_MeshSave_CtmSaveOptions_DefaultConstruct(void)
MRC_API MR_MeshSave_CtmSaveOptions * MR_MeshSave_CtmSaveOptions_DefaultConstructArray(size_t num_elems)
MRC_API const char ** MR_MeshSave_CtmSaveOptions_GetMutable_comment(MR_MeshSave_CtmSaveOptions *_this)
MRC_API void MR_MeshSave_CtmSaveOptions_Set_lengthUnit(MR_MeshSave_CtmSaveOptions *_this, const MR_LengthUnit *value)
struct MR_MeshLoadSettings MR_MeshLoadSettings
Definition MRCtm.h:17
MRC_API const MR_std_string * MR_MeshSave_CtmSaveOptions_Get_materialName(const MR_MeshSave_CtmSaveOptions *_this)
MRC_API void MR_PointsSave_CtmSavePointsOptions_DestroyArray(const MR_PointsSave_CtmSavePointsOptions *_this)
Destroys a heap-allocated array of MR_PointsSave_CtmSavePointsOptions. Does nothing if the pointer is...
MRC_API const MR_AffineXf3d *const * MR_PointsSave_CtmSavePointsOptions_Get_xf(const MR_PointsSave_CtmSavePointsOptions *_this)
struct MR_SaveSettings MR_SaveSettings
Definition MRCtm.h:21
struct MR_PointsLoadSettings MR_PointsLoadSettings
Definition MRCtm.h:20
MRC_API MR_expected_void_std_string * MR_MeshSave_toCtm_std_ostream_ref_MR_MeshSave_CtmSaveOptions(const MR_Mesh *mesh, MR_std_ostream *out, const MR_MeshSave_CtmSaveOptions *options)
struct MR_std_string MR_std_string
Definition MRCtm.h:32
MRC_API const char ** MR_PointsSave_CtmSavePointsOptions_GetMutable_comment(MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API void MR_MeshSave_CtmSaveOptions_DestroyArray(const MR_MeshSave_CtmSaveOptions *_this)
Destroys a heap-allocated array of MR_MeshSave_CtmSaveOptions. Does nothing if the pointer is null.
MRC_API bool * MR_PointsSave_CtmSavePointsOptions_GetMutable_saveTriCornerUVCoords(MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API void MR_PointsSave_CtmSavePointsOptions_Set_colors(MR_PointsSave_CtmSavePointsOptions *_this, const MR_VertColors *value)
MRC_API const MR_MeshTexture *const * MR_MeshSave_CtmSaveOptions_Get_texture(const MR_MeshSave_CtmSaveOptions *_this)
MRC_API MR_PointsSave_CtmSavePointsOptions * MR_PointsSave_CtmSavePointsOptions_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_optional_MR_Color * MR_PointsSave_CtmSavePointsOptions_GetMutable_solidColor(MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API const int * MR_MeshSave_CtmSaveOptions_Get_compressionLevel(const MR_MeshSave_CtmSaveOptions *_this)
struct MR_std_vector_MR_Color MR_std_vector_MR_Color
Definition MRCtm.h:33
MRC_API void MR_PointsSave_CtmSavePointsOptions_Destroy(const MR_PointsSave_CtmSavePointsOptions *_this)
Destroys a heap-allocated instance of MR_PointsSave_CtmSavePointsOptions. Does nothing if the pointer...
MRC_API const MR_std_vector_MR_Color ** MR_MeshSave_CtmSaveOptions_GetMutable_primitiveColors(MR_MeshSave_CtmSaveOptions *_this)
MRC_API MR_SaveSettings * MR_MeshSave_CtmSaveOptions_MutableUpcastTo_MR_SaveSettings(MR_MeshSave_CtmSaveOptions *object)
Upcasts an instance of MR::MeshSave::CtmSaveOptions to its base class MR::SaveSettings.
MRC_API MR_std_string * MR_PointsSave_CtmSavePointsOptions_GetMutable_materialName(MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API const MR_std_optional_MR_Color * MR_MeshSave_CtmSaveOptions_Get_solidColor(const MR_MeshSave_CtmSaveOptions *_this)
MRC_API const MR_std_optional_MR_LengthUnit * MR_PointsSave_CtmSavePointsOptions_Get_lengthUnit(const MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API void MR_MeshSave_CtmSaveOptions_Set_colors(MR_MeshSave_CtmSaveOptions *_this, const MR_VertColors *value)
MRC_API MR_std_string * MR_MeshSave_CtmSaveOptions_GetMutable_materialName(MR_MeshSave_CtmSaveOptions *_this)
MRC_API void MR_PointsSave_CtmSavePointsOptions_Set_xf(MR_PointsSave_CtmSavePointsOptions *_this, const MR_AffineXf3d *value)
MRC_API const MR_MeshSave_CtmSaveOptions * MR_MeshSave_CtmSaveOptions_OffsetPtr(const MR_MeshSave_CtmSaveOptions *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API bool * MR_PointsSave_CtmSavePointsOptions_GetMutable_onlyValidPoints(MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API MR_expected_void_std_string * MR_PointsSave_toCtm_std_ostream_ref_MR_PointsSave_CtmSavePointsOptions(const MR_PointCloud *points, MR_std_ostream *out, const MR_PointsSave_CtmSavePointsOptions *options)
MRC_API bool * MR_PointsSave_CtmSavePointsOptions_GetMutable_packPrimitives(MR_PointsSave_CtmSavePointsOptions *_this)
struct MR_std_ostream MR_std_ostream
Definition MRCtm.h:31
MRC_API void MR_PointsSave_CtmSavePointsOptions_Set_comment(MR_PointsSave_CtmSavePointsOptions *_this, const char *value)
MRC_API void MR_MeshSave_CtmSaveOptions_Set_vertexPrecision(MR_MeshSave_CtmSaveOptions *_this, float value)
MRC_API int * MR_MeshSave_CtmSaveOptions_GetMutable_compressionLevel(MR_MeshSave_CtmSaveOptions *_this)
MRC_API void MR_PointsSave_CtmSavePointsOptions_Set_saveTriCornerUVCoords(MR_PointsSave_CtmSavePointsOptions *_this, bool value)
MRC_API MR_expected_MR_PointCloud_std_string * MR_PointsLoad_fromCtm_std_istream(MR_std_istream *in, const MR_PointsLoadSettings *settings)
MRC_API MR_expected_void_std_string * MR_PointsSave_toCtm_const_std_filesystem_path_ref_MR_PointsSave_CtmSavePointsOptions(const MR_PointCloud *points, const char *file, const char *file_end, const MR_PointsSave_CtmSavePointsOptions *options)
struct MR_expected_MR_PointCloud_std_string MR_expected_MR_PointCloud_std_string
Definition MRCtm.h:25
struct MR_PointCloud MR_PointCloud
Definition MRCtm.h:19
MRC_API const MR_AffineXf3d ** MR_MeshSave_CtmSaveOptions_GetMutable_xf(MR_MeshSave_CtmSaveOptions *_this)
MRC_API MR_expected_MR_Mesh_std_string * MR_MeshLoad_fromCtm_std_filesystem_path(const char *file, const char *file_end, const MR_MeshLoadSettings *settings)
MRC_API const MR_MeshSave_CtmSaveOptions_MeshCompression * MR_MeshSave_CtmSaveOptions_Get_meshCompression(const MR_MeshSave_CtmSaveOptions *_this)
MRC_API const MR_std_vector_MR_Color ** MR_PointsSave_CtmSavePointsOptions_GetMutable_primitiveColors(MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API MR_expected_void_std_string * MR_PointsSave_toCtm_std_ostream_ref_MR_SaveSettings(const MR_PointCloud *points, MR_std_ostream *out, const MR_SaveSettings *settings)
MRC_API void MR_MeshSave_CtmSaveOptions_Set_packPrimitives(MR_MeshSave_CtmSaveOptions *_this, bool value)
MRC_API const MR_PointsSave_CtmSavePointsOptions * MR_PointsSave_CtmSavePointsOptions_OffsetPtr(const MR_PointsSave_CtmSavePointsOptions *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_MeshSave_CtmSaveOptions_Set_progress(MR_MeshSave_CtmSaveOptions *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API MR_std_optional_MR_LengthUnit * MR_MeshSave_CtmSaveOptions_GetMutable_lengthUnit(MR_MeshSave_CtmSaveOptions *_this)
MRC_API const MR_MeshTexture ** MR_PointsSave_CtmSavePointsOptions_GetMutable_texture(MR_PointsSave_CtmSavePointsOptions *_this)
struct MR_std_optional_MR_LengthUnit MR_std_optional_MR_LengthUnit
Definition MRCtm.h:30
MRC_API const MR_MeshTexture ** MR_MeshSave_CtmSaveOptions_GetMutable_texture(MR_MeshSave_CtmSaveOptions *_this)
MRC_API const MR_VertCoords2 ** MR_MeshSave_CtmSaveOptions_GetMutable_uvMap(MR_MeshSave_CtmSaveOptions *_this)
MRC_API const bool * MR_PointsSave_CtmSavePointsOptions_Get_packPrimitives(const MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API const MR_std_optional_MR_LengthUnit * MR_MeshSave_CtmSaveOptions_Get_lengthUnit(const MR_MeshSave_CtmSaveOptions *_this)
struct MR_MeshTexture MR_MeshTexture
Definition MRCtm.h:18
MRC_API const int * MR_PointsSave_CtmSavePointsOptions_Get_compressionLevel(const MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API MR_std_function_bool_from_float * MR_PointsSave_CtmSavePointsOptions_GetMutable_progress(MR_PointsSave_CtmSavePointsOptions *_this)
MR_MeshSave_CtmSaveOptions_MeshCompression
Definition MRCtm.h:37
@ MR_MeshSave_CtmSaveOptions_MeshCompression_Lossy
Definition MRCtm.h:43
@ MR_MeshSave_CtmSaveOptions_MeshCompression_None
no compression at all, fast but not effective
Definition MRCtm.h:39
@ MR_MeshSave_CtmSaveOptions_MeshCompression_Lossless
compression with loss in vertex coordinates
Definition MRCtm.h:41
MRC_API void MR_MeshSave_CtmSaveOptions_Set_primitiveColors(MR_MeshSave_CtmSaveOptions *_this, const MR_std_vector_MR_Color *value)
MRC_API MR_PointsSave_CtmSavePointsOptions * MR_PointsSave_CtmSavePointsOptions_DefaultConstruct(void)
MRC_API const MR_std_vector_MR_Color *const * MR_MeshSave_CtmSaveOptions_Get_primitiveColors(const MR_MeshSave_CtmSaveOptions *_this)
MRC_API MR_std_optional_MR_LengthUnit * MR_PointsSave_CtmSavePointsOptions_GetMutable_lengthUnit(MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API const MR_VertCoords2 *const * MR_PointsSave_CtmSavePointsOptions_Get_uvMap(const MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API void MR_MeshSave_CtmSaveOptions_Set_meshCompression(MR_MeshSave_CtmSaveOptions *_this, MR_MeshSave_CtmSaveOptions_MeshCompression value)
MRC_API MR_PointsSave_CtmSavePointsOptions * MR_PointsSave_CtmSavePointsOptions_OffsetMutablePtr(MR_PointsSave_CtmSavePointsOptions *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_PointsSave_CtmSavePointsOptions * MR_PointsSave_CtmSavePointsOptions_ConstructFromAnother(MR_PassBy _other_pass_by, MR_PointsSave_CtmSavePointsOptions *_other)
MRC_API MR_expected_void_std_string * MR_PointsSave_toCtm_const_std_filesystem_path_ref_MR_SaveSettings(const MR_PointCloud *points, const char *file, const char *file_end, const MR_SaveSettings *settings)
struct MR_VertCoords2 MR_VertCoords2
Definition MRCtm.h:23
MRC_API const MR_AffineXf3d *const * MR_MeshSave_CtmSaveOptions_Get_xf(const MR_MeshSave_CtmSaveOptions *_this)
MRC_API const MR_SaveSettings * MR_PointsSave_CtmSavePointsOptions_UpcastTo_MR_SaveSettings(const MR_PointsSave_CtmSavePointsOptions *object)
MRC_API void MR_PointsSave_CtmSavePointsOptions_Set_solidColor(MR_PointsSave_CtmSavePointsOptions *_this, const MR_Color *value)
struct MR_PointsSave_CtmSavePointsOptions MR_PointsSave_CtmSavePointsOptions
Definition MRCtm.h:58
struct MR_MeshSave_CtmSaveOptions MR_MeshSave_CtmSaveOptions
Definition MRCtm.h:51
MRC_API const MR_std_optional_MR_Color * MR_PointsSave_CtmSavePointsOptions_Get_solidColor(const MR_PointsSave_CtmSavePointsOptions *_this)
struct MR_std_istream MR_std_istream
Definition MRCtm.h:28
MRC_API const bool * MR_PointsSave_CtmSavePointsOptions_Get_saveTriCornerUVCoords(const MR_PointsSave_CtmSavePointsOptions *_this)
MRC_API void MR_MeshSave_CtmSaveOptions_Set_onlyValidPoints(MR_MeshSave_CtmSaveOptions *_this, bool value)
MRC_API const MR_MeshTexture *const * MR_PointsSave_CtmSavePointsOptions_Get_texture(const MR_PointsSave_CtmSavePointsOptions *_this)
struct MR_std_optional_MR_Color MR_std_optional_MR_Color
Definition MRCtm.h:29
MRC_API MR_MeshSave_CtmSaveOptions * MR_MeshSave_CtmSaveOptions_OffsetMutablePtr(MR_MeshSave_CtmSaveOptions *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_expected_void_std_string * MR_MeshSave_toCtm_const_std_filesystem_path_ref_MR_MeshSave_CtmSaveOptions(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_MeshSave_CtmSaveOptions *options)
MR_LengthUnit
Definition MRUnitInfo.h:22
MR_PassBy
Definition common.h:23
#define MRC_API
Definition exports.h:11
Definition MRAffineXf.h:47
Generated from class MR::Color.
Definition MRColor.h:18