#include <MRCMesh/MRHistoryAction.h>#include <MRCMesh/MRId.h>#include <MRCMisc/common.h>#include <MRCMisc/exports.h>#include <stddef.h>Go to the source code of this file.
Typedefs | |
| typedef struct MR_HistoryAction | MR_HistoryAction |
| typedef struct MR_Vector3f | MR_Vector3f |
| typedef struct MR_std_shared_ptr_MR_ObjectLines | MR_std_shared_ptr_MR_ObjectLines |
| typedef struct MR_std_shared_ptr_MR_Polyline3 | MR_std_shared_ptr_MR_Polyline3 |
| typedef struct MR_std_string | MR_std_string |
| typedef struct MR_ChangePolylineAction | MR_ChangePolylineAction |
| typedef struct MR_ChangePolylinePointsAction | MR_ChangePolylinePointsAction |
| typedef struct MR_ChangePolylineTopologyAction | MR_ChangePolylineTopologyAction |
| typedef struct MR_ChangeOnePointInPolylineAction | MR_ChangeOnePointInPolylineAction |
Undo action that modifies one point's coordinates inside ObjectPolyline Generated from class MR::ChangeOnePointInPolylineAction. Base classes: Direct: (non-virtual) MR::HistoryAction Supported MR_PassBy modes: MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_ChangePolylineAction MR_ChangePolylineAction |
Undo action for ObjectLines polyline change Generated from class MR::ChangePolylineAction. Base classes: Direct: (non-virtual) MR::HistoryAction Supported MR_PassBy modes: MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_ChangePolylinePointsAction MR_ChangePolylinePointsAction |
Undo action for ObjectLines points only (not topology) change Generated from class MR::ChangePolylinePointsAction. Base classes: Direct: (non-virtual) MR::HistoryAction Supported MR_PassBy modes: MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_ChangePolylineTopologyAction MR_ChangePolylineTopologyAction |
Undo action for ObjectLines topology only (not points) change Generated from class MR::ChangePolylineTopologyAction. Base classes: Direct: (non-virtual) MR::HistoryAction Supported MR_PassBy modes: MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_HistoryAction MR_HistoryAction |
| typedef struct MR_std_shared_ptr_MR_ObjectLines MR_std_shared_ptr_MR_ObjectLines |
| typedef struct MR_std_shared_ptr_MR_Polyline3 MR_std_shared_ptr_MR_Polyline3 |
| typedef struct MR_std_string MR_std_string |
| typedef struct MR_Vector3f MR_Vector3f |
| MRC_API void MR_ChangeOnePointInPolylineAction_action | ( | MR_ChangeOnePointInPolylineAction * | _this, |
| MR_HistoryAction_Type | _1 ) |
Generated from method MR::ChangeOnePointInPolylineAction::action. Parameter _this can not be null. It is a single object.
| MRC_API MR_ChangeOnePointInPolylineAction * MR_ChangeOnePointInPolylineAction_AssignFromAnother | ( | MR_ChangeOnePointInPolylineAction * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_ChangeOnePointInPolylineAction * | _other ) |
Generated from method MR::ChangeOnePointInPolylineAction::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| 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 ) |
use this constructor to remember point's coordinates before making any changes in it Generated from constructor MR::ChangeOnePointInPolylineAction::ChangeOnePointInPolylineAction. Parameter name can not be null. If name_end is null, then name is assumed to be null-terminated. The reference to the parameter name might be preserved in the constructed object. Parameter obj can not be null. It is a single object. The reference to the parameter obj might be preserved in the constructed object. The reference to the parameter pointId might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangeOnePointInPolylineAction_Destroy() to free it when you're done using it.
| 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 ) |
use this constructor to remember point's coordinates and immediate set new coordinates Generated from constructor MR::ChangeOnePointInPolylineAction::ChangeOnePointInPolylineAction. Parameter name can not be null. If name_end is null, then name is assumed to be null-terminated. The reference to the parameter name might be preserved in the constructed object. Parameter obj can not be null. It is a single object. The reference to the parameter obj might be preserved in the constructed object. The reference to the parameter pointId might be preserved in the constructed object. Parameter newCoords can not be null. It is a single object. The reference to the parameter newCoords might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangeOnePointInPolylineAction_Destroy() to free it when you're done using it.
| MRC_API MR_ChangeOnePointInPolylineAction * MR_ChangeOnePointInPolylineAction_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_ChangeOnePointInPolylineAction * | _other ) |
Generated from constructor MR::ChangeOnePointInPolylineAction::ChangeOnePointInPolylineAction. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangeOnePointInPolylineAction_Destroy() to free it when you're done using it.
| MRC_API void MR_ChangeOnePointInPolylineAction_Destroy | ( | const MR_ChangeOnePointInPolylineAction * | _this | ) |
Destroys a heap-allocated instance of MR_ChangeOnePointInPolylineAction. Does nothing if the pointer is null.
| MRC_API void MR_ChangeOnePointInPolylineAction_DestroyArray | ( | const MR_ChangeOnePointInPolylineAction * | _this | ) |
Destroys a heap-allocated array of MR_ChangeOnePointInPolylineAction. Does nothing if the pointer is null.
| MRC_API MR_uint64_t MR_ChangeOnePointInPolylineAction_heapBytes | ( | const MR_ChangeOnePointInPolylineAction * | _this | ) |
Generated from method MR::ChangeOnePointInPolylineAction::heapBytes. Parameter _this can not be null. It is a single object.
| 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_std_string * MR_ChangeOnePointInPolylineAction_name | ( | const MR_ChangeOnePointInPolylineAction * | _this | ) |
Generated from method MR::ChangeOnePointInPolylineAction::name. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_string_Destroy() to free it when you're done using it.
| 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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| 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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_ChangeOnePointInPolylineAction_setObjectDirty | ( | const MR_std_shared_ptr_MR_ObjectLines * | obj | ) |
Generated from method MR::ChangeOnePointInPolylineAction::setObjectDirty. Parameter obj can not be null. It is a single object.
| MRC_API const MR_HistoryAction * MR_ChangeOnePointInPolylineAction_UpcastTo_MR_HistoryAction | ( | const MR_ChangeOnePointInPolylineAction * | object | ) |
Upcasts an instance of MR::ChangeOnePointInPolylineAction to its base class MR::HistoryAction. This version is acting on mutable pointers.
| MRC_API void MR_ChangePolylineAction_action | ( | MR_ChangePolylineAction * | _this, |
| MR_HistoryAction_Type | _1 ) |
Generated from method MR::ChangePolylineAction::action. Parameter _this can not be null. It is a single object.
| MRC_API MR_ChangePolylineAction * MR_ChangePolylineAction_AssignFromAnother | ( | MR_ChangePolylineAction * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_ChangePolylineAction * | _other ) |
Generated from method MR::ChangePolylineAction::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_ChangePolylineAction * MR_ChangePolylineAction_Construct_2 | ( | const char * | name, |
| const char * | name_end, | ||
| const MR_std_shared_ptr_MR_ObjectLines * | obj ) |
use this constructor to remember object's polyline before making any changes in it Generated from constructor MR::ChangePolylineAction::ChangePolylineAction. Parameter name can not be null. If name_end is null, then name is assumed to be null-terminated. The reference to the parameter name might be preserved in the constructed object. Parameter obj can not be null. It is a single object. The reference to the parameter obj might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangePolylineAction_Destroy() to free it when you're done using it.
| 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 ) |
use this constructor to remember object's polyline and immediately set new polyline Generated from constructor MR::ChangePolylineAction::ChangePolylineAction. Parameter name can not be null. If name_end is null, then name is assumed to be null-terminated. The reference to the parameter name might be preserved in the constructed object. Parameter obj can not be null. It is a single object. The reference to the parameter obj might be preserved in the constructed object. The reference to the parameter newPolyline might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangePolylineAction_Destroy() to free it when you're done using it.
| MRC_API MR_ChangePolylineAction * MR_ChangePolylineAction_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_ChangePolylineAction * | _other ) |
Generated from constructor MR::ChangePolylineAction::ChangePolylineAction. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangePolylineAction_Destroy() to free it when you're done using it.
| 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_ChangePolylineAction_DestroyArray | ( | const MR_ChangePolylineAction * | _this | ) |
Destroys a heap-allocated array of MR_ChangePolylineAction. Does nothing if the pointer is null.
| MRC_API MR_uint64_t MR_ChangePolylineAction_heapBytes | ( | const MR_ChangePolylineAction * | _this | ) |
Generated from method MR::ChangePolylineAction::heapBytes. Parameter _this can not be null. It is a single object.
| MRC_API MR_HistoryAction * MR_ChangePolylineAction_MutableUpcastTo_MR_HistoryAction | ( | MR_ChangePolylineAction * | object | ) |
Upcasts an instance of MR::ChangePolylineAction to its base class MR::HistoryAction.
| MRC_API MR_std_string * MR_ChangePolylineAction_name | ( | const MR_ChangePolylineAction * | _this | ) |
Generated from method MR::ChangePolylineAction::name. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_string_Destroy() to free it when you're done using it.
| 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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| 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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_ChangePolylineAction_setObjectDirty | ( | const MR_std_shared_ptr_MR_ObjectLines * | obj | ) |
Generated from method MR::ChangePolylineAction::setObjectDirty. Parameter obj can not be null. It is a single object.
| MRC_API const MR_HistoryAction * MR_ChangePolylineAction_UpcastTo_MR_HistoryAction | ( | const MR_ChangePolylineAction * | object | ) |
Upcasts an instance of MR::ChangePolylineAction to its base class MR::HistoryAction. This version is acting on mutable pointers.
| MRC_API void MR_ChangePolylinePointsAction_action | ( | MR_ChangePolylinePointsAction * | _this, |
| MR_HistoryAction_Type | _1 ) |
Generated from method MR::ChangePolylinePointsAction::action. Parameter _this can not be null. It is a single object.
| MRC_API MR_ChangePolylinePointsAction * MR_ChangePolylinePointsAction_AssignFromAnother | ( | MR_ChangePolylinePointsAction * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_ChangePolylinePointsAction * | _other ) |
Generated from method MR::ChangePolylinePointsAction::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_ChangePolylinePointsAction * MR_ChangePolylinePointsAction_Construct | ( | const char * | name, |
| const char * | name_end, | ||
| const MR_std_shared_ptr_MR_ObjectLines * | obj ) |
use this constructor to remember object's lines points before making any changes in it Generated from constructor MR::ChangePolylinePointsAction::ChangePolylinePointsAction. Parameter name can not be null. If name_end is null, then name is assumed to be null-terminated. The reference to the parameter name might be preserved in the constructed object. Parameter obj can not be null. It is a single object. The reference to the parameter obj might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangePolylinePointsAction_Destroy() to free it when you're done using it.
| MRC_API MR_ChangePolylinePointsAction * MR_ChangePolylinePointsAction_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_ChangePolylinePointsAction * | _other ) |
Generated from constructor MR::ChangePolylinePointsAction::ChangePolylinePointsAction. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangePolylinePointsAction_Destroy() to free it when you're done using it.
| MRC_API void MR_ChangePolylinePointsAction_Destroy | ( | const MR_ChangePolylinePointsAction * | _this | ) |
Destroys a heap-allocated instance of MR_ChangePolylinePointsAction. Does nothing if the pointer is null.
| 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 MR_uint64_t MR_ChangePolylinePointsAction_heapBytes | ( | const MR_ChangePolylinePointsAction * | _this | ) |
Generated from method MR::ChangePolylinePointsAction::heapBytes. Parameter _this can not be null. It is a single object.
| 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 MR_std_string * MR_ChangePolylinePointsAction_name | ( | const MR_ChangePolylinePointsAction * | _this | ) |
Generated from method MR::ChangePolylinePointsAction::name. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_string_Destroy() to free it when you're done using it.
| 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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| 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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_ChangePolylinePointsAction_setObjectDirty | ( | const MR_std_shared_ptr_MR_ObjectLines * | obj | ) |
Generated from method MR::ChangePolylinePointsAction::setObjectDirty. Parameter obj can not be null. It is a single object.
| MRC_API const MR_HistoryAction * MR_ChangePolylinePointsAction_UpcastTo_MR_HistoryAction | ( | const MR_ChangePolylinePointsAction * | object | ) |
Upcasts an instance of MR::ChangePolylinePointsAction to its base class MR::HistoryAction. This version is acting on mutable pointers.
| MRC_API void MR_ChangePolylineTopologyAction_action | ( | MR_ChangePolylineTopologyAction * | _this, |
| MR_HistoryAction_Type | _1 ) |
Generated from method MR::ChangePolylineTopologyAction::action. Parameter _this can not be null. It is a single object.
| MRC_API MR_ChangePolylineTopologyAction * MR_ChangePolylineTopologyAction_AssignFromAnother | ( | MR_ChangePolylineTopologyAction * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_ChangePolylineTopologyAction * | _other ) |
Generated from method MR::ChangePolylineTopologyAction::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_ChangePolylineTopologyAction * MR_ChangePolylineTopologyAction_Construct | ( | const char * | name, |
| const char * | name_end, | ||
| const MR_std_shared_ptr_MR_ObjectLines * | obj ) |
use this constructor to remember object's lines points before making any changes in it Generated from constructor MR::ChangePolylineTopologyAction::ChangePolylineTopologyAction. Parameter name can not be null. If name_end is null, then name is assumed to be null-terminated. The reference to the parameter name might be preserved in the constructed object. Parameter obj can not be null. It is a single object. The reference to the parameter obj might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangePolylineTopologyAction_Destroy() to free it when you're done using it.
| MRC_API MR_ChangePolylineTopologyAction * MR_ChangePolylineTopologyAction_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_ChangePolylineTopologyAction * | _other ) |
Generated from constructor MR::ChangePolylineTopologyAction::ChangePolylineTopologyAction. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangePolylineTopologyAction_Destroy() to free it when you're done using it.
| MRC_API void MR_ChangePolylineTopologyAction_Destroy | ( | const MR_ChangePolylineTopologyAction * | _this | ) |
Destroys a heap-allocated instance of MR_ChangePolylineTopologyAction. Does nothing if the pointer is null.
| MRC_API void MR_ChangePolylineTopologyAction_DestroyArray | ( | const MR_ChangePolylineTopologyAction * | _this | ) |
Destroys a heap-allocated array of MR_ChangePolylineTopologyAction. Does nothing if the pointer is null.
| MRC_API MR_uint64_t MR_ChangePolylineTopologyAction_heapBytes | ( | const MR_ChangePolylineTopologyAction * | _this | ) |
Generated from method MR::ChangePolylineTopologyAction::heapBytes. Parameter _this can not be null. It is a single object.
| 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_ChangePolylineTopologyAction_name | ( | const MR_ChangePolylineTopologyAction * | _this | ) |
Generated from method MR::ChangePolylineTopologyAction::name. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_string_Destroy() to free it when you're done using it.
| 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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| 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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_ChangePolylineTopologyAction_setObjectDirty | ( | const MR_std_shared_ptr_MR_ObjectLines * | obj | ) |
Generated from method MR::ChangePolylineTopologyAction::setObjectDirty. Parameter obj can not be null. It is a single object.
| MRC_API const MR_HistoryAction * MR_ChangePolylineTopologyAction_UpcastTo_MR_HistoryAction | ( | const MR_ChangePolylineTopologyAction * | object | ) |
Upcasts an instance of MR::ChangePolylineTopologyAction to its base class MR::HistoryAction. This version is acting on mutable pointers.