MeshLib C Docs
Loading...
Searching...
No Matches
MRChangePolylineAction.h
Go to the documentation of this file.
1#pragma once
2
4#include <MRCMesh/MRId.h>
5#include <MRCMisc/common.h>
6#include <MRCMisc/exports.h>
7
8#include <stddef.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14typedef struct MR_HistoryAction MR_HistoryAction; // Defined in `#include <MRCMesh/MRHistoryAction.h>`.
15typedef struct MR_Vector3f MR_Vector3f; // Defined in `#include <MRCMesh/MRVector3.h>`.
16typedef struct MR_std_shared_ptr_MR_ObjectLines MR_std_shared_ptr_MR_ObjectLines; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectLines.h>`.
17typedef struct MR_std_shared_ptr_MR_Polyline3 MR_std_shared_ptr_MR_Polyline3; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Polyline3.h>`.
18typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
19
20
27
34
41
48
52
55
58
62
65
73
81
84
87
92
97
101
105
109
113
116
119
123
126
134
137
140
145
150
154
158
162
166
169
172
176
179
187
190
193
198
203
207
211
215
219
222
225
229
232
240
249
252
255
260
265
269
273
277
278#ifdef __cplusplus
279} // extern "C"
280#endif
struct MR_HistoryAction MR_HistoryAction
Definition MRChangeColoringActions.h:14
MRC_API const MR_HistoryAction * MR_ChangePolylineAction_UpcastTo_MR_HistoryAction(const MR_ChangePolylineAction *object)
MRC_API void MR_ChangePolylineTopologyAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectLines *obj)
MRC_API const MR_HistoryAction * MR_ChangePolylinePointsAction_UpcastTo_MR_HistoryAction(const MR_ChangePolylinePointsAction *object)
MRC_API MR_ChangeOnePointInPolylineAction * MR_ChangeOnePointInPolylineAction_OffsetMutablePtr(MR_ChangeOnePointInPolylineAction *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_ChangePolylinePointsAction_Destroy(const MR_ChangePolylinePointsAction *_this)
Destroys a heap-allocated instance of MR_ChangePolylinePointsAction. Does nothing if the pointer is n...
MRC_API MR_ChangeOnePointInPolylineAction * MR_ChangeOnePointInPolylineAction_Construct_3(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectLines *obj, MR_VertId pointId)
MRC_API MR_std_string * MR_ChangeOnePointInPolylineAction_name(const MR_ChangeOnePointInPolylineAction *_this)
MRC_API const MR_ChangeOnePointInPolylineAction * MR_ChangeOnePointInPolylineAction_OffsetPtr(const MR_ChangeOnePointInPolylineAction *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_ChangePolylineAction * MR_ChangePolylineAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangePolylineAction *_other)
MRC_API void MR_ChangePolylinePointsAction_DestroyArray(const MR_ChangePolylinePointsAction *_this)
Destroys a heap-allocated array of MR_ChangePolylinePointsAction. Does nothing if the pointer is null...
MRC_API void MR_ChangePolylineAction_Destroy(const MR_ChangePolylineAction *_this)
Destroys a heap-allocated instance of MR_ChangePolylineAction. Does nothing if the pointer is null.
MRC_API void MR_ChangePolylineTopologyAction_action(MR_ChangePolylineTopologyAction *_this, MR_HistoryAction_Type _1)
MRC_API MR_ChangePolylinePointsAction * MR_ChangePolylinePointsAction_AssignFromAnother(MR_ChangePolylinePointsAction *_this, MR_PassBy _other_pass_by, MR_ChangePolylinePointsAction *_other)
MRC_API const MR_ChangePolylinePointsAction * MR_ChangePolylinePointsAction_OffsetPtr(const MR_ChangePolylinePointsAction *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_ChangePolylineTopologyAction * MR_ChangePolylineTopologyAction_Construct(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectLines *obj)
struct MR_ChangePolylineTopologyAction MR_ChangePolylineTopologyAction
Definition MRChangePolylineAction.h:40
MRC_API void MR_ChangePolylineAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectLines *obj)
MRC_API void MR_ChangePolylineAction_action(MR_ChangePolylineAction *_this, MR_HistoryAction_Type _1)
MRC_API void MR_ChangePolylinePointsAction_action(MR_ChangePolylinePointsAction *_this, MR_HistoryAction_Type _1)
MRC_API MR_HistoryAction * MR_ChangePolylineTopologyAction_MutableUpcastTo_MR_HistoryAction(MR_ChangePolylineTopologyAction *object)
Upcasts an instance of MR::ChangePolylineTopologyAction to its base class MR::HistoryAction.
MRC_API MR_std_string * MR_ChangePolylineAction_name(const MR_ChangePolylineAction *_this)
MRC_API MR_ChangePolylinePointsAction * MR_ChangePolylinePointsAction_Construct(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectLines *obj)
MRC_API void MR_ChangePolylineTopologyAction_Destroy(const MR_ChangePolylineTopologyAction *_this)
Destroys a heap-allocated instance of MR_ChangePolylineTopologyAction. Does nothing if the pointer is...
MRC_API MR_ChangeOnePointInPolylineAction * MR_ChangeOnePointInPolylineAction_AssignFromAnother(MR_ChangeOnePointInPolylineAction *_this, MR_PassBy _other_pass_by, MR_ChangeOnePointInPolylineAction *_other)
MRC_API MR_std_string * MR_ChangePolylineTopologyAction_name(const MR_ChangePolylineTopologyAction *_this)
struct MR_ChangePolylineAction MR_ChangePolylineAction
Definition MRChangePolylineAction.h:26
MRC_API MR_uint64_t MR_ChangeOnePointInPolylineAction_heapBytes(const MR_ChangeOnePointInPolylineAction *_this)
MRC_API MR_ChangePolylineAction * MR_ChangePolylineAction_OffsetMutablePtr(MR_ChangePolylineAction *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
struct MR_std_shared_ptr_MR_Polyline3 MR_std_shared_ptr_MR_Polyline3
Definition MRChangePolylineAction.h:17
MRC_API MR_ChangePolylinePointsAction * MR_ChangePolylinePointsAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangePolylinePointsAction *_other)
MRC_API const MR_HistoryAction * MR_ChangePolylineTopologyAction_UpcastTo_MR_HistoryAction(const MR_ChangePolylineTopologyAction *object)
MRC_API MR_ChangeOnePointInPolylineAction * MR_ChangeOnePointInPolylineAction_Construct_4(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectLines *obj, MR_VertId pointId, const MR_Vector3f *newCoords)
MRC_API const MR_ChangePolylineTopologyAction * MR_ChangePolylineTopologyAction_OffsetPtr(const MR_ChangePolylineTopologyAction *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_ChangeOnePointInPolylineAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeOnePointInPolylineAction *object)
Upcasts an instance of MR::ChangeOnePointInPolylineAction to its base class MR::HistoryAction.
MRC_API MR_HistoryAction * MR_ChangePolylinePointsAction_MutableUpcastTo_MR_HistoryAction(MR_ChangePolylinePointsAction *object)
Upcasts an instance of MR::ChangePolylinePointsAction to its base class MR::HistoryAction.
MRC_API void MR_ChangeOnePointInPolylineAction_DestroyArray(const MR_ChangeOnePointInPolylineAction *_this)
Destroys a heap-allocated array of MR_ChangeOnePointInPolylineAction. Does nothing if the pointer is ...
MRC_API MR_uint64_t MR_ChangePolylineAction_heapBytes(const MR_ChangePolylineAction *_this)
MRC_API MR_ChangePolylinePointsAction * MR_ChangePolylinePointsAction_OffsetMutablePtr(MR_ChangePolylinePointsAction *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_ChangePolylineAction * MR_ChangePolylineAction_AssignFromAnother(MR_ChangePolylineAction *_this, MR_PassBy _other_pass_by, MR_ChangePolylineAction *_other)
MRC_API MR_uint64_t MR_ChangePolylinePointsAction_heapBytes(const MR_ChangePolylinePointsAction *_this)
MRC_API MR_std_string * MR_ChangePolylinePointsAction_name(const MR_ChangePolylinePointsAction *_this)
MRC_API MR_HistoryAction * MR_ChangePolylineAction_MutableUpcastTo_MR_HistoryAction(MR_ChangePolylineAction *object)
Upcasts an instance of MR::ChangePolylineAction to its base class MR::HistoryAction.
struct MR_ChangePolylinePointsAction MR_ChangePolylinePointsAction
Definition MRChangePolylineAction.h:33
MRC_API void MR_ChangeOnePointInPolylineAction_Destroy(const MR_ChangeOnePointInPolylineAction *_this)
Destroys a heap-allocated instance of MR_ChangeOnePointInPolylineAction. Does nothing if the pointer ...
MRC_API void MR_ChangeOnePointInPolylineAction_action(MR_ChangeOnePointInPolylineAction *_this, MR_HistoryAction_Type _1)
MRC_API void MR_ChangeOnePointInPolylineAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectLines *obj)
MRC_API MR_ChangePolylineAction * MR_ChangePolylineAction_Construct_2(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectLines *obj)
MRC_API const MR_HistoryAction * MR_ChangeOnePointInPolylineAction_UpcastTo_MR_HistoryAction(const MR_ChangeOnePointInPolylineAction *object)
MRC_API MR_ChangePolylineTopologyAction * MR_ChangePolylineTopologyAction_OffsetMutablePtr(MR_ChangePolylineTopologyAction *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_ChangePolylineTopologyAction * MR_ChangePolylineTopologyAction_AssignFromAnother(MR_ChangePolylineTopologyAction *_this, MR_PassBy _other_pass_by, MR_ChangePolylineTopologyAction *_other)
MRC_API MR_uint64_t MR_ChangePolylineTopologyAction_heapBytes(const MR_ChangePolylineTopologyAction *_this)
MRC_API MR_ChangePolylineTopologyAction * MR_ChangePolylineTopologyAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangePolylineTopologyAction *_other)
MRC_API MR_ChangePolylineAction * MR_ChangePolylineAction_Construct_3(const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectLines *obj, MR_PassBy newPolyline_pass_by, MR_std_shared_ptr_MR_Polyline3 *newPolyline)
MRC_API void MR_ChangePolylineAction_DestroyArray(const MR_ChangePolylineAction *_this)
Destroys a heap-allocated array of MR_ChangePolylineAction. Does nothing if the pointer is null.
struct MR_std_shared_ptr_MR_ObjectLines MR_std_shared_ptr_MR_ObjectLines
Definition MRChangePolylineAction.h:16
MRC_API void MR_ChangePolylinePointsAction_setObjectDirty(const MR_std_shared_ptr_MR_ObjectLines *obj)
MRC_API MR_ChangeOnePointInPolylineAction * MR_ChangeOnePointInPolylineAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeOnePointInPolylineAction *_other)
MRC_API void MR_ChangePolylineTopologyAction_DestroyArray(const MR_ChangePolylineTopologyAction *_this)
Destroys a heap-allocated array of MR_ChangePolylineTopologyAction. Does nothing if the pointer is nu...
MRC_API const MR_ChangePolylineAction * MR_ChangePolylineAction_OffsetPtr(const MR_ChangePolylineAction *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
struct MR_ChangeOnePointInPolylineAction MR_ChangeOnePointInPolylineAction
Definition MRChangePolylineAction.h:47
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
Definition MRVector3.h:50
Definition MRId.h:55