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

An interface class which allows feature objects to share setters and getters on their main properties, for convenient presentation in the UI Generated from class MR.FeatureObject. Base classes: Direct: (non-virtual) MR.VisualObject Indirect: (non-virtual) MR.ObjectChildrenHolder MR.Object Derived classes: Direct: (non-virtual) MR::AddVisualProperties<MR.FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length> MR::AddVisualProperties<MR.FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length> MR::AddVisualProperties<MR.FeatureObject, MR::DimensionsVisualizePropertyType::diameter> MR.LineObject MR.PlaneObject MR.PointObject Indirect: (non-virtual) MR.CircleObject MR.ConeObject MR.CylinderObject MR.SphereObject This is the const half of the class. More...

Inheritance diagram for MR.Const_FeatureObject:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe? byte typeName ()
 Generated from method MR.FeatureObject.typeName.
unsafe MR.Std.String className ()
 Generated from method MR.FeatureObject.className.
unsafe MR.Std.String classNameInPlural ()
 Generated from method MR.FeatureObject.classNameInPlural.
unsafe MR.Std.Const_Vector_MRFeatureObjectSharedProperty getAllSharedProperties ()
 Create and generate list of bounded getters and setters for the main properties of feature object, together with prop. name for display and edit into UI. Generated from method MR.FeatureObject.getAllSharedProperties.
unsafe bool supportsVisualizeProperty (MR.Const_AnyVisualizeMaskEnum type)
 Generated from method MR.FeatureObject.supportsVisualizeProperty.
unsafe MR.Std.Vector_MRViewportMask getAllVisualizeProperties ()
 Generated from method MR.FeatureObject.getAllVisualizeProperties.
unsafe MR.Const_ViewportMask getVisualizePropertyMask (MR.Const_AnyVisualizeMaskEnum type)
 Generated from method MR.FeatureObject.getVisualizePropertyMask.
unsafe MR.FeatureObjectProjectPointResult projectPoint (in MR.Vector3f point, MR._InOpt_ViewportId id=default)
 Generated from method MR.FeatureObject.projectPoint. Parameter id defaults to {}.
unsafe MR.Std.Optional_MRVector3f getNormal (in MR.Vector3f point)
 Generated from method MR.FeatureObject.getNormal.
unsafe MR.Vector3f getBasePoint (MR._InOpt_ViewportId id=default)
 Generated from method MR.FeatureObject.getBasePoint. Parameter id defaults to {}.
unsafe MR.Matrix3f getRotationMatrix (MR._InOpt_ViewportId id=default, MR.Misc.InOut< bool >? isDef=null)
 Generated from method MR.FeatureObject.getRotationMatrix. Parameter id defaults to {}.
unsafe MR.Matrix3f getScaleShearMatrix (MR._InOpt_ViewportId id=default, MR.Misc.InOut< bool >? isDef=null)
 Generated from method MR.FeatureObject.getScaleShearMatrix. Parameter id defaults to {}.
unsafe ref readonly MR.Color getDecorationsColor (bool selected, MR._InOpt_ViewportId viewportId=default, MR.Misc.InOut< bool >? isDef=null)
 Generated from method MR.FeatureObject.getDecorationsColor. Parameter viewportId defaults to {}.
unsafe MR.Const_ViewportProperty_MRColor getDecorationsColorForAllViewports (bool selected)
 Generated from method MR.FeatureObject.getDecorationsColorForAllViewports.
unsafe float getPointSize ()
 Generated from method MR.FeatureObject.getPointSize.
unsafe float getLineWidth ()
 Generated from method MR.FeatureObject.getLineWidth.
unsafe float getSubfeaturePointSize ()
 Generated from method MR.FeatureObject.getSubfeaturePointSize.
unsafe float getSubfeatureLineWidth ()
 Generated from method MR.FeatureObject.getSubfeatureLineWidth.
unsafe float getMainFeatureAlpha ()
 Generated from method MR.FeatureObject.getMainFeatureAlpha.
unsafe float getSubfeatureAlphaPoints ()
 Generated from method MR.FeatureObject.getSubfeatureAlphaPoints.
unsafe float getSubfeatureAlphaLines ()
 Generated from method MR.FeatureObject.getSubfeatureAlphaLines.
