MeshLib C Docs
Loading...
Searching...
No Matches
MRObjectGcode.h File Reference
#include <MRCMesh/MRAffineXf.h>
#include <MRCMesh/MRBox.h>
#include <MRCMesh/MREnums.h>
#include <MRCMesh/MRViewportId.h>
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum
 
typedef struct MR_CNCMachineSettings MR_CNCMachineSettings
 
typedef struct MR_Color MR_Color
 
typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams
 
typedef struct MR_ModelRenderParams MR_ModelRenderParams
 
typedef struct MR_Object MR_Object
 
typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder
 
typedef struct MR_ObjectLinesHolder MR_ObjectLinesHolder
 
typedef struct MR_UiRenderParams MR_UiRenderParams
 
typedef struct MR_UndirectedEdgeColors MR_UndirectedEdgeColors
 
typedef struct MR_Vector4_unsigned_char MR_Vector4_unsigned_char
 
typedef struct MR_VertColors MR_VertColors
 
typedef struct MR_VertMap MR_VertMap
 
typedef struct MR_ViewportMask MR_ViewportMask
 
typedef struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f
 
typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color
 
typedef struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char
 
typedef struct MR_VisualObject MR_VisualObject
 
typedef struct MR_std_set_std_string MR_std_set_std_string
 
typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
 
typedef struct MR_std_shared_ptr_const_MR_Polyline3 MR_std_shared_ptr_const_MR_Polyline3
 
typedef struct MR_std_shared_ptr_std_vector_std_string MR_std_shared_ptr_std_vector_std_string
 
typedef struct MR_std_string MR_std_string
 
typedef struct MR_std_vector_MR_GcodeProcessor_MoveAction MR_std_vector_MR_GcodeProcessor_MoveAction
 
typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask
 
typedef struct MR_std_vector_int MR_std_vector_int
 
typedef struct MR_std_vector_std_string MR_std_vector_std_string
 
typedef struct MR_ObjectGcode MR_ObjectGcode
 

Functions

MRC_API MR_ObjectGcodeMR_ObjectGcode_DefaultConstruct (void)
 
