MeshLib C Docs
Loading...
Searching...
No Matches
MRMeshSave.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stdint.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
12typedef struct MR_SaveSettings MR_SaveSettings; // Defined in `#include <MRCMesh/MRSaveSettings.h>`.
13typedef struct MR_expected_void_std_string MR_expected_void_std_string; // Defined in `#include <MRCMisc/expected_void_std_string.h>`.
14typedef struct MR_std_ostream MR_std_ostream; // Defined in `#include <MRCMisc/iostream.h>`.
15typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
16
17
26MRC_API MR_expected_void_std_string *MR_MeshSave_toMrmesh_std_filesystem_path(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings);
27
35
43MRC_API MR_expected_void_std_string *MR_MeshSave_toOff_std_filesystem_path(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings);
44
52
60MRC_API MR_expected_void_std_string *MR_MeshSave_toObj_4_std_filesystem_path(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings, int32_t firstVertId);
61
68
75MRC_API MR_expected_void_std_string *MR_MeshSave_toObj_3_std_filesystem_path(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings);
76
84
93MRC_API MR_expected_void_std_string *MR_MeshSave_toBinaryStl_std_filesystem_path(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings);
94
102
111MRC_API MR_expected_void_std_string *MR_MeshSave_toAsciiStl_std_filesystem_path(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings);
112
120
128MRC_API MR_expected_void_std_string *MR_MeshSave_toPly_std_filesystem_path(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings);
129
137
145MRC_API MR_expected_void_std_string *MR_MeshSave_toAnySupportedFormat_3(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings);
146
156
157#ifdef __cplusplus
158} // extern "C"
159#endif
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:20
struct MR_Mesh MR_Mesh
Definition MRCtm.h:13
struct MR_SaveSettings MR_SaveSettings
Definition MRCtm.h:17
struct MR_std_ostream MR_std_ostream
Definition MRCtm.h:22
struct MR_std_string MR_std_string
Definition MRE57.h:22
MRC_API MR_expected_void_std_string * MR_MeshSave_toOff_std_filesystem_path(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_MeshSave_toMrmesh_std_ostream(const MR_Mesh *mesh, MR_std_ostream *out, const MR_SaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_MeshSave_toBinaryStl_std_filesystem_path(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_MeshSave_toObj_3_std_filesystem_path(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_MeshSave_toMrmesh_std_filesystem_path(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_MeshSave_toPly_std_filesystem_path(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_MeshSave_toObj_4_std_ostream(const MR_Mesh *mesh, MR_std_ostream *out, const MR_SaveSettings *settings, int32_t firstVertId)
MRC_API MR_expected_void_std_string * MR_MeshSave_toAnySupportedFormat_3(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_MeshSave_toPly_std_ostream(const MR_Mesh *mesh, MR_std_ostream *out, const MR_SaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_MeshSave_toAsciiStl_std_filesystem_path(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_MeshSave_toBinaryStl_std_ostream(const MR_Mesh *mesh, MR_std_ostream *out, const MR_SaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_MeshSave_toOff_std_ostream(const MR_Mesh *mesh, MR_std_ostream *out, const MR_SaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_MeshSave_toAsciiStl_std_ostream(const MR_Mesh *mesh, MR_std_ostream *out, const MR_SaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_MeshSave_toObj_4_std_filesystem_path(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings, int32_t firstVertId)
MRC_API MR_expected_void_std_string * MR_MeshSave_toObj_3_std_ostream(const MR_Mesh *mesh, MR_std_ostream *out, const MR_SaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_MeshSave_toAnySupportedFormat_4(const MR_Mesh *mesh, const MR_std_string *extension, MR_std_ostream *out, const MR_SaveSettings *settings)
#define MRC_API
Definition exports.h:11