unsafe float getSubfeatureAlphaMesh ()
 Generated from method MR.FeatureObject.getSubfeatureAlphaMesh.
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.FeatureObject.getVisualizeProperty.
unsafe MR.ViewportMask globalClippedByPlaneMask ()
 returns all viewports where this object or any of its parents is clipped by plane Generated from method MR.FeatureObject.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.FeatureObject.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.FeatureObject.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.FeatureObject.getFrontColorsForAllViewports. Parameter selected defaults to true.
unsafe MR.Const_ViewportProperty_MRColor getBackColorsForAllViewports ()
 returns backward color of object in all viewports Generated from method MR.FeatureObject.getBackColorsForAllViewports.
unsafe ref readonly MR.Color getBackColor (MR._InOpt_ViewportId viewportId=default)
 returns backward color of object in given viewport Generated from method MR.FeatureObject.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.FeatureObject.getGlobalAlpha. Parameter viewportId defaults to {}.
unsafe MR.Const_ViewportProperty_UnsignedChar getGlobalAlphaForAllViewports ()
 returns global transparency alpha of object in all viewports Generated from method MR.FeatureObject.getGlobalAlphaForAllViewports.
unsafe uint getDirtyFlags ()
 returns current dirty flags for the object Generated from method MR.FeatureObject.getDirtyFlags.
unsafe void resetDirty ()
 resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR.FeatureObject.resetDirty.
unsafe void resetDirtyExceptMask (uint mask)
 reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR.FeatureObject.resetDirtyExceptMask.
unsafe MR.Box3f getBoundingBox ()
 returns cached bounding box of this object in local coordinates Generated from method MR.FeatureObject.getBoundingBox.
unsafe MR.Box3f getWorldBox (MR._InOpt_ViewportId _1=default)
 returns bounding box of this object in given viewport in world coordinates, to get world bounding box of the object with all child objects, please call Object.getWorldTreeBox method Generated from method MR.FeatureObject.getWorldBox. Parameter _1 defaults to {}.
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.FeatureObject.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.FeatureObject.isPickable. Parameter viewportMask defaults to ViewportMask.any().
unsafe MR.ColoringType getColoringType ()
 returns the current coloring mode of the object Generated from method MR.FeatureObject.getColoringType.
unsafe float getShininess ()
 returns the current shininess visual value Generated from method MR.FeatureObject.getShininess.
unsafe float getSpecularStrength ()
 returns intensity of reflections Generated from method MR.FeatureObject.getSpecularStrength.
unsafe float getAmbientStrength ()
 returns intensity of non-directional light Generated from method MR.FeatureObject.getAmbientStrength.
unsafe MR.Std.SharedPtr_MRObject clone ()
 clones this object only, without its children, making new object the owner of all copied resources Generated from method MR.FeatureObject.clone.
unsafe MR.Std.SharedPtr_MRObject shallowClone ()
 clones this object only, without its children, making new object to share resources with this object Generated from method MR.FeatureObject.shallowClone.
unsafe bool render (MR.Const_ModelRenderParams _1)
 draws this object for visualization Returns true if something was drawn. Generated from method MR.FeatureObject.render.
unsafe void renderForPicker (MR.Const_ModelBaseRenderParams _1, uint _2)
 draws this object for picking Generated from method MR.FeatureObject.renderForPicker.
unsafe void renderUi (MR.Const_UiRenderParams params_)
 draws this object for 2d UI Generated from method MR.FeatureObject.renderUi.
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.FeatureObject.heapBytes.
unsafe MR.Std.Vector_StdString getInfoLines ()
 return several info lines that can better describe the object in the UI Generated from method MR.FeatureObject.getInfoLines.
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.FeatureObject.useDefaultScenePropertiesOnDeserialization.
unsafe MR.Std.Const_String name ()
 Generated from method MR.FeatureObject.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.FeatureObject.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.FeatureObject.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.FeatureObject.globalVisibility. Parameter viewportMask defaults to ViewportMask.any().
unsafe bool isLocked ()
 object properties lock for UI Generated from method MR.FeatureObject.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.FeatureObject.isParentLocked.
unsafe bool isAncestor (MR.Const_Object? ancestor)
 return true if given object is ancestor of this one, false otherwise Generated from method MR.FeatureObject.isAncestor.
unsafe bool isSelected ()
 Generated from method MR.FeatureObject.isSelected.
unsafe bool isAncillary ()
 Generated from method MR.FeatureObject.isAncillary.
