MeshLib C Docs
Loading...
Searching...
No Matches
MRChangeMeshAction.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_HistoryAction MR_HistoryAction; // Defined in `#include <MRCMesh/MRHistoryAction.h>`.
14typedef struct MR_MeshTopology MR_MeshTopology; // Defined in `#include <MRCMesh/MRMeshTopology.h>`.
15typedef struct MR_TexturePerFace MR_TexturePerFace; // Defined in `#include <MRCMesh/MRVector.h>`.
16typedef struct MR_Vector_MR_MeshTexture_MR_TextureId MR_Vector_MR_MeshTexture_MR_TextureId; // Defined in `#include <MRCMesh/MRVector.h>`.
17typedef struct MR_VertCoords MR_VertCoords; // Defined in `#include <MRCMesh/MRVector.h>`.
18typedef struct MR_VertCoords2 MR_VertCoords2; // Defined in `#include <MRCMesh/MRVector.h>`.
19typedef struct MR_std_shared_ptr_MR_Mesh MR_std_shared_ptr_MR_Mesh; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Mesh.h>`.
20typedef struct MR_std_shared_ptr_MR_ObjectMesh MR_std_shared_ptr_MR_ObjectMesh; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectMesh.h>`.
21typedef struct MR_std_shared_ptr_MR_ObjectMeshHolder MR_std_shared_ptr_MR_ObjectMeshHolder; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectMeshHolder.h>`.
22typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
23
24
32
40
48
56
64
72
77
81
85
89
92
102
113
116
119
126
131
135
139
143
148
152
156
160
163
173
187
190
193
200
205
209
213
217
222
226
230
234
237
247
261
264
267
274
279
283
287
291
296
300
304
308
311
321
335
338
341
348
353
357
361
365
370
375
380
384
388
392
395
405
419
422
425
432
437
441
445
449
454
458
462
466
469
479
493
496
499
506
511
515
519
523
524#ifdef __cplusplus
525} // extern "C"
526#endif
struct MR_MeshTopology MR_MeshTopology
Definition MR2DContoursTriangulation.h:15
struct MR_VertCoords MR_VertCoords
Definition MRAABBTreePoints.h:21
struct MR_HistoryAction MR_HistoryAction
Definition MRChangeColoringActions.h:14
struct MR_std_shared_ptr_MR_ObjectMeshHolder MR_std_shared_ptr_MR_ObjectMeshHolder
Definition MRChangeColoringActions.h:17
MRC_API void MR_ChangeMeshTexturePerFaceAction_action(MR_ChangeMeshTexturePerFaceAction *_this, MR_HistoryAction_Type _1)
MRC_API void MR_ChangeMeshPointsAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectMesh *obj)
struct MR_ChangeMeshAction MR_ChangeMeshAction
Definition MRChangeMeshAction.h:31
MRC_API MR_ChangeTextureAction * MR_ChangeTextureAction_Construct_2(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectMeshHolder *obj)
MRC_API void MR_ChangeMeshUVCoordsAction_action(MR_ChangeMeshUVCoordsAction *_this, MR_HistoryAction_Type _1)
struct MR_std_shared_ptr_MR_Mesh MR_std_shared_ptr_MR_Mesh
Definition MRChangeMeshAction.h:19
MRC_API MR_ChangeMeshTexturePerFaceAction * MR_ChangeMeshTexturePerFaceAction_OffsetMutablePtr(MR_ChangeMeshTexturePerFaceAction *ptr, ptrdiff_t i)
MRC_API MR_ChangeMeshTopologyAction * MR_ChangeMeshTopologyAction_OffsetMutablePtr(MR_ChangeMeshTopologyAction *ptr, ptrdiff_t i)
MRC_API MR_ChangeMeshUVCoordsAction * MR_ChangeMeshUVCoordsAction_OffsetMutablePtr(MR_ChangeMeshUVCoordsAction *ptr, ptrdiff_t i)
MRC_API void MR_ChangeTextureAction_DestroyArray(const MR_ChangeTextureAction *_this)
Destroys a heap-allocated array of MR_ChangeTextureAction. Does nothing if the pointer is null.
MRC_API MR_ChangeMeshTopologyAction * MR_ChangeMeshTopologyAction_Construct_3(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectMesh *obj, MR_MeshTopology *newTopology)
MRC_API void MR_ChangeMeshTopologyAction_Destroy(const MR_ChangeMeshTopologyAction *_this)
Destroys a heap-allocated instance of MR_ChangeMeshTopologyAction. Does nothing if the pointer is nul...
MRC_API void MR_ChangeMeshAction_action(MR_ChangeMeshAction *_this, MR_HistoryAction_Type _1)
struct MR_TexturePerFace MR_TexturePerFace
Definition MRChangeMeshAction.h:15
MRC_API MR_uint64_t MR_ChangeMeshAction_heapBytes(const MR_ChangeMeshAction *_this)
MRC_API MR_ChangeMeshTopologyAction * MR_ChangeMeshTopologyAction_AssignFromAnother(MR_ChangeMeshTopologyAction *_this, MR_PassBy _other_pass_by, MR_ChangeMeshTopologyAction *_other)
MRC_API void MR_ChangeMeshUVCoordsAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectMeshHolder *obj)
struct MR_ChangeMeshTexturePerFaceAction MR_ChangeMeshTexturePerFaceAction
Definition MRChangeMeshAction.h:71
struct MR_ChangeMeshPointsAction MR_ChangeMeshPointsAction
Definition MRChangeMeshAction.h:55
MRC_API const MR_ChangeMeshUVCoordsAction * MR_ChangeMeshUVCoordsAction_OffsetPtr(const MR_ChangeMeshUVCoordsAction *ptr, ptrdiff_t i)
MRC_API MR_uint64_t MR_ChangeMeshUVCoordsAction_heapBytes(const MR_ChangeMeshUVCoordsAction *_this)
MRC_API void MR_ChangeMeshTopologyAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectMesh *obj)
MRC_API const MR_ChangeTextureAction * MR_ChangeTextureAction_OffsetPtr(const MR_ChangeTextureAction *ptr, ptrdiff_t i)
MRC_API const MR_ChangeMeshTexturePerFaceAction * MR_ChangeMeshTexturePerFaceAction_OffsetPtr(const MR_ChangeMeshTexturePerFaceAction *ptr, ptrdiff_t i)
MRC_API MR_ChangeMeshTexturePerFaceAction * MR_ChangeMeshTexturePerFaceAction_Construct_2(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectMeshHolder *obj)
MRC_API MR_ChangeTextureAction * MR_ChangeTextureAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeTextureAction *_other)
MRC_API MR_ChangeTextureAction * MR_ChangeTextureAction_Construct_3(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectMeshHolder *obj, MR_Vector_MR_MeshTexture_MR_TextureId *newTextures)
MRC_API void MR_ChangeMeshTopologyAction_action(MR_ChangeMeshTopologyAction *_this, MR_HistoryAction_Type _1)
MRC_API MR_ChangeMeshAction * MR_ChangeMeshAction_Construct_2(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectMesh *obj)
MRC_API MR_std_string * MR_ChangeMeshPointsAction_name(const MR_ChangeMeshPointsAction *_this)
MRC_API MR_uint64_t MR_ChangeMeshTopologyAction_heapBytes(const MR_ChangeMeshTopologyAction *_this)
MRC_API void MR_ChangeMeshTopologyAction_DestroyArray(const MR_ChangeMeshTopologyAction *_this)
Destroys a heap-allocated array of MR_ChangeMeshTopologyAction. Does nothing if the pointer is null.
MRC_API void MR_ChangeTextureAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectMeshHolder *obj)
MRC_API MR_ChangeMeshTexturePerFaceAction * MR_ChangeMeshTexturePerFaceAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeMeshTexturePerFaceAction *_other)
MRC_API MR_ChangeMeshPointsAction * MR_ChangeMeshPointsAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeMeshPointsAction *_other)
MRC_API void MR_ChangeMeshTexturePerFaceAction_DestroyArray(const MR_ChangeMeshTexturePerFaceAction *_this)
Destroys a heap-allocated array of MR_ChangeMeshTexturePerFaceAction. Does nothing if the pointer is ...
MRC_API MR_HistoryAction * MR_ChangeMeshTopologyAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeMeshTopologyAction *object)
Upcasts an instance of MR::ChangeMeshTopologyAction to its base class MR::HistoryAction.
MRC_API const MR_HistoryAction * MR_ChangeMeshUVCoordsAction_UpcastTo_MR_HistoryAction(const MR_ChangeMeshUVCoordsAction *object)
MRC_API void MR_ChangeMeshTexturePerFaceAction_Destroy(const MR_ChangeMeshTexturePerFaceAction *_this)
Destroys a heap-allocated instance of MR_ChangeMeshTexturePerFaceAction. Does nothing if the pointer ...
struct MR_ChangeMeshTopologyAction MR_ChangeMeshTopologyAction
Definition MRChangeMeshAction.h:63
MRC_API MR_ChangeMeshAction * MR_ChangeMeshAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeMeshAction *_other)
MRC_API const MR_HistoryAction * MR_ChangeTextureAction_UpcastTo_MR_HistoryAction(const MR_ChangeTextureAction *object)
MRC_API MR_ChangeMeshUVCoordsAction * MR_ChangeMeshUVCoordsAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeMeshUVCoordsAction *_other)
MRC_API MR_ChangeTextureAction * MR_ChangeTextureAction_OffsetMutablePtr(MR_ChangeTextureAction *ptr, ptrdiff_t i)
MRC_API MR_ChangeMeshUVCoordsAction * MR_ChangeMeshUVCoordsAction_AssignFromAnother(MR_ChangeMeshUVCoordsAction *_this, MR_PassBy _other_pass_by, MR_ChangeMeshUVCoordsAction *_other)
MRC_API void MR_ChangeMeshPointsAction_Destroy(const MR_ChangeMeshPointsAction *_this)
Destroys a heap-allocated instance of MR_ChangeMeshPointsAction. Does nothing if the pointer is null.
MRC_API MR_ChangeMeshPointsAction * MR_ChangeMeshPointsAction_Construct_2(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectMesh *obj)
struct MR_ChangeMeshUVCoordsAction MR_ChangeMeshUVCoordsAction
Definition MRChangeMeshAction.h:39
MRC_API MR_uint64_t MR_ChangeTextureAction_heapBytes(const MR_ChangeTextureAction *_this)
MRC_API const MR_HistoryAction * MR_ChangeMeshTopologyAction_UpcastTo_MR_HistoryAction(const MR_ChangeMeshTopologyAction *object)
MRC_API void MR_ChangeMeshAction_DestroyArray(const MR_ChangeMeshAction *_this)
Destroys a heap-allocated array of MR_ChangeMeshAction. Does nothing if the pointer is null.
MRC_API MR_ChangeMeshAction * MR_ChangeMeshAction_AssignFromAnother(MR_ChangeMeshAction *_this, MR_PassBy _other_pass_by, MR_ChangeMeshAction *_other)
MRC_API MR_ChangeMeshTopologyAction * MR_ChangeMeshTopologyAction_Construct_2(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectMesh *obj)
MRC_API MR_std_string * MR_ChangeMeshTexturePerFaceAction_name(const MR_ChangeMeshTexturePerFaceAction *_this)
struct MR_Vector_MR_MeshTexture_MR_TextureId MR_Vector_MR_MeshTexture_MR_TextureId
Definition MRChangeMeshAction.h:16
MRC_API const MR_HistoryAction * MR_ChangeMeshPointsAction_UpcastTo_MR_HistoryAction(const MR_ChangeMeshPointsAction *object)
MRC_API MR_HistoryAction * MR_ChangeTextureAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeTextureAction *object)
Upcasts an instance of MR::ChangeTextureAction to its base class MR::HistoryAction.
MRC_API MR_HistoryAction * MR_ChangeMeshPointsAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeMeshPointsAction *object)
Upcasts an instance of MR::ChangeMeshPointsAction to its base class MR::HistoryAction.
MRC_API void MR_ChangeMeshPointsAction_DestroyArray(const MR_ChangeMeshPointsAction *_this)
Destroys a heap-allocated array of MR_ChangeMeshPointsAction. Does nothing if the pointer is null.
struct MR_std_shared_ptr_MR_ObjectMesh MR_std_shared_ptr_MR_ObjectMesh
Definition MRChangeMeshAction.h:20
MRC_API const MR_ChangeMeshTopologyAction * MR_ChangeMeshTopologyAction_OffsetPtr(const MR_ChangeMeshTopologyAction *ptr, ptrdiff_t i)
MRC_API const MR_VertCoords * MR_ChangeMeshPointsAction_clonePoints(const MR_ChangeMeshPointsAction *_this)
MRC_API void MR_ChangeMeshAction_Destroy(const MR_ChangeMeshAction *_this)
Destroys a heap-allocated instance of MR_ChangeMeshAction. Does nothing if the pointer is null.
MRC_API MR_ChangeMeshTexturePerFaceAction * MR_ChangeMeshTexturePerFaceAction_AssignFromAnother(MR_ChangeMeshTexturePerFaceAction *_this, MR_PassBy _other_pass_by, MR_ChangeMeshTexturePerFaceAction *_other)
MRC_API void MR_ChangeMeshUVCoordsAction_Destroy(const MR_ChangeMeshUVCoordsAction *_this)
Destroys a heap-allocated instance of MR_ChangeMeshUVCoordsAction. Does nothing if the pointer is nul...
MRC_API void MR_ChangeMeshAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectMesh *obj)
MRC_API MR_ChangeMeshTopologyAction * MR_ChangeMeshTopologyAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeMeshTopologyAction *_other)
MRC_API const MR_ChangeMeshPointsAction * MR_ChangeMeshPointsAction_OffsetPtr(const MR_ChangeMeshPointsAction *ptr, ptrdiff_t i)
MRC_API MR_ChangeMeshAction * MR_ChangeMeshAction_OffsetMutablePtr(MR_ChangeMeshAction *ptr, ptrdiff_t i)
MRC_API void MR_ChangeTextureAction_Destroy(const MR_ChangeTextureAction *_this)
Destroys a heap-allocated instance of MR_ChangeTextureAction. Does nothing if the pointer is null.
MRC_API void MR_ChangeTextureAction_action(MR_ChangeTextureAction *_this, MR_HistoryAction_Type _1)
MRC_API const MR_ChangeMeshAction * MR_ChangeMeshAction_OffsetPtr(const MR_ChangeMeshAction *ptr, ptrdiff_t i)
MRC_API MR_HistoryAction * MR_ChangeMeshTexturePerFaceAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeMeshTexturePerFaceAction *object)
Upcasts an instance of MR::ChangeMeshTexturePerFaceAction to its base class MR::HistoryAction.
MRC_API MR_ChangeTextureAction * MR_ChangeTextureAction_AssignFromAnother(MR_ChangeTextureAction *_this, MR_PassBy _other_pass_by, MR_ChangeTextureAction *_other)
MRC_API void MR_ChangeMeshPointsAction_action(MR_ChangeMeshPointsAction *_this, MR_HistoryAction_Type _1)
MRC_API MR_ChangeMeshPointsAction * MR_ChangeMeshPointsAction_OffsetMutablePtr(MR_ChangeMeshPointsAction *ptr, ptrdiff_t i)
MRC_API MR_ChangeMeshPointsAction * MR_ChangeMeshPointsAction_AssignFromAnother(MR_ChangeMeshPointsAction *_this, MR_PassBy _other_pass_by, MR_ChangeMeshPointsAction *_other)
MRC_API const MR_std_shared_ptr_MR_ObjectMesh * MR_ChangeMeshPointsAction_obj(const MR_ChangeMeshPointsAction *_this)
MRC_API MR_std_string * MR_ChangeMeshUVCoordsAction_name(const MR_ChangeMeshUVCoordsAction *_this)
MRC_API void MR_ChangeMeshTexturePerFaceAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectMeshHolder *obj)
struct MR_ChangeTextureAction MR_ChangeTextureAction
Definition MRChangeMeshAction.h:47
MRC_API MR_ChangeMeshPointsAction * MR_ChangeMeshPointsAction_Construct_3(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectMesh *obj, MR_VertCoords *newCoords)
MRC_API MR_uint64_t MR_ChangeMeshPointsAction_heapBytes(const MR_ChangeMeshPointsAction *_this)
MRC_API void MR_ChangeMeshUVCoordsAction_DestroyArray(const MR_ChangeMeshUVCoordsAction *_this)
Destroys a heap-allocated array of MR_ChangeMeshUVCoordsAction. Does nothing if the pointer is null.
MRC_API const MR_HistoryAction * MR_ChangeMeshTexturePerFaceAction_UpcastTo_MR_HistoryAction(const MR_ChangeMeshTexturePerFaceAction *object)
MRC_API MR_ChangeMeshUVCoordsAction * MR_ChangeMeshUVCoordsAction_Construct_3(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectMeshHolder *obj, MR_VertCoords2 *newUvCoords)
MRC_API MR_HistoryAction * MR_ChangeMeshAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeMeshAction *object)
Upcasts an instance of MR::ChangeMeshAction to its base class MR::HistoryAction.
MRC_API MR_std_string * MR_ChangeMeshTopologyAction_name(const MR_ChangeMeshTopologyAction *_this)
MRC_API MR_ChangeMeshTexturePerFaceAction * MR_ChangeMeshTexturePerFaceAction_Construct_3(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectMeshHolder *obj, MR_TexturePerFace *newTexturePerFace)
MRC_API MR_ChangeMeshAction * MR_ChangeMeshAction_Construct_3(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectMesh *obj, MR_PassBy newMesh_pass_by, MR_std_shared_ptr_MR_Mesh *newMesh)
MRC_API MR_std_string * MR_ChangeMeshAction_name(const MR_ChangeMeshAction *_this)
MRC_API MR_std_string * MR_ChangeTextureAction_name(const MR_ChangeTextureAction *_this)
MRC_API MR_HistoryAction * MR_ChangeMeshUVCoordsAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeMeshUVCoordsAction *object)
Upcasts an instance of MR::ChangeMeshUVCoordsAction to its base class MR::HistoryAction.
MRC_API MR_uint64_t MR_ChangeMeshTexturePerFaceAction_heapBytes(const MR_ChangeMeshTexturePerFaceAction *_this)
MRC_API const MR_HistoryAction * MR_ChangeMeshAction_UpcastTo_MR_HistoryAction(const MR_ChangeMeshAction *object)
MRC_API MR_ChangeMeshUVCoordsAction * MR_ChangeMeshUVCoordsAction_Construct_2(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectMeshHolder *obj)
struct MR_std_string MR_std_string
Definition MRCtm.h:32
struct MR_VertCoords2 MR_VertCoords2
Definition MRCtm.h:23
MR_HistoryAction_Type
Definition MRHistoryAction.h:65
MR_PassBy
Definition common.h:23
uint64_t MR_uint64_t
Definition common.h:18
#define MRC_API
Definition exports.h:11
virtual std::string name() const override