MRC_API MR_ObjectGcodeMR_ObjectGcode_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_ObjectGcodeMR_ObjectGcode_OffsetPtr (const MR_ObjectGcode *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 MR_ObjectGcodeMR_ObjectGcode_OffsetMutablePtr (MR_ObjectGcode *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_ObjectChildrenHolderMR_ObjectGcode_UpcastTo_MR_ObjectChildrenHolder (const MR_ObjectGcode *object)
 
MRC_API MR_ObjectChildrenHolderMR_ObjectGcode_MutableUpcastTo_MR_ObjectChildrenHolder (MR_ObjectGcode *object)
 Upcasts an instance of MR::ObjectGcode to its base class MR::ObjectChildrenHolder.
 
MRC_API const MR_ObjectMR_ObjectGcode_UpcastTo_MR_Object (const MR_ObjectGcode *object)
 
MRC_API MR_ObjectMR_ObjectGcode_MutableUpcastTo_MR_Object (MR_ObjectGcode *object)
 Upcasts an instance of MR::ObjectGcode to its base class MR::Object.
 
MRC_API const MR_VisualObjectMR_ObjectGcode_UpcastTo_MR_VisualObject (const MR_ObjectGcode *object)
 
MRC_API MR_VisualObjectMR_ObjectGcode_MutableUpcastTo_MR_VisualObject (MR_ObjectGcode *object)
 Upcasts an instance of MR::ObjectGcode to its base class MR::VisualObject.
 
MRC_API const MR_ObjectLinesHolderMR_ObjectGcode_UpcastTo_MR_ObjectLinesHolder (const MR_ObjectGcode *object)
 
MRC_API MR_ObjectLinesHolderMR_ObjectGcode_MutableUpcastTo_MR_ObjectLinesHolder (MR_ObjectGcode *object)
 Upcasts an instance of MR::ObjectGcode to its base class MR::ObjectLinesHolder.
 
MRC_API MR_ObjectGcodeMR_ObjectGcode_ConstructFromAnother (MR_PassBy _other_pass_by, MR_ObjectGcode *_other)
 
MRC_API void MR_ObjectGcode_Destroy (const MR_ObjectGcode *_this)
 Destroys a heap-allocated instance of MR_ObjectGcode. Does nothing if the pointer is null.
 
MRC_API void MR_ObjectGcode_DestroyArray (const MR_ObjectGcode *_this)
 Destroys a heap-allocated array of MR_ObjectGcode. Does nothing if the pointer is null.
 
MRC_API MR_ObjectGcodeMR_ObjectGcode_AssignFromAnother (MR_ObjectGcode *_this, MR_PassBy _other_pass_by, MR_ObjectGcode *_other)
 
MRC_API const char * MR_ObjectGcode_StaticTypeName (void)
 Generated from method MR::ObjectGcode::StaticTypeName.
 
MRC_API const char * MR_ObjectGcode_typeName (const MR_ObjectGcode *_this)
 
MRC_API const char * MR_ObjectGcode_StaticClassName (void)
 Generated from method MR::ObjectGcode::StaticClassName.
 
MRC_API MR_std_stringMR_ObjectGcode_className (const MR_ObjectGcode *_this)
 
MRC_API const char * MR_ObjectGcode_StaticClassNameInPlural (void)
 Generated from method MR::ObjectGcode::StaticClassNameInPlural.
 
MRC_API MR_std_stringMR_ObjectGcode_classNameInPlural (const MR_ObjectGcode *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_ObjectGcode_clone (const MR_ObjectGcode *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_ObjectGcode_shallowClone (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setCNCMachineSettings (MR_ObjectGcode *_this, const MR_CNCMachineSettings *cncSettings)
 
MRC_API const MR_CNCMachineSettingsMR_ObjectGcode_getCNCMachineSettings (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setGcodeSource (MR_ObjectGcode *_this, const MR_std_shared_ptr_std_vector_std_string *gcodeSource)
 
MRC_API const MR_std_shared_ptr_std_vector_std_stringMR_ObjectGcode_gcodeSource (const MR_ObjectGcode *_this)
 
MRC_API const MR_std_vector_MR_GcodeProcessor_MoveActionMR_ObjectGcode_actionList (const MR_ObjectGcode *_this)
 
MRC_API const MR_std_vector_intMR_ObjectGcode_segmentToSourceLineMap (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setDirtyFlags (MR_ObjectGcode *_this, unsigned int mask, const bool *invalidateCaches)
 
MRC_API MR_std_vector_std_stringMR_ObjectGcode_getInfoLines (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_switchFeedrateGradient (MR_ObjectGcode *_this, bool isFeedrateGradientEnabled)
 
MRC_API bool MR_ObjectGcode_isFeedrateGradient (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setIdleColor (MR_ObjectGcode *_this, const MR_Color *color)
 
MRC_API const MR_ColorMR_ObjectGcode_getIdleColor (const MR_ObjectGcode *_this)
 
MRC_API bool MR_ObjectGcode_select (MR_ObjectGcode *_this, bool isSelected)
 
MRC_API void MR_ObjectGcode_setFrontColor (MR_ObjectGcode *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
 
MRC_API MR_uint64_t MR_ObjectGcode_heapBytes (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_applyScale (MR_ObjectGcode *_this, float scaleFactor)
 
MRC_API bool MR_ObjectGcode_hasVisualRepresentation (const MR_ObjectGcode *_this)
 
MRC_API bool MR_ObjectGcode_hasModel (const MR_ObjectGcode *_this)
 
MRC_API const MR_std_shared_ptr_const_MR_Polyline3MR_ObjectGcode_polyline (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setDashPattern (MR_ObjectGcode *_this, const MR_Vector4_unsigned_char *pattern, const MR_ViewportId *vpId)
 
MRC_API const MR_Vector4_unsigned_charMR_ObjectGcode_getDashPattern (const MR_ObjectGcode *_this, const MR_ViewportId *vpId, bool *isDef)
 
MRC_API void MR_ObjectGcode_setLineWidth (MR_ObjectGcode *_this, float width)
 
MRC_API float MR_ObjectGcode_getLineWidth (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setPointSize (MR_ObjectGcode *_this, float size)
 
MRC_API float MR_ObjectGcode_getPointSize (const MR_ObjectGcode *_this)
 
MRC_API const MR_VertColorsMR_ObjectGcode_getVertsColorMap (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setVertsColorMap (MR_ObjectGcode *_this, MR_PassBy vertsColorMap_pass_by, MR_VertColors *vertsColorMap)
 
MRC_API void MR_ObjectGcode_updateVertsColorMap (MR_ObjectGcode *_this, MR_VertColors *vertsColorMap)
 
MRC_API const MR_UndirectedEdgeColorsMR_ObjectGcode_getLinesColorMap (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setLinesColorMap (MR_ObjectGcode *_this, MR_PassBy linesColorMap_pass_by, MR_UndirectedEdgeColors *linesColorMap)
 
MRC_API void MR_ObjectGcode_updateLinesColorMap (MR_ObjectGcode *_this, MR_UndirectedEdgeColors *updated)
 
MRC_API bool MR_ObjectGcode_supportsVisualizeProperty (const MR_ObjectGcode *_this, const MR_AnyVisualizeMaskEnum *type)
 
MRC_API MR_std_vector_MR_ViewportMaskMR_ObjectGcode_getAllVisualizeProperties (const MR_ObjectGcode *_this)
 
MRC_API const MR_ViewportMaskMR_ObjectGcode_getVisualizePropertyMask (const MR_ObjectGcode *_this, const MR_AnyVisualizeMaskEnum *type)
 
MRC_API void MR_ObjectGcode_copyColors (MR_ObjectGcode *_this, const MR_ObjectLinesHolder *src, const MR_VertMap *thisToSrc)
 
MRC_API MR_Box3f MR_ObjectGcode_getWorldBox (const MR_ObjectGcode *_this, const MR_ViewportId *_1)
 
MRC_API float MR_ObjectGcode_avgEdgeLen (const MR_ObjectGcode *_this)
 
MRC_API MR_uint64_t MR_ObjectGcode_numUndirectedEdges (const MR_ObjectGcode *_this)
 
MRC_API MR_uint64_t MR_ObjectGcode_numComponents (const MR_ObjectGcode *_this)
 
MRC_API float MR_ObjectGcode_totalLength (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_resetFrontColor (MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setVisualizeProperty (MR_ObjectGcode *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectGcode_setVisualizePropertyMask (MR_ObjectGcode *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_ObjectGcode_getVisualizeProperty (const MR_ObjectGcode *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectGcode_toggleVisualizeProperty (MR_ObjectGcode *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectGcode_setAllVisualizeProperties (MR_ObjectGcode *_this, const MR_std_vector_MR_ViewportMask *properties)
 
MRC_API void MR_ObjectGcode_copyAllSolidColors (MR_ObjectGcode *_this, const MR_VisualObject *other)
 
MRC_API MR_ViewportMaskMR_ObjectGcode_globalClippedByPlaneMask (const MR_ObjectGcode *_this)
 
MRC_API bool MR_ObjectGcode_globalClippedByPlane (const MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectGcode_setGlobalClippedByPlane (MR_ObjectGcode *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API const MR_ColorMR_ObjectGcode_getFrontColor (const MR_ObjectGcode *_this, const bool *selected, const MR_ViewportId *viewportId)
 
MRC_API const MR_ViewportProperty_MR_ColorMR_ObjectGcode_getFrontColorsForAllViewports (const MR_ObjectGcode *_this, const bool *selected)
 
MRC_API void MR_ObjectGcode_setFrontColorsForAllViewports (MR_ObjectGcode *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
 
MRC_API const MR_ViewportProperty_MR_ColorMR_ObjectGcode_getBackColorsForAllViewports (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setBackColorsForAllViewports (MR_ObjectGcode *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
 
MRC_API const MR_ColorMR_ObjectGcode_getBackColor (const MR_ObjectGcode *_this, const MR_ViewportId *viewportId)
 
MRC_API void MR_ObjectGcode_setBackColor (MR_ObjectGcode *_this, const MR_Color *color, const MR_ViewportId *viewportId)
 
MRC_API const unsigned char * MR_ObjectGcode_getGlobalAlpha (const MR_ObjectGcode *_this, const MR_ViewportId *viewportId)
 
MRC_API void MR_ObjectGcode_setGlobalAlpha (MR_ObjectGcode *_this, unsigned char alpha, const MR_ViewportId *viewportId)
 
MRC_API const MR_ViewportProperty_unsigned_charMR_ObjectGcode_getGlobalAlphaForAllViewports (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setGlobalAlphaForAllViewports (MR_ObjectGcode *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
 
MRC_API unsigned int MR_ObjectGcode_getDirtyFlags (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_resetDirty (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_resetDirtyExceptMask (const MR_ObjectGcode *_this, unsigned int mask)
 
MRC_API MR_Box3f MR_ObjectGcode_getBoundingBox (const MR_ObjectGcode *_this)
 
MRC_API bool MR_ObjectGcode_getRedrawFlag (const MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_ObjectGcode_isPickable (const MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectGcode_setPickable (MR_ObjectGcode *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API MR_ColoringType MR_ObjectGcode_getColoringType (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setColoringType (MR_ObjectGcode *_this, MR_ColoringType coloringType)
 
MRC_API float MR_ObjectGcode_getShininess (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setShininess (MR_ObjectGcode *_this, float shininess)
 
MRC_API float MR_ObjectGcode_getSpecularStrength (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setSpecularStrength (MR_ObjectGcode *_this, float specularStrength)
 
MRC_API float MR_ObjectGcode_getAmbientStrength (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setAmbientStrength (MR_ObjectGcode *_this, float ambientStrength)
 
MRC_API bool MR_ObjectGcode_render (const MR_ObjectGcode *_this, const MR_ModelRenderParams *_1)
 
MRC_API void MR_ObjectGcode_renderForPicker (const MR_ObjectGcode *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
 
MRC_API void MR_ObjectGcode_renderUi (const MR_ObjectGcode *_this, const MR_UiRenderParams *params)
 
MRC_API bool MR_ObjectGcode_useDefaultScenePropertiesOnDeserialization (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setUseDefaultScenePropertiesOnDeserialization (MR_ObjectGcode *_this, bool useDefaultScenePropertiesOnDeserialization)
 
MRC_API void MR_ObjectGcode_resetColors (MR_ObjectGcode *_this)
 
MRC_API const MR_std_stringMR_ObjectGcode_name (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setName (MR_ObjectGcode *_this, const char *name, const char *name_end)
 
MRC_API const MR_AffineXf3fMR_ObjectGcode_xf (const MR_ObjectGcode *_this, const MR_ViewportId *id, bool *isDef)
 
MRC_API void MR_ObjectGcode_setXf (MR_ObjectGcode *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
 
MRC_API void MR_ObjectGcode_resetXf (MR_ObjectGcode *_this, const MR_ViewportId *id)
 
MRC_API const MR_ViewportProperty_MR_AffineXf3fMR_ObjectGcode_xfsForAllViewports (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setXfsForAllViewports (MR_ObjectGcode *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
 
MRC_API MR_AffineXf3f MR_ObjectGcode_worldXf (const MR_ObjectGcode *_this, const MR_ViewportId *id, bool *isDef)
 
MRC_API void MR_ObjectGcode_setWorldXf (MR_ObjectGcode *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
 
MRC_API MR_ViewportMaskMR_ObjectGcode_globalVisibilityMask (const MR_ObjectGcode *_this)
 
MRC_API bool MR_ObjectGcode_globalVisibility (const MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectGcode_setGlobalVisibility (MR_ObjectGcode *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_ObjectGcode_isLocked (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setLocked (MR_ObjectGcode *_this, bool on)
 
MRC_API bool MR_ObjectGcode_isParentLocked (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setParentLocked (MR_ObjectGcode *_this, bool lock)
 
MRC_API bool MR_ObjectGcode_isAncestor (const MR_ObjectGcode *_this, const MR_Object *ancestor)
 
MRC_API bool MR_ObjectGcode_detachFromParent (MR_ObjectGcode *_this)
 
MRC_API bool MR_ObjectGcode_addChild (MR_ObjectGcode *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
 
MRC_API bool MR_ObjectGcode_addChildBefore (MR_ObjectGcode *_this, MR_PassBy newChild_pass_by, MR_std_shared_ptr_MR_Object *newChild, const MR_std_shared_ptr_MR_Object *existingChild)
 
MRC_API void MR_ObjectGcode_removeAllChildren (MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_sortChildren (MR_ObjectGcode *_this)
 
MRC_API bool MR_ObjectGcode_isSelected (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setAncillary (MR_ObjectGcode *_this, bool ancillary)
 
MRC_API bool MR_ObjectGcode_isAncillary (const MR_ObjectGcode *_this)
 
MRC_API bool MR_ObjectGcode_isGlobalAncillary (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_setVisible (MR_ObjectGcode *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_ObjectGcode_isVisible (const MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectGcode_setVisibilityMask (MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask)
 
MRC_API MR_ViewportMaskMR_ObjectGcode_visibilityMask (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_resetRedrawFlag (const MR_ObjectGcode *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_ObjectGcode_cloneTree (const MR_ObjectGcode *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_ObjectGcode_shallowCloneTree (const MR_ObjectGcode *_this)
 
MRC_API void MR_ObjectGcode_swap (MR_ObjectGcode *_this, MR_Object *other)
 
MRC_API MR_Box3f MR_ObjectGcode_getWorldTreeBox (const MR_ObjectGcode *_this, const MR_ViewportId *_1)
 
MRC_API const MR_std_set_std_stringMR_ObjectGcode_tags (const MR_ObjectGcode *_this)
 
MRC_API bool MR_ObjectGcode_addTag (MR_ObjectGcode *_this, const char *tag, const char *tag_end)
 
MRC_API bool MR_ObjectGcode_removeTag (MR_ObjectGcode *_this, const char *tag, const char *tag_end)
 
MRC_API bool MR_ObjectGcode_sameModels (const MR_ObjectGcode *_this, const MR_Object *other)
 
MRC_API MR_uint64_t MR_ObjectGcode_getModelHash (const MR_ObjectGcode *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_ObjectGcode_getSharedPtr (const MR_ObjectGcode *_this)
 

Typedef Documentation

◆ MR_AnyVisualizeMaskEnum

◆ MR_CNCMachineSettings

◆ MR_Color

typedef struct MR_Color MR_Color

◆ MR_ModelBaseRenderParams

◆ MR_ModelRenderParams

◆ MR_Object

typedef struct MR_Object MR_Object

◆ MR_ObjectChildrenHolder

◆ MR_ObjectGcode

an object that stores a g-code Generated from class MR::ObjectGcode. Base classes: Direct: (non-virtual) MR::ObjectLinesHolder Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object MR::VisualObject Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_ObjectLinesHolder

◆ MR_std_set_std_string

◆ MR_std_shared_ptr_const_MR_Polyline3

◆ MR_std_shared_ptr_MR_Object

◆ MR_std_shared_ptr_std_vector_std_string

◆ MR_std_string

typedef struct MR_std_string MR_std_string

◆ MR_std_vector_int

◆ MR_std_vector_MR_GcodeProcessor_MoveAction

◆ MR_std_vector_MR_ViewportMask

◆ MR_std_vector_std_string

◆ MR_UiRenderParams

◆ MR_UndirectedEdgeColors

◆ MR_Vector4_unsigned_char

◆ MR_VertColors

typedef struct MR_VertColors MR_VertColors

◆ MR_VertMap

typedef struct MR_VertMap MR_VertMap

◆ MR_ViewportMask

◆ MR_ViewportProperty_MR_AffineXf3f

◆ MR_ViewportProperty_MR_Color

◆ MR_ViewportProperty_unsigned_char

◆ MR_VisualObject

Function Documentation

◆ MR_ObjectGcode_actionList()

MRC_API const MR_std_vector_MR_GcodeProcessor_MoveAction * MR_ObjectGcode_actionList ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::actionList. 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.

◆ MR_ObjectGcode_addChild()

MRC_API bool MR_ObjectGcode_addChild ( MR_ObjectGcode * _this,
MR_PassBy child_pass_by,
MR_std_shared_ptr_MR_Object * child,
const bool * recognizedChild )

adds given object at the end of children (recognized or not); returns false if it was already child of this, of if given pointer is empty; child object will always report this as parent after the call;

Parameters
recognizedChildif set to false then child object will be excluded from children() and it will be stored by weak_ptr Generated from method MR::ObjectGcode::addChild. Parameter _this can not be null. It is a single object. Parameter recognizedChild has a default argument: true, pass a null pointer to use it.

◆ MR_ObjectGcode_addChildBefore()

MRC_API bool MR_ObjectGcode_addChildBefore ( MR_ObjectGcode * _this,
MR_PassBy newChild_pass_by,
MR_std_shared_ptr_MR_Object * newChild,
const MR_std_shared_ptr_MR_Object * existingChild )

adds given object in the recognized children before existingChild; if newChild was already among this children then moves it just before existingChild keeping the order of other children intact; returns false if newChild is nullptr, or existingChild is not a child of this Generated from method MR::ObjectGcode::addChildBefore. Parameter _this can not be null. It is a single object. Parameter existingChild can not be null. It is a single object.

◆ MR_ObjectGcode_addTag()

MRC_API bool MR_ObjectGcode_addTag ( MR_ObjectGcode * _this,
const char * tag,
const char * tag_end )

adds tag to the object's tag storage additionally calls ObjectTagManager::tagAddedSignal NOTE: tags starting with a dot are considered as service ones and might be hidden from UI Generated from method MR::ObjectGcode::addTag. Parameter _this can not be null. It is a single object. Parameter tag can not be null. If tag_end is null, then tag is assumed to be null-terminated.

◆ MR_ObjectGcode_applyScale()

MRC_API void MR_ObjectGcode_applyScale ( MR_ObjectGcode * _this,
float scaleFactor )

Generated from method MR::ObjectGcode::applyScale. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_AssignFromAnother()

MRC_API MR_ObjectGcode * MR_ObjectGcode_AssignFromAnother ( MR_ObjectGcode * _this,
MR_PassBy _other_pass_by,
MR_ObjectGcode * _other )

Generated from method MR::ObjectGcode::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.

◆ MR_ObjectGcode_avgEdgeLen()

MRC_API float MR_ObjectGcode_avgEdgeLen ( const MR_ObjectGcode * _this)

returns cached average edge length Generated from method MR::ObjectGcode::avgEdgeLen. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_className()

MRC_API MR_std_string * MR_ObjectGcode_className ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::className. 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_ObjectGcode_classNameInPlural()

MRC_API MR_std_string * MR_ObjectGcode_classNameInPlural ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::classNameInPlural. 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_ObjectGcode_clone()

MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectGcode_clone ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::clone. 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_shared_ptr_MR_Object_Destroy() to free it when you're done using it.

◆ MR_ObjectGcode_cloneTree()

MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectGcode_cloneTree ( const MR_ObjectGcode * _this)

clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::ObjectGcode::cloneTree. 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_shared_ptr_MR_Object_Destroy() to free it when you're done using it.

◆ MR_ObjectGcode_ConstructFromAnother()

MRC_API MR_ObjectGcode * MR_ObjectGcode_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_ObjectGcode * _other )

Generated from constructor MR::ObjectGcode::ObjectGcode. Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectGcode_Destroy() to free it when you're done using it.

◆ MR_ObjectGcode_copyAllSolidColors()

MRC_API void MR_ObjectGcode_copyAllSolidColors ( MR_ObjectGcode * _this,
const MR_VisualObject * other )

set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR::ObjectGcode::copyAllSolidColors. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.

◆ MR_ObjectGcode_copyColors()

MRC_API void MR_ObjectGcode_copyColors ( MR_ObjectGcode * _this,
const MR_ObjectLinesHolder * src,
const MR_VertMap * thisToSrc )

copies vertex colors from given source object

Parameters
srcusing given map
thisToSrcGenerated from method MR::ObjectGcode::copyColors. Parameter _this can not be null. It is a single object. Parameter src can not be null. It is a single object. Parameter thisToSrc can not be null. It is a single object.

◆ MR_ObjectGcode_DefaultConstruct()

MRC_API MR_ObjectGcode * MR_ObjectGcode_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectGcode_Destroy() to free it when you're done using it.

◆ MR_ObjectGcode_DefaultConstructArray()

MRC_API MR_ObjectGcode * MR_ObjectGcode_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_ObjectGcode_DestroyArray(). Use MR_ObjectGcode_OffsetMutablePtr() and MR_ObjectGcode_OffsetPtr() to access the array elements.

◆ MR_ObjectGcode_Destroy()

MRC_API void MR_ObjectGcode_Destroy ( const MR_ObjectGcode * _this)

Destroys a heap-allocated instance of MR_ObjectGcode. Does nothing if the pointer is null.

◆ MR_ObjectGcode_DestroyArray()

MRC_API void MR_ObjectGcode_DestroyArray ( const MR_ObjectGcode * _this)

Destroys a heap-allocated array of MR_ObjectGcode. Does nothing if the pointer is null.

◆ MR_ObjectGcode_detachFromParent()

MRC_API bool MR_ObjectGcode_detachFromParent ( MR_ObjectGcode * _this)

removes this from its parent children list returns false if it was already orphan Generated from method MR::ObjectGcode::detachFromParent. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_gcodeSource()

MRC_API const MR_std_shared_ptr_std_vector_std_string * MR_ObjectGcode_gcodeSource ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::gcodeSource. 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.

◆ MR_ObjectGcode_getAllVisualizeProperties()

MRC_API MR_std_vector_MR_ViewportMask * MR_ObjectGcode_getAllVisualizeProperties ( const MR_ObjectGcode * _this)

get all visualize properties masks Generated from method MR::ObjectGcode::getAllVisualizeProperties. 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_vector_MR_ViewportMask_Destroy() to free it when you're done using it.

◆ MR_ObjectGcode_getAmbientStrength()

MRC_API float MR_ObjectGcode_getAmbientStrength ( const MR_ObjectGcode * _this)

returns intensity of non-directional light Generated from method MR::ObjectGcode::getAmbientStrength. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_getBackColor()

MRC_API const MR_Color * MR_ObjectGcode_getBackColor ( const MR_ObjectGcode * _this,
const MR_ViewportId * viewportId )

returns backward color of object in given viewport Generated from method MR::ObjectGcode::getBackColor. Parameter _this can not be null. It is a single object. Parameter viewportId has a default argument: {}, pass a null pointer to use it. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_ObjectGcode_getBackColorsForAllViewports()

MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectGcode_getBackColorsForAllViewports ( const MR_ObjectGcode * _this)

returns backward color of object in all viewports Generated from method MR::ObjectGcode::getBackColorsForAllViewports. 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.

◆ MR_ObjectGcode_getBoundingBox()

MRC_API MR_Box3f MR_ObjectGcode_getBoundingBox ( const MR_ObjectGcode * _this)

returns cached bounding box of this object in local coordinates Generated from method MR::ObjectGcode::getBoundingBox. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_getCNCMachineSettings()

MRC_API const MR_CNCMachineSettings * MR_ObjectGcode_getCNCMachineSettings ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::getCNCMachineSettings. 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.

◆ MR_ObjectGcode_getColoringType()

MRC_API MR_ColoringType MR_ObjectGcode_getColoringType ( const MR_ObjectGcode * _this)

returns the current coloring mode of the object Generated from method MR::ObjectGcode::getColoringType. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_getDashPattern()

MRC_API const MR_Vector4_unsigned_char * MR_ObjectGcode_getDashPattern ( const MR_ObjectGcode * _this,
const MR_ViewportId * vpId,
bool * isDef )

Generated from method MR::ObjectGcode::getDashPattern. Parameter _this can not be null. It is a single object. Parameter vpId has a default argument: {}, pass a null pointer to use it. Parameter isDef defaults to a null pointer in C++. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_ObjectGcode_getDirtyFlags()

MRC_API unsigned int MR_ObjectGcode_getDirtyFlags ( const MR_ObjectGcode * _this)

returns current dirty flags for the object Generated from method MR::ObjectGcode::getDirtyFlags. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_getFrontColor()

MRC_API const MR_Color * MR_ObjectGcode_getFrontColor ( const MR_ObjectGcode * _this,
const bool * selected,
const MR_ViewportId * viewportId )

returns color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR::ObjectGcode::getFrontColor. Parameter _this can not be null. It is a single object. Parameter selected has a default argument: true, pass a null pointer to use it. Parameter viewportId has a default argument: {}, pass a null pointer to use it. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_ObjectGcode_getFrontColorsForAllViewports()

MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectGcode_getFrontColorsForAllViewports ( const MR_ObjectGcode * _this,
const bool * selected )

returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::ObjectGcode::getFrontColorsForAllViewports. Parameter _this can not be null. It is a single object. Parameter selected has a default argument: true, pass a null pointer to use it. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_ObjectGcode_getGlobalAlpha()

MRC_API const unsigned char * MR_ObjectGcode_getGlobalAlpha ( const MR_ObjectGcode * _this,
const MR_ViewportId * viewportId )

returns global transparency alpha of object in given viewport Generated from method MR::ObjectGcode::getGlobalAlpha. Parameter _this can not be null. It is a single object. Parameter viewportId has a default argument: {}, pass a null pointer to use it. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_ObjectGcode_getGlobalAlphaForAllViewports()

MRC_API const MR_ViewportProperty_unsigned_char * MR_ObjectGcode_getGlobalAlphaForAllViewports ( const MR_ObjectGcode * _this)

returns global transparency alpha of object in all viewports Generated from method MR::ObjectGcode::getGlobalAlphaForAllViewports. 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.

◆ MR_ObjectGcode_getIdleColor()

MRC_API const MR_Color * MR_ObjectGcode_getIdleColor ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::getIdleColor. 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.

◆ MR_ObjectGcode_getInfoLines()

MRC_API MR_std_vector_std_string * MR_ObjectGcode_getInfoLines ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::getInfoLines. 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_vector_std_string_Destroy() to free it when you're done using it.

◆ MR_ObjectGcode_getLinesColorMap()

MRC_API const MR_UndirectedEdgeColors * MR_ObjectGcode_getLinesColorMap ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::getLinesColorMap. 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.

◆ MR_ObjectGcode_getLineWidth()

MRC_API float MR_ObjectGcode_getLineWidth ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::getLineWidth. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_getModelHash()

MRC_API MR_uint64_t MR_ObjectGcode_getModelHash ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::getModelHash. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_getPointSize()

MRC_API float MR_ObjectGcode_getPointSize ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::getPointSize. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_getRedrawFlag()

MRC_API bool MR_ObjectGcode_getRedrawFlag ( const MR_ObjectGcode * _this,
const MR_ViewportMask * viewportMask )

returns true if the object must be redrawn (due to dirty flags) in one of specified viewports Generated from method MR::ObjectGcode::getRedrawFlag. Parameter _this can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.

◆ MR_ObjectGcode_getSharedPtr()

MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectGcode_getSharedPtr ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::getSharedPtr. 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_shared_ptr_MR_Object_Destroy() to free it when you're done using it.

◆ MR_ObjectGcode_getShininess()

MRC_API float MR_ObjectGcode_getShininess ( const MR_ObjectGcode * _this)

returns the current shininess visual value Generated from method MR::ObjectGcode::getShininess. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_getSpecularStrength()

MRC_API float MR_ObjectGcode_getSpecularStrength ( const MR_ObjectGcode * _this)

returns intensity of reflections Generated from method MR::ObjectGcode::getSpecularStrength. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_getVertsColorMap()

MRC_API const MR_VertColors * MR_ObjectGcode_getVertsColorMap ( const MR_ObjectGcode * _this)

returns per-vertex colors of the object Generated from method MR::ObjectGcode::getVertsColorMap. 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.

◆ MR_ObjectGcode_getVisualizeProperty()

MRC_API bool MR_ObjectGcode_getVisualizeProperty ( const MR_ObjectGcode * _this,
const MR_AnyVisualizeMaskEnum * type,
const MR_ViewportMask * viewportMask )

returns true if the property is set at least in one viewport specified by the mask Generated from method MR::ObjectGcode::getVisualizeProperty. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.

◆ MR_ObjectGcode_getVisualizePropertyMask()

MRC_API const MR_ViewportMask * MR_ObjectGcode_getVisualizePropertyMask ( const MR_ObjectGcode * _this,
const MR_AnyVisualizeMaskEnum * type )

returns mask of viewports where given property is set Generated from method MR::ObjectGcode::getVisualizePropertyMask. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_ObjectGcode_getWorldBox()

MRC_API MR_Box3f MR_ObjectGcode_getWorldBox ( const MR_ObjectGcode * _this,
const MR_ViewportId * _1 )

returns cached bounding box of this point object in world coordinates; if you need bounding box in local coordinates please call getBoundingBox() Generated from method MR::ObjectGcode::getWorldBox. Parameter _this can not be null. It is a single object. Parameter _1 has a default argument: {}, pass a null pointer to use it.

◆ MR_ObjectGcode_getWorldTreeBox()

MRC_API MR_Box3f MR_ObjectGcode_getWorldTreeBox ( const MR_ObjectGcode * _this,
const MR_ViewportId * _1 )

empty box returns bounding box of this object and all children visible in given (or default) viewport in world coordinates Generated from method MR::ObjectGcode::getWorldTreeBox. Parameter _this can not be null. It is a single object. Parameter _1 has a default argument: {}, pass a null pointer to use it.

◆ MR_ObjectGcode_globalClippedByPlane()

MRC_API bool MR_ObjectGcode_globalClippedByPlane ( const MR_ObjectGcode * _this,
const MR_ViewportMask * viewportMask )

returns true if this object or any of its parents is clipped by plane in any of given viewports Generated from method MR::ObjectGcode::globalClippedByPlane. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it.

◆ MR_ObjectGcode_globalClippedByPlaneMask()

MRC_API MR_ViewportMask * MR_ObjectGcode_globalClippedByPlaneMask ( const MR_ObjectGcode * _this)

returns all viewports where this object or any of its parents is clipped by plane Generated from method MR::ObjectGcode::globalClippedByPlaneMask. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_ViewportMask_Destroy() to free it when you're done using it.

◆ MR_ObjectGcode_globalVisibility()

MRC_API bool MR_ObjectGcode_globalVisibility ( const MR_ObjectGcode * _this,
const MR_ViewportMask * viewportMask )

returns true if this object is visible together with all its parents in any of given viewports Generated from method MR::ObjectGcode::globalVisibility. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it.

◆ MR_ObjectGcode_globalVisibilityMask()

MRC_API MR_ViewportMask * MR_ObjectGcode_globalVisibilityMask ( const MR_ObjectGcode * _this)

returns all viewports where this object is visible together with all its parents Generated from method MR::ObjectGcode::globalVisibilityMask. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_ViewportMask_Destroy() to free it when you're done using it.

◆ MR_ObjectGcode_hasModel()

MRC_API bool MR_ObjectGcode_hasModel ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::hasModel. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_hasVisualRepresentation()

MRC_API bool MR_ObjectGcode_hasVisualRepresentation ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::hasVisualRepresentation. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_heapBytes()

MRC_API MR_uint64_t MR_ObjectGcode_heapBytes ( const MR_ObjectGcode * _this)

returns the amount of memory this object occupies on heap Generated from method MR::ObjectGcode::heapBytes. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_isAncestor()

MRC_API bool MR_ObjectGcode_isAncestor ( const MR_ObjectGcode * _this,
const MR_Object * ancestor )

return true if given object is ancestor of this one, false otherwise Generated from method MR::ObjectGcode::isAncestor. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_isAncillary()

MRC_API bool MR_ObjectGcode_isAncillary ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::isAncillary. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_isFeedrateGradient()

MRC_API bool MR_ObjectGcode_isFeedrateGradient ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::isFeedrateGradient. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_isGlobalAncillary()

MRC_API bool MR_ObjectGcode_isGlobalAncillary ( const MR_ObjectGcode * _this)

returns true if the object or any of its ancestors are ancillary Generated from method MR::ObjectGcode::isGlobalAncillary. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_isLocked()

MRC_API bool MR_ObjectGcode_isLocked ( const MR_ObjectGcode * _this)

object properties lock for UI Generated from method MR::ObjectGcode::isLocked. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_isParentLocked()

MRC_API bool MR_ObjectGcode_isParentLocked ( const MR_ObjectGcode * _this)

If true, the scene tree GUI doesn't allow you to drag'n'drop this object into a different parent. Defaults to false. Generated from method MR::ObjectGcode::isParentLocked. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_isPickable()

MRC_API bool MR_ObjectGcode_isPickable ( const MR_ObjectGcode * _this,
const MR_ViewportMask * viewportMask )

whether the object can be picked (by mouse) in any of given viewports Generated from method MR::ObjectGcode::isPickable. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it.

◆ MR_ObjectGcode_isSelected()

MRC_API bool MR_ObjectGcode_isSelected ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::isSelected. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_isVisible()

MRC_API bool MR_ObjectGcode_isVisible ( const MR_ObjectGcode * _this,
const MR_ViewportMask * viewportMask )

checks whether the object is visible in any of the viewports specified by the mask (by default in any viewport) Generated from method MR::ObjectGcode::isVisible. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it.

◆ MR_ObjectGcode_MutableUpcastTo_MR_Object()

MRC_API MR_Object * MR_ObjectGcode_MutableUpcastTo_MR_Object ( MR_ObjectGcode * object)

Upcasts an instance of MR::ObjectGcode to its base class MR::Object.

◆ MR_ObjectGcode_MutableUpcastTo_MR_ObjectChildrenHolder()

MRC_API MR_ObjectChildrenHolder * MR_ObjectGcode_MutableUpcastTo_MR_ObjectChildrenHolder ( MR_ObjectGcode * object)

Upcasts an instance of MR::ObjectGcode to its base class MR::ObjectChildrenHolder.

◆ MR_ObjectGcode_MutableUpcastTo_MR_ObjectLinesHolder()

MRC_API MR_ObjectLinesHolder * MR_ObjectGcode_MutableUpcastTo_MR_ObjectLinesHolder ( MR_ObjectGcode * object)

Upcasts an instance of MR::ObjectGcode to its base class MR::ObjectLinesHolder.

◆ MR_ObjectGcode_MutableUpcastTo_MR_VisualObject()

MRC_API MR_VisualObject * MR_ObjectGcode_MutableUpcastTo_MR_VisualObject ( MR_ObjectGcode * object)

Upcasts an instance of MR::ObjectGcode to its base class MR::VisualObject.

◆ MR_ObjectGcode_name()

MRC_API const MR_std_string * MR_ObjectGcode_name ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::name. 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.

◆ MR_ObjectGcode_numComponents()

MRC_API MR_uint64_t MR_ObjectGcode_numComponents ( const MR_ObjectGcode * _this)

returns cached information about the number of components in the polyline Generated from method MR::ObjectGcode::numComponents. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_numUndirectedEdges()

MRC_API MR_uint64_t MR_ObjectGcode_numUndirectedEdges ( const MR_ObjectGcode * _this)

returns cached information about the number of undirected edges in the polyline Generated from method MR::ObjectGcode::numUndirectedEdges. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_OffsetMutablePtr()

MRC_API MR_ObjectGcode * MR_ObjectGcode_OffsetMutablePtr ( MR_ObjectGcode * 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.

◆ MR_ObjectGcode_OffsetPtr()

MRC_API const MR_ObjectGcode * MR_ObjectGcode_OffsetPtr ( const MR_ObjectGcode * 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.

◆ MR_ObjectGcode_polyline()

MRC_API const MR_std_shared_ptr_const_MR_Polyline3 * MR_ObjectGcode_polyline ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::polyline. 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.

◆ MR_ObjectGcode_removeAllChildren()

MRC_API void MR_ObjectGcode_removeAllChildren ( MR_ObjectGcode * _this)

detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::ObjectGcode::removeAllChildren. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_removeTag()

MRC_API bool MR_ObjectGcode_removeTag ( MR_ObjectGcode * _this,
const char * tag,
const char * tag_end )

removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ObjectGcode::removeTag. Parameter _this can not be null. It is a single object. Parameter tag can not be null. If tag_end is null, then tag is assumed to be null-terminated.

◆ MR_ObjectGcode_render()

MRC_API bool MR_ObjectGcode_render ( const MR_ObjectGcode * _this,
const MR_ModelRenderParams * _1 )

draws this object for visualization Returns true if something was drawn. Generated from method MR::ObjectGcode::render. Parameter _this can not be null. It is a single object. Parameter _1 can not be null. It is a single object.

◆ MR_ObjectGcode_renderForPicker()

MRC_API void MR_ObjectGcode_renderForPicker ( const MR_ObjectGcode * _this,
const MR_ModelBaseRenderParams * _1,
unsigned int _2 )

draws this object for picking Generated from method MR::ObjectGcode::renderForPicker. Parameter _this can not be null. It is a single object. Parameter _1 can not be null. It is a single object.

◆ MR_ObjectGcode_renderUi()

MRC_API void MR_ObjectGcode_renderUi ( const MR_ObjectGcode * _this,
const MR_UiRenderParams * params )

draws this object for 2d UI Generated from method MR::ObjectGcode::renderUi. Parameter _this can not be null. It is a single object. Parameter params can not be null. It is a single object.

◆ MR_ObjectGcode_resetColors()

MRC_API void MR_ObjectGcode_resetColors ( MR_ObjectGcode * _this)

reset all object colors to their default values from the current theme Generated from method MR::ObjectGcode::resetColors. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_resetDirty()

MRC_API void MR_ObjectGcode_resetDirty ( const MR_ObjectGcode * _this)

resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::ObjectGcode::resetDirty. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_resetDirtyExceptMask()

MRC_API void MR_ObjectGcode_resetDirtyExceptMask ( const MR_ObjectGcode * _this,
unsigned int mask )

reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR::ObjectGcode::resetDirtyExceptMask. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_resetFrontColor()

MRC_API void MR_ObjectGcode_resetFrontColor ( MR_ObjectGcode * _this)

reset basic object colors to their default values from the current theme Generated from method MR::ObjectGcode::resetFrontColor. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_resetRedrawFlag()

MRC_API void MR_ObjectGcode_resetRedrawFlag ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::resetRedrawFlag. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_resetXf()

MRC_API void MR_ObjectGcode_resetXf ( MR_ObjectGcode * _this,
const MR_ViewportId * id )

forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectGcode::resetXf. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.

◆ MR_ObjectGcode_sameModels()

MRC_API bool MR_ObjectGcode_sameModels ( const MR_ObjectGcode * _this,
const MR_Object * other )

Generated from method MR::ObjectGcode::sameModels. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.

◆ MR_ObjectGcode_segmentToSourceLineMap()

MRC_API const MR_std_vector_int * MR_ObjectGcode_segmentToSourceLineMap ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::segmentToSourceLineMap. 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.

◆ MR_ObjectGcode_select()

MRC_API bool MR_ObjectGcode_select ( MR_ObjectGcode * _this,
bool isSelected )

Generated from method MR::ObjectGcode::select. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_setAllVisualizeProperties()

MRC_API void MR_ObjectGcode_setAllVisualizeProperties ( MR_ObjectGcode * _this,
const MR_std_vector_MR_ViewportMask * properties )

set all visualize properties masks Generated from method MR::ObjectGcode::setAllVisualizeProperties. Parameter _this can not be null. It is a single object. Parameter properties can not be null. It is a single object.

◆ MR_ObjectGcode_setAmbientStrength()

MRC_API void MR_ObjectGcode_setAmbientStrength ( MR_ObjectGcode * _this,
float ambientStrength )

sets intensity of non-directional light Generated from method MR::ObjectGcode::setAmbientStrength. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_setAncillary()

MRC_API void MR_ObjectGcode_setAncillary ( MR_ObjectGcode * _this,
bool ancillary )

ancillary object is an object hidden (in scene menu) from a regular user such objects cannot be selected, and if it has been selected, it is unselected when turn ancillary Generated from method MR::ObjectGcode::setAncillary. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_setBackColor()

MRC_API void MR_ObjectGcode_setBackColor ( MR_ObjectGcode * _this,
const MR_Color * color,
const MR_ViewportId * viewportId )

sets backward color of object in given viewport Generated from method MR::ObjectGcode::setBackColor. Parameter _this can not be null. It is a single object. Parameter color can not be null. It is a single object. Parameter viewportId has a default argument: {}, pass a null pointer to use it.

◆ MR_ObjectGcode_setBackColorsForAllViewports()

MRC_API void MR_ObjectGcode_setBackColorsForAllViewports ( MR_ObjectGcode * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_MR_Color * val )

sets backward color of object in all viewports Generated from method MR::ObjectGcode::setBackColorsForAllViewports. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_setCNCMachineSettings()

MRC_API void MR_ObjectGcode_setCNCMachineSettings ( MR_ObjectGcode * _this,
const MR_CNCMachineSettings * cncSettings )

Generated from method MR::ObjectGcode::setCNCMachineSettings. Parameter _this can not be null. It is a single object. Parameter cncSettings can not be null. It is a single object.

◆ MR_ObjectGcode_setColoringType()

MRC_API void MR_ObjectGcode_setColoringType ( MR_ObjectGcode * _this,
MR_ColoringType coloringType )

sets coloring mode of the object with given argument Generated from method MR::ObjectGcode::setColoringType. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_setDashPattern()

MRC_API void MR_ObjectGcode_setDashPattern ( MR_ObjectGcode * _this,
const MR_Vector4_unsigned_char * pattern,
const MR_ViewportId * vpId )

specify dash pattern in pixels [0] - dash [1] - space [2] - dash [3] - space Generated from method MR::ObjectGcode::setDashPattern. Parameter _this can not be null. It is a single object. Parameter pattern can not be null. It is a single object. Parameter vpId has a default argument: {}, pass a null pointer to use it.

◆ MR_ObjectGcode_setDirtyFlags()

MRC_API void MR_ObjectGcode_setDirtyFlags ( MR_ObjectGcode * _this,
unsigned int mask,
const bool * invalidateCaches )

Generated from method MR::ObjectGcode::setDirtyFlags. Parameter _this can not be null. It is a single object. Parameter invalidateCaches has a default argument: true, pass a null pointer to use it.

◆ MR_ObjectGcode_setFrontColor()

MRC_API void MR_ObjectGcode_setFrontColor ( MR_ObjectGcode * _this,
const MR_Color * color,
bool selected,
const MR_ViewportId * viewportId )

Generated from method MR::ObjectGcode::setFrontColor. Parameter _this can not be null. It is a single object. Parameter color can not be null. It is a single object. Parameter viewportId has a default argument: {}, pass a null pointer to use it.

◆ MR_ObjectGcode_setFrontColorsForAllViewports()

MRC_API void MR_ObjectGcode_setFrontColorsForAllViewports ( MR_ObjectGcode * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_MR_Color * val,
const bool * selected )

sets color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::ObjectGcode::setFrontColorsForAllViewports. Parameter _this can not be null. It is a single object. Parameter selected has a default argument: true, pass a null pointer to use it.

◆ MR_ObjectGcode_setGcodeSource()

MRC_API void MR_ObjectGcode_setGcodeSource ( MR_ObjectGcode * _this,
const MR_std_shared_ptr_std_vector_std_string * gcodeSource )

Generated from method MR::ObjectGcode::setGcodeSource. Parameter _this can not be null. It is a single object. Parameter gcodeSource can not be null. It is a single object.

◆ MR_ObjectGcode_setGlobalAlpha()

MRC_API void MR_ObjectGcode_setGlobalAlpha ( MR_ObjectGcode * _this,
unsigned char alpha,
const MR_ViewportId * viewportId )

sets global transparency alpha of object in given viewport Generated from method MR::ObjectGcode::setGlobalAlpha. Parameter _this can not be null. It is a single object. Parameter viewportId has a default argument: {}, pass a null pointer to use it.

◆ MR_ObjectGcode_setGlobalAlphaForAllViewports()

MRC_API void MR_ObjectGcode_setGlobalAlphaForAllViewports ( MR_ObjectGcode * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_unsigned_char * val )

sets global transparency alpha of object in all viewports Generated from method MR::ObjectGcode::setGlobalAlphaForAllViewports. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_setGlobalClippedByPlane()

MRC_API void MR_ObjectGcode_setGlobalClippedByPlane ( MR_ObjectGcode * _this,
bool on,
const MR_ViewportMask * viewportMask )

if false deactivates clipped-by-plane for this object and all of its parents, otherwise sets clipped-by-plane for this this object only Generated from method MR::ObjectGcode::setGlobalClippedByPlane. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::all(), pass a null pointer to use it.

◆ MR_ObjectGcode_setGlobalVisibility()

MRC_API void MR_ObjectGcode_setGlobalVisibility ( MR_ObjectGcode * _this,
bool on,
const MR_ViewportMask * viewportMask )

if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectGcode::setGlobalVisibility. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it.

◆ MR_ObjectGcode_setIdleColor()

MRC_API void MR_ObjectGcode_setIdleColor ( MR_ObjectGcode * _this,
const MR_Color * color )

Generated from method MR::ObjectGcode::setIdleColor. Parameter _this can not be null. It is a single object. Parameter color can not be null. It is a single object.

◆ MR_ObjectGcode_setLinesColorMap()

MRC_API void MR_ObjectGcode_setLinesColorMap ( MR_ObjectGcode * _this,
MR_PassBy linesColorMap_pass_by,
MR_UndirectedEdgeColors * linesColorMap )

Generated from method MR::ObjectGcode::setLinesColorMap. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_setLineWidth()

MRC_API void MR_ObjectGcode_setLineWidth ( MR_ObjectGcode * _this,
float width )

Generated from method MR::ObjectGcode::setLineWidth. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_setLocked()

MRC_API void MR_ObjectGcode_setLocked ( MR_ObjectGcode * _this,
bool on )

Generated from method MR::ObjectGcode::setLocked. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_setName()

MRC_API void MR_ObjectGcode_setName ( MR_ObjectGcode * _this,
const char * name,
const char * name_end )

Generated from method MR::ObjectGcode::setName. Parameter _this can not be null. It is a single object. Parameter name can not be null. If name_end is null, then name is assumed to be null-terminated.

◆ MR_ObjectGcode_setParentLocked()

MRC_API void MR_ObjectGcode_setParentLocked ( MR_ObjectGcode * _this,
bool lock )

Generated from method MR::ObjectGcode::setParentLocked. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_setPickable()

MRC_API void MR_ObjectGcode_setPickable ( MR_ObjectGcode * _this,
bool on,
const MR_ViewportMask * viewportMask )

sets the object as can/cannot be picked (by mouse) in all of given viewports Generated from method MR::ObjectGcode::setPickable. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::all(), pass a null pointer to use it.

◆ MR_ObjectGcode_setPointSize()

MRC_API void MR_ObjectGcode_setPointSize ( MR_ObjectGcode * _this,
float size )

Generated from method MR::ObjectGcode::setPointSize. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_setShininess()

MRC_API void MR_ObjectGcode_setShininess ( MR_ObjectGcode * _this,
float shininess )

sets shininess visual value of the object with given argument Generated from method MR::ObjectGcode::setShininess. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_setSpecularStrength()

MRC_API void MR_ObjectGcode_setSpecularStrength ( MR_ObjectGcode * _this,
float specularStrength )

sets intensity of reflections Generated from method MR::ObjectGcode::setSpecularStrength. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_setUseDefaultScenePropertiesOnDeserialization()

MRC_API void MR_ObjectGcode_setUseDefaultScenePropertiesOnDeserialization ( MR_ObjectGcode * _this,
bool useDefaultScenePropertiesOnDeserialization )

set whether the scene-related properties should get their values from SceneColors and SceneSettings instances rather than from the input data on deserialization Generated from method MR::ObjectGcode::setUseDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_setVertsColorMap()

MRC_API void MR_ObjectGcode_setVertsColorMap ( MR_ObjectGcode * _this,
MR_PassBy vertsColorMap_pass_by,
MR_VertColors * vertsColorMap )

sets per-vertex colors of the object Generated from method MR::ObjectGcode::setVertsColorMap. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_setVisibilityMask()

MRC_API void MR_ObjectGcode_setVisibilityMask ( MR_ObjectGcode * _this,
const MR_ViewportMask * viewportMask )

specifies object visibility as bitmask of viewports Generated from method MR::ObjectGcode::setVisibilityMask. Parameter _this can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.

◆ MR_ObjectGcode_setVisible()

MRC_API void MR_ObjectGcode_setVisible ( MR_ObjectGcode * _this,
bool on,
const MR_ViewportMask * viewportMask )

sets the object visible in the viewports specified by the mask (by default in all viewports) Generated from method MR::ObjectGcode::setVisible. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::all(), pass a null pointer to use it.

◆ MR_ObjectGcode_setVisualizeProperty()

MRC_API void MR_ObjectGcode_setVisualizeProperty ( MR_ObjectGcode * _this,
bool value,
const MR_AnyVisualizeMaskEnum * type,
const MR_ViewportMask * viewportMask )

set visual property in all viewports specified by the mask Generated from method MR::ObjectGcode::setVisualizeProperty. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.

◆ MR_ObjectGcode_setVisualizePropertyMask()

MRC_API void MR_ObjectGcode_setVisualizePropertyMask ( MR_ObjectGcode * _this,
const MR_AnyVisualizeMaskEnum * type,
const MR_ViewportMask * viewportMask )

set visual property mask Generated from method MR::ObjectGcode::setVisualizePropertyMask. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.

◆ MR_ObjectGcode_setWorldXf()

MRC_API void MR_ObjectGcode_setWorldXf ( MR_ObjectGcode * _this,
const MR_AffineXf3f * xf,
const MR_ViewportId * id )

Generated from method MR::ObjectGcode::setWorldXf. Parameter _this can not be null. It is a single object. Parameter xf can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.

◆ MR_ObjectGcode_setXf()

MRC_API void MR_ObjectGcode_setXf ( MR_ObjectGcode * _this,
const MR_AffineXf3f * xf,
const MR_ViewportId * id )

Generated from method MR::ObjectGcode::setXf. Parameter _this can not be null. It is a single object. Parameter xf can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.

◆ MR_ObjectGcode_setXfsForAllViewports()

MRC_API void MR_ObjectGcode_setXfsForAllViewports ( MR_ObjectGcode * _this,
MR_PassBy xf_pass_by,
MR_ViewportProperty_MR_AffineXf3f * xf )

modifies xfs for all viewports at once Generated from method MR::ObjectGcode::setXfsForAllViewports. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_shallowClone()

MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectGcode_shallowClone ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::shallowClone. 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_shared_ptr_MR_Object_Destroy() to free it when you're done using it.

◆ MR_ObjectGcode_shallowCloneTree()

MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectGcode_shallowCloneTree ( const MR_ObjectGcode * _this)

clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR::ObjectGcode::shallowCloneTree. 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_shared_ptr_MR_Object_Destroy() to free it when you're done using it.

◆ MR_ObjectGcode_sortChildren()

MRC_API void MR_ObjectGcode_sortChildren ( MR_ObjectGcode * _this)

sort recognized children by name Generated from method MR::ObjectGcode::sortChildren. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_StaticClassName()

MRC_API const char * MR_ObjectGcode_StaticClassName ( void )

Generated from method MR::ObjectGcode::StaticClassName.

◆ MR_ObjectGcode_StaticClassNameInPlural()

MRC_API const char * MR_ObjectGcode_StaticClassNameInPlural ( void )

◆ MR_ObjectGcode_StaticTypeName()

MRC_API const char * MR_ObjectGcode_StaticTypeName ( void )

Generated from method MR::ObjectGcode::StaticTypeName.

◆ MR_ObjectGcode_supportsVisualizeProperty()

MRC_API bool MR_ObjectGcode_supportsVisualizeProperty ( const MR_ObjectGcode * _this,
const MR_AnyVisualizeMaskEnum * type )

Generated from method MR::ObjectGcode::supportsVisualizeProperty. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object.

◆ MR_ObjectGcode_swap()

MRC_API void MR_ObjectGcode_swap ( MR_ObjectGcode * _this,
MR_Object * other )

swaps this object with other note: do not swap object signals, so listeners will get notifications from swapped object requires implementation of swapBase_ and swapSignals_ (if type has signals) Generated from method MR::ObjectGcode::swap. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.

◆ MR_ObjectGcode_switchFeedrateGradient()

MRC_API void MR_ObjectGcode_switchFeedrateGradient ( MR_ObjectGcode * _this,
bool isFeedrateGradientEnabled )

Generated from method MR::ObjectGcode::switchFeedrateGradient. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_tags()

MRC_API const MR_std_set_std_string * MR_ObjectGcode_tags ( const MR_ObjectGcode * _this)

provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::ObjectGcode::tags. 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.

◆ MR_ObjectGcode_toggleVisualizeProperty()

MRC_API void MR_ObjectGcode_toggleVisualizeProperty ( MR_ObjectGcode * _this,
const MR_AnyVisualizeMaskEnum * type,
const MR_ViewportMask * viewportMask )

toggle visual property in all viewports specified by the mask Generated from method MR::ObjectGcode::toggleVisualizeProperty. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.

◆ MR_ObjectGcode_totalLength()

MRC_API float MR_ObjectGcode_totalLength ( const MR_ObjectGcode * _this)

return cached total length Generated from method MR::ObjectGcode::totalLength. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_typeName()

MRC_API const char * MR_ObjectGcode_typeName ( const MR_ObjectGcode * _this)

Generated from method MR::ObjectGcode::typeName. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_UpcastTo_MR_Object()

MRC_API const MR_Object * MR_ObjectGcode_UpcastTo_MR_Object ( const MR_ObjectGcode * object)

Upcasts an instance of MR::ObjectGcode to its base class MR::Object. This version is acting on mutable pointers.

◆ MR_ObjectGcode_UpcastTo_MR_ObjectChildrenHolder()

MRC_API const MR_ObjectChildrenHolder * MR_ObjectGcode_UpcastTo_MR_ObjectChildrenHolder ( const MR_ObjectGcode * object)

Upcasts an instance of MR::ObjectGcode to its base class MR::ObjectChildrenHolder. This version is acting on mutable pointers.

◆ MR_ObjectGcode_UpcastTo_MR_ObjectLinesHolder()

MRC_API const MR_ObjectLinesHolder * MR_ObjectGcode_UpcastTo_MR_ObjectLinesHolder ( const MR_ObjectGcode * object)

Upcasts an instance of MR::ObjectGcode to its base class MR::ObjectLinesHolder. This version is acting on mutable pointers.

◆ MR_ObjectGcode_UpcastTo_MR_VisualObject()

MRC_API const MR_VisualObject * MR_ObjectGcode_UpcastTo_MR_VisualObject ( const MR_ObjectGcode * object)

Upcasts an instance of MR::ObjectGcode to its base class MR::VisualObject. This version is acting on mutable pointers.

◆ MR_ObjectGcode_updateLinesColorMap()

MRC_API void MR_ObjectGcode_updateLinesColorMap ( MR_ObjectGcode * _this,
MR_UndirectedEdgeColors * updated )

Generated from method MR::ObjectGcode::updateLinesColorMap. Parameter _this can not be null. It is a single object. Parameter updated can not be null. It is a single object.

◆ MR_ObjectGcode_updateVertsColorMap()

MRC_API void MR_ObjectGcode_updateVertsColorMap ( MR_ObjectGcode * _this,
MR_VertColors * vertsColorMap )

swaps per-vertex colors of the object with given argument Generated from method MR::ObjectGcode::updateVertsColorMap. Parameter _this can not be null. It is a single object. Parameter vertsColorMap can not be null. It is a single object.

◆ MR_ObjectGcode_useDefaultScenePropertiesOnDeserialization()

MRC_API bool MR_ObjectGcode_useDefaultScenePropertiesOnDeserialization ( const MR_ObjectGcode * _this)

whether the scene-related properties should get their values from SceneColors and SceneSettings instances rather than from the input data on deserialization Generated from method MR::ObjectGcode::useDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.

◆ MR_ObjectGcode_visibilityMask()

MRC_API MR_ViewportMask * MR_ObjectGcode_visibilityMask ( const MR_ObjectGcode * _this)

gets object visibility as bitmask of viewports Generated from method MR::ObjectGcode::visibilityMask. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_ViewportMask_Destroy() to free it when you're done using it.

◆ MR_ObjectGcode_worldXf()

MRC_API MR_AffineXf3f MR_ObjectGcode_worldXf ( const MR_ObjectGcode * _this,
const MR_ViewportId * id,
bool * isDef )

this space to world space transformation for default or specific viewport

Parameters
isDefreceives true if the object has default transformation in this viewport (same as worldXf() returns) Generated from method MR::ObjectGcode::worldXf. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it. Parameter isDef defaults to a null pointer in C++.

◆ MR_ObjectGcode_xf()

MRC_API const MR_AffineXf3f * MR_ObjectGcode_xf ( const MR_ObjectGcode * _this,
const MR_ViewportId * id,
bool * isDef )

this space to parent space transformation (to world space if no parent) for default or given viewport

Parameters
isDefreceives true if the object has default transformation in this viewport (same as xf() returns) Generated from method MR::ObjectGcode::xf. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it. Parameter isDef defaults to a null pointer in C++. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_ObjectGcode_xfsForAllViewports()

MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_ObjectGcode_xfsForAllViewports ( const MR_ObjectGcode * _this)

returns xfs for all viewports, combined into a single object Generated from method MR::ObjectGcode::xfsForAllViewports. 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.