MeshLib C Docs
Loading...
Searching...
No Matches
MRChangeVoxelsAction.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 <stdbool.h>
8#include <stddef.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14typedef struct MR_HistoryAction MR_HistoryAction; // Defined in `#include <MRCMesh/MRHistoryAction.h>`.
15typedef struct MR_std_shared_ptr_MR_ObjectVoxels MR_std_shared_ptr_MR_ObjectVoxels; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectVoxels.h>`.
16typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
17
18
26
34
35// Undo action for ObjectVoxels active bounds change
42
43// Undo action for ObjectVoxels surface change (need for faster undo redo)
50
51// Undo action for ObjectVoxels all data change (need for faster undo redo)
58
63
67
71
76
80
89MRC_API MR_ChangeIsoAction *MR_ChangeIsoAction_Construct(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectVoxels *obj);
90
93
96
103
108
112
116
119MRC_API MR_uint64_t MR_ChangeIsoAction_heapBytes(const MR_ChangeIsoAction *_this);
120
125
129
133
138
142
152
161MRC_API MR_ChangeDualMarchingCubesAction *MR_ChangeDualMarchingCubesAction_Construct_3(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectVoxels *obj, bool storeDual);
162
165
168
175
180
184
188
192
197
201
205
210
214
223MRC_API MR_ChangeActiveBoxAction *MR_ChangeActiveBoxAction_Construct(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectVoxels *obj);
224
227
230
237
242
246
250
254
259
263
267
272
276
285MRC_API MR_ChangeSurfaceAction *MR_ChangeSurfaceAction_Construct(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectVoxels *obj);
286
289
292
299
304
308
312
316
321
325
329
334
338
347MRC_API MR_ChangeGridAction *MR_ChangeGridAction_Construct(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectVoxels *obj);
348
351
354
361
366
370
374
377MRC_API MR_uint64_t MR_ChangeGridAction_heapBytes(const MR_ChangeGridAction *_this);
378
379#ifdef __cplusplus
380} // extern "C"
381#endif
struct MR_HistoryAction MR_HistoryAction
Definition MRChangeColoringActions.h:14
MRC_API const MR_HistoryAction * MR_ChangeActiveBoxAction_UpcastTo_MR_HistoryAction(const MR_ChangeActiveBoxAction *object)
MRC_API MR_std_string * MR_ChangeIsoAction_name(const MR_ChangeIsoAction *_this)
MRC_API MR_uint64_t MR_ChangeGridAction_heapBytes(const MR_ChangeGridAction *_this)
MRC_API MR_std_string * MR_ChangeSurfaceAction_name(const MR_ChangeSurfaceAction *_this)
MRC_API MR_ChangeGridAction * MR_ChangeGridAction_AssignFromAnother(MR_ChangeGridAction *_this, MR_PassBy _other_pass_by, MR_ChangeGridAction *_other)
MRC_API MR_ChangeDualMarchingCubesAction * MR_ChangeDualMarchingCubesAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeDualMarchingCubesAction *_other)
MRC_API void MR_ChangeIsoAction_Destroy(const MR_ChangeIsoAction *_this)
Destroys a heap-allocated instance of MR_ChangeIsoAction. Does nothing if the pointer is null.
MRC_API MR_ChangeDualMarchingCubesAction * MR_ChangeDualMarchingCubesAction_OffsetMutablePtr(MR_ChangeDualMarchingCubesAction *ptr, ptrdiff_t i)
MRC_API void MR_ChangeActiveBoxAction_Destroy(const MR_ChangeActiveBoxAction *_this)
Destroys a heap-allocated instance of MR_ChangeActiveBoxAction. Does nothing if the pointer is null.
MRC_API void MR_ChangeGridAction_action(MR_ChangeGridAction *_this, MR_HistoryAction_Type obj)
MRC_API MR_ChangeDualMarchingCubesAction * MR_ChangeDualMarchingCubesAction_Construct_3(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectVoxels *obj, bool storeDual)
MRC_API void MR_ChangeIsoAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectVoxels *_1)
MRC_API MR_ChangeSurfaceAction * MR_ChangeSurfaceAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeSurfaceAction *_other)
MRC_API void MR_ChangeSurfaceAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectVoxels *obj)
MRC_API MR_ChangeActiveBoxAction * MR_ChangeActiveBoxAction_OffsetMutablePtr(MR_ChangeActiveBoxAction *ptr, ptrdiff_t i)
MRC_API void MR_ChangeActiveBoxAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectVoxels *_1)
MRC_API MR_ChangeIsoAction * MR_ChangeIsoAction_Construct(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectVoxels *obj)
MRC_API MR_ChangeSurfaceAction * MR_ChangeSurfaceAction_Construct(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectVoxels *obj)
MRC_API MR_HistoryAction * MR_ChangeActiveBoxAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeActiveBoxAction *object)
MRC_API void MR_ChangeActiveBoxAction_action(MR_ChangeActiveBoxAction *_this, MR_HistoryAction_Type _1)
MRC_API MR_ChangeActiveBoxAction * MR_ChangeActiveBoxAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeActiveBoxAction *_other)
MRC_API void MR_ChangeActiveBoxAction_DestroyArray(const MR_ChangeActiveBoxAction *_this)
Destroys a heap-allocated array of MR_ChangeActiveBoxAction. Does nothing if the pointer is null.
MRC_API void MR_ChangeSurfaceAction_DestroyArray(const MR_ChangeSurfaceAction *_this)
Destroys a heap-allocated array of MR_ChangeSurfaceAction. Does nothing if the pointer is null.
MRC_API MR_ChangeDualMarchingCubesAction * MR_ChangeDualMarchingCubesAction_AssignFromAnother(MR_ChangeDualMarchingCubesAction *_this, MR_PassBy _other_pass_by, MR_ChangeDualMarchingCubesAction *_other)
MRC_API void MR_ChangeGridAction_Destroy(const MR_ChangeGridAction *_this)
Destroys a heap-allocated instance of MR_ChangeGridAction. Does nothing if the pointer is null.
MRC_API MR_ChangeSurfaceAction * MR_ChangeSurfaceAction_OffsetMutablePtr(MR_ChangeSurfaceAction *ptr, ptrdiff_t i)
MRC_API MR_ChangeIsoAction * MR_ChangeIsoAction_AssignFromAnother(MR_ChangeIsoAction *_this, MR_PassBy _other_pass_by, MR_ChangeIsoAction *_other)
MRC_API MR_HistoryAction * MR_ChangeDualMarchingCubesAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeDualMarchingCubesAction *object)
MRC_API void MR_ChangeDualMarchingCubesAction_DestroyArray(const MR_ChangeDualMarchingCubesAction *_this)
Destroys a heap-allocated array of MR_ChangeDualMarchingCubesAction. Does nothing if the pointer is n...
MRC_API void MR_ChangeGridAction_DestroyArray(const MR_ChangeGridAction *_this)
Destroys a heap-allocated array of MR_ChangeGridAction. Does nothing if the pointer is null.
MRC_API void MR_ChangeSurfaceAction_action(MR_ChangeSurfaceAction *_this, MR_HistoryAction_Type _1)
MRC_API MR_ChangeDualMarchingCubesAction * MR_ChangeDualMarchingCubesAction_Construct_2(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectVoxels *obj)
MRC_API MR_std_string * MR_ChangeGridAction_name(const MR_ChangeGridAction *_this)
MRC_API const MR_ChangeIsoAction * MR_ChangeIsoAction_OffsetPtr(const MR_ChangeIsoAction *ptr, ptrdiff_t i)
MRC_API MR_ChangeGridAction * MR_ChangeGridAction_OffsetMutablePtr(MR_ChangeGridAction *ptr, ptrdiff_t i)
MRC_API void MR_ChangeIsoAction_DestroyArray(const MR_ChangeIsoAction *_this)
Destroys a heap-allocated array of MR_ChangeIsoAction. Does nothing if the pointer is null.
MRC_API MR_uint64_t MR_ChangeDualMarchingCubesAction_heapBytes(const MR_ChangeDualMarchingCubesAction *_this)
MRC_API MR_uint64_t MR_ChangeActiveBoxAction_heapBytes(const MR_ChangeActiveBoxAction *_this)
MRC_API MR_HistoryAction * MR_ChangeGridAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeGridAction *object)
MRC_API MR_ChangeIsoAction * MR_ChangeIsoAction_OffsetMutablePtr(MR_ChangeIsoAction *ptr, ptrdiff_t i)
MRC_API void MR_ChangeIsoAction_action(MR_ChangeIsoAction *_this, MR_HistoryAction_Type _1)
MRC_API const MR_ChangeGridAction * MR_ChangeGridAction_OffsetPtr(const MR_ChangeGridAction *ptr, ptrdiff_t i)
MRC_API const MR_ChangeActiveBoxAction * MR_ChangeActiveBoxAction_OffsetPtr(const MR_ChangeActiveBoxAction *ptr, ptrdiff_t i)
MRC_API MR_ChangeGridAction * MR_ChangeGridAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeGridAction *_other)
MRC_API void MR_ChangeSurfaceAction_Destroy(const MR_ChangeSurfaceAction *_this)
Destroys a heap-allocated instance of MR_ChangeSurfaceAction. Does nothing if the pointer is null.
MRC_API const MR_HistoryAction * MR_ChangeDualMarchingCubesAction_UpcastTo_MR_HistoryAction(const MR_ChangeDualMarchingCubesAction *object)
MRC_API const MR_ChangeSurfaceAction * MR_ChangeSurfaceAction_OffsetPtr(const MR_ChangeSurfaceAction *ptr, ptrdiff_t i)
MRC_API void MR_ChangeGridAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectVoxels *obj)
MRC_API MR_std_string * MR_ChangeActiveBoxAction_name(const MR_ChangeActiveBoxAction *_this)
MRC_API MR_std_string * MR_ChangeDualMarchingCubesAction_name(const MR_ChangeDualMarchingCubesAction *_this)
MRC_API const MR_ChangeDualMarchingCubesAction * MR_ChangeDualMarchingCubesAction_OffsetPtr(const MR_ChangeDualMarchingCubesAction *ptr, ptrdiff_t i)
MRC_API void MR_ChangeDualMarchingCubesAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectVoxels *_1)
MRC_API MR_uint64_t MR_ChangeSurfaceAction_heapBytes(const MR_ChangeSurfaceAction *_this)
MRC_API const MR_HistoryAction * MR_ChangeSurfaceAction_UpcastTo_MR_HistoryAction(const MR_ChangeSurfaceAction *object)
MRC_API MR_ChangeIsoAction * MR_ChangeIsoAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeIsoAction *_other)
MRC_API MR_ChangeSurfaceAction * MR_ChangeSurfaceAction_AssignFromAnother(MR_ChangeSurfaceAction *_this, MR_PassBy _other_pass_by, MR_ChangeSurfaceAction *_other)
MRC_API const MR_HistoryAction * MR_ChangeIsoAction_UpcastTo_MR_HistoryAction(const MR_ChangeIsoAction *object)
MRC_API void MR_ChangeDualMarchingCubesAction_action(MR_ChangeDualMarchingCubesAction *_this, MR_HistoryAction_Type _1)
MRC_API MR_uint64_t MR_ChangeIsoAction_heapBytes(const MR_ChangeIsoAction *_this)
MRC_API MR_HistoryAction * MR_ChangeSurfaceAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeSurfaceAction *object)
MRC_API MR_ChangeActiveBoxAction * MR_ChangeActiveBoxAction_AssignFromAnother(MR_ChangeActiveBoxAction *_this, MR_PassBy _other_pass_by, MR_ChangeActiveBoxAction *_other)
MRC_API MR_HistoryAction * MR_ChangeIsoAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeIsoAction *object)
MRC_API MR_ChangeActiveBoxAction * MR_ChangeActiveBoxAction_Construct(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectVoxels *obj)
MRC_API MR_ChangeGridAction * MR_ChangeGridAction_Construct(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectVoxels *obj)
MRC_API void MR_ChangeDualMarchingCubesAction_Destroy(const MR_ChangeDualMarchingCubesAction *_this)
Destroys a heap-allocated instance of MR_ChangeDualMarchingCubesAction. Does nothing if the pointer i...
MRC_API const MR_HistoryAction * MR_ChangeGridAction_UpcastTo_MR_HistoryAction(const MR_ChangeGridAction *object)
struct MR_std_string MR_std_string
Definition MRCtm.h:32
MR_HistoryAction_Type
Definition MRHistoryAction.h:65
struct MR_ChangeSurfaceAction MR_ChangeSurfaceAction
Definition MRHistoryAction.h:49
struct MR_ChangeGridAction MR_ChangeGridAction
Definition MRHistoryAction.h:18
struct MR_ChangeIsoAction MR_ChangeIsoAction
Definition MRHistoryAction.h:19
struct MR_ChangeDualMarchingCubesAction MR_ChangeDualMarchingCubesAction
Definition MRHistoryAction.h:16
struct MR_ChangeActiveBoxAction MR_ChangeActiveBoxAction
Definition MRHistoryAction.h:14
struct MR_std_shared_ptr_MR_ObjectVoxels MR_std_shared_ptr_MR_ObjectVoxels
Definition MRLoadedObjects.h:18