MeshLib C Docs
Loading...
Searching...
No Matches
MRLoadedMeshData.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_FaceBitSet MR_FaceBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
14typedef struct MR_FaceColors MR_FaceColors; // Defined in `#include <MRCMesh/MRVector.h>`.
15typedef struct MR_MeshTexture MR_MeshTexture; // Defined in `#include <MRCMesh/MRMeshTexture.h>`.
16typedef struct MR_ObjectMeshData MR_ObjectMeshData; // Defined in `#include <MRCMesh/MRObjectMeshData.h>`.
17typedef struct MR_TexturePerFace MR_TexturePerFace; // Defined in `#include <MRCMesh/MRVector.h>`.
18typedef struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
19typedef struct MR_VertColors MR_VertColors; // Defined in `#include <MRCMesh/MRVector.h>`.
20typedef struct MR_VertCoords2 MR_VertCoords2; // Defined in `#include <MRCMesh/MRVector.h>`.
21typedef struct MR_std_shared_ptr_MR_Mesh MR_std_shared_ptr_MR_Mesh; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Mesh.h>`.
22
23
31
37
43
49
55
61
67
73
78
84
90
95
101
107
113
119
120// selection
126
127// selection
133
134// selection
140
146
152
158
164
170
176
177// colors
183
184// colors
190
191// colors
197
203
209
215
222
229
236
242
248
254
258
263
267
271
276
280
286
291
296
299
302
309
315
320
321#ifdef __cplusplus
322} // extern "C"
323#endif
struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet
Definition MRAABBTreeBase.h:24
struct MR_FaceBitSet MR_FaceBitSet
Definition MRAABBTree.h:17
struct MR_FaceColors MR_FaceColors
std::vector<T>-like container that requires specific indexing type,
Definition MRChangeColoringActions.h:13
struct MR_std_shared_ptr_MR_Mesh MR_std_shared_ptr_MR_Mesh
Definition MRChangeMeshAction.h:19
struct MR_TexturePerFace MR_TexturePerFace
std::vector<T>-like container that requires specific indexing type,
Definition MRChangeMeshAction.h:15
struct MR_ObjectMeshData MR_ObjectMeshData
Definition MRChangeMeshDataAction.h:15
struct MR_VertColors MR_VertColors
std::vector<T>-like container that requires specific indexing type,
Definition MRCtm.h:22
struct MR_MeshTexture MR_MeshTexture
Definition MRCtm.h:18
struct MR_VertCoords2 MR_VertCoords2
std::vector<T>-like container that requires specific indexing type,
Definition MRCtm.h:23
MRC_API void MR_LoadedMeshData_Set_texturePerFace(MR_LoadedMeshData *_this, MR_PassBy value_pass_by, MR_TexturePerFace *value)
MRC_API MR_LoadedMeshData * MR_LoadedMeshData_AssignFromAnother(MR_LoadedMeshData *_this, MR_PassBy _other_pass_by, MR_LoadedMeshData *_other)
MRC_API void MR_LoadedMeshData_Destroy(const MR_LoadedMeshData *_this)
Destroys a heap-allocated instance of MR_LoadedMeshData. Does nothing if the pointer is null.
MRC_API const int * MR_LoadedMeshData_Get_skippedFaceCount(const MR_LoadedMeshData *_this)
MRC_API void MR_LoadedMeshData_Set_texture(MR_LoadedMeshData *_this, MR_PassBy value_pass_by, MR_MeshTexture *value)
MRC_API const MR_ObjectMeshData * MR_LoadedMeshData_UpcastTo_MR_ObjectMeshData(const MR_LoadedMeshData *object)
MRC_API const MR_std_shared_ptr_MR_Mesh * MR_LoadedMeshData_Get_mesh(const MR_LoadedMeshData *_this)
MRC_API const MR_MeshTexture * MR_LoadedMeshData_Get_texture(const MR_LoadedMeshData *_this)
MRC_API void MR_LoadedMeshData_Set_creases(MR_LoadedMeshData *_this, MR_PassBy value_pass_by, MR_UndirectedEdgeBitSet *value)
MRC_API const MR_VertColors * MR_LoadedMeshData_Get_vertColors(const MR_LoadedMeshData *_this)
MRC_API const MR_UndirectedEdgeBitSet * MR_LoadedMeshData_Get_creases(const MR_LoadedMeshData *_this)
MRC_API int * MR_LoadedMeshData_GetMutable_duplicatedVertexCount(MR_LoadedMeshData *_this)
MRC_API MR_LoadedMeshData * MR_LoadedMeshData_DefaultConstruct(void)
MRC_API void MR_LoadedMeshData_Set_vertColors(MR_LoadedMeshData *_this, MR_PassBy value_pass_by, MR_VertColors *value)
MRC_API MR_MeshTexture * MR_LoadedMeshData_GetMutable_texture(MR_LoadedMeshData *_this)
MRC_API void MR_LoadedMeshData_Set_uvCoordinates(MR_LoadedMeshData *_this, MR_PassBy value_pass_by, MR_VertCoords2 *value)
MRC_API void MR_LoadedMeshData_Set_mesh(MR_LoadedMeshData *_this, MR_PassBy value_pass_by, MR_std_shared_ptr_MR_Mesh *value)
MRC_API int * MR_LoadedMeshData_GetMutable_skippedFaceCount(MR_LoadedMeshData *_this)
MRC_API MR_ObjectMeshData * MR_LoadedMeshData_MutableUpcastTo_MR_ObjectMeshData(MR_LoadedMeshData *object)
MRC_API const MR_AffineXf3f * MR_LoadedMeshData_Get_xf(const MR_LoadedMeshData *_this)
MRC_API MR_VertColors * MR_LoadedMeshData_GetMutable_vertColors(MR_LoadedMeshData *_this)
MRC_API MR_TexturePerFace * MR_LoadedMeshData_GetMutable_texturePerFace(MR_LoadedMeshData *_this)
struct MR_LoadedMeshData MR_LoadedMeshData
Definition MRLoadedMeshData.h:30
MRC_API MR_VertCoords2 * MR_LoadedMeshData_GetMutable_uvCoordinates(MR_LoadedMeshData *_this)
MRC_API MR_UndirectedEdgeBitSet * MR_LoadedMeshData_GetMutable_creases(MR_LoadedMeshData *_this)
MRC_API MR_LoadedMeshData * MR_LoadedMeshData_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_shared_ptr_MR_Mesh * MR_LoadedMeshData_GetMutable_mesh(MR_LoadedMeshData *_this)
MRC_API void MR_LoadedMeshData_Set_xf(MR_LoadedMeshData *_this, MR_AffineXf3f value)
MRC_API void MR_LoadedMeshData_DestroyArray(const MR_LoadedMeshData *_this)
Destroys a heap-allocated array of MR_LoadedMeshData. Does nothing if the pointer is null.
MRC_API MR_LoadedMeshData * MR_LoadedMeshData_OffsetMutablePtr(MR_LoadedMeshData *ptr, ptrdiff_t i)
MRC_API const MR_FaceBitSet * MR_LoadedMeshData_Get_selectedFaces(const MR_LoadedMeshData *_this)
MRC_API void MR_LoadedMeshData_Set_selectedFaces(MR_LoadedMeshData *_this, MR_PassBy value_pass_by, MR_FaceBitSet *value)
MRC_API MR_AffineXf3f * MR_LoadedMeshData_GetMutable_xf(MR_LoadedMeshData *_this)
MRC_API const MR_UndirectedEdgeBitSet * MR_LoadedMeshData_Get_selectedEdges(const MR_LoadedMeshData *_this)
MRC_API void MR_LoadedMeshData_Set_skippedFaceCount(MR_LoadedMeshData *_this, int value)
MRC_API const MR_VertCoords2 * MR_LoadedMeshData_Get_uvCoordinates(const MR_LoadedMeshData *_this)
MRC_API const MR_FaceColors * MR_LoadedMeshData_Get_faceColors(const MR_LoadedMeshData *_this)
MRC_API MR_ObjectMeshData * MR_LoadedMeshData_clone(const MR_LoadedMeshData *_this)
MRC_API const int * MR_LoadedMeshData_Get_duplicatedVertexCount(const MR_LoadedMeshData *_this)
MRC_API const MR_LoadedMeshData * MR_LoadedMeshData_OffsetPtr(const MR_LoadedMeshData *ptr, ptrdiff_t i)
MRC_API MR_LoadedMeshData * MR_LoadedMeshData_ConstructFromAnother(MR_PassBy _other_pass_by, MR_LoadedMeshData *_other)
MRC_API MR_UndirectedEdgeBitSet * MR_LoadedMeshData_GetMutable_selectedEdges(MR_LoadedMeshData *_this)
MRC_API const MR_LoadedMeshData * MR_LoadedMeshData_StaticDowncastFrom_MR_ObjectMeshData(const MR_ObjectMeshData *object)
MRC_API void MR_LoadedMeshData_Set_duplicatedVertexCount(MR_LoadedMeshData *_this, int value)
MRC_API MR_FaceColors * MR_LoadedMeshData_GetMutable_faceColors(MR_LoadedMeshData *_this)
MRC_API MR_LoadedMeshData * MR_LoadedMeshData_MutableStaticDowncastFrom_MR_ObjectMeshData(MR_ObjectMeshData *object)
MRC_API void MR_LoadedMeshData_Set_faceColors(MR_LoadedMeshData *_this, MR_PassBy value_pass_by, MR_FaceColors *value)
MRC_API MR_uint64_t MR_LoadedMeshData_heapBytes(const MR_LoadedMeshData *_this)
MRC_API const MR_TexturePerFace * MR_LoadedMeshData_Get_texturePerFace(const MR_LoadedMeshData *_this)
MRC_API MR_FaceBitSet * MR_LoadedMeshData_GetMutable_selectedFaces(MR_LoadedMeshData *_this)
MRC_API void MR_LoadedMeshData_Set_selectedEdges(MR_LoadedMeshData *_this, MR_PassBy value_pass_by, MR_UndirectedEdgeBitSet *value)
MR_PassBy
Definition common.h:23
uint64_t MR_uint64_t
Definition common.h:18
#define MRC_API
Definition include/MRCMisc/exports.h:11
Definition MRAffineXf.h:39