MeshLib C Docs
Loading...
Searching...
No Matches
MRChangeColoringActions.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_FaceColors MR_FaceColors; // Defined in `#include <MRCMesh/MRVector.h>`.
14typedef struct MR_HistoryAction MR_HistoryAction; // Defined in `#include <MRCMesh/MRHistoryAction.h>`.
15typedef struct MR_UndirectedEdgeColors MR_UndirectedEdgeColors; // Defined in `#include <MRCMesh/MRVector.h>`.
16typedef struct MR_std_shared_ptr_MR_ObjectLinesHolder MR_std_shared_ptr_MR_ObjectLinesHolder; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectLinesHolder.h>`.
17typedef struct MR_std_shared_ptr_MR_ObjectMeshHolder MR_std_shared_ptr_MR_ObjectMeshHolder; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectMeshHolder.h>`.
18typedef struct MR_std_shared_ptr_MR_VisualObject MR_std_shared_ptr_MR_VisualObject; // Defined in `#include <MRCMisc/std_shared_ptr_MR_VisualObject.h>`.
19typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
20
21
28
37
45
53
58
62
66
71
75
81
86
92
97
105
112
123
126
129
136
141
145
149
153
158
162
166
171
175
181
186
192
197
205
212
222
236
239
242
249
254
258
262
266
271
275
279
284
288
294
299
305
310
318
325
335
349
352
355
362
367
371
375
379
380#ifdef __cplusplus
381} // extern "C"
382#endif
MRC_API MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_Construct_2(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectMeshHolder *obj)
MRC_API void MR_ChangeLinesColorMapAction_Destroy(const MR_ChangeLinesColorMapAction *_this)
Destroys a heap-allocated instance of MR_ChangeLinesColorMapAction. Does nothing if the pointer is nu...
MRC_API MR_uint64_t MR_ChangeLinesColorMapAction_heapBytes(const MR_ChangeLinesColorMapAction *_this)
MRC_API MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeFacesColorMapAction *_other)
MRC_API MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_MutableStaticDowncastFrom_MR_HistoryAction(MR_HistoryAction *object)
MRC_API MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_Construct_3(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectLinesHolder *obj, MR_UndirectedEdgeColors *newColorMap)
MRC_API MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_MutableDynamicDowncastFrom_MR_HistoryAction(MR_HistoryAction *object)
MRC_API MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_MutableDynamicDowncastFrom_MR_HistoryAction(MR_HistoryAction *object)
MRC_API MR_HistoryAction * MR_ChangeLinesColorMapAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeLinesColorMapAction *object)
MRC_API MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_Construct_2(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectLinesHolder *obj)
MRC_API MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeObjectColorAction *_other)
struct MR_HistoryAction MR_HistoryAction
Definition MRChangeColoringActions.h:14
MRC_API const MR_HistoryAction * MR_ChangeLinesColorMapAction_UpcastTo_MR_HistoryAction(const MR_ChangeLinesColorMapAction *object)
MRC_API const MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_DynamicDowncastFrom_MR_HistoryAction(const MR_HistoryAction *object)
MRC_API const MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_DynamicDowncastFrom_MR_HistoryAction(const MR_HistoryAction *object)
MRC_API MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_Construct_3(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectMeshHolder *obj, MR_FaceColors *newColorMap)
MRC_API MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_AssignFromAnother(MR_ChangeFacesColorMapAction *_this, MR_PassBy _other_pass_by, MR_ChangeFacesColorMapAction *_other)
MRC_API const MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_DynamicDowncastFrom_MR_HistoryAction(const MR_HistoryAction *object)
MRC_API MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_MutableStaticDowncastFrom_MR_HistoryAction(MR_HistoryAction *object)
MRC_API MR_std_string * MR_ChangeLinesColorMapAction_name(const MR_ChangeLinesColorMapAction *_this)
MRC_API MR_HistoryAction * MR_ChangeObjectColorAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeObjectColorAction *object)
MRC_API const MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_StaticDowncastFrom_MR_HistoryAction(const MR_HistoryAction *object)
MRC_API const MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_DynamicDowncastFromOrFail_MR_HistoryAction(const MR_HistoryAction *object)
MRC_API const MR_HistoryAction * MR_ChangeObjectColorAction_UpcastTo_MR_HistoryAction(const MR_ChangeObjectColorAction *object)
MRC_API void MR_ChangeObjectColorAction_setObjectDirty(const MR_std_shared_ptr_MR_VisualObject *_1)
struct MR_ChangeLinesColorMapAction MR_ChangeLinesColorMapAction
Definition MRChangeColoringActions.h:52
MRC_API void MR_ChangeFacesColorMapAction_DestroyArray(const MR_ChangeFacesColorMapAction *_this)
Destroys a heap-allocated array of MR_ChangeFacesColorMapAction. Does nothing if the pointer is null.
struct MR_UndirectedEdgeColors MR_UndirectedEdgeColors
std::vector<T>-like container that requires specific indexing type,
Definition MRChangeColoringActions.h:15
MRC_API void MR_ChangeObjectColorAction_DestroyArray(const MR_ChangeObjectColorAction *_this)
Destroys a heap-allocated array of MR_ChangeObjectColorAction. Does nothing if the pointer is null.
MRC_API const MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_OffsetPtr(const MR_ChangeLinesColorMapAction *ptr, ptrdiff_t i)
MRC_API MR_std_string * MR_ChangeObjectColorAction_name(const MR_ChangeObjectColorAction *_this)
MRC_API MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_MutableDynamicDowncastFromOrFail_MR_HistoryAction(MR_HistoryAction *object)
MRC_API void MR_ChangeFacesColorMapAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectMeshHolder *obj)
MRC_API MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_Construct(const char *name, const char *name_end, const MR_std_shared_ptr_MR_VisualObject *obj, MR_ChangeObjectColorAction_Type type)
MRC_API MR_std_string * MR_ChangeFacesColorMapAction_name(const MR_ChangeFacesColorMapAction *_this)
MRC_API MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_OffsetMutablePtr(MR_ChangeLinesColorMapAction *ptr, ptrdiff_t i)
MRC_API MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_AssignFromAnother(MR_ChangeLinesColorMapAction *_this, MR_PassBy _other_pass_by, MR_ChangeLinesColorMapAction *_other)
MRC_API MR_HistoryAction * MR_ChangeFacesColorMapAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeFacesColorMapAction *object)
struct MR_FaceColors MR_FaceColors
std::vector<T>-like container that requires specific indexing type,
Definition MRChangeColoringActions.h:13
MRC_API const MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_OffsetPtr(const MR_ChangeFacesColorMapAction *ptr, ptrdiff_t i)
MRC_API MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeLinesColorMapAction *_other)
MR_ChangeObjectColorAction_Type
Definition MRChangeColoringActions.h:23
@ MR_ChangeObjectColorAction_Type_Selected
Definition MRChangeColoringActions.h:25
@ MR_ChangeObjectColorAction_Type_Back
Definition MRChangeColoringActions.h:26
@ MR_ChangeObjectColorAction_Type_Unselected
Definition MRChangeColoringActions.h:24
MRC_API MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_AssignFromAnother(MR_ChangeObjectColorAction *_this, MR_PassBy _other_pass_by, MR_ChangeObjectColorAction *_other)
struct MR_std_shared_ptr_MR_VisualObject MR_std_shared_ptr_MR_VisualObject
Definition MRChangeColoringActions.h:18
struct MR_ChangeFacesColorMapAction MR_ChangeFacesColorMapAction
Definition MRChangeColoringActions.h:44
MRC_API void MR_ChangeLinesColorMapAction_action(MR_ChangeLinesColorMapAction *_this, MR_HistoryAction_Type _1)
MRC_API const MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_StaticDowncastFrom_MR_HistoryAction(const MR_HistoryAction *object)
MRC_API MR_uint64_t MR_ChangeFacesColorMapAction_heapBytes(const MR_ChangeFacesColorMapAction *_this)
MRC_API MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_MutableDynamicDowncastFromOrFail_MR_HistoryAction(MR_HistoryAction *object)
MRC_API MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_MutableStaticDowncastFrom_MR_HistoryAction(MR_HistoryAction *object)
MRC_API void MR_ChangeFacesColorMapAction_action(MR_ChangeFacesColorMapAction *_this, MR_HistoryAction_Type _1)
MRC_API MR_uint64_t MR_ChangeObjectColorAction_heapBytes(const MR_ChangeObjectColorAction *_this)
MRC_API const MR_HistoryAction * MR_ChangeFacesColorMapAction_UpcastTo_MR_HistoryAction(const MR_ChangeFacesColorMapAction *object)
MRC_API void MR_ChangeFacesColorMapAction_Destroy(const MR_ChangeFacesColorMapAction *_this)
Destroys a heap-allocated instance of MR_ChangeFacesColorMapAction. Does nothing if the pointer is nu...
MRC_API const MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_DynamicDowncastFromOrFail_MR_HistoryAction(const MR_HistoryAction *object)
struct MR_std_shared_ptr_MR_ObjectMeshHolder MR_std_shared_ptr_MR_ObjectMeshHolder
Definition MRChangeColoringActions.h:17
struct MR_ChangeObjectColorAction MR_ChangeObjectColorAction
Definition MRChangeColoringActions.h:36
MRC_API void MR_ChangeLinesColorMapAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectLinesHolder *obj)
MRC_API MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_OffsetMutablePtr(MR_ChangeObjectColorAction *ptr, ptrdiff_t i)
MRC_API const MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_StaticDowncastFrom_MR_HistoryAction(const MR_HistoryAction *object)
MRC_API void MR_ChangeObjectColorAction_Destroy(const MR_ChangeObjectColorAction *_this)
Destroys a heap-allocated instance of MR_ChangeObjectColorAction. Does nothing if the pointer is null...
struct MR_std_shared_ptr_MR_ObjectLinesHolder MR_std_shared_ptr_MR_ObjectLinesHolder
Definition MRChangeColoringActions.h:16
MRC_API MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_OffsetMutablePtr(MR_ChangeFacesColorMapAction *ptr, ptrdiff_t i)
MRC_API const MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_DynamicDowncastFromOrFail_MR_HistoryAction(const MR_HistoryAction *object)
MRC_API MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_MutableDynamicDowncastFromOrFail_MR_HistoryAction(MR_HistoryAction *object)
MRC_API void MR_ChangeObjectColorAction_action(MR_ChangeObjectColorAction *_this, MR_HistoryAction_Type _1)
MRC_API void MR_ChangeLinesColorMapAction_DestroyArray(const MR_ChangeLinesColorMapAction *_this)
Destroys a heap-allocated array of MR_ChangeLinesColorMapAction. Does nothing if the pointer is null.
MRC_API MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_MutableDynamicDowncastFrom_MR_HistoryAction(MR_HistoryAction *object)
MRC_API const MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_OffsetPtr(const MR_ChangeObjectColorAction *ptr, ptrdiff_t i)
struct MR_std_string MR_std_string
Definition MRCtm.h:32
MR_HistoryAction_Type
Definition MRHistoryAction.h:20
MR_PassBy
Definition common.h:23
uint64_t MR_uint64_t
Definition common.h:18
#define MRC_API
Definition include/MRCMisc/exports.h:11