unsafe bool isGlobalAncillary ()
 returns true if the object or any of its ancestors are ancillary Generated from method MR.FeatureObject.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.FeatureObject.isVisible. Parameter viewportMask defaults to ViewportMask.any().
unsafe MR.ViewportMask visibilityMask ()
 gets object visibility as bitmask of viewports Generated from method MR.FeatureObject.visibilityMask.
unsafe void resetRedrawFlag ()
 Generated from method MR.FeatureObject.resetRedrawFlag.
unsafe MR.Std.SharedPtr_MRObject cloneTree ()
 clones all tree of this object (except ancillary and unrecognized children) Generated from method MR.FeatureObject.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.FeatureObject.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.FeatureObject.getWorldTreeBox. Parameter _1 defaults to {}.
unsafe bool hasVisualRepresentation ()
 does the object have any visual representation (visible points, triangles, edges, etc.), no considering child objects Generated from method MR.FeatureObject.hasVisualRepresentation.
unsafe bool hasModel ()
 does the object have any model available (but possibly empty), e.g. ObjectMesh has valid mesh() or ObjectPoints has valid pointCloud() Generated from method MR.FeatureObject.hasModel.
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.FeatureObject.tags.
unsafe bool sameModels (MR.Const_Object other)
 Generated from method MR.FeatureObject.sameModels.
unsafe ulong getModelHash ()
 Generated from method MR.FeatureObject.getModelHash.
unsafe MR.Std.SharedPtr_MRObject getSharedPtr ()
 Generated from method MR.FeatureObject.getSharedPtr.

Static Public Member Functions

static unsafe implicit operator MR.Const_ObjectChildrenHolder (Const_FeatureObject self)
static unsafe implicit operator MR.Const_Object (Const_FeatureObject self)
static unsafe implicit operator MR.Const_VisualObject (Const_FeatureObject self)
static unsafe operator Const_FeatureObject? (MR.Const_Object parent)
static unsafe operator Const_FeatureObject? (MR.Const_VisualObject parent)
static unsafe? byte staticTypeName ()
 Generated from method MR::FeatureObject::StaticTypeName.
static unsafe? byte staticClassName ()
 Generated from method MR::FeatureObject::StaticClassName.
static unsafe? byte staticClassNameInPlural ()
 Generated from method MR::FeatureObject::StaticClassNameInPlural.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Detailed Description

An interface class which allows feature objects to share setters and getters on their main properties, for convenient presentation in the UI Generated from class MR.FeatureObject. Base classes: Direct: (non-virtual) MR.VisualObject Indirect: (non-virtual) MR.ObjectChildrenHolder MR.Object Derived classes: Direct: (non-virtual) MR::AddVisualProperties&lt;MR.FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length&gt; MR::AddVisualProperties&lt;MR.FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length&gt; MR::AddVisualProperties&lt;MR.FeatureObject, MR::DimensionsVisualizePropertyType::diameter&gt; MR.LineObject MR.PlaneObject MR.PointObject Indirect: (non-virtual) MR.CircleObject MR.ConeObject MR.CylinderObject MR.SphereObject This is the const half of the class.

Member Function Documentation

◆ className()

unsafe MR.Std.String MR.Const_FeatureObject.className ( )
inline

Generated from method MR.FeatureObject.className.

◆ classNameInPlural()

unsafe MR.Std.String MR.Const_FeatureObject.classNameInPlural ( )
inline

Generated from method MR.FeatureObject.classNameInPlural.

◆ clone()

unsafe MR.Std.SharedPtr_MRObject MR.Const_FeatureObject.clone ( )
inline

clones this object only, without its children, making new object the owner of all copied resources Generated from method MR.FeatureObject.clone.

◆ cloneTree()

unsafe MR.Std.SharedPtr_MRObject MR.Const_FeatureObject.cloneTree ( )
inline

clones all tree of this object (except ancillary and unrecognized children) Generated from method MR.FeatureObject.cloneTree.

◆ Dispose() [1/2]

virtual void MR.Const_FeatureObject.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_FeatureObject.Dispose ( bool disposing)
inlineprotectedvirtual

◆ getAllSharedProperties()

unsafe MR.Std.Const_Vector_MRFeatureObjectSharedProperty MR.Const_FeatureObject.getAllSharedProperties ( )
inline

Create and generate list of bounded getters and setters for the main properties of feature object, together with prop. name for display and edit into UI. Generated from method MR.FeatureObject.getAllSharedProperties.

