#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_FaceColors | MR_FaceColors |
| typedef struct MR_HistoryAction | MR_HistoryAction |
| typedef struct MR_UndirectedEdgeColors | MR_UndirectedEdgeColors |
| typedef struct MR_std_shared_ptr_MR_ObjectLinesHolder | MR_std_shared_ptr_MR_ObjectLinesHolder |
| typedef struct MR_std_shared_ptr_MR_ObjectMeshHolder | MR_std_shared_ptr_MR_ObjectMeshHolder |
| typedef struct MR_std_shared_ptr_MR_VisualObject | MR_std_shared_ptr_MR_VisualObject |
| typedef struct MR_std_string | MR_std_string |
| typedef enum MR_ChangeObjectColorAction_Type | MR_ChangeObjectColorAction_Type |
| typedef struct MR_ChangeObjectColorAction | MR_ChangeObjectColorAction |
| typedef struct MR_ChangeFacesColorMapAction | MR_ChangeFacesColorMapAction |
| typedef struct MR_ChangeLinesColorMapAction | MR_ChangeLinesColorMapAction |
Enumerations | |
| enum | MR_ChangeObjectColorAction_Type { MR_ChangeObjectColorAction_Type_Unselected = 0 , MR_ChangeObjectColorAction_Type_Selected = 1 , MR_ChangeObjectColorAction_Type_Back = 2 } |
| typedef struct MR_ChangeFacesColorMapAction MR_ChangeFacesColorMapAction |
History action for faces color map change Generated from class MR::ChangeFacesColorMapAction. 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_ChangeLinesColorMapAction MR_ChangeLinesColorMapAction |
History action for lines color map change Generated from class MR::ChangeLinesColorMapAction. 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_ChangeObjectColorAction MR_ChangeObjectColorAction |
History action for object color palette change To use with setFrontColorsForAllViewports, setBackColorsForAllViewports, setFrontColor, setBackColor Generated from class MR::ChangeObjectColorAction. 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_FaceColors MR_FaceColors |
| typedef struct MR_HistoryAction MR_HistoryAction |
| typedef struct MR_std_string MR_std_string |
| typedef struct MR_UndirectedEdgeColors MR_UndirectedEdgeColors |
| MRC_API void MR_ChangeFacesColorMapAction_action | ( | MR_ChangeFacesColorMapAction * | _this, |
| MR_HistoryAction_Type | _1 ) |
Generated from method MR::ChangeFacesColorMapAction::action. Parameter _this can not be null. It is a single object.
| MRC_API MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_AssignFromAnother | ( | MR_ChangeFacesColorMapAction * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_ChangeFacesColorMapAction * | _other ) |
Generated from method MR::ChangeFacesColorMapAction::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_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_Construct_2 | ( | const char * | name, |
| const char * | name_end, | ||
| const MR_std_shared_ptr_MR_ObjectMeshHolder * | obj ) |
use this constructor to remember object's face colors before making any changes in them Generated from constructor MR::ChangeFacesColorMapAction::ChangeFacesColorMapAction. 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_ChangeFacesColorMapAction_Destroy() to free it when you're done using it.
| 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 ) |
use this constructor to remember object's face colors and immediate set new value Generated from constructor MR::ChangeFacesColorMapAction::ChangeFacesColorMapAction. 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. Parameter newColorMap can not be null. It is a single object. In C++ this parameter takes an rvalue reference: it might invalidate the passed object, but if your pointer is owning, you must still destroy it manually later. The reference to the parameter newColorMap might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangeFacesColorMapAction_Destroy() to free it when you're done using it.
| MRC_API MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_ChangeFacesColorMapAction * | _other ) |
Generated from constructor MR::ChangeFacesColorMapAction::ChangeFacesColorMapAction. 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_ChangeFacesColorMapAction_Destroy() to free it when you're done using it.
| MRC_API void MR_ChangeFacesColorMapAction_Destroy | ( | const MR_ChangeFacesColorMapAction * | _this | ) |
Destroys a heap-allocated instance of MR_ChangeFacesColorMapAction. Does nothing if the pointer is null.
| 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.
| MRC_API MR_uint64_t MR_ChangeFacesColorMapAction_heapBytes | ( | const MR_ChangeFacesColorMapAction * | _this | ) |
Generated from method MR::ChangeFacesColorMapAction::heapBytes. Parameter _this can not be null. It is a single object.
| MRC_API MR_HistoryAction * MR_ChangeFacesColorMapAction_MutableUpcastTo_MR_HistoryAction | ( | MR_ChangeFacesColorMapAction * | object | ) |
Upcasts an instance of MR::ChangeFacesColorMapAction to its base class MR::HistoryAction.
| MRC_API MR_std_string * MR_ChangeFacesColorMapAction_name | ( | const MR_ChangeFacesColorMapAction * | _this | ) |
Generated from method MR::ChangeFacesColorMapAction::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_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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| 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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_ChangeFacesColorMapAction_setObjectDirty | ( | const MR_std_shared_ptr_MR_ObjectMeshHolder * | obj | ) |
Generated from method MR::ChangeFacesColorMapAction::setObjectDirty. Parameter obj can not be null. It is a single object.
| MRC_API const MR_HistoryAction * MR_ChangeFacesColorMapAction_UpcastTo_MR_HistoryAction | ( | const MR_ChangeFacesColorMapAction * | object | ) |
Upcasts an instance of MR::ChangeFacesColorMapAction to its base class MR::HistoryAction. This version is acting on mutable pointers.
| MRC_API void MR_ChangeLinesColorMapAction_action | ( | MR_ChangeLinesColorMapAction * | _this, |
| MR_HistoryAction_Type | _1 ) |
Generated from method MR::ChangeLinesColorMapAction::action. Parameter _this can not be null. It is a single object.
| MRC_API MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_AssignFromAnother | ( | MR_ChangeLinesColorMapAction * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_ChangeLinesColorMapAction * | _other ) |
Generated from method MR::ChangeLinesColorMapAction::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_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_Construct_2 | ( | const char * | name, |
| const char * | name_end, | ||
| const MR_std_shared_ptr_MR_ObjectLinesHolder * | obj ) |
use this constructor to remember object's line colors before making any changes in them Generated from constructor MR::ChangeLinesColorMapAction::ChangeLinesColorMapAction. 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_ChangeLinesColorMapAction_Destroy() to free it when you're done using it.
| 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 ) |
use this constructor to remember object's lines colors and immediate set new value Generated from constructor MR::ChangeLinesColorMapAction::ChangeLinesColorMapAction. 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. Parameter newColorMap can not be null. It is a single object. In C++ this parameter takes an rvalue reference: it might invalidate the passed object, but if your pointer is owning, you must still destroy it manually later. The reference to the parameter newColorMap might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangeLinesColorMapAction_Destroy() to free it when you're done using it.
| MRC_API MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_ChangeLinesColorMapAction * | _other ) |
Generated from constructor MR::ChangeLinesColorMapAction::ChangeLinesColorMapAction. 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_ChangeLinesColorMapAction_Destroy() to free it when you're done using it.
| MRC_API void MR_ChangeLinesColorMapAction_Destroy | ( | const MR_ChangeLinesColorMapAction * | _this | ) |
Destroys a heap-allocated instance of MR_ChangeLinesColorMapAction. Does nothing if the pointer is null.
| 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 MR_uint64_t MR_ChangeLinesColorMapAction_heapBytes | ( | const MR_ChangeLinesColorMapAction * | _this | ) |
Generated from method MR::ChangeLinesColorMapAction::heapBytes. Parameter _this can not be null. It is a single object.
| 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_std_string * MR_ChangeLinesColorMapAction_name | ( | const MR_ChangeLinesColorMapAction * | _this | ) |
Generated from method MR::ChangeLinesColorMapAction::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_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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| 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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_ChangeLinesColorMapAction_setObjectDirty | ( | const MR_std_shared_ptr_MR_ObjectLinesHolder * | obj | ) |
Generated from method MR::ChangeLinesColorMapAction::setObjectDirty. Parameter obj can not be null. It is a single object.
| MRC_API const MR_HistoryAction * MR_ChangeLinesColorMapAction_UpcastTo_MR_HistoryAction | ( | const MR_ChangeLinesColorMapAction * | object | ) |
Upcasts an instance of MR::ChangeLinesColorMapAction to its base class MR::HistoryAction. This version is acting on mutable pointers.
| MRC_API void MR_ChangeObjectColorAction_action | ( | MR_ChangeObjectColorAction * | _this, |
| MR_HistoryAction_Type | _1 ) |
Generated from method MR::ChangeObjectColorAction::action. Parameter _this can not be null. It is a single object.
| MRC_API MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_AssignFromAnother | ( | MR_ChangeObjectColorAction * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_ChangeObjectColorAction * | _other ) |
Generated from method MR::ChangeObjectColorAction::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_ChangeObjectColorAction * MR_ChangeObjectColorAction_Construct | ( | const char * | name, |
| const char * | name_end, | ||
| const MR_std_shared_ptr_MR_VisualObject * | obj, | ||
| MR_ChangeObjectColorAction_Type | type ) |
Constructed from original obj Generated from constructor MR::ChangeObjectColorAction::ChangeObjectColorAction. 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 type might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangeObjectColorAction_Destroy() to free it when you're done using it.
| MRC_API MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_ChangeObjectColorAction * | _other ) |
Generated from constructor MR::ChangeObjectColorAction::ChangeObjectColorAction. 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_ChangeObjectColorAction_Destroy() to free it when you're done using it.
| 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.
| 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 MR_uint64_t MR_ChangeObjectColorAction_heapBytes | ( | const MR_ChangeObjectColorAction * | _this | ) |
Generated from method MR::ChangeObjectColorAction::heapBytes. Parameter _this can not be null. It is a single object.
| 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 MR_std_string * MR_ChangeObjectColorAction_name | ( | const MR_ChangeObjectColorAction * | _this | ) |
Generated from method MR::ChangeObjectColorAction::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_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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| 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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_ChangeObjectColorAction_setObjectDirty | ( | const MR_std_shared_ptr_MR_VisualObject * | _1 | ) |
Generated from method MR::ChangeObjectColorAction::setObjectDirty. Parameter _1 can not be null. It is a single object.
| MRC_API const MR_HistoryAction * MR_ChangeObjectColorAction_UpcastTo_MR_HistoryAction | ( | const MR_ChangeObjectColorAction * | object | ) |
Upcasts an instance of MR::ChangeObjectColorAction to its base class MR::HistoryAction. This version is acting on mutable pointers.