MeshLib C# Docs
Loading...
Searching...
No Matches

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 This is the non-const half of the class. More...

Inheritance diagram for MR.ObjectLines:

Public Member Functions

unsafe ObjectLines ()
 Constructs an empty (default-constructed) instance.
unsafe ObjectLines (MR._ByValue_ObjectLines _other)
 Generated from constructor MR.ObjectLines.ObjectLines.
unsafe MR.ObjectLines assign (MR._ByValue_ObjectLines _other)
 Generated from method MR::ObjectLines::operator=.
unsafe void setPolyline (MR.Std.Const_SharedPtr_MRPolyline3 polyline)
 Generated from method MR.ObjectLines.setPolyline.
unsafe MR.Std.SharedPtr_MRPolyline3 updatePolyline (MR.Std._ByValue_SharedPtr_MRPolyline3 polyline)
 sets given polyline to this, and returns back previous polyline of this; Generated from method MR.ObjectLines.updatePolyline.
unsafe MR.Std.Const_SharedPtr_MRPolyline3 varPolyline ()
 Generated from method MR.ObjectLines.varPolyline.
unsafe void applyScale (float scaleFactor)
 Generated from method MR.ObjectLines.applyScale.
unsafe void setDirtyFlags (uint mask, bool? invalidateCaches=null)
 Generated from method MR.ObjectLines.setDirtyFlags. Parameter invalidateCaches defaults to true.
unsafe void setDashPattern (MR.Const_Vector4_UnsignedChar pattern, MR._InOpt_ViewportId vpId=default)
 specify dash pattern in pixels [0] - dash [1] - space [2] - dash [3] - space Generated from method MR.ObjectLines.setDashPattern. Parameter vpId defaults to {}.
unsafe void setLineWidth (float width)
 Generated from method MR.ObjectLines.setLineWidth.
unsafe void setPointSize (float size)
 Generated from method MR.ObjectLines.setPointSize.
unsafe void setVertsColorMap (MR._ByValue_VertColors vertsColorMap)
 sets per-vertex colors of the object Generated from method MR.ObjectLines.setVertsColorMap.
unsafe void updateVertsColorMap (MR.VertColors vertsColorMap)
 swaps per-vertex colors of the object with given argument Generated from method MR.ObjectLines.updateVertsColorMap.
unsafe void setLinesColorMap (MR._ByValue_UndirectedEdgeColors linesColorMap)
 Generated from method MR.ObjectLines.setLinesColorMap.
unsafe void updateLinesColorMap (MR.UndirectedEdgeColors updated)
 Generated from method MR.ObjectLines.updateLinesColorMap.
unsafe void copyColors (MR.Const_ObjectLinesHolder src, MR.Const_VertMap thisToSrc)
 copies vertex colors from given source object
unsafe void resetFrontColor ()
 reset basic object colors to their default values from the current theme Generated from method MR.ObjectLines.resetFrontColor.
unsafe void setVisualizeProperty (bool value, MR.Const_AnyVisualizeMaskEnum type, MR.Const_ViewportMask viewportMask)
 set visual property in all viewports specified by the mask Generated from method MR.ObjectLines.setVisualizeProperty.
unsafe void setVisualizePropertyMask (MR.Const_AnyVisualizeMaskEnum type, MR.Const_ViewportMask viewportMask)
 set visual property mask Generated from method MR.ObjectLines.setVisualizePropertyMask.
unsafe void toggleVisualizeProperty (MR.Const_AnyVisualizeMaskEnum type, MR.Const_ViewportMask viewportMask)
 toggle visual property in all viewports specified by the mask Generated from method MR.ObjectLines.toggleVisualizeProperty.
unsafe void setAllVisualizeProperties (MR.Std.Const_Vector_MRViewportMask properties)
 set all visualize properties masks Generated from method MR.ObjectLines.setAllVisualizeProperties.
unsafe void copyAllSolidColors (MR.Const_VisualObject other)
 set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR.ObjectLines.copyAllSolidColors.
unsafe void setGlobalClippedByPlane (bool on, MR.Const_ViewportMask? viewportMask=null)
 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 viewportMask defaults to ViewportMask.all().
unsafe void setFrontColor (in MR.Color color, bool selected, MR._InOpt_ViewportId viewportId=default)
 sets color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR.ObjectLines.setFrontColor. Parameter viewportId defaults to {}.
