MeshLib C Docs
Loading...
Searching...
No Matches
MRMeasurementObject.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_AngleMeasurementObject MR_AngleMeasurementObject
 
typedef struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum
 
typedef struct MR_Color MR_Color
 
typedef struct MR_DistanceMeasurementObject MR_DistanceMeasurementObject
 
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_PointMeasurementObject MR_PointMeasurementObject
 
typedef struct MR_RadiusMeasurementObject MR_RadiusMeasurementObject
 
typedef struct MR_UiRenderParams MR_UiRenderParams
 
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_string MR_std_string
 
typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask
 
typedef struct MR_std_vector_std_string MR_std_vector_std_string
 
typedef struct MR_MeasurementObject MR_MeasurementObject
 

Functions

MRC_API MR_MeasurementObjectMR_MeasurementObject_ConstructFromAnother (MR_PassBy _other_pass_by, MR_MeasurementObject *_other)
 
MRC_API const MR_MeasurementObjectMR_MeasurementObject_OffsetPtr (const MR_MeasurementObject *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_MeasurementObjectMR_MeasurementObject_OffsetMutablePtr (MR_MeasurementObject *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_MeasurementObject_UpcastTo_MR_ObjectChildrenHolder (const MR_MeasurementObject *object)
 
MRC_API MR_ObjectChildrenHolderMR_MeasurementObject_MutableUpcastTo_MR_ObjectChildrenHolder (MR_MeasurementObject *object)
 Upcasts an instance of MR::MeasurementObject to its base class MR::ObjectChildrenHolder.
 
MRC_API const MR_ObjectMR_MeasurementObject_UpcastTo_MR_Object (const MR_MeasurementObject *object)
 
MRC_API MR_ObjectMR_MeasurementObject_MutableUpcastTo_MR_Object (MR_MeasurementObject *object)
 Upcasts an instance of MR::MeasurementObject to its base class MR::Object.
 
MRC_API const MR_VisualObjectMR_MeasurementObject_UpcastTo_MR_VisualObject (const MR_MeasurementObject *object)
 
MRC_API MR_VisualObjectMR_MeasurementObject_MutableUpcastTo_MR_VisualObject (MR_MeasurementObject *object)
 Upcasts an instance of MR::MeasurementObject to its base class MR::VisualObject.
 
MRC_API const MR_AngleMeasurementObjectMR_MeasurementObject_StaticDowncastTo_MR_AngleMeasurementObject (const MR_MeasurementObject *object)
 
MRC_API MR_AngleMeasurementObjectMR_MeasurementObject_MutableStaticDowncastTo_MR_AngleMeasurementObject (MR_MeasurementObject *object)
 
MRC_API const MR_AngleMeasurementObjectMR_MeasurementObject_DynamicDowncastTo_MR_AngleMeasurementObject (const MR_MeasurementObject *object)
 
MRC_API MR_AngleMeasurementObjectMR_MeasurementObject_MutableDynamicDowncastTo_MR_AngleMeasurementObject (MR_MeasurementObject *object)
 
MRC_API const MR_AngleMeasurementObjectMR_MeasurementObject_DynamicDowncastToOrFail_MR_AngleMeasurementObject (const MR_MeasurementObject *object)
 
MRC_API MR_AngleMeasurementObjectMR_MeasurementObject_MutableDynamicDowncastToOrFail_MR_AngleMeasurementObject (MR_MeasurementObject *object)
 
MRC_API const MR_DistanceMeasurementObjectMR_MeasurementObject_StaticDowncastTo_MR_DistanceMeasurementObject (const MR_MeasurementObject *object)
 
MRC_API MR_DistanceMeasurementObjectMR_MeasurementObject_MutableStaticDowncastTo_MR_DistanceMeasurementObject (MR_MeasurementObject *object)
 
MRC_API const MR_DistanceMeasurementObjectMR_MeasurementObject_DynamicDowncastTo_MR_DistanceMeasurementObject (const MR_MeasurementObject *object)
 
MRC_API MR_DistanceMeasurementObjectMR_MeasurementObject_MutableDynamicDowncastTo_MR_DistanceMeasurementObject (MR_MeasurementObject *object)
 
MRC_API const MR_DistanceMeasurementObjectMR_MeasurementObject_DynamicDowncastToOrFail_MR_DistanceMeasurementObject (const MR_MeasurementObject *object)
 
MRC_API MR_DistanceMeasurementObjectMR_MeasurementObject_MutableDynamicDowncastToOrFail_MR_DistanceMeasurementObject (MR_MeasurementObject *object)
 
MRC_API const MR_PointMeasurementObjectMR_MeasurementObject_StaticDowncastTo_MR_PointMeasurementObject (const MR_MeasurementObject *object)
 
MRC_API MR_PointMeasurementObjectMR_MeasurementObject_MutableStaticDowncastTo_MR_PointMeasurementObject (MR_MeasurementObject *object)
 
MRC_API const MR_PointMeasurementObjectMR_MeasurementObject_DynamicDowncastTo_MR_PointMeasurementObject (const MR_MeasurementObject *object)
 
MRC_API MR_PointMeasurementObjectMR_MeasurementObject_MutableDynamicDowncastTo_MR_PointMeasurementObject (MR_MeasurementObject *object)
 
MRC_API const MR_PointMeasurementObjectMR_MeasurementObject_DynamicDowncastToOrFail_MR_PointMeasurementObject (const MR_MeasurementObject *object)
 
MRC_API MR_PointMeasurementObjectMR_MeasurementObject_MutableDynamicDowncastToOrFail_MR_PointMeasurementObject (MR_MeasurementObject *object)
 
MRC_API const MR_RadiusMeasurementObjectMR_MeasurementObject_StaticDowncastTo_MR_RadiusMeasurementObject (const MR_MeasurementObject *object)
 
MRC_API MR_RadiusMeasurementObjectMR_MeasurementObject_MutableStaticDowncastTo_MR_RadiusMeasurementObject (MR_MeasurementObject *object)
 
MRC_API const MR_RadiusMeasurementObjectMR_MeasurementObject_DynamicDowncastTo_MR_RadiusMeasurementObject (const MR_MeasurementObject *object)
 
MRC_API MR_RadiusMeasurementObjectMR_MeasurementObject_MutableDynamicDowncastTo_MR_RadiusMeasurementObject (MR_MeasurementObject *object)
 
MRC_API const MR_RadiusMeasurementObjectMR_MeasurementObject_DynamicDowncastToOrFail_MR_RadiusMeasurementObject (const MR_MeasurementObject *object)
 
MRC_API MR_RadiusMeasurementObjectMR_MeasurementObject_MutableDynamicDowncastToOrFail_MR_RadiusMeasurementObject (MR_MeasurementObject *object)
 
MRC_API void MR_MeasurementObject_Destroy (const MR_MeasurementObject *_this)
 Destroys a heap-allocated instance of MR_MeasurementObject. Does nothing if the pointer is null.
 
MRC_API void MR_MeasurementObject_DestroyArray (const MR_MeasurementObject *_this)
 Destroys a heap-allocated array of MR_MeasurementObject. Does nothing if the pointer is null.
 
MRC_API MR_MeasurementObjectMR_MeasurementObject_AssignFromAnother (MR_MeasurementObject *_this, MR_PassBy _other_pass_by, MR_MeasurementObject *_other)
 
MRC_API const char * MR_MeasurementObject_StaticTypeName (void)
 Generated from method MR::MeasurementObject::StaticTypeName.
 
MRC_API const char * MR_MeasurementObject_typeName (const MR_MeasurementObject *_this)
 
MRC_API const char * MR_MeasurementObject_StaticClassName (void)
 Generated from method MR::MeasurementObject::StaticClassName.
 
MRC_API MR_std_stringMR_MeasurementObject_className (const MR_MeasurementObject *_this)
 
MRC_API const char * MR_MeasurementObject_StaticClassNameInPlural (void)
 Generated from method MR::MeasurementObject::StaticClassNameInPlural.
 
MRC_API MR_std_stringMR_MeasurementObject_classNameInPlural (const MR_MeasurementObject *_this)
 
MRC_API bool MR_MeasurementObject_supportsVisualizeProperty (const MR_MeasurementObject *_this, const MR_AnyVisualizeMaskEnum *type)
 
MRC_API void MR_MeasurementObject_setVisualizeProperty (MR_MeasurementObject *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_MeasurementObject_setVisualizePropertyMask (MR_MeasurementObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_MeasurementObject_getVisualizeProperty (const MR_MeasurementObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API const MR_ViewportMaskMR_MeasurementObject_getVisualizePropertyMask (const MR_MeasurementObject *_this, const MR_AnyVisualizeMaskEnum *type)
 
MRC_API void MR_MeasurementObject_toggleVisualizeProperty (MR_MeasurementObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API MR_std_vector_MR_ViewportMaskMR_MeasurementObject_getAllVisualizeProperties (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_setAllVisualizeProperties (MR_MeasurementObject *_this, const MR_std_vector_MR_ViewportMask *properties)
 
MRC_API void MR_MeasurementObject_copyAllSolidColors (MR_MeasurementObject *_this, const MR_VisualObject *other)
 
MRC_API MR_ViewportMaskMR_MeasurementObject_globalClippedByPlaneMask (const MR_MeasurementObject *_this)
 
MRC_API bool MR_MeasurementObject_globalClippedByPlane (const MR_MeasurementObject *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_MeasurementObject_setGlobalClippedByPlane (MR_MeasurementObject *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API const MR_ColorMR_MeasurementObject_getFrontColor (const MR_MeasurementObject *_this, const bool *selected, const MR_ViewportId *viewportId)
 
MRC_API void MR_MeasurementObject_setFrontColor (MR_MeasurementObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
 
MRC_API const MR_ViewportProperty_MR_ColorMR_MeasurementObject_getFrontColorsForAllViewports (const MR_MeasurementObject *_this, const bool *selected)
 
MRC_API void MR_MeasurementObject_setFrontColorsForAllViewports (MR_MeasurementObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
 
MRC_API const MR_ViewportProperty_MR_ColorMR_MeasurementObject_getBackColorsForAllViewports (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_setBackColorsForAllViewports (MR_MeasurementObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
 
MRC_API const MR_ColorMR_MeasurementObject_getBackColor (const MR_MeasurementObject *_this, const MR_ViewportId *viewportId)
 
MRC_API void MR_MeasurementObject_setBackColor (MR_MeasurementObject *_this, const MR_Color *color, const MR_ViewportId *viewportId)
 
MRC_API const unsigned char * MR_MeasurementObject_getGlobalAlpha (const MR_MeasurementObject *_this, const MR_ViewportId *viewportId)
 
MRC_API void MR_MeasurementObject_setGlobalAlpha (MR_MeasurementObject *_this, unsigned char alpha, const MR_ViewportId *viewportId)
 
MRC_API const MR_ViewportProperty_unsigned_charMR_MeasurementObject_getGlobalAlphaForAllViewports (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_setGlobalAlphaForAllViewports (MR_MeasurementObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
 
MRC_API void MR_MeasurementObject_setDirtyFlags (MR_MeasurementObject *_this, unsigned int mask, const bool *invalidateCaches)
 
MRC_API unsigned int MR_MeasurementObject_getDirtyFlags (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_resetDirty (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_resetDirtyExceptMask (const MR_MeasurementObject *_this, unsigned int mask)
 
MRC_API MR_Box3f MR_MeasurementObject_getBoundingBox (const MR_MeasurementObject *_this)
 
MRC_API MR_Box3f MR_MeasurementObject_getWorldBox (const MR_MeasurementObject *_this, const MR_ViewportId *_1)
 
MRC_API bool MR_MeasurementObject_getRedrawFlag (const MR_MeasurementObject *_this, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_MeasurementObject_isPickable (const MR_MeasurementObject *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_MeasurementObject_setPickable (MR_MeasurementObject *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API MR_ColoringType MR_MeasurementObject_getColoringType (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_setColoringType (MR_MeasurementObject *_this, MR_ColoringType coloringType)
 
MRC_API float MR_MeasurementObject_getShininess (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_setShininess (MR_MeasurementObject *_this, float shininess)
 
MRC_API float MR_MeasurementObject_getSpecularStrength (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_setSpecularStrength (MR_MeasurementObject *_this, float specularStrength)
 
MRC_API float MR_MeasurementObject_getAmbientStrength (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_setAmbientStrength (MR_MeasurementObject *_this, float ambientStrength)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_MeasurementObject_clone (const MR_MeasurementObject *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_MeasurementObject_shallowClone (const MR_MeasurementObject *_this)
 
MRC_API bool MR_MeasurementObject_render (const MR_MeasurementObject *_this, const MR_ModelRenderParams *_1)
 
MRC_API void MR_MeasurementObject_renderForPicker (const MR_MeasurementObject *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
 
MRC_API void MR_MeasurementObject_renderUi (const MR_MeasurementObject *_this, const MR_UiRenderParams *params)
 
MRC_API MR_uint64_t MR_MeasurementObject_heapBytes (const MR_MeasurementObject *_this)
 
MRC_API MR_std_vector_std_stringMR_MeasurementObject_getInfoLines (const MR_MeasurementObject *_this)
 
MRC_API bool MR_MeasurementObject_useDefaultScenePropertiesOnDeserialization (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_setUseDefaultScenePropertiesOnDeserialization (MR_MeasurementObject *_this, bool useDefaultScenePropertiesOnDeserialization)
 
MRC_API void MR_MeasurementObject_resetFrontColor (MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_resetColors (MR_MeasurementObject *_this)
 
MRC_API const MR_std_stringMR_MeasurementObject_name (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_setName (MR_MeasurementObject *_this, const char *name, const char *name_end)
 
MRC_API const MR_AffineXf3fMR_MeasurementObject_xf (const MR_MeasurementObject *_this, const MR_ViewportId *id, bool *isDef)
 
MRC_API void MR_MeasurementObject_setXf (MR_MeasurementObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
 
MRC_API void MR_MeasurementObject_resetXf (MR_MeasurementObject *_this, const MR_ViewportId *id)
 
MRC_API const MR_ViewportProperty_MR_AffineXf3fMR_MeasurementObject_xfsForAllViewports (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_setXfsForAllViewports (MR_MeasurementObject *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
 
MRC_API MR_AffineXf3f MR_MeasurementObject_worldXf (const MR_MeasurementObject *_this, const MR_ViewportId *id, bool *isDef)
 
MRC_API void MR_MeasurementObject_setWorldXf (MR_MeasurementObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
 
MRC_API void MR_MeasurementObject_applyScale (MR_MeasurementObject *_this, float scaleFactor)
 
MRC_API MR_ViewportMaskMR_MeasurementObject_globalVisibilityMask (const MR_MeasurementObject *_this)
 
MRC_API bool MR_MeasurementObject_globalVisibility (const MR_MeasurementObject *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_MeasurementObject_setGlobalVisibility (MR_MeasurementObject *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_MeasurementObject_isLocked (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_setLocked (MR_MeasurementObject *_this, bool on)
 
MRC_API bool MR_MeasurementObject_isParentLocked (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_setParentLocked (MR_MeasurementObject *_this, bool lock)
 
MRC_API bool MR_MeasurementObject_isAncestor (const MR_MeasurementObject *_this, const MR_Object *ancestor)
 
MRC_API bool MR_MeasurementObject_detachFromParent (MR_MeasurementObject *_this)
 
MRC_API bool MR_MeasurementObject_addChild (MR_MeasurementObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
 
MRC_API bool MR_MeasurementObject_addChildBefore (MR_MeasurementObject *_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_MeasurementObject_removeAllChildren (MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_sortChildren (MR_MeasurementObject *_this)
 
MRC_API bool MR_MeasurementObject_select (MR_MeasurementObject *_this, bool on)
 
MRC_API bool MR_MeasurementObject_isSelected (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_setAncillary (MR_MeasurementObject *_this, bool ancillary)
 
MRC_API bool MR_MeasurementObject_isAncillary (const MR_MeasurementObject *_this)
 
MRC_API bool MR_MeasurementObject_isGlobalAncillary (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_setVisible (MR_MeasurementObject *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_MeasurementObject_isVisible (const MR_MeasurementObject *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_MeasurementObject_setVisibilityMask (MR_MeasurementObject *_this, const MR_ViewportMask *viewportMask)
 
MRC_API MR_ViewportMaskMR_MeasurementObject_visibilityMask (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_resetRedrawFlag (const MR_MeasurementObject *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_MeasurementObject_cloneTree (const MR_MeasurementObject *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_MeasurementObject_shallowCloneTree (const MR_MeasurementObject *_this)
 
MRC_API void MR_MeasurementObject_swap (MR_MeasurementObject *_this, MR_Object *other)
 
MRC_API MR_Box3f MR_MeasurementObject_getWorldTreeBox (const MR_MeasurementObject *_this, const MR_ViewportId *_1)
 
MRC_API bool MR_MeasurementObject_hasVisualRepresentation (const MR_MeasurementObject *_this)
 
MRC_API bool MR_MeasurementObject_hasModel (const MR_MeasurementObject *_this)
 
MRC_API const MR_std_set_std_stringMR_MeasurementObject_tags (const MR_MeasurementObject *_this)
 
MRC_API bool MR_MeasurementObject_addTag (MR_MeasurementObject *_this, const char *tag, const char *tag_end)
 
MRC_API bool MR_MeasurementObject_removeTag (MR_MeasurementObject *_this, const char *tag, const char *tag_end)
 
MRC_API bool MR_MeasurementObject_sameModels (const MR_MeasurementObject *_this, const MR_Object *other)
 
MRC_API MR_uint64_t MR_MeasurementObject_getModelHash (const MR_MeasurementObject *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_MeasurementObject_getSharedPtr (const MR_MeasurementObject *_this)
 

Typedef Documentation

◆ MR_AngleMeasurementObject

◆ MR_AnyVisualizeMaskEnum

◆ MR_Color

typedef struct MR_Color MR_Color

◆ MR_DistanceMeasurementObject

◆ MR_MeasurementObject

Generated from class MR::MeasurementObject. Base classes: Direct: (non-virtual) MR::VisualObject Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object Derived classes: Direct: (non-virtual) MR::AngleMeasurementObject MR::DistanceMeasurementObject MR::PointMeasurementObject MR::RadiusMeasurementObject Supported MR_PassBy modes: MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_ModelBaseRenderParams

◆ MR_ModelRenderParams

◆ MR_Object

typedef struct MR_Object MR_Object

◆ MR_ObjectChildrenHolder

◆ MR_PointMeasurementObject

◆ MR_RadiusMeasurementObject

◆ MR_std_set_std_string

◆ MR_std_shared_ptr_MR_Object

◆ MR_std_string

typedef struct MR_std_string MR_std_string

◆ MR_std_vector_MR_ViewportMask

◆ MR_std_vector_std_string

◆ MR_UiRenderParams

◆ MR_ViewportMask

◆ MR_ViewportProperty_MR_AffineXf3f

◆ MR_ViewportProperty_MR_Color

◆ MR_ViewportProperty_unsigned_char

◆ MR_VisualObject

Function Documentation

◆ MR_MeasurementObject_addChild()

MRC_API bool MR_MeasurementObject_addChild ( MR_MeasurementObject * _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::MeasurementObject::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_MeasurementObject_addChildBefore()

MRC_API bool MR_MeasurementObject_addChildBefore ( MR_MeasurementObject * _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::MeasurementObject::addChildBefore. Parameter _this can not be null. It is a single object. Parameter existingChild can not be null. It is a single object.

◆ MR_MeasurementObject_addTag()

MRC_API bool MR_MeasurementObject_addTag ( MR_MeasurementObject * _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::MeasurementObject::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_MeasurementObject_applyScale()

MRC_API void MR_MeasurementObject_applyScale ( MR_MeasurementObject * _this,
float scaleFactor )

scale object size (all point positions) Generated from method MR::MeasurementObject::applyScale. Parameter _this can not be null. It is a single object.

◆ MR_MeasurementObject_AssignFromAnother()

MRC_API MR_MeasurementObject * MR_MeasurementObject_AssignFromAnother ( MR_MeasurementObject * _this,
MR_PassBy _other_pass_by,
MR_MeasurementObject * _other )

Generated from method MR::MeasurementObject::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_MeasurementObject_className()

MRC_API MR_std_string * MR_MeasurementObject_className ( const MR_MeasurementObject * _this)

Generated from method MR::MeasurementObject::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_MeasurementObject_classNameInPlural()

MRC_API MR_std_string * MR_MeasurementObject_classNameInPlural ( const MR_MeasurementObject * _this)

Generated from method MR::MeasurementObject::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_MeasurementObject_clone()

MRC_API MR_std_shared_ptr_MR_Object * MR_MeasurementObject_clone ( const MR_MeasurementObject * _this)

clones this object only, without its children, making new object the owner of all copied resources Generated from method MR::MeasurementObject::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_MeasurementObject_cloneTree()

MRC_API MR_std_shared_ptr_MR_Object * MR_MeasurementObject_cloneTree ( const MR_MeasurementObject * _this)

clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::MeasurementObject::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_MeasurementObject_ConstructFromAnother()

MRC_API MR_MeasurementObject * MR_MeasurementObject_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_MeasurementObject * _other )

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

◆ MR_MeasurementObject_copyAllSolidColors()

MRC_API void MR_MeasurementObject_copyAllSolidColors ( MR_MeasurementObject * _this,
const MR_VisualObject * other )

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

◆ MR_MeasurementObject_Destroy()

MRC_API void MR_MeasurementObject_Destroy ( const MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_DestroyArray()

MRC_API void MR_MeasurementObject_DestroyArray ( const MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_detachFromParent()

MRC_API bool MR_MeasurementObject_detachFromParent ( MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_DynamicDowncastTo_MR_AngleMeasurementObject()

MRC_API const MR_AngleMeasurementObject * MR_MeasurementObject_DynamicDowncastTo_MR_AngleMeasurementObject ( const MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::AngleMeasurementObject. 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.

◆ MR_MeasurementObject_DynamicDowncastTo_MR_DistanceMeasurementObject()

MRC_API const MR_DistanceMeasurementObject * MR_MeasurementObject_DynamicDowncastTo_MR_DistanceMeasurementObject ( const MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::DistanceMeasurementObject. 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.

◆ MR_MeasurementObject_DynamicDowncastTo_MR_PointMeasurementObject()

MRC_API const MR_PointMeasurementObject * MR_MeasurementObject_DynamicDowncastTo_MR_PointMeasurementObject ( const MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::PointMeasurementObject. 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.

◆ MR_MeasurementObject_DynamicDowncastTo_MR_RadiusMeasurementObject()

MRC_API const MR_RadiusMeasurementObject * MR_MeasurementObject_DynamicDowncastTo_MR_RadiusMeasurementObject ( const MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::RadiusMeasurementObject. 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.

◆ MR_MeasurementObject_DynamicDowncastToOrFail_MR_AngleMeasurementObject()

MRC_API const MR_AngleMeasurementObject * MR_MeasurementObject_DynamicDowncastToOrFail_MR_AngleMeasurementObject ( const MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::AngleMeasurementObject. 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 returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeasurementObject_DynamicDowncastToOrFail_MR_DistanceMeasurementObject()

MRC_API const MR_DistanceMeasurementObject * MR_MeasurementObject_DynamicDowncastToOrFail_MR_DistanceMeasurementObject ( const MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::DistanceMeasurementObject. 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 returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeasurementObject_DynamicDowncastToOrFail_MR_PointMeasurementObject()

MRC_API const MR_PointMeasurementObject * MR_MeasurementObject_DynamicDowncastToOrFail_MR_PointMeasurementObject ( const MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::PointMeasurementObject. 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 returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeasurementObject_DynamicDowncastToOrFail_MR_RadiusMeasurementObject()

MRC_API const MR_RadiusMeasurementObject * MR_MeasurementObject_DynamicDowncastToOrFail_MR_RadiusMeasurementObject ( const MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::RadiusMeasurementObject. 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 returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeasurementObject_getAllVisualizeProperties()

MRC_API MR_std_vector_MR_ViewportMask * MR_MeasurementObject_getAllVisualizeProperties ( const MR_MeasurementObject * _this)

get all visualize properties masks Generated from method MR::MeasurementObject::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_MeasurementObject_getAmbientStrength()

MRC_API float MR_MeasurementObject_getAmbientStrength ( const MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_getBackColor()

MRC_API const MR_Color * MR_MeasurementObject_getBackColor ( const MR_MeasurementObject * _this,
const MR_ViewportId * viewportId )

returns backward color of object in given viewport Generated from method MR::MeasurementObject::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_MeasurementObject_getBackColorsForAllViewports()

MRC_API const MR_ViewportProperty_MR_Color * MR_MeasurementObject_getBackColorsForAllViewports ( const MR_MeasurementObject * _this)

returns backward color of object in all viewports Generated from method MR::MeasurementObject::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_MeasurementObject_getBoundingBox()

MRC_API MR_Box3f MR_MeasurementObject_getBoundingBox ( const MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_getColoringType()

MRC_API MR_ColoringType MR_MeasurementObject_getColoringType ( const MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_getDirtyFlags()

MRC_API unsigned int MR_MeasurementObject_getDirtyFlags ( const MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_getFrontColor()

MRC_API const MR_Color * MR_MeasurementObject_getFrontColor ( const MR_MeasurementObject * _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::MeasurementObject::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_MeasurementObject_getFrontColorsForAllViewports()

MRC_API const MR_ViewportProperty_MR_Color * MR_MeasurementObject_getFrontColorsForAllViewports ( const MR_MeasurementObject * _this,
const bool * selected )

returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::MeasurementObject::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_MeasurementObject_getGlobalAlpha()

MRC_API const unsigned char * MR_MeasurementObject_getGlobalAlpha ( const MR_MeasurementObject * _this,
const MR_ViewportId * viewportId )

returns global transparency alpha of object in given viewport Generated from method MR::MeasurementObject::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_MeasurementObject_getGlobalAlphaForAllViewports()

MRC_API const MR_ViewportProperty_unsigned_char * MR_MeasurementObject_getGlobalAlphaForAllViewports ( const MR_MeasurementObject * _this)

returns global transparency alpha of object in all viewports Generated from method MR::MeasurementObject::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_MeasurementObject_getInfoLines()

MRC_API MR_std_vector_std_string * MR_MeasurementObject_getInfoLines ( const MR_MeasurementObject * _this)

return several info lines that can better describe the object in the UI Generated from method MR::MeasurementObject::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_MeasurementObject_getModelHash()

MRC_API MR_uint64_t MR_MeasurementObject_getModelHash ( const MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_getRedrawFlag()

MRC_API bool MR_MeasurementObject_getRedrawFlag ( const MR_MeasurementObject * _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::MeasurementObject::getRedrawFlag. Parameter _this can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.

◆ MR_MeasurementObject_getSharedPtr()

MRC_API MR_std_shared_ptr_MR_Object * MR_MeasurementObject_getSharedPtr ( const MR_MeasurementObject * _this)

Generated from method MR::MeasurementObject::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_MeasurementObject_getShininess()

MRC_API float MR_MeasurementObject_getShininess ( const MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_getSpecularStrength()

MRC_API float MR_MeasurementObject_getSpecularStrength ( const MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_getVisualizeProperty()

MRC_API bool MR_MeasurementObject_getVisualizeProperty ( const MR_MeasurementObject * _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::MeasurementObject::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_MeasurementObject_getVisualizePropertyMask()

MRC_API const MR_ViewportMask * MR_MeasurementObject_getVisualizePropertyMask ( const MR_MeasurementObject * _this,
const MR_AnyVisualizeMaskEnum * type )

returns mask of viewports where given property is set Generated from method MR::MeasurementObject::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_MeasurementObject_getWorldBox()

MRC_API MR_Box3f MR_MeasurementObject_getWorldBox ( const MR_MeasurementObject * _this,
const MR_ViewportId * _1 )

returns bounding box of this object in given viewport in world coordinates, to get world bounding box of the object with all child objects, please call Object::getWorldTreeBox method Generated from method MR::MeasurementObject::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_MeasurementObject_getWorldTreeBox()

MRC_API MR_Box3f MR_MeasurementObject_getWorldTreeBox ( const MR_MeasurementObject * _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::MeasurementObject::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_MeasurementObject_globalClippedByPlane()

MRC_API bool MR_MeasurementObject_globalClippedByPlane ( const MR_MeasurementObject * _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::MeasurementObject::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_MeasurementObject_globalClippedByPlaneMask()

MRC_API MR_ViewportMask * MR_MeasurementObject_globalClippedByPlaneMask ( const MR_MeasurementObject * _this)

returns all viewports where this object or any of its parents is clipped by plane Generated from method MR::MeasurementObject::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_MeasurementObject_globalVisibility()

MRC_API bool MR_MeasurementObject_globalVisibility ( const MR_MeasurementObject * _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::MeasurementObject::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_MeasurementObject_globalVisibilityMask()

MRC_API MR_ViewportMask * MR_MeasurementObject_globalVisibilityMask ( const MR_MeasurementObject * _this)

returns all viewports where this object is visible together with all its parents Generated from method MR::MeasurementObject::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_MeasurementObject_hasModel()

MRC_API bool MR_MeasurementObject_hasModel ( const MR_MeasurementObject * _this)

does the object have any model available (but possibly empty), e.g. ObjectMesh has valid mesh() or ObjectPoints has valid pointCloud() Generated from method MR::MeasurementObject::hasModel. Parameter _this can not be null. It is a single object.

◆ MR_MeasurementObject_hasVisualRepresentation()

MRC_API bool MR_MeasurementObject_hasVisualRepresentation ( const MR_MeasurementObject * _this)

does the object have any visual representation (visible points, triangles, edges, etc.), no considering child objects Generated from method MR::MeasurementObject::hasVisualRepresentation. Parameter _this can not be null. It is a single object.

◆ MR_MeasurementObject_heapBytes()

MRC_API MR_uint64_t MR_MeasurementObject_heapBytes ( const MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_isAncestor()

MRC_API bool MR_MeasurementObject_isAncestor ( const MR_MeasurementObject * _this,
const MR_Object * ancestor )

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

◆ MR_MeasurementObject_isAncillary()

MRC_API bool MR_MeasurementObject_isAncillary ( const MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_isGlobalAncillary()

MRC_API bool MR_MeasurementObject_isGlobalAncillary ( const MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_isLocked()

MRC_API bool MR_MeasurementObject_isLocked ( const MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_isParentLocked()

MRC_API bool MR_MeasurementObject_isParentLocked ( const MR_MeasurementObject * _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::MeasurementObject::isParentLocked. Parameter _this can not be null. It is a single object.

◆ MR_MeasurementObject_isPickable()

MRC_API bool MR_MeasurementObject_isPickable ( const MR_MeasurementObject * _this,
const MR_ViewportMask * viewportMask )

whether the object can be picked (by mouse) in any of given viewports Generated from method MR::MeasurementObject::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_MeasurementObject_isSelected()

MRC_API bool MR_MeasurementObject_isSelected ( const MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_isVisible()

MRC_API bool MR_MeasurementObject_isVisible ( const MR_MeasurementObject * _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::MeasurementObject::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_MeasurementObject_MutableDynamicDowncastTo_MR_AngleMeasurementObject()

MRC_API MR_AngleMeasurementObject * MR_MeasurementObject_MutableDynamicDowncastTo_MR_AngleMeasurementObject ( MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::AngleMeasurementObject. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong.

◆ MR_MeasurementObject_MutableDynamicDowncastTo_MR_DistanceMeasurementObject()

MRC_API MR_DistanceMeasurementObject * MR_MeasurementObject_MutableDynamicDowncastTo_MR_DistanceMeasurementObject ( MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::DistanceMeasurementObject. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong.

◆ MR_MeasurementObject_MutableDynamicDowncastTo_MR_PointMeasurementObject()

MRC_API MR_PointMeasurementObject * MR_MeasurementObject_MutableDynamicDowncastTo_MR_PointMeasurementObject ( MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::PointMeasurementObject. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong.

◆ MR_MeasurementObject_MutableDynamicDowncastTo_MR_RadiusMeasurementObject()

MRC_API MR_RadiusMeasurementObject * MR_MeasurementObject_MutableDynamicDowncastTo_MR_RadiusMeasurementObject ( MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::RadiusMeasurementObject. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong.

◆ MR_MeasurementObject_MutableDynamicDowncastToOrFail_MR_AngleMeasurementObject()

MRC_API MR_AngleMeasurementObject * MR_MeasurementObject_MutableDynamicDowncastToOrFail_MR_AngleMeasurementObject ( MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::AngleMeasurementObject. 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 returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeasurementObject_MutableDynamicDowncastToOrFail_MR_DistanceMeasurementObject()

MRC_API MR_DistanceMeasurementObject * MR_MeasurementObject_MutableDynamicDowncastToOrFail_MR_DistanceMeasurementObject ( MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::DistanceMeasurementObject. 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 returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeasurementObject_MutableDynamicDowncastToOrFail_MR_PointMeasurementObject()

MRC_API MR_PointMeasurementObject * MR_MeasurementObject_MutableDynamicDowncastToOrFail_MR_PointMeasurementObject ( MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::PointMeasurementObject. 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 returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeasurementObject_MutableDynamicDowncastToOrFail_MR_RadiusMeasurementObject()

MRC_API MR_RadiusMeasurementObject * MR_MeasurementObject_MutableDynamicDowncastToOrFail_MR_RadiusMeasurementObject ( MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::RadiusMeasurementObject. 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 returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeasurementObject_MutableStaticDowncastTo_MR_AngleMeasurementObject()

MRC_API MR_AngleMeasurementObject * MR_MeasurementObject_MutableStaticDowncastTo_MR_AngleMeasurementObject ( MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::AngleMeasurementObject. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise.

◆ MR_MeasurementObject_MutableStaticDowncastTo_MR_DistanceMeasurementObject()

MRC_API MR_DistanceMeasurementObject * MR_MeasurementObject_MutableStaticDowncastTo_MR_DistanceMeasurementObject ( MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::DistanceMeasurementObject. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise.

◆ MR_MeasurementObject_MutableStaticDowncastTo_MR_PointMeasurementObject()

MRC_API MR_PointMeasurementObject * MR_MeasurementObject_MutableStaticDowncastTo_MR_PointMeasurementObject ( MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::PointMeasurementObject. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise.

◆ MR_MeasurementObject_MutableStaticDowncastTo_MR_RadiusMeasurementObject()

MRC_API MR_RadiusMeasurementObject * MR_MeasurementObject_MutableStaticDowncastTo_MR_RadiusMeasurementObject ( MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::RadiusMeasurementObject. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise.

◆ MR_MeasurementObject_MutableUpcastTo_MR_Object()

MRC_API MR_Object * MR_MeasurementObject_MutableUpcastTo_MR_Object ( MR_MeasurementObject * object)

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

◆ MR_MeasurementObject_MutableUpcastTo_MR_ObjectChildrenHolder()

MRC_API MR_ObjectChildrenHolder * MR_MeasurementObject_MutableUpcastTo_MR_ObjectChildrenHolder ( MR_MeasurementObject * object)

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

◆ MR_MeasurementObject_MutableUpcastTo_MR_VisualObject()

MRC_API MR_VisualObject * MR_MeasurementObject_MutableUpcastTo_MR_VisualObject ( MR_MeasurementObject * object)

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

◆ MR_MeasurementObject_name()

MRC_API const MR_std_string * MR_MeasurementObject_name ( const MR_MeasurementObject * _this)

Generated from method MR::MeasurementObject::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_MeasurementObject_OffsetMutablePtr()

MRC_API MR_MeasurementObject * MR_MeasurementObject_OffsetMutablePtr ( MR_MeasurementObject * 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_MeasurementObject_OffsetPtr()

MRC_API const MR_MeasurementObject * MR_MeasurementObject_OffsetPtr ( const MR_MeasurementObject * 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_MeasurementObject_removeAllChildren()

MRC_API void MR_MeasurementObject_removeAllChildren ( MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_removeTag()

MRC_API bool MR_MeasurementObject_removeTag ( MR_MeasurementObject * _this,
const char * tag,
const char * tag_end )

removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::MeasurementObject::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_MeasurementObject_render()

MRC_API bool MR_MeasurementObject_render ( const MR_MeasurementObject * _this,
const MR_ModelRenderParams * _1 )

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

◆ MR_MeasurementObject_renderForPicker()

MRC_API void MR_MeasurementObject_renderForPicker ( const MR_MeasurementObject * _this,
const MR_ModelBaseRenderParams * _1,
unsigned int _2 )

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

◆ MR_MeasurementObject_renderUi()

MRC_API void MR_MeasurementObject_renderUi ( const MR_MeasurementObject * _this,
const MR_UiRenderParams * params )

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

◆ MR_MeasurementObject_resetColors()

MRC_API void MR_MeasurementObject_resetColors ( MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_resetDirty()

MRC_API void MR_MeasurementObject_resetDirty ( const MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_resetDirtyExceptMask()

MRC_API void MR_MeasurementObject_resetDirtyExceptMask ( const MR_MeasurementObject * _this,
unsigned int mask )

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

◆ MR_MeasurementObject_resetFrontColor()

MRC_API void MR_MeasurementObject_resetFrontColor ( MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_resetRedrawFlag()

MRC_API void MR_MeasurementObject_resetRedrawFlag ( const MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_resetXf()

MRC_API void MR_MeasurementObject_resetXf ( MR_MeasurementObject * _this,
const MR_ViewportId * id )

forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::MeasurementObject::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_MeasurementObject_sameModels()

MRC_API bool MR_MeasurementObject_sameModels ( const MR_MeasurementObject * _this,
const MR_Object * other )

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

◆ MR_MeasurementObject_select()

MRC_API bool MR_MeasurementObject_select ( MR_MeasurementObject * _this,
bool on )

selects the object, returns true if value changed, otherwise returns false Generated from method MR::MeasurementObject::select. Parameter _this can not be null. It is a single object.

◆ MR_MeasurementObject_setAllVisualizeProperties()

MRC_API void MR_MeasurementObject_setAllVisualizeProperties ( MR_MeasurementObject * _this,
const MR_std_vector_MR_ViewportMask * properties )

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

◆ MR_MeasurementObject_setAmbientStrength()

MRC_API void MR_MeasurementObject_setAmbientStrength ( MR_MeasurementObject * _this,
float ambientStrength )

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

◆ MR_MeasurementObject_setAncillary()

MRC_API void MR_MeasurementObject_setAncillary ( MR_MeasurementObject * _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::MeasurementObject::setAncillary. Parameter _this can not be null. It is a single object.

◆ MR_MeasurementObject_setBackColor()

MRC_API void MR_MeasurementObject_setBackColor ( MR_MeasurementObject * _this,
const MR_Color * color,
const MR_ViewportId * viewportId )

sets backward color of object in given viewport Generated from method MR::MeasurementObject::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_MeasurementObject_setBackColorsForAllViewports()

MRC_API void MR_MeasurementObject_setBackColorsForAllViewports ( MR_MeasurementObject * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_MR_Color * val )

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

◆ MR_MeasurementObject_setColoringType()

MRC_API void MR_MeasurementObject_setColoringType ( MR_MeasurementObject * _this,
MR_ColoringType coloringType )

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

◆ MR_MeasurementObject_setDirtyFlags()

MRC_API void MR_MeasurementObject_setDirtyFlags ( MR_MeasurementObject * _this,
unsigned int mask,
const bool * invalidateCaches )

sets some dirty flags for the object (to force its visual update)

Parameters
maskis a union of DirtyFlags flags
invalidateCacheswhether to automatically invalidate model caches (pass false here if you manually update the caches) Generated from method MR::MeasurementObject::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_MeasurementObject_setFrontColor()

MRC_API void MR_MeasurementObject_setFrontColor ( MR_MeasurementObject * _this,
const MR_Color * color,
bool selected,
const MR_ViewportId * viewportId )

sets color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR::MeasurementObject::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_MeasurementObject_setFrontColorsForAllViewports()

MRC_API void MR_MeasurementObject_setFrontColorsForAllViewports ( MR_MeasurementObject * _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::MeasurementObject::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_MeasurementObject_setGlobalAlpha()

MRC_API void MR_MeasurementObject_setGlobalAlpha ( MR_MeasurementObject * _this,
unsigned char alpha,
const MR_ViewportId * viewportId )

sets global transparency alpha of object in given viewport Generated from method MR::MeasurementObject::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_MeasurementObject_setGlobalAlphaForAllViewports()

MRC_API void MR_MeasurementObject_setGlobalAlphaForAllViewports ( MR_MeasurementObject * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_unsigned_char * val )

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

◆ MR_MeasurementObject_setGlobalClippedByPlane()

MRC_API void MR_MeasurementObject_setGlobalClippedByPlane ( MR_MeasurementObject * _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::MeasurementObject::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_MeasurementObject_setGlobalVisibility()

MRC_API void MR_MeasurementObject_setGlobalVisibility ( MR_MeasurementObject * _this,
bool on,
const MR_ViewportMask * viewportMask )

if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::MeasurementObject::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_MeasurementObject_setLocked()

MRC_API void MR_MeasurementObject_setLocked ( MR_MeasurementObject * _this,
bool on )

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

◆ MR_MeasurementObject_setName()

MRC_API void MR_MeasurementObject_setName ( MR_MeasurementObject * _this,
const char * name,
const char * name_end )

Generated from method MR::MeasurementObject::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_MeasurementObject_setParentLocked()

MRC_API void MR_MeasurementObject_setParentLocked ( MR_MeasurementObject * _this,
bool lock )

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

◆ MR_MeasurementObject_setPickable()

MRC_API void MR_MeasurementObject_setPickable ( MR_MeasurementObject * _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::MeasurementObject::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_MeasurementObject_setShininess()

MRC_API void MR_MeasurementObject_setShininess ( MR_MeasurementObject * _this,
float shininess )

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

◆ MR_MeasurementObject_setSpecularStrength()

MRC_API void MR_MeasurementObject_setSpecularStrength ( MR_MeasurementObject * _this,
float specularStrength )

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

◆ MR_MeasurementObject_setUseDefaultScenePropertiesOnDeserialization()

MRC_API void MR_MeasurementObject_setUseDefaultScenePropertiesOnDeserialization ( MR_MeasurementObject * _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::MeasurementObject::setUseDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.

◆ MR_MeasurementObject_setVisibilityMask()

MRC_API void MR_MeasurementObject_setVisibilityMask ( MR_MeasurementObject * _this,
const MR_ViewportMask * viewportMask )

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

◆ MR_MeasurementObject_setVisible()

MRC_API void MR_MeasurementObject_setVisible ( MR_MeasurementObject * _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::MeasurementObject::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_MeasurementObject_setVisualizeProperty()

MRC_API void MR_MeasurementObject_setVisualizeProperty ( MR_MeasurementObject * _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::MeasurementObject::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_MeasurementObject_setVisualizePropertyMask()

MRC_API void MR_MeasurementObject_setVisualizePropertyMask ( MR_MeasurementObject * _this,
const MR_AnyVisualizeMaskEnum * type,
const MR_ViewportMask * viewportMask )

set visual property mask Generated from method MR::MeasurementObject::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_MeasurementObject_setWorldXf()

MRC_API void MR_MeasurementObject_setWorldXf ( MR_MeasurementObject * _this,
const MR_AffineXf3f * xf,
const MR_ViewportId * id )

Generated from method MR::MeasurementObject::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_MeasurementObject_setXf()

MRC_API void MR_MeasurementObject_setXf ( MR_MeasurementObject * _this,
const MR_AffineXf3f * xf,
const MR_ViewportId * id )

Generated from method MR::MeasurementObject::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_MeasurementObject_setXfsForAllViewports()

MRC_API void MR_MeasurementObject_setXfsForAllViewports ( MR_MeasurementObject * _this,
MR_PassBy xf_pass_by,
MR_ViewportProperty_MR_AffineXf3f * xf )

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

◆ MR_MeasurementObject_shallowClone()

MRC_API MR_std_shared_ptr_MR_Object * MR_MeasurementObject_shallowClone ( const MR_MeasurementObject * _this)

clones this object only, without its children, making new object to share resources with this object Generated from method MR::MeasurementObject::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_MeasurementObject_shallowCloneTree()

MRC_API MR_std_shared_ptr_MR_Object * MR_MeasurementObject_shallowCloneTree ( const MR_MeasurementObject * _this)

clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR::MeasurementObject::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_MeasurementObject_sortChildren()

MRC_API void MR_MeasurementObject_sortChildren ( MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_StaticClassName()

MRC_API const char * MR_MeasurementObject_StaticClassName ( void )

◆ MR_MeasurementObject_StaticClassNameInPlural()

MRC_API const char * MR_MeasurementObject_StaticClassNameInPlural ( void )

◆ MR_MeasurementObject_StaticDowncastTo_MR_AngleMeasurementObject()

MRC_API const MR_AngleMeasurementObject * MR_MeasurementObject_StaticDowncastTo_MR_AngleMeasurementObject ( const MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::AngleMeasurementObject. 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.

◆ MR_MeasurementObject_StaticDowncastTo_MR_DistanceMeasurementObject()

MRC_API const MR_DistanceMeasurementObject * MR_MeasurementObject_StaticDowncastTo_MR_DistanceMeasurementObject ( const MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::DistanceMeasurementObject. 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.

◆ MR_MeasurementObject_StaticDowncastTo_MR_PointMeasurementObject()

MRC_API const MR_PointMeasurementObject * MR_MeasurementObject_StaticDowncastTo_MR_PointMeasurementObject ( const MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::PointMeasurementObject. 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.

◆ MR_MeasurementObject_StaticDowncastTo_MR_RadiusMeasurementObject()

MRC_API const MR_RadiusMeasurementObject * MR_MeasurementObject_StaticDowncastTo_MR_RadiusMeasurementObject ( const MR_MeasurementObject * object)

Downcasts an instance of MR::MeasurementObject to a derived class MR::RadiusMeasurementObject. 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.

◆ MR_MeasurementObject_StaticTypeName()

MRC_API const char * MR_MeasurementObject_StaticTypeName ( void )

Generated from method MR::MeasurementObject::StaticTypeName.

◆ MR_MeasurementObject_supportsVisualizeProperty()

MRC_API bool MR_MeasurementObject_supportsVisualizeProperty ( const MR_MeasurementObject * _this,
const MR_AnyVisualizeMaskEnum * type )

Returns true if this class supports the property type. Otherwise passing it to the functions below is illegal. Generated from method MR::MeasurementObject::supportsVisualizeProperty. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object.

◆ MR_MeasurementObject_swap()

MRC_API void MR_MeasurementObject_swap ( MR_MeasurementObject * _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::MeasurementObject::swap. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.

◆ MR_MeasurementObject_tags()

MRC_API const MR_std_set_std_string * MR_MeasurementObject_tags ( const MR_MeasurementObject * _this)

provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::MeasurementObject::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_MeasurementObject_toggleVisualizeProperty()

MRC_API void MR_MeasurementObject_toggleVisualizeProperty ( MR_MeasurementObject * _this,
const MR_AnyVisualizeMaskEnum * type,
const MR_ViewportMask * viewportMask )

toggle visual property in all viewports specified by the mask Generated from method MR::MeasurementObject::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_MeasurementObject_typeName()

MRC_API const char * MR_MeasurementObject_typeName ( const MR_MeasurementObject * _this)

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

◆ MR_MeasurementObject_UpcastTo_MR_Object()

MRC_API const MR_Object * MR_MeasurementObject_UpcastTo_MR_Object ( const MR_MeasurementObject * object)

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

◆ MR_MeasurementObject_UpcastTo_MR_ObjectChildrenHolder()

MRC_API const MR_ObjectChildrenHolder * MR_MeasurementObject_UpcastTo_MR_ObjectChildrenHolder ( const MR_MeasurementObject * object)

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

◆ MR_MeasurementObject_UpcastTo_MR_VisualObject()

MRC_API const MR_VisualObject * MR_MeasurementObject_UpcastTo_MR_VisualObject ( const MR_MeasurementObject * object)

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

◆ MR_MeasurementObject_useDefaultScenePropertiesOnDeserialization()

MRC_API bool MR_MeasurementObject_useDefaultScenePropertiesOnDeserialization ( const MR_MeasurementObject * _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::MeasurementObject::useDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.

◆ MR_MeasurementObject_visibilityMask()

MRC_API MR_ViewportMask * MR_MeasurementObject_visibilityMask ( const MR_MeasurementObject * _this)

gets object visibility as bitmask of viewports Generated from method MR::MeasurementObject::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_MeasurementObject_worldXf()

MRC_API MR_AffineXf3f MR_MeasurementObject_worldXf ( const MR_MeasurementObject * _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::MeasurementObject::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_MeasurementObject_xf()

MRC_API const MR_AffineXf3f * MR_MeasurementObject_xf ( const MR_MeasurementObject * _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::MeasurementObject::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_MeasurementObject_xfsForAllViewports()

MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_MeasurementObject_xfsForAllViewports ( const MR_MeasurementObject * _this)

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