MeshLib C Docs
Loading...
Searching...
No Matches
MRChangeColoringActions.h File Reference
#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
 std::vector<T>-like container that requires specific indexing type,
typedef struct MR_HistoryAction MR_HistoryAction
typedef struct MR_UndirectedEdgeColors MR_UndirectedEdgeColors
 std::vector<T>-like container that requires specific indexing type,
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 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 }

Functions

MRC_API MR_ChangeObjectColorActionMR_ChangeObjectColorAction_ConstructFromAnother (MR_PassBy _other_pass_by, MR_ChangeObjectColorAction *_other)
MRC_API const MR_ChangeObjectColorActionMR_ChangeObjectColorAction_OffsetPtr (const MR_ChangeObjectColorAction *ptr, ptrdiff_t i)
MRC_API MR_ChangeObjectColorActionMR_ChangeObjectColorAction_OffsetMutablePtr (MR_ChangeObjectColorAction *ptr, ptrdiff_t i)
MRC_API const MR_HistoryActionMR_ChangeObjectColorAction_UpcastTo_MR_HistoryAction (const MR_ChangeObjectColorAction *object)
MRC_API MR_HistoryActionMR_ChangeObjectColorAction_MutableUpcastTo_MR_HistoryAction (MR_ChangeObjectColorAction *object)
MRC_API const MR_ChangeObjectColorActionMR_ChangeObjectColorAction_StaticDowncastFrom_MR_HistoryAction (const MR_HistoryAction *object)
MRC_API MR_ChangeObjectColorActionMR_ChangeObjectColorAction_MutableStaticDowncastFrom_MR_HistoryAction (MR_HistoryAction *object)
MRC_API const MR_ChangeObjectColorActionMR_ChangeObjectColorAction_DynamicDowncastFrom_MR_HistoryAction (const MR_HistoryAction *object)
MRC_API MR_ChangeObjectColorActionMR_ChangeObjectColorAction_MutableDynamicDowncastFrom_MR_HistoryAction (MR_HistoryAction *object)
MRC_API const MR_ChangeObjectColorActionMR_ChangeObjectColorAction_DynamicDowncastFromOrFail_MR_HistoryAction (const MR_HistoryAction *object)
MRC_API MR_ChangeObjectColorActionMR_ChangeObjectColorAction_MutableDynamicDowncastFromOrFail_MR_HistoryAction (MR_HistoryAction *object)
MRC_API MR_ChangeObjectColorActionMR_ChangeObjectColorAction_Construct (const char *name, const char *name_end, const MR_std_shared_ptr_MR_VisualObject *obj, MR_ChangeObjectColorAction_Type type)
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_ChangeObjectColorActionMR_ChangeObjectColorAction_AssignFromAnother (MR_ChangeObjectColorAction *_this, MR_PassBy _other_pass_by, MR_ChangeObjectColorAction *_other)
MRC_API MR_std_stringMR_ChangeObjectColorAction_name (const MR_ChangeObjectColorAction *_this)
MRC_API void MR_ChangeObjectColorAction_action (MR_ChangeObjectColorAction *_this, MR_HistoryAction_Type _1)
MRC_API void MR_ChangeObjectColorAction_setObjectDirty (const MR_std_shared_ptr_MR_VisualObject *_1)
MRC_API MR_uint64_t MR_ChangeObjectColorAction_heapBytes (const MR_ChangeObjectColorAction *_this)
MRC_API MR_ChangeFacesColorMapActionMR_ChangeFacesColorMapAction_ConstructFromAnother (MR_PassBy _other_pass_by, MR_ChangeFacesColorMapAction *_other)
MRC_API const MR_ChangeFacesColorMapActionMR_ChangeFacesColorMapAction_OffsetPtr (const MR_ChangeFacesColorMapAction *ptr, ptrdiff_t i)
MRC_API MR_ChangeFacesColorMapActionMR_ChangeFacesColorMapAction_OffsetMutablePtr (MR_ChangeFacesColorMapAction *ptr, ptrdiff_t i)
MRC_API const MR_HistoryActionMR_ChangeFacesColorMapAction_UpcastTo_MR_HistoryAction (const MR_ChangeFacesColorMapAction *object)
MRC_API MR_HistoryActionMR_ChangeFacesColorMapAction_MutableUpcastTo_MR_HistoryAction (MR_ChangeFacesColorMapAction *object)
MRC_API const MR_ChangeFacesColorMapActionMR_ChangeFacesColorMapAction_StaticDowncastFrom_MR_HistoryAction (const MR_HistoryAction *object)
MRC_API MR_ChangeFacesColorMapActionMR_ChangeFacesColorMapAction_MutableStaticDowncastFrom_MR_HistoryAction (MR_HistoryAction *object)
MRC_API const MR_ChangeFacesColorMapActionMR_ChangeFacesColorMapAction_DynamicDowncastFrom_MR_HistoryAction (const MR_HistoryAction *object)
MRC_API MR_ChangeFacesColorMapActionMR_ChangeFacesColorMapAction_MutableDynamicDowncastFrom_MR_HistoryAction (MR_HistoryAction *object)
MRC_API const MR_ChangeFacesColorMapActionMR_ChangeFacesColorMapAction_DynamicDowncastFromOrFail_MR_HistoryAction (const MR_HistoryAction *object)
MRC_API MR_ChangeFacesColorMapActionMR_ChangeFacesColorMapAction_MutableDynamicDowncastFromOrFail_MR_HistoryAction (MR_HistoryAction *object)
MRC_API MR_ChangeFacesColorMapActionMR_ChangeFacesColorMapAction_Construct_2 (const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectMeshHolder *obj)
MRC_API MR_ChangeFacesColorMapActionMR_ChangeFacesColorMapAction_Construct_3 (const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectMeshHolder *obj, MR_FaceColors *newColorMap)
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_ChangeFacesColorMapActionMR_ChangeFacesColorMapAction_AssignFromAnother (MR_ChangeFacesColorMapAction *_this, MR_PassBy _other_pass_by, MR_ChangeFacesColorMapAction *_other)
MRC_API MR_std_stringMR_ChangeFacesColorMapAction_name (const MR_ChangeFacesColorMapAction *_this)
MRC_API void MR_ChangeFacesColorMapAction_action (MR_ChangeFacesColorMapAction *_this, MR_HistoryAction_Type _1)
MRC_API void MR_ChangeFacesColorMapAction_setObjectDirty (const MR_std_shared_ptr_MR_ObjectMeshHolder *obj)
MRC_API MR_uint64_t MR_ChangeFacesColorMapAction_heapBytes (const MR_ChangeFacesColorMapAction *_this)
MRC_API MR_ChangeLinesColorMapActionMR_ChangeLinesColorMapAction_ConstructFromAnother (MR_PassBy _other_pass_by, MR_ChangeLinesColorMapAction *_other)
MRC_API const MR_ChangeLinesColorMapActionMR_ChangeLinesColorMapAction_OffsetPtr (const MR_ChangeLinesColorMapAction *ptr, ptrdiff_t i)
MRC_API MR_ChangeLinesColorMapActionMR_ChangeLinesColorMapAction_OffsetMutablePtr (MR_ChangeLinesColorMapAction *ptr, ptrdiff_t i)
MRC_API const MR_HistoryActionMR_ChangeLinesColorMapAction_UpcastTo_MR_HistoryAction (const MR_ChangeLinesColorMapAction *object)
MRC_API MR_HistoryActionMR_ChangeLinesColorMapAction_MutableUpcastTo_MR_HistoryAction (MR_ChangeLinesColorMapAction *object)
MRC_API const MR_ChangeLinesColorMapActionMR_ChangeLinesColorMapAction_StaticDowncastFrom_MR_HistoryAction (const MR_HistoryAction *object)
MRC_API MR_ChangeLinesColorMapActionMR_ChangeLinesColorMapAction_MutableStaticDowncastFrom_MR_HistoryAction (MR_HistoryAction *object)
MRC_API const MR_ChangeLinesColorMapActionMR_ChangeLinesColorMapAction_DynamicDowncastFrom_MR_HistoryAction (const MR_HistoryAction *object)
MRC_API MR_ChangeLinesColorMapActionMR_ChangeLinesColorMapAction_MutableDynamicDowncastFrom_MR_HistoryAction (MR_HistoryAction *object)
MRC_API const MR_ChangeLinesColorMapActionMR_ChangeLinesColorMapAction_DynamicDowncastFromOrFail_MR_HistoryAction (const MR_HistoryAction *object)
MRC_API MR_ChangeLinesColorMapActionMR_ChangeLinesColorMapAction_MutableDynamicDowncastFromOrFail_MR_HistoryAction (MR_HistoryAction *object)
MRC_API MR_ChangeLinesColorMapActionMR_ChangeLinesColorMapAction_Construct_2 (const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectLinesHolder *obj)
MRC_API MR_ChangeLinesColorMapActionMR_ChangeLinesColorMapAction_Construct_3 (const char *name, const char *name_end, const MR_std_shared_ptr_MR_ObjectLinesHolder *obj, MR_UndirectedEdgeColors *newColorMap)
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_ChangeLinesColorMapActionMR_ChangeLinesColorMapAction_AssignFromAnother (MR_ChangeLinesColorMapAction *_this, MR_PassBy _other_pass_by, MR_ChangeLinesColorMapAction *_other)
MRC_API MR_std_stringMR_ChangeLinesColorMapAction_name (const MR_ChangeLinesColorMapAction *_this)
MRC_API void MR_ChangeLinesColorMapAction_action (MR_ChangeLinesColorMapAction *_this, MR_HistoryAction_Type _1)
MRC_API void MR_ChangeLinesColorMapAction_setObjectDirty (const MR_std_shared_ptr_MR_ObjectLinesHolder *obj)
MRC_API MR_uint64_t MR_ChangeLinesColorMapAction_heapBytes (const MR_ChangeLinesColorMapAction *_this)

