MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_PointObject Class Reference

Object to show point feature Generated from class MR.PointObject. Base classes: Direct: (non-virtual) MR.FeatureObject Indirect: (non-virtual) MR.ObjectChildrenHolder MR.Object MR.VisualObject This is the const half of the class. More...

+ Inheritance diagram for MR.Const_PointObject:

Classes

struct  _Underlying
 
struct  _UnderlyingShared
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_PointObject ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_PointObject (MR._ByValue_PointObject _other)
 Generated from constructor MR.PointObject.PointObject.
 
unsafe Const_PointObject (MR.Std.Const_Vector_MRVector3f pointsToApprox)
 Finds best point to approx given points Generated from constructor MR.PointObject.PointObject.
 
unsafe? byte typeName ()
 Generated from method MR.PointObject.typeName.
 
unsafe MR.Std.String className ()
 Generated from method MR.PointObject.className.
 
unsafe MR.Std.String classNameInPlural ()
 Generated from method MR.PointObject.classNameInPlural.
 
unsafe MR.Object clone ()
 Generated from method MR.PointObject.clone.
 
unsafe MR.Object shallowClone ()
 Generated from method MR.PointObject.shallowClone.
 
unsafe MR.Vector3f getPoint (MR._InOpt_ViewportId id=default)
 calculates point from xf Generated from method MR.PointObject.getPoint. Parameter id defaults to {}.
 
unsafe MR.Std.Vector_MRFeatureObjectSharedProperty getAllSharedProperties ()
 Generated from method MR.PointObject.getAllSharedProperties.
 
unsafe MR.FeatureObjectProjectPointResult projectPoint (in MR.Vector3f _1, MR._InOpt_ViewportId id=default)
 Generated from method MR.PointObject.projectPoint. Parameter id defaults to {}.
 
unsafe bool supportsVisualizeProperty (MR.Const_AnyVisualizeMaskEnum type)
 Generated from method MR.PointObject.supportsVisualizeProperty.
 
unsafe MR.Std.Vector_MRViewportMask getAllVisualizeProperties ()
 Generated from method MR.PointObject.getAllVisualizeProperties.
 
unsafe MR.Const_ViewportMask getVisualizePropertyMask (MR.Const_AnyVisualizeMaskEnum type)
 Generated from method MR.PointObject.getVisualizePropertyMask.
 
unsafe MR.Std.Optional_MRVector3f getNormal (in MR.Vector3f point)
 Generated from method MR.PointObject.getNormal.
 
unsafe MR.Vector3f getBasePoint (MR._InOpt_ViewportId id=default)
 Generated from method MR.PointObject.getBasePoint. Parameter id defaults to {}.
 
unsafe MR.Matrix3f getRotationMatrix (MR._InOpt_ViewportId id=default, MR.Misc.InOut< bool >? isDef=null)
 Generated from method MR.PointObject.getRotationMatrix. Parameter id defaults to {}.
 
unsafe MR.Matrix3f getScaleShearMatrix (MR._InOpt_ViewportId id=default, MR.Misc.InOut< bool >? isDef=null)
 Generated from method MR.PointObject.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.PointObject.getDecorationsColor. Parameter viewportId defaults to {}.
 
unsafe MR.Const_ViewportProperty_MRColor getDecorationsColorForAllViewports (bool selected)
 Generated from method MR.PointObject.getDecorationsColorForAllViewports.
 
unsafe float getPointSize ()
 Generated from method MR.PointObject.getPointSize.
 
unsafe float getLineWidth ()
 Generated from method MR.PointObject.getLineWidth.
 
unsafe float getSubfeaturePointSize ()
 Generated from method MR.PointObject.getSubfeaturePointSize.
 
unsafe float getSubfeatureLineWidth ()
 Generated from method MR.PointObject.getSubfeatureLineWidth.
 
unsafe float getMainFeatureAlpha ()
 Generated from method MR.PointObject.getMainFeatureAlpha.
 
unsafe float getSubfeatureAlphaPoints ()
 Generated from method MR.PointObject.getSubfeatureAlphaPoints.
 
unsafe float getSubfeatureAlphaLines ()
 Generated from method MR.PointObject.getSubfeatureAlphaLines.
 
unsafe float getSubfeatureAlphaMesh ()
 Generated from method MR.PointObject.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.PointObject.getVisualizeProperty.
 
unsafe MR.ViewportMask globalClippedByPlaneMask ()
 returns all viewports where this object or any of its parents is clipped by plane Generated from method MR.PointObject.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.PointObject.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.PointObject.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.PointObject.getFrontColorsForAllViewports. Parameter selected defaults to true.
 
unsafe MR.Const_ViewportProperty_MRColor getBackColorsForAllViewports ()
 returns backward color of object in all viewports Generated from method MR.PointObject.getBackColorsForAllViewports.
 
unsafe ref readonly MR.Color getBackColor (MR._InOpt_ViewportId viewportId=default)
 returns backward color of object in given viewport Generated from method MR.PointObject.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.PointObject.getGlobalAlpha. Parameter viewportId defaults to {}.
 
unsafe MR.Const_ViewportProperty_UnsignedChar getGlobalAlphaForAllViewports ()
 returns global transparency alpha of object in all viewports Generated from method MR.PointObject.getGlobalAlphaForAllViewports.
 
unsafe uint getDirtyFlags ()
 returns current dirty flags for the object Generated from method MR.PointObject.getDirtyFlags.
 
unsafe void resetDirty ()
 resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR.PointObject.resetDirty.
 
unsafe void resetDirtyExceptMask (uint mask)
 reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR.PointObject.resetDirtyExceptMask.
 
unsafe MR.Box3f getBoundingBox ()
 returns cached bounding box of this object in local coordinates Generated from method MR.PointObject.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.PointObject.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.PointObject.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.PointObject.isPickable. Parameter viewportMask defaults to ViewportMask.any().
 
unsafe MR.ColoringType getColoringType ()
 returns the current coloring mode of the object Generated from method MR.PointObject.getColoringType.
 
unsafe float getShininess ()
 returns the current shininess visual value Generated from method MR.PointObject.getShininess.
 
unsafe float getSpecularStrength ()
 returns intensity of reflections Generated from method MR.PointObject.getSpecularStrength.
 
unsafe float getAmbientStrength ()
 returns intensity of non-directional light Generated from method MR.PointObject.getAmbientStrength.
 
unsafe bool render (MR.Const_ModelRenderParams _1)
 draws this object for visualization Returns true if something was drawn. Generated from method MR.PointObject.render.
 
unsafe void renderForPicker (MR.Const_ModelBaseRenderParams _1, uint _2)
 draws this object for picking Generated from method MR.PointObject.renderForPicker.
 
unsafe void renderUi (MR.Const_UiRenderParams params_)
 draws this object for 2d UI Generated from method MR.PointObject.renderUi.
 
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.PointObject.heapBytes.
 
unsafe MR.Std.Vector_StdString getInfoLines ()
 return several info lines that can better describe the object in the UI Generated from method MR.PointObject.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.PointObject.useDefaultScenePropertiesOnDeserialization.
 
unsafe MR.Std.Const_String name ()
 Generated from method MR.PointObject.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.PointObject.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.PointObject.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.PointObject.globalVisibility. Parameter viewportMask defaults to ViewportMask.any().
 
unsafe bool isLocked ()
 object properties lock for UI Generated from method MR.PointObject.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.PointObject.isParentLocked.
 
unsafe bool isAncestor (MR.Const_Object? ancestor)
 return true if given object is ancestor of this one, false otherwise Generated from method MR.PointObject.isAncestor.
 
unsafe bool isSelected ()
 Generated from method MR.PointObject.isSelected.
 
unsafe bool isAncillary ()
 Generated from method MR.PointObject.isAncillary.
 
unsafe bool isGlobalAncillary ()
 returns true if the object or any of its ancestors are ancillary Generated from method MR.PointObject.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.PointObject.isVisible. Parameter viewportMask defaults to ViewportMask.any().
 
unsafe MR.ViewportMask visibilityMask ()
 gets object visibility as bitmask of viewports Generated from method MR.PointObject.visibilityMask.
 
unsafe void resetRedrawFlag ()
 Generated from method MR.PointObject.resetRedrawFlag.
 
unsafe MR.Object cloneTree ()
 clones all tree of this object (except ancillary and unrecognized children) Generated from method MR.PointObject.cloneTree.
 
unsafe MR.Object shallowCloneTree ()
 clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR.PointObject.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.PointObject.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.PointObject.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.PointObject.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.PointObject.tags.
 
unsafe bool sameModels (MR.Const_Object other)
 Generated from method MR.PointObject.sameModels.
 
unsafe ulong getModelHash ()
 Generated from method MR.PointObject.getModelHash.
 
unsafe MR.Object getSharedPtr ()
 Generated from method MR.PointObject.getSharedPtr.
 

Static Public Member Functions

static unsafe implicit operator MR.Const_ObjectChildrenHolder (Const_PointObject self)
 
static unsafe implicit operator MR.Const_Object (Const_PointObject self)
 
static unsafe implicit operator MR.Const_VisualObject (Const_PointObject self)
 
static unsafe implicit operator MR.Const_FeatureObject (Const_PointObject self)
 
static unsafe operator Const_PointObject? (MR.Const_Object parent)
 
static unsafe operator Const_PointObject? (MR.Const_VisualObject parent)
 
static unsafe operator Const_PointObject? (MR.Const_FeatureObject parent)
 
static unsafe implicit operator Const_PointObject (MR.Std.Const_Vector_MRVector3f pointsToApprox)
 Finds best point to approx given points Generated from constructor MR.PointObject.PointObject.
 
static unsafe? byte staticTypeName ()
 Generated from method MR.PointObject.StaticTypeName.
 
static unsafe? byte staticClassName ()
 Generated from method MR.PointObject.StaticClassName.
 
static unsafe? byte staticClassNameInPlural ()
 Generated from method MR.PointObject.StaticClassNameInPlural.
 

Protected Member Functions

unsafe void _LateMakeShared (_Underlying *ptr)
 
virtual unsafe void Dispose (bool disposing)
 

Properties

override unsafe bool _IsOwning [get]
 Check if the underlying shared pointer is owning or not.
 
- Properties inherited from MR.Misc.SharedObject< Const_PointObject >
override bool _IsOwning [get]
 This checks if the shared_ptr itself is owning or not, rather than whether we own our shared_ptr, which isn't a given. The derived classes have to implement this, since it depends on the specific shared_ptr type.
 
bool _IsOwningSharedPtr [get]
 This checks if we own the underlying shared_ptr instance, regardless of whether it owns the underlying object, which is orthogonal. We repurpose _IsOwningVal for this.
 

Detailed Description

Object to show point feature Generated from class MR.PointObject. Base classes: Direct: (non-virtual) MR.FeatureObject Indirect: (non-virtual) MR.ObjectChildrenHolder MR.Object MR.VisualObject This is the const half of the class.

Member Function Documentation

◆ worldXf()

unsafe MR.AffineXf3f MR.Const_PointObject.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.PointObject.worldXf. Parameter id defaults to {}.

◆ xf()

unsafe ref readonly MR.AffineXf3f MR.Const_PointObject.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.PointObject.xf. Parameter id defaults to {}.

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