Generated from class MR.MeasurementObject. Base classes: Direct: (non-virtual) MR.VisualObject Indirect: (non-virtual) MR.ObjectChildrenHolder MR.Object Derived classes: Direct: (non-virtual) MR.AngleMeasurementObject MR.DistanceMeasurementObject MR.PointMeasurementObject MR.RadiusMeasurementObject This is the non-const half of the class.
More...
Inheritance diagram for MR.MeasurementObject:Public Member Functions | |
| unsafe | MeasurementObject (MR._ByValue_MeasurementObject _other) |
Generated from constructor MR.MeasurementObject.MeasurementObject. | |
| MeasurementObject (Const_MeasurementObject _other) | |
Generated from constructor MR.MeasurementObject.MeasurementObject. | |
| MeasurementObject (MeasurementObject _other) | |
Generated from constructor MR.MeasurementObject.MeasurementObject. | |
| unsafe MR.MeasurementObject | assign (MR._ByValue_MeasurementObject _other) |
Generated from method MR.MeasurementObject.operator=. | |
| 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.MeasurementObject.setVisualizeProperty. | |
| unsafe void | setVisualizePropertyMask (MR.Const_AnyVisualizeMaskEnum type, MR.Const_ViewportMask viewportMask) |
set visual property mask Generated from method MR.MeasurementObject.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.MeasurementObject.toggleVisualizeProperty. | |
| unsafe void | setAllVisualizeProperties (MR.Std.Const_Vector_MRViewportMask properties) |
set all visualize properties masks Generated from method MR.MeasurementObject.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.MeasurementObject.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.MeasurementObject.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.MeasurementObject.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.MeasurementObject.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.MeasurementObject.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.MeasurementObject.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.MeasurementObject.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.MeasurementObject.setGlobalAlphaForAllViewports. | |
| unsafe void | setDirtyFlags (uint mask, bool? invalidateCaches=null) |
| sets some dirty flags for the object (to force its visual update) | |
| 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.MeasurementObject.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.MeasurementObject.setColoringType. | |
| unsafe void | setShininess (float shininess) |
sets shininess visual value of the object with given argument Generated from method MR.MeasurementObject.setShininess. | |
| unsafe void | setSpecularStrength (float specularStrength) |
sets intensity of reflections Generated from method MR.MeasurementObject.setSpecularStrength. | |
| unsafe void | setAmbientStrength (float ambientStrength) |
sets intensity of non-directional light Generated from method MR.MeasurementObject.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.MeasurementObject.setUseDefaultScenePropertiesOnDeserialization. | |
| unsafe void | resetFrontColor () |
reset basic object colors to their default values from the current theme Generated from method MR.MeasurementObject.resetFrontColor. | |
| unsafe void | resetColors () |
reset all object colors to their default values from the current theme Generated from method MR.MeasurementObject.resetColors. | |
| unsafe void | setName (string name) |
Generated from method MR.MeasurementObject.setName. | |
| unsafe void | setXf (in MR.AffineXf3f xf, MR._InOpt_ViewportId id=default) |
Generated from method MR.MeasurementObject.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.MeasurementObject.resetXf. Parameter id defaults to {}. | |
| unsafe void | setXfsForAllViewports (MR._ByValue_ViewportProperty_MRAffineXf3f xf) |
modifies xfs for all viewports at once Generated from method MR.MeasurementObject.setXfsForAllViewports. | |
| unsafe void | setWorldXf (in MR.AffineXf3f xf, MR._InOpt_ViewportId id=default) |
Generated from method MR.MeasurementObject.setWorldXf. Parameter id defaults to {}. | |
| unsafe void | applyScale (float scaleFactor) |
scale object size (all point positions) Generated from method MR.MeasurementObject.applyScale. | |
| 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.MeasurementObject.setGlobalVisibility. Parameter viewportMask defaults to ViewportMask.any(). | |
| unsafe void | setLocked (bool on) |
Generated from method MR.MeasurementObject.setLocked. | |
| unsafe void | setParentLocked (bool lock_) |
Generated from method MR.MeasurementObject.setParentLocked. | |
| unsafe bool | detachFromParent () |
removes this from its parent children list returns false if it was already orphan Generated from method MR.MeasurementObject.detachFromParent. | |
| unsafe bool | addChild (MR._ByValueShared_Object 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._ByValueShared_Object newChild, MR.Const_Object existingChild) |
adds given object in the recognized children before existingChild; if newChild was already among this children then moves it just before existingChild keeping the order of other children intact; returns false if newChild is nullptr, or existingChild is not a child of this Generated from method MR.MeasurementObject.addChildBefore. | |
| unsafe void | removeAllChildren () |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR.MeasurementObject.removeAllChildren. | |
| unsafe void | sortChildren () |
sort recognized children by name Generated from method MR.MeasurementObject.sortChildren. | |
| unsafe bool | select (bool on) |
selects the object, returns true if value changed, otherwise returns false Generated from method MR.MeasurementObject.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.MeasurementObject.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.MeasurementObject.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.MeasurementObject.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.MeasurementObject.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.MeasurementObject.addTag. | |
| unsafe bool | removeTag (string tag) |
removes tag from the object's tag storage additionally calls ObjectTagManager.tagRemovedSignal Generated from method MR.MeasurementObject.removeTag. | |
Static Public Member Functions | |
| static unsafe implicit | operator MR.ObjectChildrenHolder (MeasurementObject self) |
| static unsafe implicit | operator MR.Object (MeasurementObject self) |
| static unsafe implicit | operator MR.VisualObject (MeasurementObject self) |
| static unsafe | operator MeasurementObject? (MR.Object parent) |
| static unsafe | operator MeasurementObject? (MR.VisualObject parent) |
Generated from class MR.MeasurementObject. Base classes: Direct: (non-virtual) MR.VisualObject Indirect: (non-virtual) MR.ObjectChildrenHolder MR.Object Derived classes: Direct: (non-virtual) MR.AngleMeasurementObject MR.DistanceMeasurementObject MR.PointMeasurementObject MR.RadiusMeasurementObject This is the non-const half of the class.
|
inline |
Generated from constructor MR.MeasurementObject.MeasurementObject.
|
inline |
Generated from constructor MR.MeasurementObject.MeasurementObject.
|
inline |
Generated from constructor MR.MeasurementObject.MeasurementObject.
|
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;
| recognizedChild | if set to false then child object will be excluded from children() and it will be stored by weak_ptr Generated from method MR.MeasurementObject.addChild. Parameter recognizedChild defaults to true. |
|
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.MeasurementObject.addChildBefore.
|
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.MeasurementObject.addTag.
|
inline |
scale object size (all point positions) Generated from method MR.MeasurementObject.applyScale.
|
inline |
Generated from method MR.MeasurementObject.operator=.
|
inline |
set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR.MeasurementObject.copyAllSolidColors.
|
inline |
removes this from its parent children list returns false if it was already orphan Generated from method MR.MeasurementObject.detachFromParent.
|
inlineexplicitstatic |
|
inlineexplicitstatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR.MeasurementObject.removeAllChildren.
|
inline |
removes tag from the object's tag storage additionally calls ObjectTagManager.tagRemovedSignal Generated from method MR.MeasurementObject.removeTag.
|
inline |
reset all object colors to their default values from the current theme Generated from method MR.MeasurementObject.resetColors.
|
inline |
reset basic object colors to their default values from the current theme Generated from method MR.MeasurementObject.resetFrontColor.
|
inline |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR.MeasurementObject.resetXf. Parameter id defaults to {}.
|
inline |
selects the object, returns true if value changed, otherwise returns false Generated from method MR.MeasurementObject.select.
|
inline |
set all visualize properties masks Generated from method MR.MeasurementObject.setAllVisualizeProperties.
|
inline |
sets intensity of non-directional light Generated from method MR.MeasurementObject.setAmbientStrength.
|
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.MeasurementObject.setAncillary.
|
inline |
sets backward color of object in given viewport Generated from method MR.MeasurementObject.setBackColor. Parameter viewportId defaults to {}.
|
inline |
sets backward color of object in all viewports Generated from method MR.MeasurementObject.setBackColorsForAllViewports.
|
inline |
sets coloring mode of the object with given argument Generated from method MR.MeasurementObject.setColoringType.
|
inline |
sets some dirty flags for the object (to force its visual update)
| mask | is a union of DirtyFlags flags |
| invalidateCaches | whether to automatically invalidate model caches (pass false here if you manually update the caches) Generated from method MR.MeasurementObject.setDirtyFlags. Parameter invalidateCaches defaults to true. |
|
inline |
sets color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR.MeasurementObject.setFrontColor. Parameter viewportId defaults to {}.
|
inline |
sets color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR.MeasurementObject.setFrontColorsForAllViewports. Parameter selected defaults to true.
|
inline |
sets global transparency alpha of object in given viewport Generated from method MR.MeasurementObject.setGlobalAlpha. Parameter viewportId defaults to {}.
|
inline |
sets global transparency alpha of object in all viewports Generated from method MR.MeasurementObject.setGlobalAlphaForAllViewports.
|
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.MeasurementObject.setGlobalClippedByPlane. Parameter viewportMask defaults to ViewportMask.all().
|
inline |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR.MeasurementObject.setGlobalVisibility. Parameter viewportMask defaults to ViewportMask.any().
|
inline |
Generated from method MR.MeasurementObject.setLocked.
|
inline |
Generated from method MR.MeasurementObject.setName.
|
inline |
Generated from method MR.MeasurementObject.setParentLocked.
|
inline |
sets the object as can/cannot be picked (by mouse) in all of given viewports Generated from method MR.MeasurementObject.setPickable. Parameter viewportMask defaults to ViewportMask.all().
|
inline |
sets shininess visual value of the object with given argument Generated from method MR.MeasurementObject.setShininess.
|
inline |
sets intensity of reflections Generated from method MR.MeasurementObject.setSpecularStrength.
|
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.MeasurementObject.setUseDefaultScenePropertiesOnDeserialization.
|
inline |
specifies object visibility as bitmask of viewports Generated from method MR.MeasurementObject.setVisibilityMask.
|
inline |
sets the object visible in the viewports specified by the mask (by default in all viewports) Generated from method MR.MeasurementObject.setVisible. Parameter viewportMask defaults to ViewportMask.all().
|
inline |
set visual property in all viewports specified by the mask Generated from method MR.MeasurementObject.setVisualizeProperty.
|
inline |
set visual property mask Generated from method MR.MeasurementObject.setVisualizePropertyMask.
|
inline |
Generated from method MR.MeasurementObject.setWorldXf. Parameter id defaults to {}.
|
inline |
Generated from method MR.MeasurementObject.setXf. Parameter id defaults to {}.
|
inline |
modifies xfs for all viewports at once Generated from method MR.MeasurementObject.setXfsForAllViewports.
|
inline |
sort recognized children by name Generated from method MR.MeasurementObject.sortChildren.
|
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.MeasurementObject.swap.
|
inline |
toggle visual property in all viewports specified by the mask Generated from method MR.MeasurementObject.toggleVisualizeProperty.