Typedef Documentation

◆ 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).

◆ 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).

◆ 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).

◆ MR_ChangeObjectColorAction_Type

◆ MR_FaceColors

typedef struct MR_FaceColors MR_FaceColors

std::vector<T>-like container that requires specific indexing type,

Template Parameters
Ttype of stored elements
Itype of index (shall be convertible to size_t) Generated from class MR::FaceColors. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_HistoryAction

Abstract class for history actions Generated from class MR::HistoryAction. Derived classes: Direct: (non-virtual) MR::ChangVoxelSelectionAction MR::ChangeActiveBoxAction MR::ChangeColoringType MR::ChangeDualMarchingCubesAction MR::ChangeFacesColorMapAction MR::ChangeGridAction MR::ChangeIsoAction MR::ChangeLabelAction MR::ChangeLinesColorMapAction MR::ChangeMeshAction MR::ChangeMeshCreasesAction MR::ChangeMeshDataAction MR::ChangeMeshEdgeSelectionAction MR::ChangeMeshFaceSelectionAction MR::ChangeMeshPointsAction MR::ChangeMeshTexturePerFaceAction MR::ChangeMeshTopologyAction MR::ChangeMeshUVCoordsAction MR::ChangeNameAction MR::ChangeObjectAction MR::ChangeObjectColorAction MR::ChangeObjectSelectedAction MR::ChangeObjectVisibilityAction MR::ChangeOneNormalInCloudAction MR::ChangeOnePointInCloudAction MR::ChangeOnePointInPolylineAction MR::ChangePointCloudAction MR::ChangePointCloudNormalsAction MR::ChangePointCloudPointsAction MR::ChangePointPointSelectionAction MR::ChangePolylineAction MR::ChangePolylinePointsAction MR::ChangePolylineTopologyAction MR::ChangeScaleAction MR::ChangeSceneAction MR::ChangeSceneObjectsOrder MR::ChangeSurfaceAction MR::ChangeTextureAction MR::ChangeVisualizePropertyAction MR::ChangeXfAction MR::CombinedHistoryAction MR::PartialChangeMeshAction MR::PartialChangeMeshDataAction MR::PartialChangeMeshPointsAction MR::PartialChangeMeshTopologyAction MR::VersatileChangeMeshPointsAction

