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
25typedef struct MR_CmpOld MR_CmpOld;
26
30typedef struct MR_SetNew MR_SetNew;
31
39
47
55
59
64
66MRC_API const MR_CmpOld *MR_CmpOld_OffsetPtr(const MR_CmpOld *ptr, ptrdiff_t i);
67
70
75
78
81
87
91
96
98MRC_API const MR_SetNew *MR_SetNew_OffsetPtr(const MR_SetNew *ptr, ptrdiff_t i);
99
102
107
110
113
119
123
126
129
133
136
146
157
160
163
168
173
177
181
185
188
191
195
198
208
219
222
225
230
235
239
243
247
250
253
257
260
270
281
284
287
292
297
301
305
306#ifdef __cplusplus
307} // extern "C"
308#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_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:16
struct MR_std_string MR_std_string
Definition MRCtm.h:32
MR_HistoryAction_Type
Definition MRHistoryAction.h:65
struct MR_PartialChangeMeshAction MR_PartialChangeMeshAction
Definition MRHistoryAction.h:54
struct MR_PartialChangeMeshPointsAction MR_PartialChangeMeshPointsAction
Definition MRHistoryAction.h:56
struct MR_PartialChangeMeshTopologyAction MR_PartialChangeMeshTopologyAction
Definition MRHistoryAction.h:57
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:30
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:25
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