MeshLib C Docs
Loading...
Searching...
No Matches
MRPartialChangeMeshAction.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_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
15typedef struct MR_MeshTopology MR_MeshTopology; // Defined in `#include <MRCMesh/MRMeshTopology.h>`.
16typedef struct MR_VertCoords MR_VertCoords; // Defined in `#include <MRCMesh/MRVector.h>`.
17typedef struct MR_std_shared_ptr_MR_Mesh MR_std_shared_ptr_MR_Mesh; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Mesh.h>`.
18typedef struct MR_std_shared_ptr_MR_ObjectMesh MR_std_shared_ptr_MR_ObjectMesh; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectMesh.h>`.
19typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
20
21
24typedef struct MR_CmpOld MR_CmpOld;
25
28typedef struct MR_SetNew MR_SetNew;
29
36
43
50
54
59
61MRC_API const MR_CmpOld *MR_CmpOld_OffsetPtr(const MR_CmpOld *ptr, ptrdiff_t i);
62
65
70
73
76
82
86
91
93MRC_API const MR_SetNew *MR_SetNew_OffsetPtr(const MR_SetNew *ptr, ptrdiff_t i);
94
97
102
105
108
114
118
121
124
128
131
141
152
155
158
163
168
172
176
180
183
186
190
193
203
214
217
220
225
230
234
238
242
245
248
252
255
265
276
279
282
287
292
296
300
301#ifdef __cplusplus
302} // extern "C"
303#endif
struct MR_MeshTopology MR_MeshTopology
Definition MR2DContoursTriangulation.h:16
struct MR_VertCoords MR_VertCoords
Definition MRAABBTreePoints.h:22
struct MR_HistoryAction MR_HistoryAction
Definition MRChangeColoringActions.h:15
struct MR_std_shared_ptr_MR_Mesh MR_std_shared_ptr_MR_Mesh
Definition MRChangeMeshAction.h:19
struct MR_std_shared_ptr_MR_ObjectMesh MR_std_shared_ptr_MR_ObjectMesh
Definition MRChangeMeshAction.h:20
struct MR_Mesh MR_Mesh
Definition MRCtm.h:13
struct MR_std_string MR_std_string
Definition MRE57.h:22
struct MR_PartialChangeMeshAction MR_PartialChangeMeshAction
Definition MRHistoryAction.h:54
int32_t MR_HistoryAction_Type
Definition MRHistoryAction.h:112
struct MR_PartialChangeMeshPointsAction MR_PartialChangeMeshPointsAction
Definition MRHistoryAction.h:55
struct MR_PartialChangeMeshTopologyAction MR_PartialChangeMeshTopologyAction
Definition MRHistoryAction.h:56
MRC_API void MR_PartialChangeMeshTopologyAction_DestroyArray(const MR_PartialChangeMeshTopologyAction *_this)
Destroys a heap-allocated array of MR_PartialChangeMeshTopologyAction. Does nothing if the pointer is...
MRC_API const MR_PartialChangeMeshAction * MR_PartialChangeMeshAction_OffsetPtr(const MR_PartialChangeMeshAction *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 const MR_HistoryAction * MR_PartialChangeMeshPointsAction_UpcastTo_MR_HistoryAction(const MR_PartialChangeMeshPointsAction *object)
MRC_API MR_PartialChangeMeshAction * MR_PartialChangeMeshAction_OffsetMutablePtr(MR_PartialChangeMeshAction *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 void MR_CmpOld_DestroyArray(const MR_CmpOld *_this)
Destroys a heap-allocated array of MR_CmpOld. Does nothing if the pointer is null.
MRC_API MR_PartialChangeMeshTopologyAction * MR_PartialChangeMeshTopologyAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_PartialChangeMeshTopologyAction *_other)
MRC_API MR_CmpOld * MR_CmpOld_OffsetMutablePtr(MR_CmpOld *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_CmpOld * MR_CmpOld_ConstructFromAnother(const MR_CmpOld *_other)
MRC_API const MR_HistoryAction * MR_PartialChangeMeshAction_UpcastTo_MR_HistoryAction(const MR_PartialChangeMeshAction *object)
MRC_API MR_PartialChangeMeshAction * MR_PartialChangeMeshAction_Construct_MR_CmpOld(const char *name, const char *name_end, MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_ObjectMesh *obj, const MR_CmpOld *_3, const MR_Mesh *oldMesh)
MRC_API MR_PartialChangeMeshPointsAction * MR_PartialChangeMeshPointsAction_Construct_MR_SetNew(const char *name, const char *name_end, MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_ObjectMesh *obj, const MR_SetNew *_3, MR_VertCoords *newPoints)
MRC_API MR_uint64_t MR_PartialChangeMeshAction_heapBytes(const MR_PartialChangeMeshAction *_this)
MRC_API void MR_PartialChangeMeshPointsAction_Destroy(const MR_PartialChangeMeshPointsAction *_this)
Destroys a heap-allocated instance of MR_PartialChangeMeshPointsAction. Does nothing if the pointer i...
MRC_API MR_PartialChangeMeshPointsAction * MR_PartialChangeMeshPointsAction_AssignFromAnother(MR_PartialChangeMeshPointsAction *_this, MR_PassBy _other_pass_by, MR_PartialChangeMeshPointsAction *_other)
MRC_API MR_SetNew * MR_SetNew_DefaultConstruct(void)
MRC_API MR_PartialChangeMeshTopologyAction * MR_PartialChangeMeshTopologyAction_AssignFromAnother(MR_PartialChangeMeshTopologyAction *_this, MR_PassBy _other_pass_by, MR_PartialChangeMeshTopologyAction *_other)
MRC_API MR_CmpOld * MR_CmpOld_DefaultConstructArray(size_t num_elems)
MRC_API MR_PartialChangeMeshPointsAction * MR_PartialChangeMeshPointsAction_OffsetMutablePtr(MR_PartialChangeMeshPointsAction *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_HistoryAction * MR_PartialChangeMeshAction_MutableUpcastTo_MR_HistoryAction(MR_PartialChangeMeshAction *object)
Upcasts an instance of MR::PartialChangeMeshAction to its base class MR::HistoryAction.
MRC_API MR_uint64_t MR_PartialChangeMeshTopologyAction_heapBytes(const MR_PartialChangeMeshTopologyAction *_this)
MRC_API MR_PartialChangeMeshAction * MR_PartialChangeMeshAction_Construct_MR_SetNew(const char *name, const char *name_end, MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_ObjectMesh *obj, const MR_SetNew *_3, MR_std_shared_ptr_MR_Mesh *newMesh)
MRC_API const MR_SetNew * MR_SetNew_OffsetPtr(const MR_SetNew *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_PartialChangeMeshTopologyAction * MR_PartialChangeMeshTopologyAction_Construct_MR_CmpOld(const char *name, const char *name_end, MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_ObjectMesh *obj, const MR_CmpOld *_3, const MR_MeshTopology *oldTopology)
MRC_API MR_PartialChangeMeshTopologyAction * MR_PartialChangeMeshTopologyAction_OffsetMutablePtr(MR_PartialChangeMeshTopologyAction *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_PartialChangeMeshAction * MR_PartialChangeMeshAction_AssignFromAnother(MR_PartialChangeMeshAction *_this, MR_PassBy _other_pass_by, MR_PartialChangeMeshAction *_other)
MRC_API void MR_PartialChangeMeshTopologyAction_Destroy(const MR_PartialChangeMeshTopologyAction *_this)
Destroys a heap-allocated instance of MR_PartialChangeMeshTopologyAction. Does nothing if the pointer...
MRC_API void MR_SetNew_DestroyArray(const MR_SetNew *_this)
Destroys a heap-allocated array of MR_SetNew. Does nothing if the pointer is null.
MRC_API MR_SetNew * MR_SetNew_OffsetMutablePtr(MR_SetNew *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_HistoryAction * MR_PartialChangeMeshPointsAction_MutableUpcastTo_MR_HistoryAction(MR_PartialChangeMeshPointsAction *object)
Upcasts an instance of MR::PartialChangeMeshPointsAction to its base class MR::HistoryAction.
MRC_API MR_HistoryAction * MR_PartialChangeMeshTopologyAction_MutableUpcastTo_MR_HistoryAction(MR_PartialChangeMeshTopologyAction *object)
Upcasts an instance of MR::PartialChangeMeshTopologyAction to its base class MR::HistoryAction.
MRC_API MR_PartialChangeMeshAction * MR_PartialChangeMeshAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_PartialChangeMeshAction *_other)
struct MR_SetNew MR_SetNew
Definition MRPartialChangeMeshAction.h:28
MRC_API void MR_PartialChangeMeshTopologyAction_action(MR_PartialChangeMeshTopologyAction *_this, MR_HistoryAction_Type _1)
MRC_API void MR_PartialChangeMeshPointsAction_action(MR_PartialChangeMeshPointsAction *_this, MR_HistoryAction_Type _1)
MRC_API MR_PartialChangeMeshTopologyAction * MR_PartialChangeMeshTopologyAction_Construct_MR_SetNew(const char *name, const char *name_end, MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_ObjectMesh *obj, const MR_SetNew *_3, MR_MeshTopology *newTopology)
MRC_API void MR_SetNew_Destroy(const MR_SetNew *_this)
Destroys a heap-allocated instance of MR_SetNew. Does nothing if the pointer is null.
MRC_API void MR_PartialChangeMeshPointsAction_DestroyArray(const MR_PartialChangeMeshPointsAction *_this)
Destroys a heap-allocated array of MR_PartialChangeMeshPointsAction. Does nothing if the pointer is n...
MRC_API MR_PartialChangeMeshPointsAction * MR_PartialChangeMeshPointsAction_Construct_MR_CmpOld(const char *name, const char *name_end, MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_ObjectMesh *obj, const MR_CmpOld *_3, const MR_VertCoords *oldPoints)
MRC_API MR_SetNew * MR_SetNew_ConstructFromAnother(const MR_SetNew *_other)
MRC_API void MR_PartialChangeMeshAction_action(MR_PartialChangeMeshAction *_this, MR_HistoryAction_Type _1)
MRC_API const MR_HistoryAction * MR_PartialChangeMeshTopologyAction_UpcastTo_MR_HistoryAction(const MR_PartialChangeMeshTopologyAction *object)
MRC_API void MR_CmpOld_Destroy(const MR_CmpOld *_this)
Destroys a heap-allocated instance of MR_CmpOld. Does nothing if the pointer is null.
MRC_API MR_std_string * MR_PartialChangeMeshPointsAction_name(const MR_PartialChangeMeshPointsAction *_this)
MRC_API const MR_PartialChangeMeshPointsAction * MR_PartialChangeMeshPointsAction_OffsetPtr(const MR_PartialChangeMeshPointsAction *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_PartialChangeMeshTopologyAction_name(const MR_PartialChangeMeshTopologyAction *_this)
MRC_API void MR_PartialChangeMeshAction_Destroy(const MR_PartialChangeMeshAction *_this)
Destroys a heap-allocated instance of MR_PartialChangeMeshAction. Does nothing if the pointer is null...
MRC_API const MR_PartialChangeMeshTopologyAction * MR_PartialChangeMeshTopologyAction_OffsetPtr(const MR_PartialChangeMeshTopologyAction *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_PartialChangeMeshPointsAction * MR_PartialChangeMeshPointsAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_PartialChangeMeshPointsAction *_other)
MRC_API MR_CmpOld * MR_CmpOld_AssignFromAnother(MR_CmpOld *_this, const MR_CmpOld *_other)
MRC_API const MR_CmpOld * MR_CmpOld_OffsetPtr(const MR_CmpOld *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_SetNew * MR_SetNew_DefaultConstructArray(size_t num_elems)
MRC_API MR_SetNew * MR_SetNew_AssignFromAnother(MR_SetNew *_this, const MR_SetNew *_other)
MRC_API MR_CmpOld * MR_CmpOld_DefaultConstruct(void)
MRC_API MR_uint64_t MR_PartialChangeMeshPointsAction_heapBytes(const MR_PartialChangeMeshPointsAction *_this)
MRC_API void MR_PartialChangeMeshAction_DestroyArray(const MR_PartialChangeMeshAction *_this)
Destroys a heap-allocated array of MR_PartialChangeMeshAction. Does nothing if the pointer is null.
MRC_API MR_std_string * MR_PartialChangeMeshAction_name(const MR_PartialChangeMeshAction *_this)
struct MR_CmpOld MR_CmpOld
Definition MRPartialChangeMeshAction.h:24
MR_PassBy
Definition common.h:19
uint64_t MR_uint64_t
Definition common.h:14
#define MRC_API
Definition exports.h:11
virtual std::string name() const override