unsafe void setFrontColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val, bool? selected=null)
 sets color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR.ObjectLines.setFrontColorsForAllViewports. Parameter selected defaults to true.
unsafe void setBackColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val)
 sets backward color of object in all viewports Generated from method MR.ObjectLines.setBackColorsForAllViewports.
unsafe void setBackColor (in MR.Color color, MR._InOpt_ViewportId viewportId=default)
 sets backward color of object in given viewport Generated from method MR.ObjectLines.setBackColor. Parameter viewportId defaults to {}.
unsafe void setGlobalAlpha (byte alpha, MR._InOpt_ViewportId viewportId=default)
 sets global transparency alpha of object in given viewport Generated from method MR.ObjectLines.setGlobalAlpha. Parameter viewportId defaults to {}.
unsafe void setGlobalAlphaForAllViewports (MR._ByValue_ViewportProperty_UnsignedChar val)
 sets global transparency alpha of object in all viewports Generated from method MR.ObjectLines.setGlobalAlphaForAllViewports.
unsafe void setPickable (bool on, MR.Const_ViewportMask? viewportMask=null)
 sets the object as can/cannot be picked (by mouse) in all of given viewports Generated from method MR.ObjectLines.setPickable. Parameter viewportMask defaults to ViewportMask.all().
unsafe void setColoringType (MR.ColoringType coloringType)
 sets coloring mode of the object with given argument Generated from method MR.ObjectLines.setColoringType.
unsafe void setShininess (float shininess)
 sets shininess visual value of the object with given argument Generated from method MR.ObjectLines.setShininess.
unsafe void setSpecularStrength (float specularStrength)
 sets intensity of reflections Generated from method MR.ObjectLines.setSpecularStrength.
unsafe void setAmbientStrength (float ambientStrength)
 sets intensity of non-directional light Generated from method MR.ObjectLines.setAmbientStrength.
