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
80
86
92
93//~= 0.00098
99
100//~= 0.00098
105
106//~= 0.00098
112
119
125
132
139
146
153
161
168
176
187
197
208
215
222
229
236
243
250
257
264
271
279
286
294
301
308
315
322
330MRC_API void MR_MeshSave_CtmSaveOptions_Set_materialName(MR_MeshSave_CtmSaveOptions *_this, const char *value, const char *value_end);
331
338
345
352
359
366
374
381
388
396
403
410
417
424
428
433
437
441
446
450
456
461
466
469
472
479
487
494
502
510
518
525
532
538
545
552
559
566
574
581
589
600
610
621
628
635
642
649
656
663
670
677
684
692
699
707
714
721
728
735
744
751
758
765
772
779
787
794
801
809
816
823
830
837
841
846
850
854
859
863
869
874
879
882
885
892
900
907
915
923
924#ifdef __cplusplus
925} // extern "C"
926#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)
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
std::vector<T>-like container that requires specific indexing type,
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 const MR_PointsSave_CtmSavePointsOptions * MR_PointsSave_CtmSavePointsOptions_StaticDowncastFrom_MR_SaveSettings(const MR_SaveSettings *object)
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)
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)
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
A C++ output stream.
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
MRC_API MR_MeshSave_CtmSaveOptions * MR_MeshSave_CtmSaveOptions_MutableStaticDowncastFrom_MR_SaveSettings(MR_SaveSettings *object)
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)
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_MeshSave_CtmSaveOptions * MR_MeshSave_CtmSaveOptions_StaticDowncastFrom_MR_SaveSettings(const MR_SaveSettings *object)
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)
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
std::vector<T>-like container that requires specific indexing type,
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 MR_PointsSave_CtmSavePointsOptions * MR_PointsSave_CtmSavePointsOptions_MutableStaticDowncastFrom_MR_SaveSettings(MR_SaveSettings *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
A C++ input stream.
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)
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 include/MRCMisc/exports.h:11
Definition MRAffineXf.h:47
Generated from class MR::Color.
Definition MRColor.h:18