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
29
36
43
50
54
57
60
64
67
74
77
80
85
90
94
98
102
106
109
112
116
119
126
136
139
142
147
152
156
160
164
168
171
174
178
181
188
198
201
204
209
214
218
222
226
227#ifdef __cplusplus
228} // extern "C"
229#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:14
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:49
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
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)
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...
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:13
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)
MR_ChangeObjectColorAction_Type
Definition MRChangeColoringActions.h:31
@ MR_ChangeObjectColorAction_Type_Selected
Definition MRChangeColoringActions.h:33
@ MR_ChangeObjectColorAction_Type_Back
Definition MRChangeColoringActions.h:34
@ MR_ChangeObjectColorAction_Type_Unselected
Definition MRChangeColoringActions.h:32
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:18
struct MR_ChangeFacesColorMapAction MR_ChangeFacesColorMapAction
Definition MRChangeColoringActions.h:42
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:17
struct MR_ChangeObjectColorAction MR_ChangeObjectColorAction
Definition MRChangeColoringActions.h:28
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:16
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
MR_HistoryAction_Type
Definition MRHistoryAction.h:114
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