◆ getAllVisualizeProperties()

unsafe MR.Std.Vector_MRViewportMask MR.Const_FeatureObject.getAllVisualizeProperties ( )
inline

◆ getAmbientStrength()

unsafe float MR.Const_FeatureObject.getAmbientStrength ( )
inline

returns intensity of non-directional light Generated from method MR.FeatureObject.getAmbientStrength.

◆ getBackColor()

unsafe ref readonly MR.Color MR.Const_FeatureObject.getBackColor ( MR._InOpt_ViewportId viewportId = default)
inline

returns backward color of object in given viewport Generated from method MR.FeatureObject.getBackColor. Parameter viewportId defaults to {}.

◆ getBackColorsForAllViewports()

unsafe MR.Const_ViewportProperty_MRColor MR.Const_FeatureObject.getBackColorsForAllViewports ( )
inline

returns backward color of object in all viewports Generated from method MR.FeatureObject.getBackColorsForAllViewports.

◆ getBasePoint()

unsafe MR.Vector3f MR.Const_FeatureObject.getBasePoint ( MR._InOpt_ViewportId id = default)
inline

Generated from method MR.FeatureObject.getBasePoint. Parameter id defaults to {}.

◆ getBoundingBox()

unsafe MR.Box3f MR.Const_FeatureObject.getBoundingBox ( )
inline

returns cached bounding box of this object in local coordinates Generated from method MR.FeatureObject.getBoundingBox.

◆ getColoringType()

unsafe MR.ColoringType MR.Const_FeatureObject.getColoringType ( )
inline

returns the current coloring mode of the object Generated from method MR.FeatureObject.getColoringType.

◆ getDecorationsColor()

unsafe ref readonly MR.Color MR.Const_FeatureObject.getDecorationsColor ( bool selected,
MR._InOpt_ViewportId viewportId = default,
MR.Misc.InOut< bool >? isDef = null )
inline

Generated from method MR.FeatureObject.getDecorationsColor. Parameter viewportId defaults to {}.

◆ getDecorationsColorForAllViewports()

unsafe MR.Const_ViewportProperty_MRColor MR.Const_FeatureObject.getDecorationsColorForAllViewports ( bool selected)
inline

◆ getDirtyFlags()

unsafe uint MR.Const_FeatureObject.getDirtyFlags ( )
inline

returns current dirty flags for the object Generated from method MR.FeatureObject.getDirtyFlags.

◆ getFrontColor()

unsafe ref readonly MR.Color MR.Const_FeatureObject.getFrontColor ( bool? selected = null,
MR._InOpt_ViewportId viewportId = default )
inline

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

◆ getFrontColorsForAllViewports()

unsafe MR.Const_ViewportProperty_MRColor MR.Const_FeatureObject.getFrontColorsForAllViewports ( bool? selected = null)
inline

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

◆ getGlobalAlpha()

unsafe byte MR.Const_FeatureObject.getGlobalAlpha ( MR._InOpt_ViewportId viewportId = default)
inline

returns global transparency alpha of object in given viewport Generated from method MR.FeatureObject.getGlobalAlpha. Parameter viewportId defaults to {}.

◆ getGlobalAlphaForAllViewports()

unsafe MR.Const_ViewportProperty_UnsignedChar MR.Const_FeatureObject.getGlobalAlphaForAllViewports ( )
inline

returns global transparency alpha of object in all viewports Generated from method MR.FeatureObject.getGlobalAlphaForAllViewports.

◆ getInfoLines()

unsafe MR.Std.Vector_StdString MR.Const_FeatureObject.getInfoLines ( )
inline

return several info lines that can better describe the object in the UI Generated from method MR.FeatureObject.getInfoLines.

◆ getLineWidth()

unsafe float MR.Const_FeatureObject.getLineWidth ( )
inline

Generated from method MR.FeatureObject.getLineWidth.

◆ getMainFeatureAlpha()

unsafe float MR.Const_FeatureObject.getMainFeatureAlpha ( )
inline

Generated from method MR.FeatureObject.getMainFeatureAlpha.

◆ getModelHash()

unsafe ulong MR.Const_FeatureObject.getModelHash ( )
inline

Generated from method MR.FeatureObject.getModelHash.

◆ getNormal()

unsafe MR.Std.Optional_MRVector3f MR.Const_FeatureObject.getNormal ( in MR.Vector3f point)
inline

