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
31
38
45
52
59
66
70
73
76
80
83
91
99
102
105
110
115
119
123
127
131
134
137
141
144
152
163
166
169
174
179
183
187
191
195
198
201
205
208
216
227
230
233
238
243
247
251
255
259
262
265
269
272
280
291
294
297
302
307
311
315
319
324
329
333
336
339
343
346
354
365
368
371
376
381
385
389
393
397
400
403
407
410
418
429
432
435
440
445
449
453
457
458#ifdef __cplusplus
459} // extern "C"
460#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_ObjectMeshHolder MR_std_shared_ptr_MR_ObjectMeshHolder
Definition MRChangeColoringActions.h:18
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:30
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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_ChangeMeshTopologyAction * MR_ChangeMeshTopologyAction_OffsetMutablePtr(MR_ChangeMeshTopologyAction *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_ChangeMeshUVCoordsAction * MR_ChangeMeshUVCoordsAction_OffsetMutablePtr(MR_ChangeMeshUVCoordsAction *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_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:65
struct MR_ChangeMeshPointsAction MR_ChangeMeshPointsAction
Definition MRChangeMeshAction.h:51
MRC_API const MR_ChangeMeshUVCoordsAction * MR_ChangeMeshUVCoordsAction_OffsetPtr(const MR_ChangeMeshUVCoordsAction *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_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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API const MR_ChangeMeshTexturePerFaceAction * MR_ChangeMeshTexturePerFaceAction_OffsetPtr(const MR_ChangeMeshTexturePerFaceAction *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_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:58
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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
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:37
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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_ChangeMeshAction * MR_ChangeMeshAction_OffsetMutablePtr(MR_ChangeMeshAction *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_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)
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_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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
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)
struct MR_VertCoords2 MR_VertCoords2
Definition MRChangeMeshAction.h:18
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:44
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 MRE57.h:22
int32_t MR_HistoryAction_Type
Definition MRHistoryAction.h:112
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