MeshLib Java Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib.ObjectLabel:

Public Member Functions

 ObjectLabel (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ObjectLabel ()
 ObjectLabel (meshlib.ObjectLabel _other)
meshlib.ObjectLabel assignFromAnother (meshlib.ObjectLabel _other)
java.lang.Byte typeName ()
void applyScale (float scaleFactor)
boolean hasVisualRepresentation ()
meshlib.std_shared_ptr_MR_Object clone_2 ()
meshlib.std_shared_ptr_MR_Object shallowClone ()
void setFontHeight (float size)
float getFontHeight ()
void setLabel (meshlib.PositionedText label)
meshlib.PositionedText getLabel ()
void setFontPath (java.lang.String pathToFont)
meshlib.std_filesystem_path getFontPath ()
void setPivotPoint (meshlib.Vector2f pivotPoint)
meshlib.Vector2f getPivotPoint ()
meshlib.Vector2f getPivotShift ()
void setLeaderLineWidth (float width)
float getLeaderLineWidth ()
void setSourcePointSize (float size)
float getSourcePointSize ()
void setBackgroundPadding (float padding)
float getBackgroundPadding ()
void setSourcePointColor (meshlib.Color color, meshlib.ViewportId id)
meshlib.Color getSourcePointColor (meshlib.ViewportId id)
void setLeaderLineColor (meshlib.Color color, meshlib.ViewportId id)
meshlib.Color getLeaderLineColor (meshlib.ViewportId id)
void setContourColor (meshlib.Color color, meshlib.ViewportId id)
meshlib.Color getContourColor (meshlib.ViewportId id)
meshlib.ViewportProperty_MR_Color getSourcePointColorsForAllViewports ()
void setSourcePointColorsForAllViewports (meshlib.ViewportProperty_MR_Color val)
meshlib.ViewportProperty_MR_Color getLeaderLineColorsForAllViewports ()
void setLeaderLineColorsForAllViewports (meshlib.ViewportProperty_MR_Color val)
meshlib.ViewportProperty_MR_Color getContourColorsForAllViewports ()
void setContourColorsForAllViewports (meshlib.ViewportProperty_MR_Color val)
meshlib.Box3f getWorldBox (meshlib.ViewportId _1)
meshlib.std_shared_ptr_MR_Mesh labelRepresentingMesh ()
long heapBytes ()
meshlib.std_vector_MR_ViewportMask getAllVisualizeProperties ()
meshlib.ViewportMask getVisualizePropertyMask (meshlib.AnyVisualizeMaskEnum type)
void buildMeshFromText ()
meshlib.std_string className ()
meshlib.std_string classNameInPlural ()
boolean supportsVisualizeProperty (meshlib.AnyVisualizeMaskEnum type)
void setVisualizeProperty (boolean value, meshlib.AnyVisualizeMaskEnum type, meshlib.ViewportMask viewportMask)
void setVisualizePropertyMask (meshlib.AnyVisualizeMaskEnum type, meshlib.ViewportMask viewportMask)
boolean getVisualizeProperty (meshlib.AnyVisualizeMaskEnum type, meshlib.ViewportMask viewportMask)
void toggleVisualizeProperty (meshlib.AnyVisualizeMaskEnum type, meshlib.ViewportMask viewportMask)
void setAllVisualizeProperties (meshlib.std_vector_MR_ViewportMask properties)
void copyAllSolidColors (meshlib.VisualObject other)
meshlib.ViewportMask globalClippedByPlaneMask ()
boolean globalClippedByPlane (meshlib.ViewportMask viewportMask)
void setGlobalClippedByPlane (boolean on, meshlib.ViewportMask viewportMask)
meshlib.Color getFrontColor (java.lang.Boolean selected, meshlib.ViewportId viewportId)
void setFrontColor (meshlib.Color color, boolean selected, meshlib.ViewportId viewportId)
meshlib.ViewportProperty_MR_Color getFrontColorsForAllViewports (java.lang.Boolean selected)
void setFrontColorsForAllViewports (meshlib.ViewportProperty_MR_Color val, java.lang.Boolean selected)
meshlib.ViewportProperty_MR_Color getBackColorsForAllViewports ()
void setBackColorsForAllViewports (meshlib.ViewportProperty_MR_Color val)
meshlib.Color getBackColor (meshlib.ViewportId viewportId)
void setBackColor (meshlib.Color color, meshlib.ViewportId viewportId)
byte getGlobalAlpha (meshlib.ViewportId viewportId)
void setGlobalAlpha (byte alpha, meshlib.ViewportId viewportId)
meshlib.ViewportProperty_unsigned_char getGlobalAlphaForAllViewports ()
void setGlobalAlphaForAllViewports (meshlib.ViewportProperty_unsigned_char val)
void setDirtyFlags (int mask, java.lang.Boolean invalidateCaches)
int getDirtyFlags ()
void resetDirty ()
void resetDirtyExceptMask (int mask)
meshlib.Box3f getBoundingBox ()
boolean getRedrawFlag (meshlib.ViewportMask viewportMask)
boolean isPickable (meshlib.ViewportMask viewportMask)
void setPickable (boolean on, meshlib.ViewportMask viewportMask)
meshlib.ColoringType getColoringType ()
void setColoringType (meshlib.ColoringType coloringType)
float getShininess ()
void setShininess (float shininess)
float getSpecularStrength ()
void setSpecularStrength (float specularStrength)
float getAmbientStrength ()
void setAmbientStrength (float ambientStrength)
boolean render (meshlib.ModelRenderParams _1)
void renderForPicker (meshlib.ModelBaseRenderParams _1, int _2)
void renderUi (meshlib.UiRenderParams params)
meshlib.std_vector_std_string getInfoLines ()
boolean useDefaultScenePropertiesOnDeserialization ()
void setUseDefaultScenePropertiesOnDeserialization (boolean useDefaultScenePropertiesOnDeserialization)
void resetFrontColor ()
void resetColors ()
meshlib.std_string name ()
void setName (java.lang.String name)
meshlib.AffineXf3f xf (meshlib.ViewportId id, meshlib.bool_output isDef)
void setXf (meshlib.AffineXf3f xf, meshlib.ViewportId id)
void resetXf (meshlib.ViewportId id)
meshlib.ViewportProperty_MR_AffineXf3f xfsForAllViewports ()
void setXfsForAllViewports (meshlib.ViewportProperty_MR_AffineXf3f xf)
meshlib.AffineXf3f worldXf (meshlib.ViewportId id, meshlib.bool_output isDef)
void setWorldXf (meshlib.AffineXf3f xf, meshlib.ViewportId id)
meshlib.ViewportMask globalVisibilityMask ()
boolean globalVisibility (meshlib.ViewportMask viewportMask)
void setGlobalVisibility (boolean on, meshlib.ViewportMask viewportMask)
boolean isLocked ()
void setLocked (boolean on)
boolean isParentLocked ()
void setParentLocked (boolean lock)
boolean isAncestor (meshlib.Object ancestor)
boolean detachFromParent ()
meshlib.ConstChildren constChildren ()
boolean addChild (meshlib.std_shared_ptr_MR_Object child, java.lang.Boolean recognizedChild)
boolean addChildBefore (meshlib.std_shared_ptr_MR_Object newChild, meshlib.std_shared_ptr_MR_Object existingChild)
void removeAllChildren ()
void sortChildren ()
boolean select (boolean on)
boolean isSelected ()
void setAncillary (boolean ancillary)
boolean isAncillary ()
boolean isGlobalAncillary ()
void setVisible (boolean on, meshlib.ViewportMask viewportMask)
boolean isVisible (meshlib.ViewportMask viewportMask)
void setVisibilityMask (meshlib.ViewportMask viewportMask)
meshlib.ViewportMask visibilityMask ()
void resetRedrawFlag ()
meshlib.std_shared_ptr_MR_Object cloneTree ()
meshlib.std_shared_ptr_MR_Object shallowCloneTree ()
void swap (meshlib.Object other)
meshlib.Box3f getWorldTreeBox (meshlib.ViewportId _1)
boolean hasModel ()
meshlib.std_set_std_string tags ()
boolean addTag (java.lang.String tag)
boolean removeTag (java.lang.String tag)
boolean sameModels (meshlib.Object other)
long getModelHash ()
meshlib.std_shared_ptr_MR_Object getSharedPtr ()
meshlib.ObjectChildrenHolder upcastToObjectChildrenHolder ()
meshlib.Object upcastToObject ()
meshlib.VisualObject upcastToVisualObject ()
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Static Public Member Functions

static java.lang.Byte StaticTypeName ()
static java.lang.Byte StaticClassName ()
static java.lang.Byte StaticClassNameInPlural ()
static meshlib.ObjectLabel staticDowncastFromObjectChildrenHolder (meshlib.ObjectChildrenHolder object)
static meshlib.ObjectLabel staticDowncastFromObject (meshlib.Object object)
static meshlib.ObjectLabel dynamicDowncastFromObject (meshlib.Object object)
static meshlib.ObjectLabel staticDowncastFromVisualObject (meshlib.VisualObject object)
static meshlib.ObjectLabel dynamicDowncastFromVisualObject (meshlib.VisualObject object)

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

This object type renders label in scene

default pivot point = (0, 0) Generated from class MR::ObjectLabel. Base classes: Direct: (non-virtual) MR::VisualObject Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ ObjectLabel() [1/3]

meshlib.ObjectLabel.ObjectLabel ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ ObjectLabel() [2/3]

meshlib.ObjectLabel.ObjectLabel ( )

Constructs an empty (default-constructed) instance.

Calls MR_ObjectLabel_DefaultConstruct().

◆ ObjectLabel() [3/3]

meshlib.ObjectLabel.ObjectLabel ( meshlib.ObjectLabel _other)

Generated from constructor MR::ObjectLabel::ObjectLabel. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_ObjectLabel_ConstructFromAnother().

Member Function Documentation

◆ addChild()

boolean meshlib.ObjectLabel.addChild ( meshlib.std_shared_ptr_MR_Object child,
java.lang.Boolean recognizedChild )

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::ObjectLabel::addChild.

Calls MR_ObjectLabel_addChild().

◆ addChildBefore()

boolean meshlib.ObjectLabel.addChildBefore ( meshlib.std_shared_ptr_MR_Object newChild,
meshlib.std_shared_ptr_MR_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::ObjectLabel::addChildBefore.

Calls MR_ObjectLabel_addChildBefore().

◆ addTag()

boolean meshlib.ObjectLabel.addTag ( java.lang.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::ObjectLabel::addTag.

Calls MR_ObjectLabel_addTag().

◆ applyScale()

void meshlib.ObjectLabel.applyScale ( float scaleFactor)

Generated from method MR::ObjectLabel::applyScale.

Calls MR_ObjectLabel_applyScale().

◆ assignFromAnother()

meshlib.ObjectLabel meshlib.ObjectLabel.assignFromAnother ( meshlib.ObjectLabel _other)

Generated from method MR::ObjectLabel::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The reference to this object might be preserved in the return value.

Calls MR_ObjectLabel_AssignFromAnother().

◆ buildMeshFromText()

void meshlib.ObjectLabel.buildMeshFromText ( )

Loads font, and converts the symbols of text into mesh; since this operation is time consuming, one can call this method in parallel for several ObjectLabels before rendering Generated from method MR::ObjectLabel::buildMeshFromText.

Calls MR_ObjectLabel_buildMeshFromText().

◆ className()

meshlib.std_string meshlib.ObjectLabel.className ( )

Generated from method MR::ObjectLabel::className.

Calls MR_ObjectLabel_className().

◆ classNameInPlural()

meshlib.std_string meshlib.ObjectLabel.classNameInPlural ( )

Generated from method MR::ObjectLabel::classNameInPlural.

Calls MR_ObjectLabel_classNameInPlural().

◆ clone_2()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectLabel.clone_2 ( )

Generated from method MR::ObjectLabel::clone.

Calls MR_ObjectLabel_clone().

◆ cloneTree()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectLabel.cloneTree ( )

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

Calls MR_ObjectLabel_cloneTree().

◆ constChildren()

meshlib.ConstChildren meshlib.ObjectLabel.constChildren ( )

the same sub-objects without the ability to modify them; the returned view is invalidated by anything that changes the children of this object Generated from method MR::ObjectLabel::constChildren.

Calls MR_ObjectLabel_constChildren().

◆ copyAllSolidColors()

void meshlib.ObjectLabel.copyAllSolidColors ( meshlib.VisualObject other)

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

Calls MR_ObjectLabel_copyAllSolidColors().

◆ detachFromParent()

boolean meshlib.ObjectLabel.detachFromParent ( )

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

Calls MR_ObjectLabel_detachFromParent().

◆ dynamicDowncastFromObject()

meshlib.ObjectLabel meshlib.ObjectLabel.dynamicDowncastFromObject ( meshlib.Object object)
static

Dynamic downcast from the base class MR::Object. Returns null if the object isn't actually a ObjectLabel. The result refers to object.

Calls MR_ObjectLabel_MutableDynamicDowncastFrom_MR_Object().

◆ dynamicDowncastFromVisualObject()

meshlib.ObjectLabel meshlib.ObjectLabel.dynamicDowncastFromVisualObject ( meshlib.VisualObject object)
static

Dynamic downcast from the base class MR::VisualObject. Returns null if the object isn't actually a ObjectLabel. The result refers to object.

Calls MR_ObjectLabel_MutableDynamicDowncastFrom_MR_VisualObject().

◆ getAllVisualizeProperties()

meshlib.std_vector_MR_ViewportMask meshlib.ObjectLabel.getAllVisualizeProperties ( )

get all visualize properties masks Generated from method MR::ObjectLabel::getAllVisualizeProperties.

Calls MR_ObjectLabel_getAllVisualizeProperties().

◆ getAmbientStrength()

float meshlib.ObjectLabel.getAmbientStrength ( )

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

Calls MR_ObjectLabel_getAmbientStrength().

◆ getBackColor()

meshlib.Color meshlib.ObjectLabel.getBackColor ( meshlib.ViewportId viewportId)

returns backward color of object in given viewport Generated from method MR::ObjectLabel::getBackColor.

Calls MR_ObjectLabel_getBackColor().

◆ getBackColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectLabel.getBackColorsForAllViewports ( )

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

Calls MR_ObjectLabel_getBackColorsForAllViewports().

◆ getBackgroundPadding()

float meshlib.ObjectLabel.getBackgroundPadding ( )

returns background padding in pixels Generated from method MR::ObjectLabel::getBackgroundPadding.

Calls MR_ObjectLabel_getBackgroundPadding().

◆ getBoundingBox()

meshlib.Box3f meshlib.ObjectLabel.getBoundingBox ( )

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

Calls MR_ObjectLabel_getBoundingBox().

◆ getColoringType()

meshlib.ColoringType meshlib.ObjectLabel.getColoringType ( )

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

Calls MR_ObjectLabel_getColoringType().

◆ getContourColor()

meshlib.Color meshlib.ObjectLabel.getContourColor ( meshlib.ViewportId id)

return contour color Generated from method MR::ObjectLabel::getContourColor.

Calls MR_ObjectLabel_getContourColor().

◆ getContourColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectLabel.getContourColorsForAllViewports ( )

Generated from method MR::ObjectLabel::getContourColorsForAllViewports.

Calls MR_ObjectLabel_getContourColorsForAllViewports().

◆ getDirtyFlags()

int meshlib.ObjectLabel.getDirtyFlags ( )

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

Calls MR_ObjectLabel_getDirtyFlags().

◆ getFontHeight()

float meshlib.ObjectLabel.getFontHeight ( )

returns size of label font on screen in pixels Generated from method MR::ObjectLabel::getFontHeight.

Calls MR_ObjectLabel_getFontHeight().

◆ getFontPath()

meshlib.std_filesystem_path meshlib.ObjectLabel.getFontPath ( )

Generated from method MR::ObjectLabel::getFontPath.

Calls MR_ObjectLabel_getFontPath().

◆ getFrontColor()

meshlib.Color meshlib.ObjectLabel.getFrontColor ( java.lang.Boolean selected,
meshlib.ViewportId viewportId )

returns color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR::ObjectLabel::getFrontColor.

Calls MR_ObjectLabel_getFrontColor().

◆ getFrontColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectLabel.getFrontColorsForAllViewports ( java.lang.Boolean selected)

returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::ObjectLabel::getFrontColorsForAllViewports.

Calls MR_ObjectLabel_getFrontColorsForAllViewports().

◆ getGlobalAlpha()

byte meshlib.ObjectLabel.getGlobalAlpha ( meshlib.ViewportId viewportId)

returns global transparency alpha of object in given viewport Generated from method MR::ObjectLabel::getGlobalAlpha.

Calls MR_ObjectLabel_getGlobalAlpha().

◆ getGlobalAlphaForAllViewports()

meshlib.ViewportProperty_unsigned_char meshlib.ObjectLabel.getGlobalAlphaForAllViewports ( )

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

Calls MR_ObjectLabel_getGlobalAlphaForAllViewports().

◆ getInfoLines()

meshlib.std_vector_std_string meshlib.ObjectLabel.getInfoLines ( )

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

Calls MR_ObjectLabel_getInfoLines().

◆ getLabel()

meshlib.PositionedText meshlib.ObjectLabel.getLabel ( )

Generated from method MR::ObjectLabel::getLabel.

Calls MR_ObjectLabel_getLabel().

◆ getLeaderLineColor()

meshlib.Color meshlib.ObjectLabel.getLeaderLineColor ( meshlib.ViewportId id)

return color of leader line Generated from method MR::ObjectLabel::getLeaderLineColor.

Calls MR_ObjectLabel_getLeaderLineColor().

◆ getLeaderLineColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectLabel.getLeaderLineColorsForAllViewports ( )

Generated from method MR::ObjectLabel::getLeaderLineColorsForAllViewports.

Calls MR_ObjectLabel_getLeaderLineColorsForAllViewports().

◆ getLeaderLineWidth()

float meshlib.ObjectLabel.getLeaderLineWidth ( )

returns width of leader line in pixels Generated from method MR::ObjectLabel::getLeaderLineWidth.

Calls MR_ObjectLabel_getLeaderLineWidth().

◆ getModelHash()

long meshlib.ObjectLabel.getModelHash ( )

return hash of model (or hash object pointer if object has no model) Generated from method MR::ObjectLabel::getModelHash.

Calls MR_ObjectLabel_getModelHash().

◆ getPivotPoint()

meshlib.Vector2f meshlib.ObjectLabel.getPivotPoint ( )

get pivot point Generated from method MR::ObjectLabel::getPivotPoint.

Calls MR_ObjectLabel_getPivotPoint().

◆ getPivotShift()

meshlib.Vector2f meshlib.ObjectLabel.getPivotShift ( )

get pivot shift (pivot point * text diagonal) Generated from method MR::ObjectLabel::getPivotShift.

Calls MR_ObjectLabel_getPivotShift().

◆ getRedrawFlag()

boolean meshlib.ObjectLabel.getRedrawFlag ( meshlib.ViewportMask viewportMask)

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

Calls MR_ObjectLabel_getRedrawFlag().

◆ getSharedPtr()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectLabel.getSharedPtr ( )

returns this Object as shared_ptr finds it among its parent's recognized children Generated from method MR::ObjectLabel::getSharedPtr.

Calls MR_ObjectLabel_getSharedPtr().

◆ getShininess()

float meshlib.ObjectLabel.getShininess ( )

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

Calls MR_ObjectLabel_getShininess().

◆ getSourcePointColor()

meshlib.Color meshlib.ObjectLabel.getSourcePointColor ( meshlib.ViewportId id)

returns color of source point Generated from method MR::ObjectLabel::getSourcePointColor.

Calls MR_ObjectLabel_getSourcePointColor().

◆ getSourcePointColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectLabel.getSourcePointColorsForAllViewports ( )

Generated from method MR::ObjectLabel::getSourcePointColorsForAllViewports.

Calls MR_ObjectLabel_getSourcePointColorsForAllViewports().

◆ getSourcePointSize()

float meshlib.ObjectLabel.getSourcePointSize ( )

returns size of source point in pixels Generated from method MR::ObjectLabel::getSourcePointSize.

Calls MR_ObjectLabel_getSourcePointSize().

◆ getSpecularStrength()

float meshlib.ObjectLabel.getSpecularStrength ( )

returns intensity of reflections Generated from method MR::ObjectLabel::getSpecularStrength.

Calls MR_ObjectLabel_getSpecularStrength().

◆ getVisualizeProperty()

boolean meshlib.ObjectLabel.getVisualizeProperty ( meshlib.AnyVisualizeMaskEnum type,
meshlib.ViewportMask viewportMask )

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

Calls MR_ObjectLabel_getVisualizeProperty().

◆ getVisualizePropertyMask()

meshlib.ViewportMask meshlib.ObjectLabel.getVisualizePropertyMask ( meshlib.AnyVisualizeMaskEnum type)

returns mask of viewports where given property is set Generated from method MR::ObjectLabel::getVisualizePropertyMask.

Calls MR_ObjectLabel_getVisualizePropertyMask().

◆ getWorldBox()

meshlib.Box3f meshlib.ObjectLabel.getWorldBox ( meshlib.ViewportId _1)

returns cached bounding box of this label object in world coordinates; if you need bounding box in local coordinates please call getBoundingBox() Generated from method MR::ObjectLabel::getWorldBox.

Calls MR_ObjectLabel_getWorldBox().

◆ getWorldTreeBox()

meshlib.Box3f meshlib.ObjectLabel.getWorldTreeBox ( meshlib.ViewportId _1)

returns bounding box of this object and all children visible in given (or default) viewport in world coordinates Generated from method MR::ObjectLabel::getWorldTreeBox.

Calls MR_ObjectLabel_getWorldTreeBox().

◆ globalClippedByPlane()

boolean meshlib.ObjectLabel.globalClippedByPlane ( meshlib.ViewportMask viewportMask)

returns true if this object or any of its parents is clipped by plane in any of given viewports Generated from method MR::ObjectLabel::globalClippedByPlane.

Calls MR_ObjectLabel_globalClippedByPlane().

◆ globalClippedByPlaneMask()

meshlib.ViewportMask meshlib.ObjectLabel.globalClippedByPlaneMask ( )

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

Calls MR_ObjectLabel_globalClippedByPlaneMask().

◆ globalVisibility()

boolean meshlib.ObjectLabel.globalVisibility ( meshlib.ViewportMask viewportMask)

returns true if this object is visible together with all its parents in any of given viewports Generated from method MR::ObjectLabel::globalVisibility.

Calls MR_ObjectLabel_globalVisibility().

◆ globalVisibilityMask()

meshlib.ViewportMask meshlib.ObjectLabel.globalVisibilityMask ( )

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

Calls MR_ObjectLabel_globalVisibilityMask().

◆ hasModel()

boolean meshlib.ObjectLabel.hasModel ( )

does the object have any model available (but possibly empty), e.g. ObjectMesh has valid meshPtr() or ObjectPoints has valid pointCloudPtr() Generated from method MR::ObjectLabel::hasModel.

Calls MR_ObjectLabel_hasModel().

◆ hasVisualRepresentation()

boolean meshlib.ObjectLabel.hasVisualRepresentation ( )

Generated from method MR::ObjectLabel::hasVisualRepresentation.

Calls MR_ObjectLabel_hasVisualRepresentation().

◆ heapBytes()

long meshlib.ObjectLabel.heapBytes ( )

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

Calls MR_ObjectLabel_heapBytes().

◆ isAncestor()

boolean meshlib.ObjectLabel.isAncestor ( meshlib.Object ancestor)

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

Calls MR_ObjectLabel_isAncestor().

◆ isAncillary()

boolean meshlib.ObjectLabel.isAncillary ( )

Generated from method MR::ObjectLabel::isAncillary.

Calls MR_ObjectLabel_isAncillary().

◆ isGlobalAncillary()

boolean meshlib.ObjectLabel.isGlobalAncillary ( )

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

Calls MR_ObjectLabel_isGlobalAncillary().

◆ isLocked()

boolean meshlib.ObjectLabel.isLocked ( )

object properties lock for UI Generated from method MR::ObjectLabel::isLocked.

Calls MR_ObjectLabel_isLocked().

◆ isParentLocked()

boolean meshlib.ObjectLabel.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::ObjectLabel::isParentLocked.

Calls MR_ObjectLabel_isParentLocked().

◆ isPickable()

boolean meshlib.ObjectLabel.isPickable ( meshlib.ViewportMask viewportMask)

whether the object can be picked (by mouse) in any of given viewports Generated from method MR::ObjectLabel::isPickable.

Calls MR_ObjectLabel_isPickable().

◆ isSelected()

boolean meshlib.ObjectLabel.isSelected ( )

Generated from method MR::ObjectLabel::isSelected.

Calls MR_ObjectLabel_isSelected().

◆ isVisible()

boolean meshlib.ObjectLabel.isVisible ( meshlib.ViewportMask viewportMask)

checks whether the object is visible in any of the viewports specified by the mask (by default in any viewport) Generated from method MR::ObjectLabel::isVisible.

Calls MR_ObjectLabel_isVisible().

◆ labelRepresentingMesh()

meshlib.std_shared_ptr_MR_Mesh meshlib.ObjectLabel.labelRepresentingMesh ( )

returns mesh that represents current label only used in Render object for binding, cleared after it Generated from method MR::ObjectLabel::labelRepresentingMesh.

Calls MR_ObjectLabel_labelRepresentingMesh().

◆ name()

meshlib.std_string meshlib.ObjectLabel.name ( )

Generated from method MR::ObjectLabel::name.

Calls MR_ObjectLabel_name().

◆ removeAllChildren()

void meshlib.ObjectLabel.removeAllChildren ( )

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

Calls MR_ObjectLabel_removeAllChildren().

◆ removeTag()

boolean meshlib.ObjectLabel.removeTag ( java.lang.String tag)

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

Calls MR_ObjectLabel_removeTag().

◆ render()

boolean meshlib.ObjectLabel.render ( meshlib.ModelRenderParams _1)

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

Calls MR_ObjectLabel_render().

◆ renderForPicker()

void meshlib.ObjectLabel.renderForPicker ( meshlib.ModelBaseRenderParams _1,
int _2 )

draws this object for picking Generated from method MR::ObjectLabel::renderForPicker.

Calls MR_ObjectLabel_renderForPicker().

◆ renderUi()

void meshlib.ObjectLabel.renderUi ( meshlib.UiRenderParams params)

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

Calls MR_ObjectLabel_renderUi().

◆ resetColors()

void meshlib.ObjectLabel.resetColors ( )

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

Calls MR_ObjectLabel_resetColors().

◆ resetDirty()

void meshlib.ObjectLabel.resetDirty ( )

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

Calls MR_ObjectLabel_resetDirty().

◆ resetDirtyExceptMask()

void meshlib.ObjectLabel.resetDirtyExceptMask ( int mask)

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

Calls MR_ObjectLabel_resetDirtyExceptMask().

◆ resetFrontColor()

void meshlib.ObjectLabel.resetFrontColor ( )

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

Calls MR_ObjectLabel_resetFrontColor().

◆ resetRedrawFlag()

void meshlib.ObjectLabel.resetRedrawFlag ( )

Generated from method MR::ObjectLabel::resetRedrawFlag.

Calls MR_ObjectLabel_resetRedrawFlag().

◆ resetXf()

void meshlib.ObjectLabel.resetXf ( meshlib.ViewportId id)

forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectLabel::resetXf.

Calls MR_ObjectLabel_resetXf().

◆ sameModels()

boolean meshlib.ObjectLabel.sameModels ( meshlib.Object other)

return true if model of current object equals to model (the same) of other Generated from method MR::ObjectLabel::sameModels.

Calls MR_ObjectLabel_sameModels().

◆ select()

boolean meshlib.ObjectLabel.select ( boolean on)

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

Calls MR_ObjectLabel_select().

◆ setAllVisualizeProperties()

void meshlib.ObjectLabel.setAllVisualizeProperties ( meshlib.std_vector_MR_ViewportMask properties)

set all visualize properties masks Generated from method MR::ObjectLabel::setAllVisualizeProperties.

Calls MR_ObjectLabel_setAllVisualizeProperties().

◆ setAmbientStrength()

void meshlib.ObjectLabel.setAmbientStrength ( float ambientStrength)

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

Calls MR_ObjectLabel_setAmbientStrength().

◆ setAncillary()

void meshlib.ObjectLabel.setAncillary ( boolean 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::ObjectLabel::setAncillary.

Calls MR_ObjectLabel_setAncillary().

◆ setBackColor()

void meshlib.ObjectLabel.setBackColor ( meshlib.Color color,
meshlib.ViewportId viewportId )

sets backward color of object in given viewport Generated from method MR::ObjectLabel::setBackColor.

Calls MR_ObjectLabel_setBackColor().

◆ setBackColorsForAllViewports()

void meshlib.ObjectLabel.setBackColorsForAllViewports ( meshlib.ViewportProperty_MR_Color val)

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

Calls MR_ObjectLabel_setBackColorsForAllViewports().

◆ setBackgroundPadding()

void meshlib.ObjectLabel.setBackgroundPadding ( float padding)

sets background padding in pixels Generated from method MR::ObjectLabel::setBackgroundPadding.

Calls MR_ObjectLabel_setBackgroundPadding().

◆ setColoringType()

void meshlib.ObjectLabel.setColoringType ( meshlib.ColoringType coloringType)

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

Calls MR_ObjectLabel_setColoringType().

◆ setContourColor()

void meshlib.ObjectLabel.setContourColor ( meshlib.Color color,
meshlib.ViewportId id )

sets contour color Generated from method MR::ObjectLabel::setContourColor.

Calls MR_ObjectLabel_setContourColor().

◆ setContourColorsForAllViewports()

void meshlib.ObjectLabel.setContourColorsForAllViewports ( meshlib.ViewportProperty_MR_Color val)

Generated from method MR::ObjectLabel::setContourColorsForAllViewports.

Calls MR_ObjectLabel_setContourColorsForAllViewports().

◆ setDirtyFlags()

void meshlib.ObjectLabel.setDirtyFlags ( int mask,
java.lang.Boolean invalidateCaches )

sets some dirty flags for the object (to force its visual update)

Parameters
maskis a union of DirtyFlags flags
invalidateCacheswhether to automatically invalidate model caches (pass false here if you manually update the caches) Generated from method MR::ObjectLabel::setDirtyFlags.

Calls MR_ObjectLabel_setDirtyFlags().

◆ setFontHeight()

void meshlib.ObjectLabel.setFontHeight ( float size)

sets size of label font in pixels Generated from method MR::ObjectLabel::setFontHeight.

Calls MR_ObjectLabel_setFontHeight().

◆ setFontPath()

void meshlib.ObjectLabel.setFontPath ( java.lang.String pathToFont)

sets path to font file Generated from method MR::ObjectLabel::setFontPath.

Calls MR_ObjectLabel_setFontPath().

◆ setFrontColor()

void meshlib.ObjectLabel.setFrontColor ( meshlib.Color color,
boolean selected,
meshlib.ViewportId viewportId )

sets color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR::ObjectLabel::setFrontColor.

Calls MR_ObjectLabel_setFrontColor().

◆ setFrontColorsForAllViewports()

void meshlib.ObjectLabel.setFrontColorsForAllViewports ( meshlib.ViewportProperty_MR_Color val,
java.lang.Boolean selected )

sets color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::ObjectLabel::setFrontColorsForAllViewports.

Calls MR_ObjectLabel_setFrontColorsForAllViewports().

◆ setGlobalAlpha()

void meshlib.ObjectLabel.setGlobalAlpha ( byte alpha,
meshlib.ViewportId viewportId )

sets global transparency alpha of object in given viewport Generated from method MR::ObjectLabel::setGlobalAlpha.

Calls MR_ObjectLabel_setGlobalAlpha().

◆ setGlobalAlphaForAllViewports()

void meshlib.ObjectLabel.setGlobalAlphaForAllViewports ( meshlib.ViewportProperty_unsigned_char val)

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

Calls MR_ObjectLabel_setGlobalAlphaForAllViewports().

◆ setGlobalClippedByPlane()

void meshlib.ObjectLabel.setGlobalClippedByPlane ( boolean on,
meshlib.ViewportMask viewportMask )

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::ObjectLabel::setGlobalClippedByPlane.

Calls MR_ObjectLabel_setGlobalClippedByPlane().

◆ setGlobalVisibility()

void meshlib.ObjectLabel.setGlobalVisibility ( boolean on,
meshlib.ViewportMask viewportMask )

if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectLabel::setGlobalVisibility.

Calls MR_ObjectLabel_setGlobalVisibility().

◆ setLabel()

void meshlib.ObjectLabel.setLabel ( meshlib.PositionedText label)

sets text and position of label Generated from method MR::ObjectLabel::setLabel.

Calls MR_ObjectLabel_setLabel().

◆ setLeaderLineColor()

void meshlib.ObjectLabel.setLeaderLineColor ( meshlib.Color color,
meshlib.ViewportId id )

sets color of leader line Generated from method MR::ObjectLabel::setLeaderLineColor.

Calls MR_ObjectLabel_setLeaderLineColor().

◆ setLeaderLineColorsForAllViewports()

void meshlib.ObjectLabel.setLeaderLineColorsForAllViewports ( meshlib.ViewportProperty_MR_Color val)

Generated from method MR::ObjectLabel::setLeaderLineColorsForAllViewports.

Calls MR_ObjectLabel_setLeaderLineColorsForAllViewports().

◆ setLeaderLineWidth()

void meshlib.ObjectLabel.setLeaderLineWidth ( float width)

sets width of leader line in pixels Generated from method MR::ObjectLabel::setLeaderLineWidth.

Calls MR_ObjectLabel_setLeaderLineWidth().

◆ setLocked()

void meshlib.ObjectLabel.setLocked ( boolean on)

Generated from method MR::ObjectLabel::setLocked.

Calls MR_ObjectLabel_setLocked().

◆ setName()

void meshlib.ObjectLabel.setName ( java.lang.String name)

Generated from method MR::ObjectLabel::setName.

Calls MR_ObjectLabel_setName().

◆ setParentLocked()

void meshlib.ObjectLabel.setParentLocked ( boolean lock)

Generated from method MR::ObjectLabel::setParentLocked.

Calls MR_ObjectLabel_setParentLocked().

◆ setPickable()

void meshlib.ObjectLabel.setPickable ( boolean on,
meshlib.ViewportMask viewportMask )

sets the object as can/cannot be picked (by mouse) in all of given viewports Generated from method MR::ObjectLabel::setPickable.

Calls MR_ObjectLabel_setPickable().

◆ setPivotPoint()

void meshlib.ObjectLabel.setPivotPoint ( meshlib.Vector2f pivotPoint)

set pivot point

Parameters
pivotPoint- text location parameter of relative to text position point [0, 0] - text position point is left-down corner of text [1, 1] - text position point is right-up corner can be outside range [0, 0] - [1, 1] Generated from method MR::ObjectLabel::setPivotPoint.

Calls MR_ObjectLabel_setPivotPoint().

◆ setShininess()

void meshlib.ObjectLabel.setShininess ( float shininess)

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

Calls MR_ObjectLabel_setShininess().

◆ setSourcePointColor()

void meshlib.ObjectLabel.setSourcePointColor ( meshlib.Color color,
meshlib.ViewportId id )

sets color of source point Generated from method MR::ObjectLabel::setSourcePointColor.

Calls MR_ObjectLabel_setSourcePointColor().

◆ setSourcePointColorsForAllViewports()

void meshlib.ObjectLabel.setSourcePointColorsForAllViewports ( meshlib.ViewportProperty_MR_Color val)

Generated from method MR::ObjectLabel::setSourcePointColorsForAllViewports.

Calls MR_ObjectLabel_setSourcePointColorsForAllViewports().

◆ setSourcePointSize()

void meshlib.ObjectLabel.setSourcePointSize ( float size)

sets size of source point in pixels Generated from method MR::ObjectLabel::setSourcePointSize.

Calls MR_ObjectLabel_setSourcePointSize().

◆ setSpecularStrength()

void meshlib.ObjectLabel.setSpecularStrength ( float specularStrength)

sets intensity of reflections Generated from method MR::ObjectLabel::setSpecularStrength.

Calls MR_ObjectLabel_setSpecularStrength().

◆ setUseDefaultScenePropertiesOnDeserialization()

void meshlib.ObjectLabel.setUseDefaultScenePropertiesOnDeserialization ( boolean 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::ObjectLabel::setUseDefaultScenePropertiesOnDeserialization.

Calls MR_ObjectLabel_setUseDefaultScenePropertiesOnDeserialization().

◆ setVisibilityMask()

void meshlib.ObjectLabel.setVisibilityMask ( meshlib.ViewportMask viewportMask)

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

Calls MR_ObjectLabel_setVisibilityMask().

◆ setVisible()

void meshlib.ObjectLabel.setVisible ( boolean on,
meshlib.ViewportMask viewportMask )

sets the object visible in the viewports specified by the mask (by default in all viewports) Generated from method MR::ObjectLabel::setVisible.

Calls MR_ObjectLabel_setVisible().

◆ setVisualizeProperty()

void meshlib.ObjectLabel.setVisualizeProperty ( boolean value,
meshlib.AnyVisualizeMaskEnum type,
meshlib.ViewportMask viewportMask )

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

Calls MR_ObjectLabel_setVisualizeProperty().

◆ setVisualizePropertyMask()

void meshlib.ObjectLabel.setVisualizePropertyMask ( meshlib.AnyVisualizeMaskEnum type,
meshlib.ViewportMask viewportMask )

set visual property mask Generated from method MR::ObjectLabel::setVisualizePropertyMask.

Calls MR_ObjectLabel_setVisualizePropertyMask().

◆ setWorldXf()

void meshlib.ObjectLabel.setWorldXf ( meshlib.AffineXf3f xf,
meshlib.ViewportId id )

Generated from method MR::ObjectLabel::setWorldXf.

Calls MR_ObjectLabel_setWorldXf().

◆ setXf()

void meshlib.ObjectLabel.setXf ( meshlib.AffineXf3f xf,
meshlib.ViewportId id )

Generated from method MR::ObjectLabel::setXf.

Calls MR_ObjectLabel_setXf().

◆ setXfsForAllViewports()

void meshlib.ObjectLabel.setXfsForAllViewports ( meshlib.ViewportProperty_MR_AffineXf3f xf)

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

Calls MR_ObjectLabel_setXfsForAllViewports().

◆ shallowClone()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectLabel.shallowClone ( )

Generated from method MR::ObjectLabel::shallowClone.

Calls MR_ObjectLabel_shallowClone().

◆ shallowCloneTree()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectLabel.shallowCloneTree ( )

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

Calls MR_ObjectLabel_shallowCloneTree().

◆ sortChildren()

void meshlib.ObjectLabel.sortChildren ( )

sort recognized children by name Generated from method MR::ObjectLabel::sortChildren.

Calls MR_ObjectLabel_sortChildren().

◆ StaticClassName()

java.lang.Byte meshlib.ObjectLabel.StaticClassName ( )
static

Generated from method MR::ObjectLabel::StaticClassName.

Calls MR_ObjectLabel_StaticClassName().

◆ StaticClassNameInPlural()

java.lang.Byte meshlib.ObjectLabel.StaticClassNameInPlural ( )
static

Generated from method MR::ObjectLabel::StaticClassNameInPlural.

Calls MR_ObjectLabel_StaticClassNameInPlural().

◆ staticDowncastFromObject()

meshlib.ObjectLabel meshlib.ObjectLabel.staticDowncastFromObject ( meshlib.Object object)
static

Static downcast from the base class MR::Object. Undefined behavior if the object isn't actually a ObjectLabel. The result refers to object.

Calls MR_ObjectLabel_MutableStaticDowncastFrom_MR_Object().

◆ staticDowncastFromObjectChildrenHolder()

meshlib.ObjectLabel meshlib.ObjectLabel.staticDowncastFromObjectChildrenHolder ( meshlib.ObjectChildrenHolder object)
static

Static downcast from the base class MR::ObjectChildrenHolder. Undefined behavior if the object isn't actually a ObjectLabel. The result refers to object.

Calls MR_ObjectLabel_MutableStaticDowncastFrom_MR_ObjectChildrenHolder().

◆ staticDowncastFromVisualObject()

meshlib.ObjectLabel meshlib.ObjectLabel.staticDowncastFromVisualObject ( meshlib.VisualObject object)
static

Static downcast from the base class MR::VisualObject. Undefined behavior if the object isn't actually a ObjectLabel. The result refers to object.

Calls MR_ObjectLabel_MutableStaticDowncastFrom_MR_VisualObject().

◆ StaticTypeName()

java.lang.Byte meshlib.ObjectLabel.StaticTypeName ( )
static

Generated from method MR::ObjectLabel::StaticTypeName.

Calls MR_ObjectLabel_StaticTypeName().

◆ supportsVisualizeProperty()

boolean meshlib.ObjectLabel.supportsVisualizeProperty ( meshlib.AnyVisualizeMaskEnum type)

Returns true if this class supports the property type. Otherwise passing it to the functions below is illegal. Generated from method MR::ObjectLabel::supportsVisualizeProperty.

Calls MR_ObjectLabel_supportsVisualizeProperty().

◆ swap()

void meshlib.ObjectLabel.swap ( meshlib.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::ObjectLabel::swap.

Calls MR_ObjectLabel_swap().

◆ tags()

meshlib.std_set_std_string meshlib.ObjectLabel.tags ( )

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

Calls MR_ObjectLabel_tags().

◆ toggleVisualizeProperty()

void meshlib.ObjectLabel.toggleVisualizeProperty ( meshlib.AnyVisualizeMaskEnum type,
meshlib.ViewportMask viewportMask )

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

Calls MR_ObjectLabel_toggleVisualizeProperty().

◆ typeName()

java.lang.Byte meshlib.ObjectLabel.typeName ( )

Generated from method MR::ObjectLabel::typeName.

Calls MR_ObjectLabel_typeName().

◆ upcastToObject()

meshlib.Object meshlib.ObjectLabel.upcastToObject ( )

Upcasts to the base class MR::Object. The result refers to this object.

Calls MR_ObjectLabel_MutableUpcastTo_MR_Object().

◆ upcastToObjectChildrenHolder()

meshlib.ObjectChildrenHolder meshlib.ObjectLabel.upcastToObjectChildrenHolder ( )

Upcasts to the base class MR::ObjectChildrenHolder. The result refers to this object.

Calls MR_ObjectLabel_MutableUpcastTo_MR_ObjectChildrenHolder().

◆ upcastToVisualObject()

meshlib.VisualObject meshlib.ObjectLabel.upcastToVisualObject ( )

Upcasts to the base class MR::VisualObject. The result refers to this object.

Calls MR_ObjectLabel_MutableUpcastTo_MR_VisualObject().

◆ useDefaultScenePropertiesOnDeserialization()

boolean meshlib.ObjectLabel.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::ObjectLabel::useDefaultScenePropertiesOnDeserialization.

Calls MR_ObjectLabel_useDefaultScenePropertiesOnDeserialization().

◆ visibilityMask()

meshlib.ViewportMask meshlib.ObjectLabel.visibilityMask ( )

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

Calls MR_ObjectLabel_visibilityMask().

◆ worldXf()

meshlib.AffineXf3f meshlib.ObjectLabel.worldXf ( meshlib.ViewportId id,
meshlib.bool_output isDef )

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::ObjectLabel::worldXf.

Calls MR_ObjectLabel_worldXf().

◆ xf()

meshlib.AffineXf3f meshlib.ObjectLabel.xf ( meshlib.ViewportId id,
meshlib.bool_output isDef )

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::ObjectLabel::xf.

Calls MR_ObjectLabel_xf().

◆ xfsForAllViewports()

meshlib.ViewportProperty_MR_AffineXf3f meshlib.ObjectLabel.xfsForAllViewports ( )

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

Calls MR_ObjectLabel_xfsForAllViewports().


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