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#include <stdint.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14typedef struct MR_FaceColors MR_FaceColors; // Defined in `#include <MRCMesh/MRVector.h>`.
15typedef struct MR_HistoryAction MR_HistoryAction; // Defined in `#include <MRCMesh/MRHistoryAction.h>`.
16typedef struct MR_UndirectedEdgeColors MR_UndirectedEdgeColors; // Defined in `#include <MRCMesh/MRVector.h>`.
17typedef struct MR_std_shared_ptr_MR_ObjectLinesHolder MR_std_shared_ptr_MR_ObjectLinesHolder; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectLinesHolder.h>`.
18typedef struct MR_std_shared_ptr_MR_ObjectMeshHolder MR_std_shared_ptr_MR_ObjectMeshHolder; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectMeshHolder.h>`.
19typedef struct MR_std_shared_ptr_MR_VisualObject MR_std_shared_ptr_MR_VisualObject; // Defined in `#include <MRCMisc/std_shared_ptr_MR_VisualObject.h>`.
20typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
21
22
30
32enum // MR_ChangeObjectColorAction_Type
33{
37};
38
45
52
56
59
62
66
69
76
79
82
87
92
96
100
104
108
111
114
118
121
128
138
141
144
149
154
158
162
166
170
173
176
180
183
190
200
203
206
211
216
220
224
228
229#ifdef __cplusplus
230} // extern "C"
231#endif
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_HistoryAction * MR_ChangeLinesColorMapAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeLinesColorMapAction *object)
Upcasts an instance of MR::ChangeLinesColorMapAction to its base class MR::HistoryAction.
MRC_API MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeObjectColorAction *_other)
MRC_API MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_Construct_2(const MR_std_string *name, const MR_std_shared_ptr_MR_ObjectLinesHolder *obj)
struct MR_HistoryAction MR_HistoryAction
Definition MRChangeColoringActions.h:15
MRC_API const MR_HistoryAction * MR_ChangeLinesColorMapAction_UpcastTo_MR_HistoryAction(const MR_ChangeLinesColorMapAction *object)
MRC_API MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_AssignFromAnother(MR_ChangeFacesColorMapAction *_this, MR_PassBy _other_pass_by, MR_ChangeFacesColorMapAction *_other)
MRC_API MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_Construct_3(const MR_std_string *name, const MR_std_shared_ptr_MR_ObjectMeshHolder *obj, MR_FaceColors *newColorMap)
MRC_API MR_std_string * MR_ChangeLinesColorMapAction_name(const MR_ChangeLinesColorMapAction *_this)
MRC_API MR_HistoryAction * MR_ChangeObjectColorAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeObjectColorAction *object)
Upcasts an instance of MR::ChangeObjectColorAction to its base class MR::HistoryAction.
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:51
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.
@ MR_ChangeObjectColorAction_Type_Selected
Definition MRChangeColoringActions.h:35
@ MR_ChangeObjectColorAction_Type_Back
Definition MRChangeColoringActions.h:36
@ MR_ChangeObjectColorAction_Type_Unselected
Definition MRChangeColoringActions.h:34
struct MR_UndirectedEdgeColors MR_UndirectedEdgeColors
Definition MRChangeColoringActions.h:16
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)
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_ChangeObjectColorAction_name(const MR_ChangeObjectColorAction *_this)
MRC_API void MR_ChangeFacesColorMapAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectMeshHolder *obj)
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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
int32_t MR_ChangeObjectColorAction_Type
Definition MRChangeColoringActions.h:31
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)
Upcasts an instance of MR::ChangeFacesColorMapAction to its base class MR::HistoryAction.
struct MR_FaceColors MR_FaceColors
Definition MRChangeColoringActions.h:14
MRC_API const MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_OffsetPtr(const MR_ChangeFacesColorMapAction *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_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeLinesColorMapAction *_other)
MRC_API MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_Construct(const MR_std_string *name, const MR_std_shared_ptr_MR_VisualObject *obj, MR_ChangeObjectColorAction_Type type)
MRC_API MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_AssignFromAnother(MR_ChangeObjectColorAction *_this, MR_PassBy _other_pass_by, MR_ChangeObjectColorAction *_other)
MRC_API MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_Construct_3(const MR_std_string *name, const MR_std_shared_ptr_MR_ObjectLinesHolder *obj, MR_UndirectedEdgeColors *newColorMap)
struct MR_std_shared_ptr_MR_VisualObject MR_std_shared_ptr_MR_VisualObject
Definition MRChangeColoringActions.h:19
struct MR_ChangeFacesColorMapAction MR_ChangeFacesColorMapAction
Definition MRChangeColoringActions.h:44
MRC_API void MR_ChangeLinesColorMapAction_action(MR_ChangeLinesColorMapAction *_this, MR_HistoryAction_Type _1)
MRC_API MR_uint64_t MR_ChangeFacesColorMapAction_heapBytes(const MR_ChangeFacesColorMapAction *_this)
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...
struct MR_std_shared_ptr_MR_ObjectMeshHolder MR_std_shared_ptr_MR_ObjectMeshHolder
Definition MRChangeColoringActions.h:18
struct MR_ChangeObjectColorAction MR_ChangeObjectColorAction
Definition MRChangeColoringActions.h:29
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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
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:17
MRC_API MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_OffsetMutablePtr(MR_ChangeFacesColorMapAction *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_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 const MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_OffsetPtr(const MR_ChangeObjectColorAction *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_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_Construct_2(const MR_std_string *name, 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