Generated from method MR.FeatureObject.getNormal.

◆ getPointSize()

unsafe float MR.Const_FeatureObject.getPointSize ( )
inline

Generated from method MR.FeatureObject.getPointSize.

◆ getRedrawFlag()

unsafe bool MR.Const_FeatureObject.getRedrawFlag ( MR.Const_ViewportMask viewportMask)
inline

returns true if the object must be redrawn (due to dirty flags) in one of specified viewports Generated from method MR.FeatureObject.getRedrawFlag.

◆ getRotationMatrix()

unsafe MR.Matrix3f MR.Const_FeatureObject.getRotationMatrix ( MR._InOpt_ViewportId id = default,
MR.Misc.InOut< bool >? isDef = null )
inline

Generated from method MR.FeatureObject.getRotationMatrix. Parameter id defaults to {}.

◆ getScaleShearMatrix()

unsafe MR.Matrix3f MR.Const_FeatureObject.getScaleShearMatrix ( MR._InOpt_ViewportId id = default,
MR.Misc.InOut< bool >? isDef = null )
inline

Generated from method MR.FeatureObject.getScaleShearMatrix. Parameter id defaults to {}.

◆ getSharedPtr()

unsafe MR.Std.SharedPtr_MRObject MR.Const_FeatureObject.getSharedPtr ( )
inline

Generated from method MR.FeatureObject.getSharedPtr.

◆ getShininess()

unsafe float MR.Const_FeatureObject.getShininess ( )
inline

returns the current shininess visual value Generated from method MR.FeatureObject.getShininess.

◆ getSpecularStrength()

unsafe float MR.Const_FeatureObject.getSpecularStrength ( )
inline

returns intensity of reflections Generated from method MR.FeatureObject.getSpecularStrength.

◆ getSubfeatureAlphaLines()

unsafe float MR.Const_FeatureObject.getSubfeatureAlphaLines ( )
inline

◆ getSubfeatureAlphaMesh()

unsafe float MR.Const_FeatureObject.getSubfeatureAlphaMesh ( )
inline

◆ getSubfeatureAlphaPoints()

unsafe float MR.Const_FeatureObject.getSubfeatureAlphaPoints ( )
inline

◆ getSubfeatureLineWidth()

unsafe float MR.Const_FeatureObject.getSubfeatureLineWidth ( )
inline

◆ getSubfeaturePointSize()

unsafe float MR.Const_FeatureObject.getSubfeaturePointSize ( )
inline

◆ getVisualizeProperty()

unsafe bool MR.Const_FeatureObject.getVisualizeProperty ( MR.Const_AnyVisualizeMaskEnum type,
MR.Const_ViewportMask viewportMask )
inline

returns true if the property is set at least in one viewport specified by the mask Generated from method MR.FeatureObject.getVisualizeProperty.

◆ getVisualizePropertyMask()

unsafe MR.Const_ViewportMask MR.Const_FeatureObject.getVisualizePropertyMask ( MR.Const_AnyVisualizeMaskEnum type)
inline

◆ getWorldBox()

unsafe MR.Box3f MR.Const_FeatureObject.getWorldBox ( MR._InOpt_ViewportId _1 = default)
inline

returns bounding box of this object in given viewport in world coordinates, to get world bounding box of the object with all child objects, please call Object.getWorldTreeBox method Generated from method MR.FeatureObject.getWorldBox. Parameter _1 defaults to {}.

◆ getWorldTreeBox()

unsafe MR.Box3f MR.Const_FeatureObject.getWorldTreeBox ( MR._InOpt_ViewportId _1 = default)
inline

empty box returns bounding box of this object and all children visible in given (or default) viewport in world coordinates Generated from method MR.FeatureObject.getWorldTreeBox. Parameter _1 defaults to {}.

◆ globalClippedByPlane()

unsafe bool MR.Const_FeatureObject.globalClippedByPlane ( MR.Const_ViewportMask? viewportMask = null)
inline

returns true if this object or any of its parents is clipped by plane in any of given viewports Generated from method MR.FeatureObject.globalClippedByPlane. Parameter viewportMask defaults to ViewportMask.any().

◆ globalClippedByPlaneMask()

unsafe MR.ViewportMask MR.Const_FeatureObject.globalClippedByPlaneMask ( )
inline

returns all viewports where this object or any of its parents is clipped by plane Generated from method MR.FeatureObject.globalClippedByPlaneMask.

