MeshLib C Docs
Loading...
Searching...
No Matches
MRObjectLines.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_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_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet
 
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_MR_ObjectLines MR_std_shared_ptr_MR_ObjectLines
 
typedef struct MR_std_shared_ptr_MR_Polyline3 MR_std_shared_ptr_MR_Polyline3
 
typedef struct MR_std_shared_ptr_const_MR_Polyline3 MR_std_shared_ptr_const_MR_Polyline3
 
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_shared_ptr_MR_ObjectLines MR_std_vector_std_shared_ptr_MR_ObjectLines
 
typedef struct MR_std_vector_std_string MR_std_vector_std_string
 
typedef struct MR_ObjectLines MR_ObjectLines
 

Functions

MRC_API MR_ObjectLinesMR_ObjectLines_DefaultConstruct (void)
 
MRC_API MR_ObjectLinesMR_ObjectLines_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_ObjectLinesMR_ObjectLines_OffsetPtr (const MR_ObjectLines *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_ObjectLinesMR_ObjectLines_OffsetMutablePtr (MR_ObjectLines *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_ObjectLines_UpcastTo_MR_ObjectChildrenHolder (const MR_ObjectLines *object)
 
MRC_API MR_ObjectChildrenHolderMR_ObjectLines_MutableUpcastTo_MR_ObjectChildrenHolder (MR_ObjectLines *object)
 Upcasts an instance of MR::ObjectLines to its base class MR::ObjectChildrenHolder.
 
MRC_API const MR_ObjectMR_ObjectLines_UpcastTo_MR_Object (const MR_ObjectLines *object)
 
MRC_API MR_ObjectMR_ObjectLines_MutableUpcastTo_MR_Object (MR_ObjectLines *object)
 Upcasts an instance of MR::ObjectLines to its base class MR::Object.
 
MRC_API const MR_VisualObjectMR_ObjectLines_UpcastTo_MR_VisualObject (const MR_ObjectLines *object)
 
MRC_API MR_VisualObjectMR_ObjectLines_MutableUpcastTo_MR_VisualObject (MR_ObjectLines *object)
 Upcasts an instance of MR::ObjectLines to its base class MR::VisualObject.
 
MRC_API const MR_ObjectLinesHolderMR_ObjectLines_UpcastTo_MR_ObjectLinesHolder (const MR_ObjectLines *object)
 
MRC_API MR_ObjectLinesHolderMR_ObjectLines_MutableUpcastTo_MR_ObjectLinesHolder (MR_ObjectLines *object)
 Upcasts an instance of MR::ObjectLines to its base class MR::ObjectLinesHolder.
 
MRC_API MR_ObjectLinesMR_ObjectLines_ConstructFromAnother (MR_PassBy _other_pass_by, MR_ObjectLines *_other)
 
MRC_API void MR_ObjectLines_Destroy (const MR_ObjectLines *_this)
 Destroys a heap-allocated instance of MR_ObjectLines. Does nothing if the pointer is null.
 
MRC_API void MR_ObjectLines_DestroyArray (const MR_ObjectLines *_this)
 Destroys a heap-allocated array of MR_ObjectLines. Does nothing if the pointer is null.
 
MRC_API MR_ObjectLinesMR_ObjectLines_AssignFromAnother (MR_ObjectLines *_this, MR_PassBy _other_pass_by, MR_ObjectLines *_other)
 
MRC_API const char * MR_ObjectLines_StaticTypeName (void)
 Generated from method MR::ObjectLines::StaticTypeName.
 
MRC_API const char * MR_ObjectLines_typeName (const MR_ObjectLines *_this)
 
MRC_API const char * MR_ObjectLines_StaticClassName (void)
 Generated from method MR::ObjectLines::StaticClassName.
 
MRC_API MR_std_stringMR_ObjectLines_className (const MR_ObjectLines *_this)
 
MRC_API const char * MR_ObjectLines_StaticClassNameInPlural (void)
 Generated from method MR::ObjectLines::StaticClassNameInPlural.
 
MRC_API MR_std_stringMR_ObjectLines_classNameInPlural (const MR_ObjectLines *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_ObjectLines_clone (const MR_ObjectLines *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_ObjectLines_shallowClone (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setPolyline (MR_ObjectLines *_this, const MR_std_shared_ptr_MR_Polyline3 *polyline)
 
MRC_API MR_std_shared_ptr_MR_Polyline3MR_ObjectLines_updatePolyline (MR_ObjectLines *_this, MR_PassBy polyline_pass_by, MR_std_shared_ptr_MR_Polyline3 *polyline)
 
MRC_API const MR_std_shared_ptr_MR_Polyline3MR_ObjectLines_varPolyline (MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setDirtyFlags (MR_ObjectLines *_this, unsigned int mask, const bool *invalidateCaches)
 
MRC_API MR_std_vector_std_stringMR_ObjectLines_getInfoLines (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_applyScale (MR_ObjectLines *_this, float scaleFactor)
 
MRC_API bool MR_ObjectLines_hasVisualRepresentation (const MR_ObjectLines *_this)
 
MRC_API bool MR_ObjectLines_hasModel (const MR_ObjectLines *_this)
 
MRC_API const MR_std_shared_ptr_const_MR_Polyline3MR_ObjectLines_polyline (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setDashPattern (MR_ObjectLines *_this, const MR_Vector4_unsigned_char *pattern, const MR_ViewportId *vpId)
 
MRC_API const MR_Vector4_unsigned_charMR_ObjectLines_getDashPattern (const MR_ObjectLines *_this, const MR_ViewportId *vpId, bool *isDef)
 
MRC_API void MR_ObjectLines_setLineWidth (MR_ObjectLines *_this, float width)
 
MRC_API float MR_ObjectLines_getLineWidth (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setPointSize (MR_ObjectLines *_this, float size)
 
MRC_API float MR_ObjectLines_getPointSize (const MR_ObjectLines *_this)
 
MRC_API const MR_VertColorsMR_ObjectLines_getVertsColorMap (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setVertsColorMap (MR_ObjectLines *_this, MR_PassBy vertsColorMap_pass_by, MR_VertColors *vertsColorMap)
 
MRC_API void MR_ObjectLines_updateVertsColorMap (MR_ObjectLines *_this, MR_VertColors *vertsColorMap)
 
MRC_API const MR_UndirectedEdgeColorsMR_ObjectLines_getLinesColorMap (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setLinesColorMap (MR_ObjectLines *_this, MR_PassBy linesColorMap_pass_by, MR_UndirectedEdgeColors *linesColorMap)
 
MRC_API void MR_ObjectLines_updateLinesColorMap (MR_ObjectLines *_this, MR_UndirectedEdgeColors *updated)
 
MRC_API bool MR_ObjectLines_supportsVisualizeProperty (const MR_ObjectLines *_this, const MR_AnyVisualizeMaskEnum *type)
 
MRC_API MR_std_vector_MR_ViewportMaskMR_ObjectLines_getAllVisualizeProperties (const MR_ObjectLines *_this)
 
MRC_API const MR_ViewportMaskMR_ObjectLines_getVisualizePropertyMask (const MR_ObjectLines *_this, const MR_AnyVisualizeMaskEnum *type)
 
MRC_API void MR_ObjectLines_copyColors (MR_ObjectLines *_this, const MR_ObjectLinesHolder *src, const MR_VertMap *thisToSrc)
 
MRC_API MR_Box3f MR_ObjectLines_getWorldBox (const MR_ObjectLines *_this, const MR_ViewportId *_1)
 
MRC_API MR_uint64_t MR_ObjectLines_heapBytes (const MR_ObjectLines *_this)
 
MRC_API float MR_ObjectLines_avgEdgeLen (const MR_ObjectLines *_this)
 
MRC_API MR_uint64_t MR_ObjectLines_numUndirectedEdges (const MR_ObjectLines *_this)
 
MRC_API MR_uint64_t MR_ObjectLines_numComponents (const MR_ObjectLines *_this)
 
MRC_API float MR_ObjectLines_totalLength (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_resetFrontColor (MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setVisualizeProperty (MR_ObjectLines *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectLines_setVisualizePropertyMask (MR_ObjectLines *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_ObjectLines_getVisualizeProperty (const MR_ObjectLines *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectLines_toggleVisualizeProperty (MR_ObjectLines *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectLines_setAllVisualizeProperties (MR_ObjectLines *_this, const MR_std_vector_MR_ViewportMask *properties)
 
MRC_API void MR_ObjectLines_copyAllSolidColors (MR_ObjectLines *_this, const MR_VisualObject *other)
 
MRC_API MR_ViewportMaskMR_ObjectLines_globalClippedByPlaneMask (const MR_ObjectLines *_this)
 
MRC_API bool MR_ObjectLines_globalClippedByPlane (const MR_ObjectLines *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectLines_setGlobalClippedByPlane (MR_ObjectLines *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API const MR_ColorMR_ObjectLines_getFrontColor (const MR_ObjectLines *_this, const bool *selected, const MR_ViewportId *viewportId)
 
MRC_API void MR_ObjectLines_setFrontColor (MR_ObjectLines *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
 
MRC_API const MR_ViewportProperty_MR_ColorMR_ObjectLines_getFrontColorsForAllViewports (const MR_ObjectLines *_this, const bool *selected)
 
MRC_API void MR_ObjectLines_setFrontColorsForAllViewports (MR_ObjectLines *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
 
MRC_API const MR_ViewportProperty_MR_ColorMR_ObjectLines_getBackColorsForAllViewports (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setBackColorsForAllViewports (MR_ObjectLines *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
 
MRC_API const MR_ColorMR_ObjectLines_getBackColor (const MR_ObjectLines *_this, const MR_ViewportId *viewportId)
 
MRC_API void MR_ObjectLines_setBackColor (MR_ObjectLines *_this, const MR_Color *color, const MR_ViewportId *viewportId)
 
MRC_API const unsigned char * MR_ObjectLines_getGlobalAlpha (const MR_ObjectLines *_this, const MR_ViewportId *viewportId)
 
MRC_API void MR_ObjectLines_setGlobalAlpha (MR_ObjectLines *_this, unsigned char alpha, const MR_ViewportId *viewportId)
 
MRC_API const MR_ViewportProperty_unsigned_charMR_ObjectLines_getGlobalAlphaForAllViewports (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setGlobalAlphaForAllViewports (MR_ObjectLines *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
 
MRC_API unsigned int MR_ObjectLines_getDirtyFlags (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_resetDirty (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_resetDirtyExceptMask (const MR_ObjectLines *_this, unsigned int mask)
 
MRC_API MR_Box3f MR_ObjectLines_getBoundingBox (const MR_ObjectLines *_this)
 
MRC_API bool MR_ObjectLines_getRedrawFlag (const MR_ObjectLines *_this, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_ObjectLines_isPickable (const MR_ObjectLines *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectLines_setPickable (MR_ObjectLines *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API MR_ColoringType MR_ObjectLines_getColoringType (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setColoringType (MR_ObjectLines *_this, MR_ColoringType coloringType)
 
MRC_API float MR_ObjectLines_getShininess (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setShininess (MR_ObjectLines *_this, float shininess)
 
MRC_API float MR_ObjectLines_getSpecularStrength (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setSpecularStrength (MR_ObjectLines *_this, float specularStrength)
 
MRC_API float MR_ObjectLines_getAmbientStrength (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setAmbientStrength (MR_ObjectLines *_this, float ambientStrength)
 
MRC_API bool MR_ObjectLines_render (const MR_ObjectLines *_this, const MR_ModelRenderParams *_1)
 
MRC_API void MR_ObjectLines_renderForPicker (const MR_ObjectLines *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
 
MRC_API void MR_ObjectLines_renderUi (const MR_ObjectLines *_this, const MR_UiRenderParams *params)
 
MRC_API bool MR_ObjectLines_useDefaultScenePropertiesOnDeserialization (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setUseDefaultScenePropertiesOnDeserialization (MR_ObjectLines *_this, bool useDefaultScenePropertiesOnDeserialization)
 
MRC_API void MR_ObjectLines_resetColors (MR_ObjectLines *_this)
 
MRC_API const MR_std_stringMR_ObjectLines_name (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setName (MR_ObjectLines *_this, const char *name, const char *name_end)
 
MRC_API const MR_AffineXf3fMR_ObjectLines_xf (const MR_ObjectLines *_this, const MR_ViewportId *id, bool *isDef)
 
MRC_API void MR_ObjectLines_setXf (MR_ObjectLines *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
 
MRC_API void MR_ObjectLines_resetXf (MR_ObjectLines *_this, const MR_ViewportId *id)
 
MRC_API const MR_ViewportProperty_MR_AffineXf3fMR_ObjectLines_xfsForAllViewports (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setXfsForAllViewports (MR_ObjectLines *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
 
MRC_API MR_AffineXf3f MR_ObjectLines_worldXf (const MR_ObjectLines *_this, const MR_ViewportId *id, bool *isDef)
 
MRC_API void MR_ObjectLines_setWorldXf (MR_ObjectLines *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
 
MRC_API MR_ViewportMaskMR_ObjectLines_globalVisibilityMask (const MR_ObjectLines *_this)
 
MRC_API bool MR_ObjectLines_globalVisibility (const MR_ObjectLines *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectLines_setGlobalVisibility (MR_ObjectLines *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_ObjectLines_isLocked (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setLocked (MR_ObjectLines *_this, bool on)
 
MRC_API bool MR_ObjectLines_isParentLocked (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setParentLocked (MR_ObjectLines *_this, bool lock)
 
MRC_API bool MR_ObjectLines_isAncestor (const MR_ObjectLines *_this, const MR_Object *ancestor)
 
MRC_API bool MR_ObjectLines_detachFromParent (MR_ObjectLines *_this)
 
MRC_API bool MR_ObjectLines_addChild (MR_ObjectLines *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
 
MRC_API bool MR_ObjectLines_addChildBefore (MR_ObjectLines *_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_ObjectLines_removeAllChildren (MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_sortChildren (MR_ObjectLines *_this)
 
MRC_API bool MR_ObjectLines_select (MR_ObjectLines *_this, bool on)
 
MRC_API bool MR_ObjectLines_isSelected (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setAncillary (MR_ObjectLines *_this, bool ancillary)
 
MRC_API bool MR_ObjectLines_isAncillary (const MR_ObjectLines *_this)
 
MRC_API bool MR_ObjectLines_isGlobalAncillary (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_setVisible (MR_ObjectLines *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_ObjectLines_isVisible (const MR_ObjectLines *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectLines_setVisibilityMask (MR_ObjectLines *_this, const MR_ViewportMask *viewportMask)
 
MRC_API MR_ViewportMaskMR_ObjectLines_visibilityMask (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_resetRedrawFlag (const MR_ObjectLines *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_ObjectLines_cloneTree (const MR_ObjectLines *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_ObjectLines_shallowCloneTree (const MR_ObjectLines *_this)
 
MRC_API void MR_ObjectLines_swap (MR_ObjectLines *_this, MR_Object *other)
 
MRC_API MR_Box3f MR_ObjectLines_getWorldTreeBox (const MR_ObjectLines *_this, const MR_ViewportId *_1)
 
MRC_API const MR_std_set_std_stringMR_ObjectLines_tags (const MR_ObjectLines *_this)
 
MRC_API bool MR_ObjectLines_addTag (MR_ObjectLines *_this, const char *tag, const char *tag_end)
 
MRC_API bool MR_ObjectLines_removeTag (MR_ObjectLines *_this, const char *tag, const char *tag_end)
 
MRC_API bool MR_ObjectLines_sameModels (const MR_ObjectLines *_this, const MR_Object *other)
 
MRC_API MR_uint64_t MR_ObjectLines_getModelHash (const MR_ObjectLines *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_ObjectLines_getSharedPtr (const MR_ObjectLines *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectLinesMR_merge_1_std_vector_std_shared_ptr_MR_ObjectLines (const MR_std_vector_std_shared_ptr_MR_ObjectLines *objsLines)
 
MRC_API MR_std_shared_ptr_MR_ObjectLinesMR_cloneRegion_2_std_shared_ptr_MR_ObjectLines (const MR_std_shared_ptr_MR_ObjectLines *objLines, const MR_UndirectedEdgeBitSet *region)
 

Typedef Documentation

◆ MR_AnyVisualizeMaskEnum

◆ MR_Color

typedef struct MR_Color MR_Color

◆ MR_ModelBaseRenderParams

◆ MR_ModelRenderParams

◆ MR_Object

typedef struct MR_Object MR_Object

◆ MR_ObjectChildrenHolder

◆ MR_ObjectLines

This object type has not visual representation, just holder for lines in scene Generated from class MR::ObjectLines. 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_MR_ObjectLines

◆ MR_std_shared_ptr_MR_Polyline3

◆ MR_std_string

typedef struct MR_std_string MR_std_string

◆ MR_std_vector_MR_ViewportMask

◆ MR_std_vector_std_shared_ptr_MR_ObjectLines

◆ MR_std_vector_std_string

◆ MR_UiRenderParams

◆ MR_UndirectedEdgeBitSet

◆ 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_cloneRegion_2_std_shared_ptr_MR_ObjectLines()

MRC_API MR_std_shared_ptr_MR_ObjectLines * MR_cloneRegion_2_std_shared_ptr_MR_ObjectLines ( const MR_std_shared_ptr_MR_ObjectLines * objLines,
const MR_UndirectedEdgeBitSet * region )

constructs new ObjectLines containing the region of data from input object Generated from function MR::cloneRegion. Parameter objLines can not be null. It is a single object. Parameter region 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_ObjectLines_Destroy() to free it when you're done using it.

◆ MR_merge_1_std_vector_std_shared_ptr_MR_ObjectLines()

MRC_API MR_std_shared_ptr_MR_ObjectLines * MR_merge_1_std_vector_std_shared_ptr_MR_ObjectLines ( const MR_std_vector_std_shared_ptr_MR_ObjectLines * objsLines)

constructs new ObjectLines containing the union of valid data from all input objects Generated from function MR::merge. Parameter objsLines 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_ObjectLines_Destroy() to free it when you're done using it.

◆ MR_ObjectLines_addChild()

MRC_API bool MR_ObjectLines_addChild ( MR_ObjectLines * _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::ObjectLines::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_ObjectLines_addChildBefore()

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

◆ MR_ObjectLines_addTag()

MRC_API bool MR_ObjectLines_addTag ( MR_ObjectLines * _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::ObjectLines::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_ObjectLines_applyScale()

MRC_API void MR_ObjectLines_applyScale ( MR_ObjectLines * _this,
float scaleFactor )

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

◆ MR_ObjectLines_AssignFromAnother()

MRC_API MR_ObjectLines * MR_ObjectLines_AssignFromAnother ( MR_ObjectLines * _this,
MR_PassBy _other_pass_by,
MR_ObjectLines * _other )

Generated from method MR::ObjectLines::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_ObjectLines_avgEdgeLen()

MRC_API float MR_ObjectLines_avgEdgeLen ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_className()

MRC_API MR_std_string * MR_ObjectLines_className ( const MR_ObjectLines * _this)

Generated from method MR::ObjectLines::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_ObjectLines_classNameInPlural()

MRC_API MR_std_string * MR_ObjectLines_classNameInPlural ( const MR_ObjectLines * _this)

Generated from method MR::ObjectLines::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_ObjectLines_clone()

MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLines_clone ( const MR_ObjectLines * _this)

Generated from method MR::ObjectLines::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_ObjectLines_cloneTree()

MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLines_cloneTree ( const MR_ObjectLines * _this)

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

MRC_API MR_ObjectLines * MR_ObjectLines_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_ObjectLines * _other )

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

◆ MR_ObjectLines_copyAllSolidColors()

MRC_API void MR_ObjectLines_copyAllSolidColors ( MR_ObjectLines * _this,
const MR_VisualObject * other )

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

◆ MR_ObjectLines_copyColors()

MRC_API void MR_ObjectLines_copyColors ( MR_ObjectLines * _this,
const MR_ObjectLinesHolder * src,
const MR_VertMap * thisToSrc )

copies vertex colors from given source object

Parameters
srcusing given map
thisToSrcGenerated from method MR::ObjectLines::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_ObjectLines_DefaultConstruct()

MRC_API MR_ObjectLines * MR_ObjectLines_DefaultConstruct ( void )

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

◆ MR_ObjectLines_DefaultConstructArray()

MRC_API MR_ObjectLines * MR_ObjectLines_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_ObjectLines_DestroyArray(). Use MR_ObjectLines_OffsetMutablePtr() and MR_ObjectLines_OffsetPtr() to access the array elements.

◆ MR_ObjectLines_Destroy()

MRC_API void MR_ObjectLines_Destroy ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_DestroyArray()

MRC_API void MR_ObjectLines_DestroyArray ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_detachFromParent()

MRC_API bool MR_ObjectLines_detachFromParent ( MR_ObjectLines * _this)

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

◆ MR_ObjectLines_getAllVisualizeProperties()

MRC_API MR_std_vector_MR_ViewportMask * MR_ObjectLines_getAllVisualizeProperties ( const MR_ObjectLines * _this)

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

MRC_API float MR_ObjectLines_getAmbientStrength ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_getBackColor()

MRC_API const MR_Color * MR_ObjectLines_getBackColor ( const MR_ObjectLines * _this,
const MR_ViewportId * viewportId )

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

MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectLines_getBackColorsForAllViewports ( const MR_ObjectLines * _this)

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

MRC_API MR_Box3f MR_ObjectLines_getBoundingBox ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_getColoringType()

MRC_API MR_ColoringType MR_ObjectLines_getColoringType ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_getDashPattern()

MRC_API const MR_Vector4_unsigned_char * MR_ObjectLines_getDashPattern ( const MR_ObjectLines * _this,
const MR_ViewportId * vpId,
bool * isDef )

Generated from method MR::ObjectLines::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_ObjectLines_getDirtyFlags()

MRC_API unsigned int MR_ObjectLines_getDirtyFlags ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_getFrontColor()

MRC_API const MR_Color * MR_ObjectLines_getFrontColor ( const MR_ObjectLines * _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::ObjectLines::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_ObjectLines_getFrontColorsForAllViewports()

MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectLines_getFrontColorsForAllViewports ( const MR_ObjectLines * _this,
const bool * selected )

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

MRC_API const unsigned char * MR_ObjectLines_getGlobalAlpha ( const MR_ObjectLines * _this,
const MR_ViewportId * viewportId )

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

MRC_API const MR_ViewportProperty_unsigned_char * MR_ObjectLines_getGlobalAlphaForAllViewports ( const MR_ObjectLines * _this)

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

MRC_API MR_std_vector_std_string * MR_ObjectLines_getInfoLines ( const MR_ObjectLines * _this)

Generated from method MR::ObjectLines::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_ObjectLines_getLinesColorMap()

MRC_API const MR_UndirectedEdgeColors * MR_ObjectLines_getLinesColorMap ( const MR_ObjectLines * _this)

Generated from method MR::ObjectLines::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_ObjectLines_getLineWidth()

MRC_API float MR_ObjectLines_getLineWidth ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_getModelHash()

MRC_API MR_uint64_t MR_ObjectLines_getModelHash ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_getPointSize()

MRC_API float MR_ObjectLines_getPointSize ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_getRedrawFlag()

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

◆ MR_ObjectLines_getSharedPtr()

MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLines_getSharedPtr ( const MR_ObjectLines * _this)

Generated from method MR::ObjectLines::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_ObjectLines_getShininess()

MRC_API float MR_ObjectLines_getShininess ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_getSpecularStrength()

MRC_API float MR_ObjectLines_getSpecularStrength ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_getVertsColorMap()

MRC_API const MR_VertColors * MR_ObjectLines_getVertsColorMap ( const MR_ObjectLines * _this)

returns per-vertex colors of the object Generated from method MR::ObjectLines::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_ObjectLines_getVisualizeProperty()

MRC_API bool MR_ObjectLines_getVisualizeProperty ( const MR_ObjectLines * _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::ObjectLines::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_ObjectLines_getVisualizePropertyMask()

MRC_API const MR_ViewportMask * MR_ObjectLines_getVisualizePropertyMask ( const MR_ObjectLines * _this,
const MR_AnyVisualizeMaskEnum * type )

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

MRC_API MR_Box3f MR_ObjectLines_getWorldBox ( const MR_ObjectLines * _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::ObjectLines::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_ObjectLines_getWorldTreeBox()

MRC_API MR_Box3f MR_ObjectLines_getWorldTreeBox ( const MR_ObjectLines * _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::ObjectLines::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_ObjectLines_globalClippedByPlane()

MRC_API bool MR_ObjectLines_globalClippedByPlane ( const MR_ObjectLines * _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::ObjectLines::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_ObjectLines_globalClippedByPlaneMask()

MRC_API MR_ViewportMask * MR_ObjectLines_globalClippedByPlaneMask ( const MR_ObjectLines * _this)

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

MRC_API bool MR_ObjectLines_globalVisibility ( const MR_ObjectLines * _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::ObjectLines::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_ObjectLines_globalVisibilityMask()

MRC_API MR_ViewportMask * MR_ObjectLines_globalVisibilityMask ( const MR_ObjectLines * _this)

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

MRC_API bool MR_ObjectLines_hasModel ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_hasVisualRepresentation()

MRC_API bool MR_ObjectLines_hasVisualRepresentation ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_heapBytes()

MRC_API MR_uint64_t MR_ObjectLines_heapBytes ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_isAncestor()

MRC_API bool MR_ObjectLines_isAncestor ( const MR_ObjectLines * _this,
const MR_Object * ancestor )

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

◆ MR_ObjectLines_isAncillary()

MRC_API bool MR_ObjectLines_isAncillary ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_isGlobalAncillary()

MRC_API bool MR_ObjectLines_isGlobalAncillary ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_isLocked()

MRC_API bool MR_ObjectLines_isLocked ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_isParentLocked()

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

◆ MR_ObjectLines_isPickable()

MRC_API bool MR_ObjectLines_isPickable ( const MR_ObjectLines * _this,
const MR_ViewportMask * viewportMask )

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

MRC_API bool MR_ObjectLines_isSelected ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_isVisible()

MRC_API bool MR_ObjectLines_isVisible ( const MR_ObjectLines * _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::ObjectLines::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_ObjectLines_MutableUpcastTo_MR_Object()

MRC_API MR_Object * MR_ObjectLines_MutableUpcastTo_MR_Object ( MR_ObjectLines * object)

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

◆ MR_ObjectLines_MutableUpcastTo_MR_ObjectChildrenHolder()

MRC_API MR_ObjectChildrenHolder * MR_ObjectLines_MutableUpcastTo_MR_ObjectChildrenHolder ( MR_ObjectLines * object)

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

◆ MR_ObjectLines_MutableUpcastTo_MR_ObjectLinesHolder()

MRC_API MR_ObjectLinesHolder * MR_ObjectLines_MutableUpcastTo_MR_ObjectLinesHolder ( MR_ObjectLines * object)

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

◆ MR_ObjectLines_MutableUpcastTo_MR_VisualObject()

MRC_API MR_VisualObject * MR_ObjectLines_MutableUpcastTo_MR_VisualObject ( MR_ObjectLines * object)

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

◆ MR_ObjectLines_name()

MRC_API const MR_std_string * MR_ObjectLines_name ( const MR_ObjectLines * _this)

Generated from method MR::ObjectLines::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_ObjectLines_numComponents()

MRC_API MR_uint64_t MR_ObjectLines_numComponents ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_numUndirectedEdges()

MRC_API MR_uint64_t MR_ObjectLines_numUndirectedEdges ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_OffsetMutablePtr()

MRC_API MR_ObjectLines * MR_ObjectLines_OffsetMutablePtr ( MR_ObjectLines * 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_ObjectLines_OffsetPtr()

MRC_API const MR_ObjectLines * MR_ObjectLines_OffsetPtr ( const MR_ObjectLines * 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_ObjectLines_polyline()

MRC_API const MR_std_shared_ptr_const_MR_Polyline3 * MR_ObjectLines_polyline ( const MR_ObjectLines * _this)

Generated from method MR::ObjectLines::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_ObjectLines_removeAllChildren()

MRC_API void MR_ObjectLines_removeAllChildren ( MR_ObjectLines * _this)

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

◆ MR_ObjectLines_removeTag()

MRC_API bool MR_ObjectLines_removeTag ( MR_ObjectLines * _this,
const char * tag,
const char * tag_end )

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

MRC_API bool MR_ObjectLines_render ( const MR_ObjectLines * _this,
const MR_ModelRenderParams * _1 )

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

◆ MR_ObjectLines_renderForPicker()

MRC_API void MR_ObjectLines_renderForPicker ( const MR_ObjectLines * _this,
const MR_ModelBaseRenderParams * _1,
unsigned int _2 )

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

◆ MR_ObjectLines_renderUi()

MRC_API void MR_ObjectLines_renderUi ( const MR_ObjectLines * _this,
const MR_UiRenderParams * params )

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

◆ MR_ObjectLines_resetColors()

MRC_API void MR_ObjectLines_resetColors ( MR_ObjectLines * _this)

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

◆ MR_ObjectLines_resetDirty()

MRC_API void MR_ObjectLines_resetDirty ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_resetDirtyExceptMask()

MRC_API void MR_ObjectLines_resetDirtyExceptMask ( const MR_ObjectLines * _this,
unsigned int mask )

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

◆ MR_ObjectLines_resetFrontColor()

MRC_API void MR_ObjectLines_resetFrontColor ( MR_ObjectLines * _this)

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

◆ MR_ObjectLines_resetRedrawFlag()

MRC_API void MR_ObjectLines_resetRedrawFlag ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_resetXf()

MRC_API void MR_ObjectLines_resetXf ( MR_ObjectLines * _this,
const MR_ViewportId * id )

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

MRC_API bool MR_ObjectLines_sameModels ( const MR_ObjectLines * _this,
const MR_Object * other )

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

◆ MR_ObjectLines_select()

MRC_API bool MR_ObjectLines_select ( MR_ObjectLines * _this,
bool on )

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

◆ MR_ObjectLines_setAllVisualizeProperties()

MRC_API void MR_ObjectLines_setAllVisualizeProperties ( MR_ObjectLines * _this,
const MR_std_vector_MR_ViewportMask * properties )

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

◆ MR_ObjectLines_setAmbientStrength()

MRC_API void MR_ObjectLines_setAmbientStrength ( MR_ObjectLines * _this,
float ambientStrength )

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

◆ MR_ObjectLines_setAncillary()

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

◆ MR_ObjectLines_setBackColor()

MRC_API void MR_ObjectLines_setBackColor ( MR_ObjectLines * _this,
const MR_Color * color,
const MR_ViewportId * viewportId )

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

MRC_API void MR_ObjectLines_setBackColorsForAllViewports ( MR_ObjectLines * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_MR_Color * val )

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

◆ MR_ObjectLines_setColoringType()

MRC_API void MR_ObjectLines_setColoringType ( MR_ObjectLines * _this,
MR_ColoringType coloringType )

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

◆ MR_ObjectLines_setDashPattern()

MRC_API void MR_ObjectLines_setDashPattern ( MR_ObjectLines * _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::ObjectLines::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_ObjectLines_setDirtyFlags()

MRC_API void MR_ObjectLines_setDirtyFlags ( MR_ObjectLines * _this,
unsigned int mask,
const bool * invalidateCaches )

Generated from method MR::ObjectLines::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_ObjectLines_setFrontColor()

MRC_API void MR_ObjectLines_setFrontColor ( MR_ObjectLines * _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::ObjectLines::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_ObjectLines_setFrontColorsForAllViewports()

MRC_API void MR_ObjectLines_setFrontColorsForAllViewports ( MR_ObjectLines * _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::ObjectLines::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_ObjectLines_setGlobalAlpha()

MRC_API void MR_ObjectLines_setGlobalAlpha ( MR_ObjectLines * _this,
unsigned char alpha,
const MR_ViewportId * viewportId )

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

MRC_API void MR_ObjectLines_setGlobalAlphaForAllViewports ( MR_ObjectLines * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_unsigned_char * val )

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

◆ MR_ObjectLines_setGlobalClippedByPlane()

MRC_API void MR_ObjectLines_setGlobalClippedByPlane ( MR_ObjectLines * _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::ObjectLines::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_ObjectLines_setGlobalVisibility()

MRC_API void MR_ObjectLines_setGlobalVisibility ( MR_ObjectLines * _this,
bool on,
const MR_ViewportMask * viewportMask )

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

MRC_API void MR_ObjectLines_setLinesColorMap ( MR_ObjectLines * _this,
MR_PassBy linesColorMap_pass_by,
MR_UndirectedEdgeColors * linesColorMap )

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

◆ MR_ObjectLines_setLineWidth()

MRC_API void MR_ObjectLines_setLineWidth ( MR_ObjectLines * _this,
float width )

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

◆ MR_ObjectLines_setLocked()

MRC_API void MR_ObjectLines_setLocked ( MR_ObjectLines * _this,
bool on )

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

◆ MR_ObjectLines_setName()

MRC_API void MR_ObjectLines_setName ( MR_ObjectLines * _this,
const char * name,
const char * name_end )

Generated from method MR::ObjectLines::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_ObjectLines_setParentLocked()

MRC_API void MR_ObjectLines_setParentLocked ( MR_ObjectLines * _this,
bool lock )

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

◆ MR_ObjectLines_setPickable()

MRC_API void MR_ObjectLines_setPickable ( MR_ObjectLines * _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::ObjectLines::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_ObjectLines_setPointSize()

MRC_API void MR_ObjectLines_setPointSize ( MR_ObjectLines * _this,
float size )

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

◆ MR_ObjectLines_setPolyline()

MRC_API void MR_ObjectLines_setPolyline ( MR_ObjectLines * _this,
const MR_std_shared_ptr_MR_Polyline3 * polyline )

Generated from method MR::ObjectLines::setPolyline. Parameter _this can not be null. It is a single object. Parameter polyline can not be null. It is a single object.

◆ MR_ObjectLines_setShininess()

MRC_API void MR_ObjectLines_setShininess ( MR_ObjectLines * _this,
float shininess )

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

◆ MR_ObjectLines_setSpecularStrength()

MRC_API void MR_ObjectLines_setSpecularStrength ( MR_ObjectLines * _this,
float specularStrength )

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

◆ MR_ObjectLines_setUseDefaultScenePropertiesOnDeserialization()

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

◆ MR_ObjectLines_setVertsColorMap()

MRC_API void MR_ObjectLines_setVertsColorMap ( MR_ObjectLines * _this,
MR_PassBy vertsColorMap_pass_by,
MR_VertColors * vertsColorMap )

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

◆ MR_ObjectLines_setVisibilityMask()

MRC_API void MR_ObjectLines_setVisibilityMask ( MR_ObjectLines * _this,
const MR_ViewportMask * viewportMask )

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

◆ MR_ObjectLines_setVisible()

MRC_API void MR_ObjectLines_setVisible ( MR_ObjectLines * _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::ObjectLines::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_ObjectLines_setVisualizeProperty()

MRC_API void MR_ObjectLines_setVisualizeProperty ( MR_ObjectLines * _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::ObjectLines::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_ObjectLines_setVisualizePropertyMask()

MRC_API void MR_ObjectLines_setVisualizePropertyMask ( MR_ObjectLines * _this,
const MR_AnyVisualizeMaskEnum * type,
const MR_ViewportMask * viewportMask )

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

MRC_API void MR_ObjectLines_setWorldXf ( MR_ObjectLines * _this,
const MR_AffineXf3f * xf,
const MR_ViewportId * id )

Generated from method MR::ObjectLines::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_ObjectLines_setXf()

MRC_API void MR_ObjectLines_setXf ( MR_ObjectLines * _this,
const MR_AffineXf3f * xf,
const MR_ViewportId * id )

Generated from method MR::ObjectLines::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_ObjectLines_setXfsForAllViewports()

MRC_API void MR_ObjectLines_setXfsForAllViewports ( MR_ObjectLines * _this,
MR_PassBy xf_pass_by,
MR_ViewportProperty_MR_AffineXf3f * xf )

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

◆ MR_ObjectLines_shallowClone()

MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLines_shallowClone ( const MR_ObjectLines * _this)

Generated from method MR::ObjectLines::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_ObjectLines_shallowCloneTree()

MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLines_shallowCloneTree ( const MR_ObjectLines * _this)

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

MRC_API void MR_ObjectLines_sortChildren ( MR_ObjectLines * _this)

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

◆ MR_ObjectLines_StaticClassName()

MRC_API const char * MR_ObjectLines_StaticClassName ( void )

Generated from method MR::ObjectLines::StaticClassName.

◆ MR_ObjectLines_StaticClassNameInPlural()

MRC_API const char * MR_ObjectLines_StaticClassNameInPlural ( void )

◆ MR_ObjectLines_StaticTypeName()

MRC_API const char * MR_ObjectLines_StaticTypeName ( void )

Generated from method MR::ObjectLines::StaticTypeName.

◆ MR_ObjectLines_supportsVisualizeProperty()

MRC_API bool MR_ObjectLines_supportsVisualizeProperty ( const MR_ObjectLines * _this,
const MR_AnyVisualizeMaskEnum * type )

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

◆ MR_ObjectLines_swap()

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

◆ MR_ObjectLines_tags()

MRC_API const MR_std_set_std_string * MR_ObjectLines_tags ( const MR_ObjectLines * _this)

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

MRC_API void MR_ObjectLines_toggleVisualizeProperty ( MR_ObjectLines * _this,
const MR_AnyVisualizeMaskEnum * type,
const MR_ViewportMask * viewportMask )

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

MRC_API float MR_ObjectLines_totalLength ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_typeName()

MRC_API const char * MR_ObjectLines_typeName ( const MR_ObjectLines * _this)

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

◆ MR_ObjectLines_UpcastTo_MR_Object()

MRC_API const MR_Object * MR_ObjectLines_UpcastTo_MR_Object ( const MR_ObjectLines * object)

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

◆ MR_ObjectLines_UpcastTo_MR_ObjectChildrenHolder()

MRC_API const MR_ObjectChildrenHolder * MR_ObjectLines_UpcastTo_MR_ObjectChildrenHolder ( const MR_ObjectLines * object)

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

◆ MR_ObjectLines_UpcastTo_MR_ObjectLinesHolder()

MRC_API const MR_ObjectLinesHolder * MR_ObjectLines_UpcastTo_MR_ObjectLinesHolder ( const MR_ObjectLines * object)

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

◆ MR_ObjectLines_UpcastTo_MR_VisualObject()

MRC_API const MR_VisualObject * MR_ObjectLines_UpcastTo_MR_VisualObject ( const MR_ObjectLines * object)

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

◆ MR_ObjectLines_updateLinesColorMap()

MRC_API void MR_ObjectLines_updateLinesColorMap ( MR_ObjectLines * _this,
MR_UndirectedEdgeColors * updated )

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

◆ MR_ObjectLines_updatePolyline()

MRC_API MR_std_shared_ptr_MR_Polyline3 * MR_ObjectLines_updatePolyline ( MR_ObjectLines * _this,
MR_PassBy polyline_pass_by,
MR_std_shared_ptr_MR_Polyline3 * polyline )

sets given polyline to this, and returns back previous polyline of this; Generated from method MR::ObjectLines::updatePolyline. 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_Polyline3_Destroy() to free it when you're done using it.

◆ MR_ObjectLines_updateVertsColorMap()

MRC_API void MR_ObjectLines_updateVertsColorMap ( MR_ObjectLines * _this,
MR_VertColors * vertsColorMap )

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

◆ MR_ObjectLines_useDefaultScenePropertiesOnDeserialization()

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

◆ MR_ObjectLines_varPolyline()

MRC_API const MR_std_shared_ptr_MR_Polyline3 * MR_ObjectLines_varPolyline ( MR_ObjectLines * _this)

Generated from method MR::ObjectLines::varPolyline. 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_ObjectLines_visibilityMask()

MRC_API MR_ViewportMask * MR_ObjectLines_visibilityMask ( const MR_ObjectLines * _this)

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

MRC_API MR_AffineXf3f MR_ObjectLines_worldXf ( const MR_ObjectLines * _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::ObjectLines::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_ObjectLines_xf()

MRC_API const MR_AffineXf3f * MR_ObjectLines_xf ( const MR_ObjectLines * _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::ObjectLines::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_ObjectLines_xfsForAllViewports()

MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_ObjectLines_xfsForAllViewports ( const MR_ObjectLines * _this)

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