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
70
73
84
87
90
97
102
106
110
114
119
123
127
131
134
144
158
161
164
171
176
180
184
188
193
197
201
205
208
218
232
235
238
245
250
254
258
262
263#ifdef __cplusplus
264} // extern "C"
265#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_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_HistoryAction * MR_ChangeLinesColorMapAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeLinesColorMapAction *object)
Upcasts an instance of MR::ChangeLinesColorMapAction to its base class MR::HistoryAction.
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 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 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: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
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 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)
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)
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 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: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 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 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)
struct MR_std_string MR_std_string
Definition MRCtm.h:32
MR_HistoryAction_Type
Definition MRHistoryAction.h:65
MR_PassBy
Definition common.h:23
uint64_t MR_uint64_t
Definition common.h:18
#define MRC_API
Definition exports.h:11
virtual std::string name() const override