MeshLib C Docs
Loading...
Searching...
No Matches
MRLoadedMeshData.h
Go to the documentation of this file.
1#pragma once
2
4#include <MRCMesh/MRColor.h>
5#include <MRCMisc/common.h>
6#include <MRCMisc/exports.h>
7
8#include <stddef.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14typedef struct MR_FaceBitSet MR_FaceBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
15typedef struct MR_FaceColors MR_FaceColors; // Defined in `#include <MRCMesh/MRVector.h>`.
16typedef struct MR_MeshTexture MR_MeshTexture; // Defined in `#include <MRCMesh/MRMeshTexture.h>`.
17typedef struct MR_ObjectMeshData MR_ObjectMeshData; // Defined in `#include <MRCMesh/MRObjectMeshData.h>`.
18typedef struct MR_TexturePerFace MR_TexturePerFace; // Defined in `#include <MRCMesh/MRVector.h>`.
19typedef struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
20typedef struct MR_VertColors MR_VertColors; // Defined in `#include <MRCMesh/MRVector.h>`.
21typedef struct MR_VertCoords2 MR_VertCoords2; // Defined in `#include <MRCMesh/MRVector.h>`.
22typedef struct MR_std_optional_MR_Color MR_std_optional_MR_Color; // Defined in `#include <MRCMisc/std_optional_MR_Color.h>`.
23typedef struct MR_std_shared_ptr_MR_Mesh MR_std_shared_ptr_MR_Mesh; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Mesh.h>`.
24
25
33
39
45
51
57
63
69
75
82
88
94
99
105
111
116
122
128
134
140
141// selection
147
148// selection
154
155// selection
161
167
173
179
185
191
197
198// colors
204
205// colors
211
212// colors
218
224
230
236
243
250
257
263
269
275
279
284
288
292
297
301
307
312
317
320
323
330
336
341
342#ifdef __cplusplus
343} // extern "C"
344#endif
struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet
Definition MRAABBTreeBase.h:25
struct MR_FaceBitSet MR_FaceBitSet
Definition MRAABBTree.h:17
struct MR_std_shared_ptr_MR_Mesh MR_std_shared_ptr_MR_Mesh
Definition MRChangeMeshAction.h:19
struct MR_TexturePerFace MR_TexturePerFace
Definition MRChangeMeshAction.h:15
struct MR_ObjectMeshData MR_ObjectMeshData
Definition MRChangeMeshDataAction.h:15
struct MR_VertColors MR_VertColors
Definition MRCtm.h:23
struct MR_FaceColors MR_FaceColors
Definition MRCtm.h:16
struct MR_MeshTexture MR_MeshTexture
Definition MRCtm.h:19
struct MR_VertCoords2 MR_VertCoords2
Definition MRCtm.h:24
struct MR_std_optional_MR_Color MR_std_optional_MR_Color
Definition MRCtm.h:30
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 size_t MR_LoadedMeshData_heapBytes(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 void MR_LoadedMeshData_Set_solidColor(MR_LoadedMeshData *_this, const MR_Color *value)
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:32
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_std_optional_MR_Color * MR_LoadedMeshData_GetMutable_solidColor(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 const MR_std_optional_MR_Color * MR_LoadedMeshData_Get_solidColor(const MR_LoadedMeshData *_this)
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 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:13
#define MRC_API
Definition include/MRCMisc/exports.h:11
Definition MRAffineXf.h:39
Generated from class MR::Color.
Definition MRColor.h:18