◆ globalVisibility()

unsafe bool MR.Const_FeatureObject.globalVisibility ( MR.Const_ViewportMask? viewportMask = null)
inline

returns true if this object is visible together with all its parents in any of given viewports Generated from method MR.FeatureObject.globalVisibility. Parameter viewportMask defaults to ViewportMask.any().

◆ globalVisibilityMask()

unsafe MR.ViewportMask MR.Const_FeatureObject.globalVisibilityMask ( )
inline

returns all viewports where this object is visible together with all its parents Generated from method MR.FeatureObject.globalVisibilityMask.

◆ hasModel()

unsafe bool MR.Const_FeatureObject.hasModel ( )
inline

does the object have any model available (but possibly empty), e.g. ObjectMesh has valid mesh() or ObjectPoints has valid pointCloud() Generated from method MR.FeatureObject.hasModel.

◆ hasVisualRepresentation()

unsafe bool MR.Const_FeatureObject.hasVisualRepresentation ( )
inline

does the object have any visual representation (visible points, triangles, edges, etc.), no considering child objects Generated from method MR.FeatureObject.hasVisualRepresentation.

◆ heapBytes()

unsafe ulong MR.Const_FeatureObject.heapBytes ( )
inline

returns the amount of memory this object occupies on heap Generated from method MR.FeatureObject.heapBytes.

◆ isAncestor()

unsafe bool MR.Const_FeatureObject.isAncestor ( MR.Const_Object? ancestor)
inline

return true if given object is ancestor of this one, false otherwise Generated from method MR.FeatureObject.isAncestor.

◆ isAncillary()

unsafe bool MR.Const_FeatureObject.isAncillary ( )
inline

Generated from method MR.FeatureObject.isAncillary.

◆ isGlobalAncillary()

unsafe bool MR.Const_FeatureObject.isGlobalAncillary ( )
inline

returns true if the object or any of its ancestors are ancillary Generated from method MR.FeatureObject.isGlobalAncillary.

◆ isLocked()

unsafe bool MR.Const_FeatureObject.isLocked ( )
inline

object properties lock for UI Generated from method MR.FeatureObject.isLocked.

◆ isParentLocked()

unsafe bool MR.Const_FeatureObject.isParentLocked ( )
inline

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.FeatureObject.isParentLocked.

◆ isPickable()

unsafe bool MR.Const_FeatureObject.isPickable ( MR.Const_ViewportMask? viewportMask = null)
inline

whether the object can be picked (by mouse) in any of given viewports Generated from method MR.FeatureObject.isPickable. Parameter viewportMask defaults to ViewportMask.any().

◆ isSelected()

unsafe bool MR.Const_FeatureObject.isSelected ( )
inline

Generated from method MR.FeatureObject.isSelected.

◆ isVisible()

unsafe bool MR.Const_FeatureObject.isVisible ( MR.Const_ViewportMask? viewportMask = null)
inline

checks whether the object is visible in any of the viewports specified by the mask (by default in any viewport) Generated from method MR.FeatureObject.isVisible. Parameter viewportMask defaults to ViewportMask.any().

◆ name()

unsafe MR.Std.Const_String MR.Const_FeatureObject.name ( )
inline

Generated from method MR.FeatureObject.name.

◆ operator Const_FeatureObject?() [1/2]

unsafe MR.Const_FeatureObject.operator Const_FeatureObject? ( MR.Const_Object parent)
inlineexplicitstatic

◆ operator Const_FeatureObject?() [2/2]

unsafe MR.Const_FeatureObject.operator Const_FeatureObject? ( MR.Const_VisualObject parent)
inlineexplicitstatic

◆ operator MR.Const_Object()

unsafe implicit MR.Const_FeatureObject.operator MR.Const_Object ( Const_FeatureObject self)
inlinestatic

◆ operator MR.Const_ObjectChildrenHolder()

unsafe implicit MR.Const_FeatureObject.operator MR.Const_ObjectChildrenHolder ( Const_FeatureObject self)
inlinestatic

◆ operator MR.Const_VisualObject()

unsafe implicit MR.Const_FeatureObject.operator MR.Const_VisualObject ( Const_FeatureObject self)
inlinestatic

◆ projectPoint()

unsafe MR.FeatureObjectProjectPointResult MR.Const_FeatureObject.projectPoint ( in MR.Vector3f point,
MR._InOpt_ViewportId id = default )
inline

