#include <MRCMesh/MRHistoryAction.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_std_shared_ptr_MR_Object | MR_std_shared_ptr_MR_Object |
| typedef struct MR_std_string | MR_std_string |
| typedef struct MR_ChangeScaleAction | MR_ChangeScaleAction |
| typedef struct MR_ChangeScaleAction MR_ChangeScaleAction |
History action for scale object change Generated from class MR::ChangeScaleAction. 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_Object MR_std_shared_ptr_MR_Object |
| typedef struct MR_std_string MR_std_string |
| MRC_API void MR_ChangeScaleAction_action | ( | MR_ChangeScaleAction * | _this, |
| MR_HistoryAction_Type | _1 ) |
Generated from method MR::ChangeScaleAction::action. Parameter _this can not be null. It is a single object.
| MRC_API MR_ChangeScaleAction * MR_ChangeScaleAction_AssignFromAnother | ( | MR_ChangeScaleAction * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_ChangeScaleAction * | _other ) |
Generated from method MR::ChangeScaleAction::operator=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_ChangeScaleAction * MR_ChangeScaleAction_Construct | ( | const char * | name, |
| const char * | name_end, | ||
| const MR_std_shared_ptr_MR_Object * | obj, | ||
| float | scale ) |
Constructor that performs object scaling, and remembers inverted scale value for undoing Generated from constructor MR::ChangeScaleAction::ChangeScaleAction. Parameter name can not be null. If name_end is null, then name is assumed to be null-terminated. Parameter obj can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangeScaleAction_Destroy() to free it when you're done using it.
| MRC_API MR_ChangeScaleAction * MR_ChangeScaleAction_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_ChangeScaleAction * | _other ) |
Generated from constructor MR::ChangeScaleAction::ChangeScaleAction. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangeScaleAction_Destroy() to free it when you're done using it.
| MRC_API void MR_ChangeScaleAction_Destroy | ( | const MR_ChangeScaleAction * | _this | ) |
Destroys a heap-allocated instance of MR_ChangeScaleAction. Does nothing if the pointer is null.
| MRC_API void MR_ChangeScaleAction_DestroyArray | ( | const MR_ChangeScaleAction * | _this | ) |
Destroys a heap-allocated array of MR_ChangeScaleAction. Does nothing if the pointer is null.
| MRC_API MR_uint64_t MR_ChangeScaleAction_heapBytes | ( | const MR_ChangeScaleAction * | _this | ) |
Generated from method MR::ChangeScaleAction::heapBytes. Parameter _this can not be null. It is a single object.
| MRC_API MR_HistoryAction * MR_ChangeScaleAction_MutableUpcastTo_MR_HistoryAction | ( | MR_ChangeScaleAction * | object | ) |
Upcasts an instance of MR::ChangeScaleAction to its base class MR::HistoryAction.
| MRC_API MR_std_string * MR_ChangeScaleAction_name | ( | const MR_ChangeScaleAction * | _this | ) |
Generated from method MR::ChangeScaleAction::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_ChangeScaleAction * MR_ChangeScaleAction_OffsetMutablePtr | ( | MR_ChangeScaleAction * | 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.
| MRC_API const MR_ChangeScaleAction * MR_ChangeScaleAction_OffsetPtr | ( | const MR_ChangeScaleAction * | 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.
| MRC_API const MR_HistoryAction * MR_ChangeScaleAction_UpcastTo_MR_HistoryAction | ( | const MR_ChangeScaleAction * | object | ) |
Upcasts an instance of MR::ChangeScaleAction to its base class MR::HistoryAction. This version is acting on mutable pointers.