MeshLib C Docs
Loading...
Searching...
No Matches
MRMeshSaveObj.h
Go to the documentation of this file.
1#pragma once
2
4#include <MRCMisc/common.h>
5#include <MRCMisc/exports.h>
6
7#include <stddef.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_VertColors MR_VertColors; // Defined in `#include <MRCMesh/MRVector.h>`.
14typedef struct MR_expected_void_std_string MR_expected_void_std_string; // Defined in `#include <MRCMisc/expected_void_std_string.h>`.
15typedef struct MR_std_ostream MR_std_ostream; // Defined in `#include <MRCMisc/iostream.h>`.
16typedef struct MR_std_shared_ptr_const_MR_Mesh MR_std_shared_ptr_const_MR_Mesh; // Defined in `#include <MRCMisc/std_shared_ptr_const_MR_Mesh.h>`.
17typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
18typedef struct MR_std_vector_MR_MeshSave_NamedXfMesh MR_std_vector_MR_MeshSave_NamedXfMesh; // Defined in `#include <MRCMisc/std_vector_MR_MeshSave_NamedXfMesh.h>`.
19
20
24
29
34MRC_API void MR_MeshSave_NamedXfMesh_Set_name(MR_MeshSave_NamedXfMesh *_this, const char *value, const char *value_end);
35
40
45
49
54
59
63
68
72
77
83
86
89
93
96
99
104
111
118
119#ifdef __cplusplus
120} // extern "C"
121#endif
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:20
struct MR_std_ostream MR_std_ostream
Definition MRCtm.h:22
struct MR_VertColors MR_VertColors
Definition MRE57.h:16
struct MR_std_string MR_std_string
Definition MRE57.h:22
MRC_API MR_std_shared_ptr_const_MR_Mesh * MR_MeshSave_NamedXfMesh_GetMutable_mesh(MR_MeshSave_NamedXfMesh *_this)
MRC_API const MR_std_string * MR_MeshSave_NamedXfMesh_Get_name(const MR_MeshSave_NamedXfMesh *_this)
MRC_API void MR_MeshSave_NamedXfMesh_Set_toWorld(MR_MeshSave_NamedXfMesh *_this, MR_AffineXf3f value)
MRC_API MR_MeshSave_NamedXfMesh * MR_MeshSave_NamedXfMesh_DefaultConstruct(void)
MRC_API MR_MeshSave_NamedXfMesh * MR_MeshSave_NamedXfMesh_ConstructFromAnother(MR_PassBy _other_pass_by, MR_MeshSave_NamedXfMesh *_other)
MRC_API const MR_AffineXf3f * MR_MeshSave_NamedXfMesh_Get_toWorld(const MR_MeshSave_NamedXfMesh *_this)
MRC_API void MR_MeshSave_NamedXfMesh_Set_name(MR_MeshSave_NamedXfMesh *_this, const char *value, const char *value_end)
MRC_API const MR_std_shared_ptr_const_MR_Mesh * MR_MeshSave_NamedXfMesh_Get_mesh(const MR_MeshSave_NamedXfMesh *_this)
MRC_API MR_MeshSave_NamedXfMesh * MR_MeshSave_NamedXfMesh_OffsetMutablePtr(MR_MeshSave_NamedXfMesh *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_std_string * MR_MeshSave_NamedXfMesh_GetMutable_name(MR_MeshSave_NamedXfMesh *_this)
MRC_API void MR_MeshSave_NamedXfMesh_Destroy(const MR_MeshSave_NamedXfMesh *_this)
Destroys a heap-allocated instance of MR_MeshSave_NamedXfMesh. Does nothing if the pointer is null.
MRC_API MR_MeshSave_NamedXfMesh * MR_MeshSave_NamedXfMesh_AssignFromAnother(MR_MeshSave_NamedXfMesh *_this, MR_PassBy _other_pass_by, MR_MeshSave_NamedXfMesh *_other)
MRC_API void MR_MeshSave_NamedXfMesh_Set_mesh(MR_MeshSave_NamedXfMesh *_this, MR_PassBy value_pass_by, MR_std_shared_ptr_const_MR_Mesh *value)
struct MR_std_shared_ptr_const_MR_Mesh MR_std_shared_ptr_const_MR_Mesh
Definition MRMeshSaveObj.h:16
MRC_API MR_AffineXf3f * MR_MeshSave_NamedXfMesh_GetMutable_toWorld(MR_MeshSave_NamedXfMesh *_this)
struct MR_std_vector_MR_MeshSave_NamedXfMesh MR_std_vector_MR_MeshSave_NamedXfMesh
Definition MRMeshSaveObj.h:18
MRC_API MR_expected_void_std_string * MR_MeshSave_sceneToObj_std_ostream(const MR_std_vector_MR_MeshSave_NamedXfMesh *objects, MR_std_ostream *out, MR_VertColors *colors)
MRC_API MR_MeshSave_NamedXfMesh * MR_MeshSave_NamedXfMesh_ConstructFrom(const char *name, const char *name_end, MR_AffineXf3f toWorld, MR_PassBy mesh_pass_by, MR_std_shared_ptr_const_MR_Mesh *mesh)
MRC_API void MR_MeshSave_NamedXfMesh_DestroyArray(const MR_MeshSave_NamedXfMesh *_this)
Destroys a heap-allocated array of MR_MeshSave_NamedXfMesh. Does nothing if the pointer is null.
struct MR_MeshSave_NamedXfMesh MR_MeshSave_NamedXfMesh
Definition MRMeshSaveObj.h:23
MRC_API MR_MeshSave_NamedXfMesh * MR_MeshSave_NamedXfMesh_DefaultConstructArray(size_t num_elems)
MRC_API const MR_MeshSave_NamedXfMesh * MR_MeshSave_NamedXfMesh_OffsetPtr(const MR_MeshSave_NamedXfMesh *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_sceneToObj_std_filesystem_path(const MR_std_vector_MR_MeshSave_NamedXfMesh *objects, const char *file, const char *file_end, MR_VertColors *colors)
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11
virtual std::string name() const override
Definition MRAffineXf.h:36