◆ MR_std_shared_ptr_MR_ObjectLinesHolder

Wraps a pointer to a single shared reference-counted heap-allocated MR::ObjectLinesHolder. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_std_shared_ptr_MR_ObjectMeshHolder

Wraps a pointer to a single shared reference-counted heap-allocated MR::ObjectMeshHolder. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_std_shared_ptr_MR_VisualObject

Wraps a pointer to a single shared reference-counted heap-allocated MR::VisualObject. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_UndirectedEdgeColors

std::vector<T>-like container that requires specific indexing type,

Template Parameters
Ttype of stored elements
Itype of index (shall be convertible to size_t) Generated from class MR::UndirectedEdgeColors. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

Enumeration Type Documentation

◆ MR_ChangeObjectColorAction_Type

Enumerator
MR_ChangeObjectColorAction_Type_Unselected 
MR_ChangeObjectColorAction_Type_Selected 
MR_ChangeObjectColorAction_Type_Back 

Function Documentation

◆ MR_ChangeFacesColorMapAction_action()

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.

◆ MR_ChangeFacesColorMapAction_AssignFromAnother()

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 held previously.

◆ MR_ChangeFacesColorMapAction_Construct_2()

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.

◆ MR_ChangeFacesColorMapAction_Construct_3()

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.