Generated from method MR.FeatureObject.projectPoint. Parameter id defaults to {}.

◆ render()

unsafe bool MR.Const_FeatureObject.render ( MR.Const_ModelRenderParams _1)
inline

draws this object for visualization Returns true if something was drawn. Generated from method MR.FeatureObject.render.

◆ renderForPicker()

unsafe void MR.Const_FeatureObject.renderForPicker ( MR.Const_ModelBaseRenderParams _1,
uint _2 )
inline

draws this object for picking Generated from method MR.FeatureObject.renderForPicker.

◆ renderUi()

unsafe void MR.Const_FeatureObject.renderUi ( MR.Const_UiRenderParams params_)
inline

draws this object for 2d UI Generated from method MR.FeatureObject.renderUi.

◆ resetDirty()

unsafe void MR.Const_FeatureObject.resetDirty ( )
inline

resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR.FeatureObject.resetDirty.

◆ resetDirtyExceptMask()

unsafe void MR.Const_FeatureObject.resetDirtyExceptMask ( uint mask)
inline

reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR.FeatureObject.resetDirtyExceptMask.

◆ resetRedrawFlag()

unsafe void MR.Const_FeatureObject.resetRedrawFlag ( )
inline

Generated from method MR.FeatureObject.resetRedrawFlag.

◆ sameModels()

unsafe bool MR.Const_FeatureObject.sameModels ( MR.Const_Object other)
inline

Generated from method MR.FeatureObject.sameModels.

◆ shallowClone()

unsafe MR.Std.SharedPtr_MRObject MR.Const_FeatureObject.shallowClone ( )
inline

clones this object only, without its children, making new object to share resources with this object Generated from method MR.FeatureObject.shallowClone.

◆ shallowCloneTree()

unsafe MR.Std.SharedPtr_MRObject MR.Const_FeatureObject.shallowCloneTree ( )
inline

clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR.FeatureObject.shallowCloneTree.

◆ staticClassName()

unsafe? byte MR.Const_FeatureObject.staticClassName ( )
inlinestatic

Generated from method MR::FeatureObject::StaticClassName.

◆ staticClassNameInPlural()

unsafe? byte MR.Const_FeatureObject.staticClassNameInPlural ( )
inlinestatic

Generated from method MR::FeatureObject::StaticClassNameInPlural.

◆ staticTypeName()

unsafe? byte MR.Const_FeatureObject.staticTypeName ( )
inlinestatic

Generated from method MR::FeatureObject::StaticTypeName.

◆ supportsVisualizeProperty()

unsafe bool MR.Const_FeatureObject.supportsVisualizeProperty ( MR.Const_AnyVisualizeMaskEnum type)
inline

◆ tags()

unsafe MR.Std.Const_Set_StdString MR.Const_FeatureObject.tags ( )
inline

provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR.FeatureObject.tags.

◆ typeName()

unsafe? byte MR.Const_FeatureObject.typeName ( )
inline

Generated from method MR.FeatureObject.typeName.

◆ useDefaultScenePropertiesOnDeserialization()

unsafe bool MR.Const_FeatureObject.useDefaultScenePropertiesOnDeserialization ( )
inline

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.FeatureObject.useDefaultScenePropertiesOnDeserialization.

◆ visibilityMask()

unsafe MR.ViewportMask MR.Const_FeatureObject.visibilityMask ( )
inline

gets object visibility as bitmask of viewports Generated from method MR.FeatureObject.visibilityMask.

◆ worldXf()

unsafe MR.AffineXf3f MR.Const_FeatureObject.worldXf ( MR._InOpt_ViewportId id = default,
MR.Misc.InOut< bool >? isDef = null )
inline

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.FeatureObject.worldXf. Parameter id defaults to {}.

◆ xf()

unsafe ref readonly MR.AffineXf3f MR.Const_FeatureObject.xf ( MR._InOpt_ViewportId id = default,
MR.Misc.InOut< bool >? isDef = null )
inline

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.FeatureObject.xf. Parameter id defaults to {}.

◆ xfsForAllViewports()

unsafe MR.Const_ViewportProperty_MRAffineXf3f MR.Const_FeatureObject.xfsForAllViewports ( )
inline

returns xfs for all viewports, combined into a single object Generated from method MR.FeatureObject.xfsForAllViewports.


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