unsafe void setUseDefaultScenePropertiesOnDeserialization (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.
unsafe void resetColors ()
 reset all object colors to their default values from the current theme Generated from method MR.ObjectLines.resetColors.
unsafe void setName (string name)
 Generated from method MR.ObjectLines.setName.
unsafe void setXf (in MR.AffineXf3f xf, MR._InOpt_ViewportId id=default)
 Generated from method MR.ObjectLines.setXf. Parameter id defaults to {}.
unsafe void resetXf (MR._InOpt_ViewportId id=default)
 forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR.ObjectLines.resetXf. Parameter id defaults to {}.
unsafe void setXfsForAllViewports (MR._ByValue_ViewportProperty_MRAffineXf3f xf)
 modifies xfs for all viewports at once Generated from method MR.ObjectLines.setXfsForAllViewports.
unsafe void setWorldXf (in MR.AffineXf3f xf, MR._InOpt_ViewportId id=default)
 Generated from method MR.ObjectLines.setWorldXf. Parameter id defaults to {}.
unsafe void setGlobalVisibility (bool on, MR.Const_ViewportMask? viewportMask=null)
 if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR.ObjectLines.setGlobalVisibility. Parameter viewportMask defaults to ViewportMask.any().
unsafe void setLocked (bool on)
 Generated from method MR.ObjectLines.setLocked.
unsafe void setParentLocked (bool lock_)
 Generated from method MR.ObjectLines.setParentLocked.
unsafe bool detachFromParent ()
 removes this from its parent children list returns false if it was already orphan Generated from method MR.ObjectLines.detachFromParent.
unsafe bool addChild (MR.Std._ByValue_SharedPtr_MRObject child, bool? recognizedChild=null)
 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;
unsafe bool addChildBefore (MR.Std._ByValue_SharedPtr_MRObject newChild, MR.Std.Const_SharedPtr_MRObject 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.
unsafe void removeAllChildren ()
 detaches all recognized children from this, keeping all unrecognized ones Generated from method MR.ObjectLines.removeAllChildren.
unsafe void sortChildren ()
 sort recognized children by name Generated from method MR.ObjectLines.sortChildren.
unsafe bool select (bool on)
 selects the object, returns true if value changed, otherwise returns false Generated from method MR.ObjectLines.select.
unsafe void setAncillary (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.
unsafe void setVisible (bool on, MR.Const_ViewportMask? viewportMask=null)
 sets the object visible in the viewports specified by the mask (by default in all viewports) Generated from method MR.ObjectLines.setVisible. Parameter viewportMask defaults to ViewportMask.all().
unsafe void setVisibilityMask (MR.Const_ViewportMask viewportMask)
 specifies object visibility as bitmask of viewports Generated from method MR.ObjectLines.setVisibilityMask.
unsafe void swap (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.
unsafe bool addTag (string tag)
 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.
unsafe bool removeTag (string tag)
 removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR.ObjectLines.removeTag.
Public Member Functions inherited from MR.Const_ObjectLines
virtual void Dispose ()
unsafe Const_ObjectLines ()
 Constructs an empty (default-constructed) instance.
unsafe Const_ObjectLines (MR._ByValue_ObjectLines _other)
 Generated from constructor MR.ObjectLines.ObjectLines.
unsafe? byte typeName ()
 Generated from method MR.ObjectLines.typeName.
unsafe MR.Std.String className ()
 Generated from method MR.ObjectLines.className.
unsafe MR.Std.String classNameInPlural ()
 Generated from method MR.ObjectLines.classNameInPlural.
unsafe MR.Std.SharedPtr_MRObject clone ()
 Generated from method MR.ObjectLines.clone.
unsafe MR.Std.SharedPtr_MRObject shallowClone ()
 Generated from method MR.ObjectLines.shallowClone.
unsafe MR.Std.Vector_StdString getInfoLines ()
 Generated from method MR.ObjectLines.getInfoLines.
unsafe bool hasVisualRepresentation ()
 Generated from method MR.ObjectLines.hasVisualRepresentation.
unsafe bool hasModel ()
 Generated from method MR.ObjectLines.hasModel.
unsafe MR.Std.Const_SharedPtr_ConstMRPolyline3 polyline ()
 Generated from method MR.ObjectLines.polyline.
unsafe MR.Const_Vector4_UnsignedChar getDashPattern (MR._InOpt_ViewportId vpId=default, MR.Misc.InOut< bool >? isDef=null)
 Generated from method MR.ObjectLines.getDashPattern. Parameter vpId defaults to {}.
unsafe float getLineWidth ()
 Generated from method MR.ObjectLines.getLineWidth.
unsafe float getPointSize ()
 Generated from method MR.ObjectLines.getPointSize.
unsafe MR.Const_VertColors getVertsColorMap ()
 returns per-vertex colors of the object Generated from method MR.ObjectLines.getVertsColorMap.
unsafe MR.Const_UndirectedEdgeColors getLinesColorMap ()
 Generated from method MR.ObjectLines.getLinesColorMap.
unsafe bool supportsVisualizeProperty (MR.Const_AnyVisualizeMaskEnum type)
 Generated from method MR.ObjectLines.supportsVisualizeProperty.
unsafe MR.Std.Vector_MRViewportMask getAllVisualizeProperties ()
 get all visualize properties masks Generated from method MR.ObjectLines.getAllVisualizeProperties.
unsafe MR.Const_ViewportMask getVisualizePropertyMask (MR.Const_AnyVisualizeMaskEnum type)
 returns mask of viewports where given property is set Generated from method MR.ObjectLines.getVisualizePropertyMask.
unsafe MR.Box3f getWorldBox (MR._InOpt_ViewportId _1=default)
 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 _1 defaults to {}.
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.ObjectLines.heapBytes.
unsafe float avgEdgeLen ()
 returns cached average edge length Generated from method MR.ObjectLines.avgEdgeLen.
unsafe ulong numUndirectedEdges ()
 returns cached information about the number of undirected edges in the polyline Generated from method MR.ObjectLines.numUndirectedEdges.
unsafe ulong numComponents ()
 returns cached information about the number of components in the polyline Generated from method MR.ObjectLines.numComponents.
unsafe float totalLength ()
 return cached total length Generated from method MR.ObjectLines.totalLength.
unsafe bool getVisualizeProperty (MR.Const_AnyVisualizeMaskEnum type, MR.Const_ViewportMask viewportMask)
 returns true if the property is set at least in one viewport specified by the mask Generated from method MR.ObjectLines.getVisualizeProperty.
unsafe MR.ViewportMask globalClippedByPlaneMask ()
 returns all viewports where this object or any of its parents is clipped by plane Generated from method MR.ObjectLines.globalClippedByPlaneMask.
unsafe bool globalClippedByPlane (MR.Const_ViewportMask? viewportMask=null)
 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 viewportMask defaults to ViewportMask.any().
unsafe ref readonly MR.Color getFrontColor (bool? selected=null, MR._InOpt_ViewportId viewportId=default)
 returns color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR.ObjectLines.getFrontColor. Parameter selected defaults to true. Parameter viewportId defaults to {}.
unsafe MR.Const_ViewportProperty_MRColor getFrontColorsForAllViewports (bool? selected=null)
 returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR.ObjectLines.getFrontColorsForAllViewports. Parameter selected defaults to true.
unsafe MR.Const_ViewportProperty_MRColor getBackColorsForAllViewports ()
 returns backward color of object in all viewports Generated from method MR.ObjectLines.getBackColorsForAllViewports.
unsafe ref readonly MR.Color getBackColor (MR._InOpt_ViewportId viewportId=default)
 returns backward color of object in given viewport Generated from method MR.ObjectLines.getBackColor. Parameter viewportId defaults to {}.
unsafe byte getGlobalAlpha (MR._InOpt_ViewportId viewportId=default)
 returns global transparency alpha of object in given viewport Generated from method MR.ObjectLines.getGlobalAlpha. Parameter viewportId defaults to {}.
unsafe MR.Const_ViewportProperty_UnsignedChar getGlobalAlphaForAllViewports ()
 returns global transparency alpha of object in all viewports Generated from method MR.ObjectLines.getGlobalAlphaForAllViewports.
unsafe uint getDirtyFlags ()
 returns current dirty flags for the object Generated from method MR.ObjectLines.getDirtyFlags.
unsafe void resetDirty ()
 resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR.ObjectLines.resetDirty.
unsafe void resetDirtyExceptMask (uint mask)
 reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR.ObjectLines.resetDirtyExceptMask.
unsafe MR.Box3f getBoundingBox ()
 returns cached bounding box of this object in local coordinates Generated from method MR.ObjectLines.getBoundingBox.
unsafe bool getRedrawFlag (MR.Const_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.
unsafe bool isPickable (MR.Const_ViewportMask? viewportMask=null)
 whether the object can be picked (by mouse) in any of given viewports Generated from method MR.ObjectLines.isPickable. Parameter viewportMask defaults to ViewportMask.any().
unsafe MR.ColoringType getColoringType ()
 returns the current coloring mode of the object Generated from method MR.ObjectLines.getColoringType.
unsafe float getShininess ()
 returns the current shininess visual value Generated from method MR.ObjectLines.getShininess.
unsafe float getSpecularStrength ()
 returns intensity of reflections Generated from method MR.ObjectLines.getSpecularStrength.
unsafe float getAmbientStrength ()
 returns intensity of non-directional light Generated from method MR.ObjectLines.getAmbientStrength.
unsafe bool render (MR.Const_ModelRenderParams _1)
 draws this object for visualization Returns true if something was drawn. Generated from method MR.ObjectLines.render.
unsafe void renderForPicker (MR.Const_ModelBaseRenderParams _1, uint _2)
 draws this object for picking Generated from method MR.ObjectLines.renderForPicker.
unsafe void renderUi (MR.Const_UiRenderParams params_)
 draws this object for 2d UI Generated from method MR.ObjectLines.renderUi.
unsafe bool useDefaultScenePropertiesOnDeserialization ()
 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.
unsafe MR.Std.Const_String name ()
 Generated from method MR.ObjectLines.name.
unsafe ref readonly MR.AffineXf3f xf (MR._InOpt_ViewportId id=default, MR.Misc.InOut< bool >? isDef=null)
 this space to parent space transformation (to world space if no parent) for default or given viewport
unsafe MR.Const_ViewportProperty_MRAffineXf3f xfsForAllViewports ()
 returns xfs for all viewports, combined into a single object Generated from method MR.ObjectLines.xfsForAllViewports.
unsafe MR.AffineXf3f worldXf (MR._InOpt_ViewportId id=default, MR.Misc.InOut< bool >? isDef=null)
 this space to world space transformation for default or specific viewport
unsafe MR.ViewportMask globalVisibilityMask ()
 returns all viewports where this object is visible together with all its parents Generated from method MR.ObjectLines.globalVisibilityMask.
unsafe bool globalVisibility (MR.Const_ViewportMask? viewportMask=null)
 returns true if this object is visible together with all its parents in any of given viewports Generated from method MR.ObjectLines.globalVisibility. Parameter viewportMask defaults to ViewportMask.any().
unsafe bool isLocked ()
 object properties lock for UI Generated from method MR.ObjectLines.isLocked.
unsafe bool isParentLocked ()
 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.
unsafe bool isAncestor (MR.Const_Object? ancestor)
 return true if given object is ancestor of this one, false otherwise Generated from method MR.ObjectLines.isAncestor.
unsafe bool isSelected ()
 Generated from method MR.ObjectLines.isSelected.
unsafe bool isAncillary ()
 Generated from method MR.ObjectLines.isAncillary.
unsafe bool isGlobalAncillary ()
 returns true if the object or any of its ancestors are ancillary Generated from method MR.ObjectLines.isGlobalAncillary.
unsafe bool isVisible (MR.Const_ViewportMask? viewportMask=null)
 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 viewportMask defaults to ViewportMask.any().
unsafe MR.ViewportMask visibilityMask ()
 gets object visibility as bitmask of viewports Generated from method MR.ObjectLines.visibilityMask.
unsafe void resetRedrawFlag ()
 Generated from method MR.ObjectLines.resetRedrawFlag.
unsafe MR.Std.SharedPtr_MRObject cloneTree ()
 clones all tree of this object (except ancillary and unrecognized children) Generated from method MR.ObjectLines.cloneTree.
unsafe MR.Std.SharedPtr_MRObject shallowCloneTree ()
 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.
unsafe MR.Box3f getWorldTreeBox (MR._InOpt_ViewportId _1=default)
 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 _1 defaults to {}.
unsafe MR.Std.Const_Set_StdString tags ()
 provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR.ObjectLines.tags.
unsafe bool sameModels (MR.Const_Object other)
 Generated from method MR.ObjectLines.sameModels.
unsafe ulong getModelHash ()
 Generated from method MR.ObjectLines.getModelHash.
unsafe MR.Std.SharedPtr_MRObject getSharedPtr ()
 Generated from method MR.ObjectLines.getSharedPtr.

Static Public Member Functions

static unsafe implicit operator MR.ObjectChildrenHolder (ObjectLines self)
static unsafe implicit operator MR.Object (ObjectLines self)
static unsafe implicit operator MR.VisualObject (ObjectLines self)
static unsafe implicit operator MR.ObjectLinesHolder (ObjectLines self)
static unsafe operator ObjectLines? (MR.Object parent)
static unsafe operator ObjectLines? (MR.VisualObject parent)
static unsafe operator ObjectLines? (MR.ObjectLinesHolder parent)
Static Public Member Functions inherited from MR.Const_ObjectLines
static unsafe implicit operator MR.Const_ObjectChildrenHolder (Const_ObjectLines self)
static unsafe implicit operator MR.Const_Object (Const_ObjectLines self)
static unsafe implicit operator MR.Const_VisualObject (Const_ObjectLines self)
static unsafe implicit operator MR.Const_ObjectLinesHolder (Const_ObjectLines self)
static unsafe operator Const_ObjectLines? (MR.Const_Object parent)
static unsafe operator Const_ObjectLines? (MR.Const_VisualObject parent)
static unsafe operator Const_ObjectLines? (MR.Const_ObjectLinesHolder parent)
static unsafe? byte staticTypeName ()
 Generated from method MR::ObjectLines::StaticTypeName.
static unsafe? byte staticClassName ()
 Generated from method MR::ObjectLines::StaticClassName.
static unsafe? byte staticClassNameInPlural ()
 Generated from method MR::ObjectLines::StaticClassNameInPlural.

Additional Inherited Members

Protected Member Functions inherited from MR.Const_ObjectLines
virtual unsafe void Dispose (bool disposing)

Detailed Description

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 This is the non-const half of the class.

Constructor & Destructor Documentation

◆ ObjectLines() [1/2]

unsafe MR.ObjectLines.ObjectLines ( )
inline

Constructs an empty (default-constructed) instance.

◆ ObjectLines() [2/2]

unsafe MR.ObjectLines.ObjectLines ( MR._ByValue_ObjectLines _other)
inline

Generated from constructor MR.ObjectLines.ObjectLines.

Member Function Documentation

◆ addChild()

unsafe bool MR.ObjectLines.addChild ( MR.Std._ByValue_SharedPtr_MRObject child,
bool? recognizedChild = null )
inline

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 recognizedChild defaults to true.

◆ addChildBefore()

unsafe bool MR.ObjectLines.addChildBefore ( MR.Std._ByValue_SharedPtr_MRObject newChild,
MR.Std.Const_SharedPtr_MRObject existingChild )
inline

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.

◆ addTag()

unsafe bool MR.ObjectLines.addTag ( string tag)
inline

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.

◆ applyScale()

unsafe void MR.ObjectLines.applyScale ( float scaleFactor)
inline

Generated from method MR.ObjectLines.applyScale.

◆ assign()

unsafe MR.ObjectLines MR.ObjectLines.assign ( MR._ByValue_ObjectLines _other)
inline

Generated from method MR::ObjectLines::operator=.

◆ copyAllSolidColors()

unsafe void MR.ObjectLines.copyAllSolidColors ( MR.Const_VisualObject other)
inline

set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR.ObjectLines.copyAllSolidColors.

◆ copyColors()

unsafe void MR.ObjectLines.copyColors ( MR.Const_ObjectLinesHolder src,
MR.Const_VertMap thisToSrc )
inline

copies vertex colors from given source object

Parameters
srcusing given map
thisToSrcGenerated from method MR.ObjectLines.copyColors.

◆ detachFromParent()

unsafe bool MR.ObjectLines.detachFromParent ( )
inline

removes this from its parent children list returns false if it was already orphan Generated from method MR.ObjectLines.detachFromParent.

◆ operator MR.Object()

unsafe implicit MR.ObjectLines.operator MR.Object ( ObjectLines self)
inlinestatic

◆ operator MR.ObjectChildrenHolder()

unsafe implicit MR.ObjectLines.operator MR.ObjectChildrenHolder ( ObjectLines self)
inlinestatic

◆ operator MR.ObjectLinesHolder()

unsafe implicit MR.ObjectLines.operator MR.ObjectLinesHolder ( ObjectLines self)
inlinestatic

◆ operator MR.VisualObject()

unsafe implicit MR.ObjectLines.operator MR.VisualObject ( ObjectLines self)
inlinestatic

◆ operator ObjectLines?() [1/3]

unsafe MR.ObjectLines.operator ObjectLines? ( MR.Object parent)
inlineexplicitstatic

◆ operator ObjectLines?() [2/3]

unsafe MR.ObjectLines.operator ObjectLines? ( MR.ObjectLinesHolder parent)
inlineexplicitstatic

◆ operator ObjectLines?() [3/3]

unsafe MR.ObjectLines.operator ObjectLines? ( MR.VisualObject parent)
inlineexplicitstatic

◆ removeAllChildren()

unsafe void MR.ObjectLines.removeAllChildren ( )
inline

detaches all recognized children from this, keeping all unrecognized ones Generated from method MR.ObjectLines.removeAllChildren.

◆ removeTag()

unsafe bool MR.ObjectLines.removeTag ( string tag)
inline

removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR.ObjectLines.removeTag.

◆ resetColors()

unsafe void MR.ObjectLines.resetColors ( )
inline

reset all object colors to their default values from the current theme Generated from method MR.ObjectLines.resetColors.

◆ resetFrontColor()

unsafe void MR.ObjectLines.resetFrontColor ( )
inline

reset basic object colors to their default values from the current theme Generated from method MR.ObjectLines.resetFrontColor.

◆ resetXf()

unsafe void MR.ObjectLines.resetXf ( MR._InOpt_ViewportId id = default)
inline

forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR.ObjectLines.resetXf. Parameter id defaults to {}.

◆ select()

unsafe bool MR.ObjectLines.select ( bool on)
inline

selects the object, returns true if value changed, otherwise returns false Generated from method MR.ObjectLines.select.

◆ setAllVisualizeProperties()

unsafe void MR.ObjectLines.setAllVisualizeProperties ( MR.Std.Const_Vector_MRViewportMask properties)
inline

set all visualize properties masks Generated from method MR.ObjectLines.setAllVisualizeProperties.

◆ setAmbientStrength()

unsafe void MR.ObjectLines.setAmbientStrength ( float ambientStrength)
inline

sets intensity of non-directional light Generated from method MR.ObjectLines.setAmbientStrength.

◆ setAncillary()

unsafe void MR.ObjectLines.setAncillary ( bool ancillary)
inline

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.

◆ setBackColor()

unsafe void MR.ObjectLines.setBackColor ( in MR.Color color,
MR._InOpt_ViewportId viewportId = default )
inline

sets backward color of object in given viewport Generated from method MR.ObjectLines.setBackColor. Parameter viewportId defaults to {}.

◆ setBackColorsForAllViewports()

unsafe void MR.ObjectLines.setBackColorsForAllViewports ( MR._ByValue_ViewportProperty_MRColor val)
inline

sets backward color of object in all viewports Generated from method MR.ObjectLines.setBackColorsForAllViewports.

◆ setColoringType()

unsafe void MR.ObjectLines.setColoringType ( MR.ColoringType coloringType)
inline

sets coloring mode of the object with given argument Generated from method MR.ObjectLines.setColoringType.

◆ setDashPattern()

unsafe void MR.ObjectLines.setDashPattern ( MR.Const_Vector4_UnsignedChar pattern,
MR._InOpt_ViewportId vpId = default )
inline

specify dash pattern in pixels [0] - dash [1] - space [2] - dash [3] - space Generated from method MR.ObjectLines.setDashPattern. Parameter vpId defaults to {}.

◆ setDirtyFlags()

unsafe void MR.ObjectLines.setDirtyFlags ( uint mask,
bool? invalidateCaches = null )
inline

Generated from method MR.ObjectLines.setDirtyFlags. Parameter invalidateCaches defaults to true.

◆ setFrontColor()

unsafe void MR.ObjectLines.setFrontColor ( in MR.Color color,
bool selected,
MR._InOpt_ViewportId viewportId = default )
inline

sets color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR.ObjectLines.setFrontColor. Parameter viewportId defaults to {}.

◆ setFrontColorsForAllViewports()

unsafe void MR.ObjectLines.setFrontColorsForAllViewports ( MR._ByValue_ViewportProperty_MRColor val,
bool? selected = null )
inline

sets color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR.ObjectLines.setFrontColorsForAllViewports. Parameter selected defaults to true.

◆ setGlobalAlpha()

unsafe void MR.ObjectLines.setGlobalAlpha ( byte alpha,
MR._InOpt_ViewportId viewportId = default )
inline

sets global transparency alpha of object in given viewport Generated from method MR.ObjectLines.setGlobalAlpha. Parameter viewportId defaults to {}.

◆ setGlobalAlphaForAllViewports()

unsafe void MR.ObjectLines.setGlobalAlphaForAllViewports ( MR._ByValue_ViewportProperty_UnsignedChar val)
inline

sets global transparency alpha of object in all viewports Generated from method MR.ObjectLines.setGlobalAlphaForAllViewports.

◆ setGlobalClippedByPlane()

unsafe void MR.ObjectLines.setGlobalClippedByPlane ( bool on,
MR.Const_ViewportMask? viewportMask = null )
inline

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 viewportMask defaults to ViewportMask.all().

◆ setGlobalVisibility()

unsafe void MR.ObjectLines.setGlobalVisibility ( bool on,
MR.Const_ViewportMask? viewportMask = null )
inline

if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR.ObjectLines.setGlobalVisibility. Parameter viewportMask defaults to ViewportMask.any().

◆ setLinesColorMap()

unsafe void MR.ObjectLines.setLinesColorMap ( MR._ByValue_UndirectedEdgeColors linesColorMap)
inline

Generated from method MR.ObjectLines.setLinesColorMap.

◆ setLineWidth()

unsafe void MR.ObjectLines.setLineWidth ( float width)
inline

Generated from method MR.ObjectLines.setLineWidth.

◆ setLocked()

unsafe void MR.ObjectLines.setLocked ( bool on)
inline

Generated from method MR.ObjectLines.setLocked.

◆ setName()

unsafe void MR.ObjectLines.setName ( string name)
inline

Generated from method MR.ObjectLines.setName.

◆ setParentLocked()

unsafe void MR.ObjectLines.setParentLocked ( bool lock_)
inline

Generated from method MR.ObjectLines.setParentLocked.

◆ setPickable()

unsafe void MR.ObjectLines.setPickable ( bool on,
MR.Const_ViewportMask? viewportMask = null )
inline

sets the object as can/cannot be picked (by mouse) in all of given viewports Generated from method MR.ObjectLines.setPickable. Parameter viewportMask defaults to ViewportMask.all().

◆ setPointSize()

unsafe void MR.ObjectLines.setPointSize ( float size)
inline

Generated from method MR.ObjectLines.setPointSize.

◆ setPolyline()

unsafe void MR.ObjectLines.setPolyline ( MR.Std.Const_SharedPtr_MRPolyline3 polyline)
inline

Generated from method MR.ObjectLines.setPolyline.

◆ setShininess()

unsafe void MR.ObjectLines.setShininess ( float shininess)
inline

sets shininess visual value of the object with given argument Generated from method MR.ObjectLines.setShininess.

◆ setSpecularStrength()

unsafe void MR.ObjectLines.setSpecularStrength ( float specularStrength)
inline

sets intensity of reflections Generated from method MR.ObjectLines.setSpecularStrength.

◆ setUseDefaultScenePropertiesOnDeserialization()

unsafe void MR.ObjectLines.setUseDefaultScenePropertiesOnDeserialization ( bool useDefaultScenePropertiesOnDeserialization)
inline

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.

◆ setVertsColorMap()

unsafe void MR.ObjectLines.setVertsColorMap ( MR._ByValue_VertColors vertsColorMap)
inline

sets per-vertex colors of the object Generated from method MR.ObjectLines.setVertsColorMap.

◆ setVisibilityMask()

unsafe void MR.ObjectLines.setVisibilityMask ( MR.Const_ViewportMask viewportMask)
inline

specifies object visibility as bitmask of viewports Generated from method MR.ObjectLines.setVisibilityMask.

◆ setVisible()

unsafe void MR.ObjectLines.setVisible ( bool on,
MR.Const_ViewportMask? viewportMask = null )
inline

sets the object visible in the viewports specified by the mask (by default in all viewports) Generated from method MR.ObjectLines.setVisible. Parameter viewportMask defaults to ViewportMask.all().

◆ setVisualizeProperty()

unsafe void MR.ObjectLines.setVisualizeProperty ( bool value,
MR.Const_AnyVisualizeMaskEnum type,
MR.Const_ViewportMask viewportMask )
inline

set visual property in all viewports specified by the mask Generated from method MR.ObjectLines.setVisualizeProperty.

◆ setVisualizePropertyMask()

unsafe void MR.ObjectLines.setVisualizePropertyMask ( MR.Const_AnyVisualizeMaskEnum type,
MR.Const_ViewportMask viewportMask )
inline

set visual property mask Generated from method MR.ObjectLines.setVisualizePropertyMask.

◆ setWorldXf()

unsafe void MR.ObjectLines.setWorldXf ( in MR.AffineXf3f xf,
MR._InOpt_ViewportId id = default )
inline

Generated from method MR.ObjectLines.setWorldXf. Parameter id defaults to {}.

◆ setXf()

unsafe void MR.ObjectLines.setXf ( in MR.AffineXf3f xf,
MR._InOpt_ViewportId id = default )
inline

Generated from method MR.ObjectLines.setXf. Parameter id defaults to {}.

◆ setXfsForAllViewports()

unsafe void MR.ObjectLines.setXfsForAllViewports ( MR._ByValue_ViewportProperty_MRAffineXf3f xf)
inline

modifies xfs for all viewports at once Generated from method MR.ObjectLines.setXfsForAllViewports.

◆ sortChildren()

unsafe void MR.ObjectLines.sortChildren ( )
inline

sort recognized children by name Generated from method MR.ObjectLines.sortChildren.

◆ swap()

unsafe void MR.ObjectLines.swap ( MR.Object other)
inline

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.

◆ toggleVisualizeProperty()

unsafe void MR.ObjectLines.toggleVisualizeProperty ( MR.Const_AnyVisualizeMaskEnum type,
MR.Const_ViewportMask viewportMask )
inline

toggle visual property in all viewports specified by the mask Generated from method MR.ObjectLines.toggleVisualizeProperty.

◆ updateLinesColorMap()

unsafe void MR.ObjectLines.updateLinesColorMap ( MR.UndirectedEdgeColors updated)
inline

Generated from method MR.ObjectLines.updateLinesColorMap.

◆ updatePolyline()

unsafe MR.Std.SharedPtr_MRPolyline3 MR.ObjectLines.updatePolyline ( MR.Std._ByValue_SharedPtr_MRPolyline3 polyline)
inline

sets given polyline to this, and returns back previous polyline of this; Generated from method MR.ObjectLines.updatePolyline.

◆ updateVertsColorMap()

unsafe void MR.ObjectLines.updateVertsColorMap ( MR.VertColors vertsColorMap)
inline

swaps per-vertex colors of the object with given argument Generated from method MR.ObjectLines.updateVertsColorMap.

◆ varPolyline()

unsafe MR.Std.Const_SharedPtr_MRPolyline3 MR.ObjectLines.varPolyline ( )
inline

Generated from method MR.ObjectLines.varPolyline.


The documentation for this class was generated from the following file: