Static Public Member Functions | |
| str | StaticClassName () |
| str | StaticClassNameInPlural () |
| str | StaticTypeName () |
| bool | getRedrawFlag (*args, **kwargs) |
| Box3f | getWorldBox (*args, **kwargs) |
| Box3f | getWorldTreeBox (*args, **kwargs) |
Generated from: MR::Object Aliases: ChangeObjectSelectedAction.Obj, ChangeObjectVisibilityAction.Obj, ObjectPtr, std_shared_ptr_Object named object in the data model
| mrmeshpy.ConstObject.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(self: meshlib.mrmeshpy.ConstObject) -> None
| ConstVisualObject mrmeshpy.ConstObject.asType | ( | self | ) |
Reimplemented in mrmeshpy.Object, and mrmeshpy.Object.
| Const_std_vector_std_shared_ptr_Object_const mrmeshpy.ConstObject.children | ( | self | ) |
\\deprecated the cast inside is undefined behaviour, use constChildren() instead
Reimplemented in mrmeshpy.Object, and mrmeshpy.Object.
| str mrmeshpy.ConstObject.className | ( | self | ) |
Reimplemented in mrmeshpy.ConstAngleMeasurementObject, mrmeshpy.ConstCircleObject, mrmeshpy.ConstConeObject, mrmeshpy.ConstCylinderObject, mrmeshpy.ConstDistanceMeasurementObject, mrmeshpy.ConstFeatureObject, mrmeshpy.ConstLineObject, mrmeshpy.ConstObjectDistanceMap, mrmeshpy.ConstObjectGcode, mrmeshpy.ConstObjectLines, mrmeshpy.ConstObjectMesh, mrmeshpy.ConstObjectPoints, mrmeshpy.ConstObjectVoxels, mrmeshpy.ConstPlaneObject, mrmeshpy.ConstPointMeasurementObject, mrmeshpy.ConstPointObject, mrmeshpy.ConstRadiusMeasurementObject, mrmeshpy.ConstSceneRootObject, mrmeshpy.ConstSphereObject, and mrmeshpy.ConstVisualObject.
| str mrmeshpy.ConstObject.classNameInPlural | ( | self | ) |
Reimplemented in mrmeshpy.ConstAngleMeasurementObject, mrmeshpy.ConstCircleObject, mrmeshpy.ConstConeObject, mrmeshpy.ConstCylinderObject, mrmeshpy.ConstDistanceMeasurementObject, mrmeshpy.ConstFeatureObject, mrmeshpy.ConstLineObject, mrmeshpy.ConstObjectDistanceMap, mrmeshpy.ConstObjectGcode, mrmeshpy.ConstObjectLines, mrmeshpy.ConstObjectMesh, mrmeshpy.ConstObjectPoints, mrmeshpy.ConstObjectVoxels, mrmeshpy.ConstPlaneObject, mrmeshpy.ConstPointMeasurementObject, mrmeshpy.ConstPointObject, mrmeshpy.ConstRadiusMeasurementObject, mrmeshpy.ConstSceneRootObject, mrmeshpy.ConstSphereObject, and mrmeshpy.ConstVisualObject.
| Object mrmeshpy.ConstObject.clone | ( | self | ) |
clones current object only, without parent and/or children
Reimplemented in mrmeshpy.ConstAngleMeasurementObject, mrmeshpy.ConstCircleObject, mrmeshpy.ConstConeObject, mrmeshpy.ConstCylinderObject, mrmeshpy.ConstDistanceMeasurementObject, mrmeshpy.ConstLineObject, mrmeshpy.ConstObjectDistanceMap, mrmeshpy.ConstObjectGcode, mrmeshpy.ConstObjectLabel, mrmeshpy.ConstObjectLines, mrmeshpy.ConstObjectLinesHolder, mrmeshpy.ConstObjectMesh, mrmeshpy.ConstObjectMeshHolder, mrmeshpy.ConstObjectPoints, mrmeshpy.ConstObjectPointsHolder, mrmeshpy.ConstObjectVoxels, mrmeshpy.ConstPlaneObject, mrmeshpy.ConstPointMeasurementObject, mrmeshpy.ConstPointObject, mrmeshpy.ConstRadiusMeasurementObject, mrmeshpy.ConstSceneRootObject, mrmeshpy.ConstSphereObject, and mrmeshpy.ConstVisualObject.
| Object mrmeshpy.ConstObject.cloneTree | ( | self | ) |
clones all tree of this object (except ancillary and unrecognized children)
| ConstChildren mrmeshpy.ConstObject.constChildren | ( | self | ) |
the same sub-objects without the ability to modify them; the returned view is invalidated by anything that changes the children of this object
| ConstObject mrmeshpy.ConstObject.find | ( | self, | |
| str | name ) |
finds a direct child by name
Reimplemented in mrmeshpy.Object, and mrmeshpy.Object.
| ConstObject mrmeshpy.ConstObject.findCommonAncestor | ( | self, | |
| ConstObject | other ) |
Reimplemented in mrmeshpy.Object, and mrmeshpy.Object.
| std_vector_std_string mrmeshpy.ConstObject.getInfoLines | ( | self | ) |
return several info lines that can better describe object in the UI
Reimplemented in mrmeshpy.ConstAngleMeasurementObject, mrmeshpy.ConstDistanceMeasurementObject, mrmeshpy.ConstObjectDistanceMap, mrmeshpy.ConstObjectGcode, mrmeshpy.ConstObjectLines, mrmeshpy.ConstObjectMesh, mrmeshpy.ConstObjectPoints, mrmeshpy.ConstObjectVoxels, mrmeshpy.ConstRadiusMeasurementObject, and mrmeshpy.ConstVisualObject.
| int mrmeshpy.ConstObject.getModelHash | ( | self | ) |
return hash of model (or hash object pointer if object has no model)
Reimplemented in mrmeshpy.ConstObjectMeshHolder.
|
static |
this method virtual because others data model types could have dirty flags or something
Reimplemented in mrmeshpy.ConstObjectMeshHolder, and mrmeshpy.ConstVisualObject.
|
static |
returns bounding box of this object in world coordinates for default or specific viewport
Reimplemented in mrmeshpy.ConstObjectLabel, mrmeshpy.ConstObjectLinesHolder, mrmeshpy.ConstObjectMeshHolder, mrmeshpy.ConstObjectPointsHolder, and mrmeshpy.ConstVisualObject.
|
static |
returns bounding box of this object and all children visible in given (or default) viewport in world coordinates
| bool mrmeshpy.ConstObject.globalVisibility | ( | self, | |
| ConstViewportMask | viewportMask = 'MR::ViewportMask::any()' ) |
returns true if this object is visible together with all its parents in any of given viewports
| ViewportMask mrmeshpy.ConstObject.globalVisibilityMask | ( | self | ) |
returns all viewports where this object is visible together with all its parents
| bool mrmeshpy.ConstObject.hasModel | ( | self | ) |
does the object have any model available (but possibly empty), e.g. ObjectMesh has valid meshPtr() or ObjectPoints has valid pointCloudPtr()
Reimplemented in mrmeshpy.ConstObjectDistanceMap, mrmeshpy.ConstObjectLinesHolder, mrmeshpy.ConstObjectMeshHolder, mrmeshpy.ConstObjectPointsHolder, and mrmeshpy.ConstObjectVoxels.
| bool mrmeshpy.ConstObject.hasVisualRepresentation | ( | self | ) |
does the object have any visual representation (visible points, triangles, edges, etc.), no considering child objects
Reimplemented in mrmeshpy.ConstObjectLabel, mrmeshpy.ConstObjectLinesHolder, mrmeshpy.ConstObjectMeshHolder, mrmeshpy.ConstObjectPointsHolder, and mrmeshpy.ConstObjectVoxels.
| int mrmeshpy.ConstObject.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap
Reimplemented from mrmeshpy.ConstObjectChildrenHolder.
Reimplemented in mrmeshpy.ConstObjectDistanceMap, mrmeshpy.ConstObjectGcode, mrmeshpy.ConstObjectLabel, mrmeshpy.ConstObjectLinesHolder, mrmeshpy.ConstObjectMeshHolder, mrmeshpy.ConstObjectPointsHolder, mrmeshpy.ConstObjectVoxels, and mrmeshpy.ConstVisualObject.
| bool mrmeshpy.ConstObject.isAncestor | ( | self, | |
| ConstObject | ancestor ) |
return true if given object is ancestor of this one, false otherwise
| bool mrmeshpy.ConstObject.isAncillary | ( | self | ) |
| bool mrmeshpy.ConstObject.isGlobalAncillary | ( | self | ) |
returns true if the object or any of its ancestors are ancillary
| bool mrmeshpy.ConstObject.isLocked | ( | self | ) |
object properties lock for UI
| bool mrmeshpy.ConstObject.isParentLocked | ( | self | ) |
If true, the scene tree GUI doesn't allow you to drag'n'drop this object into a different parent. Defaults to false.
| bool mrmeshpy.ConstObject.isSelected | ( | self | ) |
| bool mrmeshpy.ConstObject.isVisible | ( | self, | |
| ConstViewportMask | viewportMask = 'MR::ViewportMask::any()' ) |
checks whether the object is visible in any of the viewports specified by the mask (by default in any viewport)
| str mrmeshpy.ConstObject.name | ( | self | ) |
| ConstObject mrmeshpy.ConstObject.parent | ( | self | ) |
returns parent object in the tree
Reimplemented in mrmeshpy.Object, and mrmeshpy.Object.
| None mrmeshpy.ConstObject.resetRedrawFlag | ( | self | ) |
| bool mrmeshpy.ConstObject.sameModels | ( | self, | |
| ConstObject | other ) |
return true if model of current object equals to model (the same) of other
Reimplemented in mrmeshpy.ConstObjectMeshHolder.
| Object mrmeshpy.ConstObject.shallowClone | ( | self | ) |
clones current object only, without parent and/or children clones only pointers to mesh, points or voxels
Reimplemented in mrmeshpy.ConstAngleMeasurementObject, mrmeshpy.ConstCircleObject, mrmeshpy.ConstConeObject, mrmeshpy.ConstCylinderObject, mrmeshpy.ConstDistanceMeasurementObject, mrmeshpy.ConstLineObject, mrmeshpy.ConstObjectDistanceMap, mrmeshpy.ConstObjectGcode, mrmeshpy.ConstObjectLabel, mrmeshpy.ConstObjectLines, mrmeshpy.ConstObjectLinesHolder, mrmeshpy.ConstObjectMesh, mrmeshpy.ConstObjectMeshHolder, mrmeshpy.ConstObjectPoints, mrmeshpy.ConstObjectPointsHolder, mrmeshpy.ConstObjectVoxels, mrmeshpy.ConstPlaneObject, mrmeshpy.ConstPointMeasurementObject, mrmeshpy.ConstPointObject, mrmeshpy.ConstRadiusMeasurementObject, mrmeshpy.ConstSphereObject, and mrmeshpy.ConstVisualObject.
| Object mrmeshpy.ConstObject.shallowCloneTree | ( | self | ) |
clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels
|
static |
return human readable name of subclass
Reimplemented in mrmeshpy.ConstAngleMeasurementObject, mrmeshpy.ConstCircleObject, mrmeshpy.ConstConeObject, mrmeshpy.ConstCylinderObject, mrmeshpy.ConstDistanceMeasurementObject, mrmeshpy.ConstFeatureObject, mrmeshpy.ConstLineObject, mrmeshpy.ConstObjectDistanceMap, mrmeshpy.ConstObjectGcode, mrmeshpy.ConstObjectLines, mrmeshpy.ConstObjectMesh, mrmeshpy.ConstObjectPoints, mrmeshpy.ConstObjectVoxels, mrmeshpy.ConstPlaneObject, mrmeshpy.ConstPointMeasurementObject, mrmeshpy.ConstPointObject, mrmeshpy.ConstRadiusMeasurementObject, mrmeshpy.ConstSceneRootObject, mrmeshpy.ConstSphereObject, and mrmeshpy.ConstVisualObject.
|
static |
return human readable name of subclass in plural form
Reimplemented in mrmeshpy.ConstAngleMeasurementObject, mrmeshpy.ConstCircleObject, mrmeshpy.ConstConeObject, mrmeshpy.ConstCylinderObject, mrmeshpy.ConstDistanceMeasurementObject, mrmeshpy.ConstFeatureObject, mrmeshpy.ConstLineObject, mrmeshpy.ConstObjectDistanceMap, mrmeshpy.ConstObjectGcode, mrmeshpy.ConstObjectLines, mrmeshpy.ConstObjectMesh, mrmeshpy.ConstObjectPoints, mrmeshpy.ConstObjectVoxels, mrmeshpy.ConstPlaneObject, mrmeshpy.ConstPointMeasurementObject, mrmeshpy.ConstPointObject, mrmeshpy.ConstRadiusMeasurementObject, mrmeshpy.ConstSceneRootObject, mrmeshpy.ConstSphereObject, and mrmeshpy.ConstVisualObject.
|
static |
return name of subtype for serialization purposes
Reimplemented in mrmeshpy.ConstAngleMeasurementObject, mrmeshpy.ConstCircleObject, mrmeshpy.ConstConeObject, mrmeshpy.ConstCylinderObject, mrmeshpy.ConstDistanceMeasurementObject, mrmeshpy.ConstFeatureObject, mrmeshpy.ConstLineObject, mrmeshpy.ConstObjectDistanceMap, mrmeshpy.ConstObjectGcode, mrmeshpy.ConstObjectLabel, mrmeshpy.ConstObjectLines, mrmeshpy.ConstObjectLinesHolder, mrmeshpy.ConstObjectMesh, mrmeshpy.ConstObjectMeshHolder, mrmeshpy.ConstObjectPoints, mrmeshpy.ConstObjectPointsHolder, mrmeshpy.ConstObjectVoxels, mrmeshpy.ConstPlaneObject, mrmeshpy.ConstPointMeasurementObject, mrmeshpy.ConstPointObject, mrmeshpy.ConstRadiusMeasurementObject, mrmeshpy.ConstSceneRootObject, mrmeshpy.ConstSphereObject, and mrmeshpy.ConstVisualObject.
| Const_std_set_std_string mrmeshpy.ConstObject.tags | ( | self | ) |
provides read-only access to the tag storage the storage is a set of unique strings
| str mrmeshpy.ConstObject.typeName | ( | self | ) |
Reimplemented in mrmeshpy.ConstAngleMeasurementObject, mrmeshpy.ConstCircleObject, mrmeshpy.ConstConeObject, mrmeshpy.ConstCylinderObject, mrmeshpy.ConstDistanceMeasurementObject, mrmeshpy.ConstFeatureObject, mrmeshpy.ConstLineObject, mrmeshpy.ConstObjectDistanceMap, mrmeshpy.ConstObjectGcode, mrmeshpy.ConstObjectLabel, mrmeshpy.ConstObjectLines, mrmeshpy.ConstObjectLinesHolder, mrmeshpy.ConstObjectMesh, mrmeshpy.ConstObjectMeshHolder, mrmeshpy.ConstObjectPoints, mrmeshpy.ConstObjectPointsHolder, mrmeshpy.ConstObjectVoxels, mrmeshpy.ConstPlaneObject, mrmeshpy.ConstPointMeasurementObject, mrmeshpy.ConstPointObject, mrmeshpy.ConstRadiusMeasurementObject, mrmeshpy.ConstSceneRootObject, mrmeshpy.ConstSphereObject, and mrmeshpy.ConstVisualObject.
| ViewportMask mrmeshpy.ConstObject.visibilityMask | ( | self | ) |
gets object visibility as bitmask of viewports
| AffineXf3f mrmeshpy.ConstObject.worldXf | ( | self, | |
| ConstViewportId | id = ..., | ||
| bool_output | isDef = None ) |
this space to world space transformation for default or specific viewport \\param isDef receives true if the object has default transformation in this viewport (same as worldXf() returns)
| ConstAffineXf3f mrmeshpy.ConstObject.xf | ( | self, | |
| ConstViewportId | id = ..., | ||
| bool_output | isDef = None ) |
this space to parent space transformation (to world space if no parent) for default or given viewport \\param isDef receives true if the object has default transformation in this viewport (same as xf() returns)
| ConstViewportProperty_AffineXf3f mrmeshpy.ConstObject.xfsForAllViewports | ( | self | ) |
returns xfs for all viewports, combined into a single object