◆ MR_ChangeFacesColorMapAction_ConstructFromAnother()

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.

◆ MR_ChangeFacesColorMapAction_Destroy()

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.

◆ MR_ChangeFacesColorMapAction_DestroyArray()

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.

◆ MR_ChangeFacesColorMapAction_DynamicDowncastFrom_MR_HistoryAction()

MRC_API const MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_DynamicDowncastFrom_MR_HistoryAction ( const MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeFacesColorMapAction. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeFacesColorMapAction_DynamicDowncastFromOrFail_MR_HistoryAction()

MRC_API const MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_DynamicDowncastFromOrFail_MR_HistoryAction ( const MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeFacesColorMapAction. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. This version is acting on mutable pointers. Parameter object can not be null. It is a single object. The reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_ChangeFacesColorMapAction_heapBytes()

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.

◆ MR_ChangeFacesColorMapAction_MutableDynamicDowncastFrom_MR_HistoryAction()

MRC_API MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_MutableDynamicDowncastFrom_MR_HistoryAction ( MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeFacesColorMapAction. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeFacesColorMapAction_MutableDynamicDowncastFromOrFail_MR_HistoryAction()

MRC_API MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_MutableDynamicDowncastFromOrFail_MR_HistoryAction ( MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeFacesColorMapAction. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. Parameter object can not be null. It is a single object. The reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_ChangeFacesColorMapAction_MutableStaticDowncastFrom_MR_HistoryAction()

MRC_API MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_MutableStaticDowncastFrom_MR_HistoryAction ( MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeFacesColorMapAction. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeFacesColorMapAction_MutableUpcastTo_MR_HistoryAction()

MRC_API MR_HistoryAction * MR_ChangeFacesColorMapAction_MutableUpcastTo_MR_HistoryAction ( MR_ChangeFacesColorMapAction * object)

Upcasts an instance of MR::ChangeFacesColorMapAction to its base class MR::HistoryAction. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeFacesColorMapAction_name()

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.

◆ MR_ChangeFacesColorMapAction_OffsetMutablePtr()

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.

◆ MR_ChangeFacesColorMapAction_OffsetPtr()

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.

◆ MR_ChangeFacesColorMapAction_setObjectDirty()

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.

◆ MR_ChangeFacesColorMapAction_StaticDowncastFrom_MR_HistoryAction()

MRC_API const MR_ChangeFacesColorMapAction * MR_ChangeFacesColorMapAction_StaticDowncastFrom_MR_HistoryAction ( const MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeFacesColorMapAction. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeFacesColorMapAction_UpcastTo_MR_HistoryAction()

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. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeLinesColorMapAction_action()

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.

◆ MR_ChangeLinesColorMapAction_AssignFromAnother()

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 held previously.

◆ MR_ChangeLinesColorMapAction_Construct_2()

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.

◆ MR_ChangeLinesColorMapAction_Construct_3()

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.

◆ MR_ChangeLinesColorMapAction_ConstructFromAnother()

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.

◆ MR_ChangeLinesColorMapAction_Destroy()

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.

◆ MR_ChangeLinesColorMapAction_DestroyArray()

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.

◆ MR_ChangeLinesColorMapAction_DynamicDowncastFrom_MR_HistoryAction()

MRC_API const MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_DynamicDowncastFrom_MR_HistoryAction ( const MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeLinesColorMapAction. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeLinesColorMapAction_DynamicDowncastFromOrFail_MR_HistoryAction()

MRC_API const MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_DynamicDowncastFromOrFail_MR_HistoryAction ( const MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeLinesColorMapAction. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. This version is acting on mutable pointers. Parameter object can not be null. It is a single object. The reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_ChangeLinesColorMapAction_heapBytes()

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.

◆ MR_ChangeLinesColorMapAction_MutableDynamicDowncastFrom_MR_HistoryAction()

MRC_API MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_MutableDynamicDowncastFrom_MR_HistoryAction ( MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeLinesColorMapAction. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeLinesColorMapAction_MutableDynamicDowncastFromOrFail_MR_HistoryAction()

MRC_API MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_MutableDynamicDowncastFromOrFail_MR_HistoryAction ( MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeLinesColorMapAction. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. Parameter object can not be null. It is a single object. The reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_ChangeLinesColorMapAction_MutableStaticDowncastFrom_MR_HistoryAction()

MRC_API MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_MutableStaticDowncastFrom_MR_HistoryAction ( MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeLinesColorMapAction. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeLinesColorMapAction_MutableUpcastTo_MR_HistoryAction()

MRC_API MR_HistoryAction * MR_ChangeLinesColorMapAction_MutableUpcastTo_MR_HistoryAction ( MR_ChangeLinesColorMapAction * object)

Upcasts an instance of MR::ChangeLinesColorMapAction to its base class MR::HistoryAction. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeLinesColorMapAction_name()

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.

◆ MR_ChangeLinesColorMapAction_OffsetMutablePtr()

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.

◆ MR_ChangeLinesColorMapAction_OffsetPtr()

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.

◆ MR_ChangeLinesColorMapAction_setObjectDirty()

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.

◆ MR_ChangeLinesColorMapAction_StaticDowncastFrom_MR_HistoryAction()

MRC_API const MR_ChangeLinesColorMapAction * MR_ChangeLinesColorMapAction_StaticDowncastFrom_MR_HistoryAction ( const MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeLinesColorMapAction. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeLinesColorMapAction_UpcastTo_MR_HistoryAction()

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. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeObjectColorAction_action()

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.

◆ MR_ChangeObjectColorAction_AssignFromAnother()

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 held previously.

◆ MR_ChangeObjectColorAction_Construct()

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.

◆ MR_ChangeObjectColorAction_ConstructFromAnother()

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.

◆ MR_ChangeObjectColorAction_Destroy()

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.

◆ MR_ChangeObjectColorAction_DestroyArray()

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.

◆ MR_ChangeObjectColorAction_DynamicDowncastFrom_MR_HistoryAction()

MRC_API const MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_DynamicDowncastFrom_MR_HistoryAction ( const MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeObjectColorAction. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeObjectColorAction_DynamicDowncastFromOrFail_MR_HistoryAction()

MRC_API const MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_DynamicDowncastFromOrFail_MR_HistoryAction ( const MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeObjectColorAction. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. This version is acting on mutable pointers. Parameter object can not be null. It is a single object. The reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_ChangeObjectColorAction_heapBytes()

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.

◆ MR_ChangeObjectColorAction_MutableDynamicDowncastFrom_MR_HistoryAction()

MRC_API MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_MutableDynamicDowncastFrom_MR_HistoryAction ( MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeObjectColorAction. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeObjectColorAction_MutableDynamicDowncastFromOrFail_MR_HistoryAction()

MRC_API MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_MutableDynamicDowncastFromOrFail_MR_HistoryAction ( MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeObjectColorAction. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. Parameter object can not be null. It is a single object. The reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_ChangeObjectColorAction_MutableStaticDowncastFrom_MR_HistoryAction()

MRC_API MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_MutableStaticDowncastFrom_MR_HistoryAction ( MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeObjectColorAction. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeObjectColorAction_MutableUpcastTo_MR_HistoryAction()

MRC_API MR_HistoryAction * MR_ChangeObjectColorAction_MutableUpcastTo_MR_HistoryAction ( MR_ChangeObjectColorAction * object)

Upcasts an instance of MR::ChangeObjectColorAction to its base class MR::HistoryAction. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeObjectColorAction_name()

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.

◆ MR_ChangeObjectColorAction_OffsetMutablePtr()

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.

◆ MR_ChangeObjectColorAction_OffsetPtr()

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.

◆ MR_ChangeObjectColorAction_setObjectDirty()

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.

◆ MR_ChangeObjectColorAction_StaticDowncastFrom_MR_HistoryAction()

MRC_API const MR_ChangeObjectColorAction * MR_ChangeObjectColorAction_StaticDowncastFrom_MR_HistoryAction ( const MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeObjectColorAction. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeObjectColorAction_UpcastTo_MR_HistoryAction()

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. The reference to the parameter object might be preserved in the return value.