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

Public Member Functions

 ObjectGcode (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ObjectGcode ()
 ObjectGcode (meshlib.ObjectGcode _other)
meshlib.ObjectGcode assignFromAnother (meshlib.ObjectGcode _other)
java.lang.Byte typeName ()
meshlib.std_string className ()
meshlib.std_string classNameInPlural ()
meshlib.std_shared_ptr_MR_Object clone_2 ()
meshlib.std_shared_ptr_MR_Object shallowClone ()
void setCNCMachineSettings (meshlib.CNCMachineSettings cncSettings)
meshlib.CNCMachineSettings getCNCMachineSettings ()
void setGcodeSource (meshlib.std_shared_ptr_std_vector_std_string gcodeSource)
meshlib.std_shared_ptr_std_vector_std_string gcodeSource ()
meshlib.std_vector_MR_GcodeProcessor_MoveAction actionList ()
meshlib.std_vector_int segmentToSourceLineMap ()
void setDirtyFlags (int mask, java.lang.Boolean invalidateCaches)
meshlib.std_vector_std_string getInfoLines ()
void switchFeedrateGradient (boolean isFeedrateGradientEnabled)
boolean isFeedrateGradient ()
void setIdleColor (meshlib.Color color)
meshlib.Color getIdleColor ()
boolean select (boolean isSelected)
void setFrontColor (meshlib.Color color, boolean selected, meshlib.ViewportId viewportId)
long heapBytes ()
void applyScale (float scaleFactor)
boolean hasVisualRepresentation ()
boolean hasModel ()
meshlib.Polyline3 varPolylinePtr ()
meshlib.Polyline3 polylinePtr ()
meshlib.std_shared_ptr_const_MR_Polyline3 polyline ()
void setDashPattern (meshlib.Vector4_unsigned_char pattern, meshlib.ViewportId vpId)
meshlib.Vector4_unsigned_char getDashPattern (meshlib.ViewportId vpId, meshlib.bool_output isDef)
void setLineWidth (float width)
float getLineWidth ()
void setPointSize (float size)
float getPointSize ()
meshlib.VertColors getVertsColorMap ()
void setVertsColorMap (meshlib.VertColors vertsColorMap)
void updateVertsColorMap (meshlib.VertColors vertsColorMap)
meshlib.UndirectedEdgeColors getLinesColorMap ()
void setLinesColorMap (meshlib.UndirectedEdgeColors linesColorMap)
void updateLinesColorMap (meshlib.UndirectedEdgeColors updated)
boolean supportsVisualizeProperty (meshlib.AnyVisualizeMaskEnum type)
meshlib.std_vector_MR_ViewportMask getAllVisualizeProperties ()
meshlib.ViewportMask getVisualizePropertyMask (meshlib.AnyVisualizeMaskEnum type)
void copyColors (meshlib.ObjectLinesHolder src, meshlib.VertMap thisToSrc)
meshlib.Box3f getWorldBox (meshlib.ViewportId _1)
float avgEdgeLen ()
long numUndirectedEdges ()
long numComponents ()
float totalLength ()
void resetFrontColor ()
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)
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)
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)
boolean useDefaultScenePropertiesOnDeserialization ()
void setUseDefaultScenePropertiesOnDeserialization (boolean useDefaultScenePropertiesOnDeserialization)
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 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)
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 ()
meshlib.ObjectLinesHolder upcastToObjectLinesHolder ()
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.ObjectGcode staticDowncastFromObjectChildrenHolder (meshlib.ObjectChildrenHolder object)
static meshlib.ObjectGcode staticDowncastFromObject (meshlib.Object object)
static meshlib.ObjectGcode dynamicDowncastFromObject (meshlib.Object object)
static meshlib.ObjectGcode staticDowncastFromVisualObject (meshlib.VisualObject object)
static meshlib.ObjectGcode dynamicDowncastFromVisualObject (meshlib.VisualObject object)
static meshlib.ObjectGcode staticDowncastFromObjectLinesHolder (meshlib.ObjectLinesHolder object)
static meshlib.ObjectGcode dynamicDowncastFromObjectLinesHolder (meshlib.ObjectLinesHolder 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

an object that stores a g-code Generated from class MR::ObjectGcode. Base classes: Direct: (non-virtual) MR::ObjectLinesHolder Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object MR::VisualObject

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

Constructor & Destructor Documentation

◆ ObjectGcode() [1/3]

meshlib.ObjectGcode.ObjectGcode ( 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.

◆ ObjectGcode() [2/3]

meshlib.ObjectGcode.ObjectGcode ( )

Constructs an empty (default-constructed) instance.

Calls MR_ObjectGcode_DefaultConstruct().

◆ ObjectGcode() [3/3]

meshlib.ObjectGcode.ObjectGcode ( meshlib.ObjectGcode _other)

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

Calls MR_ObjectGcode_ConstructFromAnother().

Member Function Documentation

◆ actionList()

meshlib.std_vector_MR_GcodeProcessor_MoveAction meshlib.ObjectGcode.actionList ( )

get action list (produced from g-code source) Generated from method MR::ObjectGcode::actionList.

Calls MR_ObjectGcode_actionList().

◆ addChild()

boolean meshlib.ObjectGcode.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::ObjectGcode::addChild.

Calls MR_ObjectGcode_addChild().

◆ addChildBefore()

boolean meshlib.ObjectGcode.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::ObjectGcode::addChildBefore.

Calls MR_ObjectGcode_addChildBefore().

◆ addTag()

boolean meshlib.ObjectGcode.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::ObjectGcode::addTag.

Calls MR_ObjectGcode_addTag().

◆ applyScale()

void meshlib.ObjectGcode.applyScale ( float scaleFactor)

Generated from method MR::ObjectGcode::applyScale.

Calls MR_ObjectGcode_applyScale().

◆ assignFromAnother()

meshlib.ObjectGcode meshlib.ObjectGcode.assignFromAnother ( meshlib.ObjectGcode _other)

Generated from method MR::ObjectGcode::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_ObjectGcode_AssignFromAnother().

◆ avgEdgeLen()

float meshlib.ObjectGcode.avgEdgeLen ( )

returns cached average edge length Generated from method MR::ObjectGcode::avgEdgeLen.

Calls MR_ObjectGcode_avgEdgeLen().

◆ className()

meshlib.std_string meshlib.ObjectGcode.className ( )

Generated from method MR::ObjectGcode::className.

Calls MR_ObjectGcode_className().

◆ classNameInPlural()

meshlib.std_string meshlib.ObjectGcode.classNameInPlural ( )

Generated from method MR::ObjectGcode::classNameInPlural.

Calls MR_ObjectGcode_classNameInPlural().

◆ clone_2()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectGcode.clone_2 ( )

Generated from method MR::ObjectGcode::clone.

Calls MR_ObjectGcode_clone().

◆ cloneTree()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectGcode.cloneTree ( )

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

Calls MR_ObjectGcode_cloneTree().

◆ constChildren()

meshlib.ConstChildren meshlib.ObjectGcode.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::ObjectGcode::constChildren.

Calls MR_ObjectGcode_constChildren().

◆ copyAllSolidColors()

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

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

Calls MR_ObjectGcode_copyAllSolidColors().

◆ copyColors()

void meshlib.ObjectGcode.copyColors ( meshlib.ObjectLinesHolder src,
meshlib.VertMap thisToSrc )

copies vertex colors from given source object

Parameters
srcusing given map
thisToSrcGenerated from method MR::ObjectGcode::copyColors.

Calls MR_ObjectGcode_copyColors().

◆ detachFromParent()

boolean meshlib.ObjectGcode.detachFromParent ( )

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

Calls MR_ObjectGcode_detachFromParent().

◆ dynamicDowncastFromObject()

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

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

Calls MR_ObjectGcode_MutableDynamicDowncastFrom_MR_Object().

◆ dynamicDowncastFromObjectLinesHolder()

meshlib.ObjectGcode meshlib.ObjectGcode.dynamicDowncastFromObjectLinesHolder ( meshlib.ObjectLinesHolder object)
static

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

Calls MR_ObjectGcode_MutableDynamicDowncastFrom_MR_ObjectLinesHolder().

◆ dynamicDowncastFromVisualObject()

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

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

Calls MR_ObjectGcode_MutableDynamicDowncastFrom_MR_VisualObject().

◆ gcodeSource()

meshlib.std_shared_ptr_std_vector_std_string meshlib.ObjectGcode.gcodeSource ( )

Generated from method MR::ObjectGcode::gcodeSource.

Calls MR_ObjectGcode_gcodeSource().

◆ getAllVisualizeProperties()

meshlib.std_vector_MR_ViewportMask meshlib.ObjectGcode.getAllVisualizeProperties ( )

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

Calls MR_ObjectGcode_getAllVisualizeProperties().

◆ getAmbientStrength()

float meshlib.ObjectGcode.getAmbientStrength ( )

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

Calls MR_ObjectGcode_getAmbientStrength().

◆ getBackColor()

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

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

Calls MR_ObjectGcode_getBackColor().

◆ getBackColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectGcode.getBackColorsForAllViewports ( )

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

Calls MR_ObjectGcode_getBackColorsForAllViewports().

◆ getBoundingBox()

meshlib.Box3f meshlib.ObjectGcode.getBoundingBox ( )

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

Calls MR_ObjectGcode_getBoundingBox().

◆ getCNCMachineSettings()

meshlib.CNCMachineSettings meshlib.ObjectGcode.getCNCMachineSettings ( )

Generated from method MR::ObjectGcode::getCNCMachineSettings.

Calls MR_ObjectGcode_getCNCMachineSettings().

◆ getColoringType()

meshlib.ColoringType meshlib.ObjectGcode.getColoringType ( )

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

Calls MR_ObjectGcode_getColoringType().

◆ getDashPattern()

meshlib.Vector4_unsigned_char meshlib.ObjectGcode.getDashPattern ( meshlib.ViewportId vpId,
meshlib.bool_output isDef )

Generated from method MR::ObjectGcode::getDashPattern.

Calls MR_ObjectGcode_getDashPattern().

◆ getDirtyFlags()

int meshlib.ObjectGcode.getDirtyFlags ( )

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

Calls MR_ObjectGcode_getDirtyFlags().

◆ getFrontColor()

meshlib.Color meshlib.ObjectGcode.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::ObjectGcode::getFrontColor.

Calls MR_ObjectGcode_getFrontColor().

◆ getFrontColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectGcode.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::ObjectGcode::getFrontColorsForAllViewports.

Calls MR_ObjectGcode_getFrontColorsForAllViewports().

◆ getGlobalAlpha()

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

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

Calls MR_ObjectGcode_getGlobalAlpha().

◆ getGlobalAlphaForAllViewports()

meshlib.ViewportProperty_unsigned_char meshlib.ObjectGcode.getGlobalAlphaForAllViewports ( )

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

Calls MR_ObjectGcode_getGlobalAlphaForAllViewports().

◆ getIdleColor()

meshlib.Color meshlib.ObjectGcode.getIdleColor ( )

Generated from method MR::ObjectGcode::getIdleColor.

Calls MR_ObjectGcode_getIdleColor().

◆ getInfoLines()

meshlib.std_vector_std_string meshlib.ObjectGcode.getInfoLines ( )

Generated from method MR::ObjectGcode::getInfoLines.

Calls MR_ObjectGcode_getInfoLines().

◆ getLinesColorMap()

meshlib.UndirectedEdgeColors meshlib.ObjectGcode.getLinesColorMap ( )

Generated from method MR::ObjectGcode::getLinesColorMap.

Calls MR_ObjectGcode_getLinesColorMap().

◆ getLineWidth()

float meshlib.ObjectGcode.getLineWidth ( )

Generated from method MR::ObjectGcode::getLineWidth.

Calls MR_ObjectGcode_getLineWidth().

◆ getModelHash()

long meshlib.ObjectGcode.getModelHash ( )

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

Calls MR_ObjectGcode_getModelHash().

◆ getPointSize()

float meshlib.ObjectGcode.getPointSize ( )

Generated from method MR::ObjectGcode::getPointSize.

Calls MR_ObjectGcode_getPointSize().

◆ getRedrawFlag()

boolean meshlib.ObjectGcode.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::ObjectGcode::getRedrawFlag.

Calls MR_ObjectGcode_getRedrawFlag().

◆ getSharedPtr()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectGcode.getSharedPtr ( )

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

Calls MR_ObjectGcode_getSharedPtr().

◆ getShininess()

float meshlib.ObjectGcode.getShininess ( )

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

Calls MR_ObjectGcode_getShininess().

◆ getSpecularStrength()

float meshlib.ObjectGcode.getSpecularStrength ( )

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

Calls MR_ObjectGcode_getSpecularStrength().

◆ getVertsColorMap()

meshlib.VertColors meshlib.ObjectGcode.getVertsColorMap ( )

returns per-vertex colors of the object Generated from method MR::ObjectGcode::getVertsColorMap.

Calls MR_ObjectGcode_getVertsColorMap().

◆ getVisualizeProperty()

boolean meshlib.ObjectGcode.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::ObjectGcode::getVisualizeProperty.

Calls MR_ObjectGcode_getVisualizeProperty().

◆ getVisualizePropertyMask()

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

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

Calls MR_ObjectGcode_getVisualizePropertyMask().

◆ getWorldBox()

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

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

Calls MR_ObjectGcode_getWorldBox().

◆ getWorldTreeBox()

meshlib.Box3f meshlib.ObjectGcode.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::ObjectGcode::getWorldTreeBox.

Calls MR_ObjectGcode_getWorldTreeBox().

◆ globalClippedByPlane()

boolean meshlib.ObjectGcode.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::ObjectGcode::globalClippedByPlane.

Calls MR_ObjectGcode_globalClippedByPlane().

◆ globalClippedByPlaneMask()

meshlib.ViewportMask meshlib.ObjectGcode.globalClippedByPlaneMask ( )

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

Calls MR_ObjectGcode_globalClippedByPlaneMask().

◆ globalVisibility()

boolean meshlib.ObjectGcode.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::ObjectGcode::globalVisibility.

Calls MR_ObjectGcode_globalVisibility().

◆ globalVisibilityMask()

meshlib.ViewportMask meshlib.ObjectGcode.globalVisibilityMask ( )

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

Calls MR_ObjectGcode_globalVisibilityMask().

◆ hasModel()

boolean meshlib.ObjectGcode.hasModel ( )

Generated from method MR::ObjectGcode::hasModel.

Calls MR_ObjectGcode_hasModel().

◆ hasVisualRepresentation()

boolean meshlib.ObjectGcode.hasVisualRepresentation ( )

Generated from method MR::ObjectGcode::hasVisualRepresentation.

Calls MR_ObjectGcode_hasVisualRepresentation().

◆ heapBytes()

long meshlib.ObjectGcode.heapBytes ( )

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

Calls MR_ObjectGcode_heapBytes().

◆ isAncestor()

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

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

Calls MR_ObjectGcode_isAncestor().

◆ isAncillary()

boolean meshlib.ObjectGcode.isAncillary ( )

Generated from method MR::ObjectGcode::isAncillary.

Calls MR_ObjectGcode_isAncillary().

◆ isFeedrateGradient()

boolean meshlib.ObjectGcode.isFeedrateGradient ( )

Generated from method MR::ObjectGcode::isFeedrateGradient.

Calls MR_ObjectGcode_isFeedrateGradient().

◆ isGlobalAncillary()

boolean meshlib.ObjectGcode.isGlobalAncillary ( )

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

Calls MR_ObjectGcode_isGlobalAncillary().

◆ isLocked()

boolean meshlib.ObjectGcode.isLocked ( )

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

Calls MR_ObjectGcode_isLocked().

◆ isParentLocked()

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

Calls MR_ObjectGcode_isParentLocked().

◆ isPickable()

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

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

Calls MR_ObjectGcode_isPickable().

◆ isSelected()

boolean meshlib.ObjectGcode.isSelected ( )

Generated from method MR::ObjectGcode::isSelected.

Calls MR_ObjectGcode_isSelected().

◆ isVisible()

boolean meshlib.ObjectGcode.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::ObjectGcode::isVisible.

Calls MR_ObjectGcode_isVisible().

◆ name()

meshlib.std_string meshlib.ObjectGcode.name ( )

Generated from method MR::ObjectGcode::name.

Calls MR_ObjectGcode_name().

◆ numComponents()

long meshlib.ObjectGcode.numComponents ( )

returns cached information about the number of components in the polyline Generated from method MR::ObjectGcode::numComponents.

Calls MR_ObjectGcode_numComponents().

◆ numUndirectedEdges()

long meshlib.ObjectGcode.numUndirectedEdges ( )

returns cached information about the number of undirected edges in the polyline Generated from method MR::ObjectGcode::numUndirectedEdges.

Calls MR_ObjectGcode_numUndirectedEdges().

◆ polyline()

meshlib.std_shared_ptr_const_MR_Polyline3 meshlib.ObjectGcode.polyline ( )
Deprecated
the cast inside is undefined behaviour, use polylinePtr() instead Generated from method MR::ObjectGcode::polyline.

Calls MR_ObjectGcode_polyline().

◆ polylinePtr()

meshlib.Polyline3 meshlib.ObjectGcode.polylinePtr ( )

returns the polyline of this object, or nullptr if it is not set Generated from method MR::ObjectGcode::polylinePtr.

Calls MR_ObjectGcode_polylinePtr().

◆ removeAllChildren()

void meshlib.ObjectGcode.removeAllChildren ( )

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

Calls MR_ObjectGcode_removeAllChildren().

◆ removeTag()

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

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

Calls MR_ObjectGcode_removeTag().

◆ render()

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

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

Calls MR_ObjectGcode_render().

◆ renderForPicker()

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

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

Calls MR_ObjectGcode_renderForPicker().

◆ renderUi()

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

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

Calls MR_ObjectGcode_renderUi().

◆ resetColors()

void meshlib.ObjectGcode.resetColors ( )

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

Calls MR_ObjectGcode_resetColors().

◆ resetDirty()

void meshlib.ObjectGcode.resetDirty ( )

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

Calls MR_ObjectGcode_resetDirty().

◆ resetDirtyExceptMask()

void meshlib.ObjectGcode.resetDirtyExceptMask ( int mask)

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

Calls MR_ObjectGcode_resetDirtyExceptMask().

◆ resetFrontColor()

void meshlib.ObjectGcode.resetFrontColor ( )

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

Calls MR_ObjectGcode_resetFrontColor().

◆ resetRedrawFlag()

void meshlib.ObjectGcode.resetRedrawFlag ( )

Generated from method MR::ObjectGcode::resetRedrawFlag.

Calls MR_ObjectGcode_resetRedrawFlag().

◆ resetXf()

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

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

Calls MR_ObjectGcode_resetXf().

◆ sameModels()

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

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

Calls MR_ObjectGcode_sameModels().

◆ segmentToSourceLineMap()

meshlib.std_vector_int meshlib.ObjectGcode.segmentToSourceLineMap ( )

get mapping of tool path polyline segment id to source line number of g-code source Generated from method MR::ObjectGcode::segmentToSourceLineMap.

Calls MR_ObjectGcode_segmentToSourceLineMap().

◆ select()

boolean meshlib.ObjectGcode.select ( boolean isSelected)

Generated from method MR::ObjectGcode::select.

Calls MR_ObjectGcode_select().

◆ setAllVisualizeProperties()

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

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

Calls MR_ObjectGcode_setAllVisualizeProperties().

◆ setAmbientStrength()

void meshlib.ObjectGcode.setAmbientStrength ( float ambientStrength)

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

Calls MR_ObjectGcode_setAmbientStrength().

◆ setAncillary()

void meshlib.ObjectGcode.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::ObjectGcode::setAncillary.

Calls MR_ObjectGcode_setAncillary().

◆ setBackColor()

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

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

Calls MR_ObjectGcode_setBackColor().

◆ setBackColorsForAllViewports()

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

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

Calls MR_ObjectGcode_setBackColorsForAllViewports().

◆ setCNCMachineSettings()

void meshlib.ObjectGcode.setCNCMachineSettings ( meshlib.CNCMachineSettings cncSettings)

Generated from method MR::ObjectGcode::setCNCMachineSettings.

Calls MR_ObjectGcode_setCNCMachineSettings().

◆ setColoringType()

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

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

Calls MR_ObjectGcode_setColoringType().

◆ setDashPattern()

void meshlib.ObjectGcode.setDashPattern ( meshlib.Vector4_unsigned_char pattern,
meshlib.ViewportId vpId )

specify dash pattern in pixels [0] - dash [1] - space [2] - dash [3] - space Generated from method MR::ObjectGcode::setDashPattern.

Calls MR_ObjectGcode_setDashPattern().

◆ setDirtyFlags()

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

Generated from method MR::ObjectGcode::setDirtyFlags.

Calls MR_ObjectGcode_setDirtyFlags().

◆ setFrontColor()

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

Generated from method MR::ObjectGcode::setFrontColor.

Calls MR_ObjectGcode_setFrontColor().

◆ setFrontColorsForAllViewports()

void meshlib.ObjectGcode.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::ObjectGcode::setFrontColorsForAllViewports.

Calls MR_ObjectGcode_setFrontColorsForAllViewports().

◆ setGcodeSource()

void meshlib.ObjectGcode.setGcodeSource ( meshlib.std_shared_ptr_std_vector_std_string gcodeSource)

Generated from method MR::ObjectGcode::setGcodeSource.

Calls MR_ObjectGcode_setGcodeSource().

◆ setGlobalAlpha()

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

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

Calls MR_ObjectGcode_setGlobalAlpha().

◆ setGlobalAlphaForAllViewports()

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

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

Calls MR_ObjectGcode_setGlobalAlphaForAllViewports().

◆ setGlobalClippedByPlane()

void meshlib.ObjectGcode.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::ObjectGcode::setGlobalClippedByPlane.

Calls MR_ObjectGcode_setGlobalClippedByPlane().

◆ setGlobalVisibility()

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

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

Calls MR_ObjectGcode_setGlobalVisibility().

◆ setIdleColor()

void meshlib.ObjectGcode.setIdleColor ( meshlib.Color color)

Generated from method MR::ObjectGcode::setIdleColor.

Calls MR_ObjectGcode_setIdleColor().

◆ setLinesColorMap()

void meshlib.ObjectGcode.setLinesColorMap ( meshlib.UndirectedEdgeColors linesColorMap)

Generated from method MR::ObjectGcode::setLinesColorMap.

Calls MR_ObjectGcode_setLinesColorMap().

◆ setLineWidth()

void meshlib.ObjectGcode.setLineWidth ( float width)

Generated from method MR::ObjectGcode::setLineWidth.

Calls MR_ObjectGcode_setLineWidth().

◆ setLocked()

void meshlib.ObjectGcode.setLocked ( boolean on)

Generated from method MR::ObjectGcode::setLocked.

Calls MR_ObjectGcode_setLocked().

◆ setName()

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

Generated from method MR::ObjectGcode::setName.

Calls MR_ObjectGcode_setName().

◆ setParentLocked()

void meshlib.ObjectGcode.setParentLocked ( boolean lock)

Generated from method MR::ObjectGcode::setParentLocked.

Calls MR_ObjectGcode_setParentLocked().

◆ setPickable()

void meshlib.ObjectGcode.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::ObjectGcode::setPickable.

Calls MR_ObjectGcode_setPickable().

◆ setPointSize()

void meshlib.ObjectGcode.setPointSize ( float size)

Generated from method MR::ObjectGcode::setPointSize.

Calls MR_ObjectGcode_setPointSize().

◆ setShininess()

void meshlib.ObjectGcode.setShininess ( float shininess)

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

Calls MR_ObjectGcode_setShininess().

◆ setSpecularStrength()

void meshlib.ObjectGcode.setSpecularStrength ( float specularStrength)

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

Calls MR_ObjectGcode_setSpecularStrength().

◆ setUseDefaultScenePropertiesOnDeserialization()

void meshlib.ObjectGcode.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::ObjectGcode::setUseDefaultScenePropertiesOnDeserialization.

Calls MR_ObjectGcode_setUseDefaultScenePropertiesOnDeserialization().

◆ setVertsColorMap()

void meshlib.ObjectGcode.setVertsColorMap ( meshlib.VertColors vertsColorMap)

sets per-vertex colors of the object Generated from method MR::ObjectGcode::setVertsColorMap.

Calls MR_ObjectGcode_setVertsColorMap().

◆ setVisibilityMask()

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

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

Calls MR_ObjectGcode_setVisibilityMask().

◆ setVisible()

void meshlib.ObjectGcode.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::ObjectGcode::setVisible.

Calls MR_ObjectGcode_setVisible().

◆ setVisualizeProperty()

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

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

Calls MR_ObjectGcode_setVisualizeProperty().

◆ setVisualizePropertyMask()

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

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

Calls MR_ObjectGcode_setVisualizePropertyMask().

◆ setWorldXf()

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

Generated from method MR::ObjectGcode::setWorldXf.

Calls MR_ObjectGcode_setWorldXf().

◆ setXf()

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

Generated from method MR::ObjectGcode::setXf.

Calls MR_ObjectGcode_setXf().

◆ setXfsForAllViewports()

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

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

Calls MR_ObjectGcode_setXfsForAllViewports().

◆ shallowClone()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectGcode.shallowClone ( )

Generated from method MR::ObjectGcode::shallowClone.

Calls MR_ObjectGcode_shallowClone().

◆ shallowCloneTree()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectGcode.shallowCloneTree ( )

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

Calls MR_ObjectGcode_shallowCloneTree().

◆ sortChildren()

void meshlib.ObjectGcode.sortChildren ( )

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

Calls MR_ObjectGcode_sortChildren().

◆ StaticClassName()

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

Generated from method MR::ObjectGcode::StaticClassName.

Calls MR_ObjectGcode_StaticClassName().

◆ StaticClassNameInPlural()

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

Generated from method MR::ObjectGcode::StaticClassNameInPlural.

Calls MR_ObjectGcode_StaticClassNameInPlural().

◆ staticDowncastFromObject()

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

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

Calls MR_ObjectGcode_MutableStaticDowncastFrom_MR_Object().

◆ staticDowncastFromObjectChildrenHolder()

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

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

Calls MR_ObjectGcode_MutableStaticDowncastFrom_MR_ObjectChildrenHolder().

◆ staticDowncastFromObjectLinesHolder()

meshlib.ObjectGcode meshlib.ObjectGcode.staticDowncastFromObjectLinesHolder ( meshlib.ObjectLinesHolder object)
static

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

Calls MR_ObjectGcode_MutableStaticDowncastFrom_MR_ObjectLinesHolder().

◆ staticDowncastFromVisualObject()

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

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

Calls MR_ObjectGcode_MutableStaticDowncastFrom_MR_VisualObject().

◆ StaticTypeName()

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

Generated from method MR::ObjectGcode::StaticTypeName.

Calls MR_ObjectGcode_StaticTypeName().

◆ supportsVisualizeProperty()

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

Generated from method MR::ObjectGcode::supportsVisualizeProperty.

Calls MR_ObjectGcode_supportsVisualizeProperty().

◆ swap()

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

Calls MR_ObjectGcode_swap().

◆ switchFeedrateGradient()

void meshlib.ObjectGcode.switchFeedrateGradient ( boolean isFeedrateGradientEnabled)

set drawing feedrate as gradient of brightness Generated from method MR::ObjectGcode::switchFeedrateGradient.

Calls MR_ObjectGcode_switchFeedrateGradient().

◆ tags()

meshlib.std_set_std_string meshlib.ObjectGcode.tags ( )

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

Calls MR_ObjectGcode_tags().

◆ toggleVisualizeProperty()

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

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

Calls MR_ObjectGcode_toggleVisualizeProperty().

◆ totalLength()

float meshlib.ObjectGcode.totalLength ( )

return cached total length Generated from method MR::ObjectGcode::totalLength.

Calls MR_ObjectGcode_totalLength().

◆ typeName()

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

Generated from method MR::ObjectGcode::typeName.

Calls MR_ObjectGcode_typeName().

◆ upcastToObject()

meshlib.Object meshlib.ObjectGcode.upcastToObject ( )

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

Calls MR_ObjectGcode_MutableUpcastTo_MR_Object().

◆ upcastToObjectChildrenHolder()

meshlib.ObjectChildrenHolder meshlib.ObjectGcode.upcastToObjectChildrenHolder ( )

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

Calls MR_ObjectGcode_MutableUpcastTo_MR_ObjectChildrenHolder().

◆ upcastToObjectLinesHolder()

meshlib.ObjectLinesHolder meshlib.ObjectGcode.upcastToObjectLinesHolder ( )

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

Calls MR_ObjectGcode_MutableUpcastTo_MR_ObjectLinesHolder().

◆ upcastToVisualObject()

meshlib.VisualObject meshlib.ObjectGcode.upcastToVisualObject ( )

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

Calls MR_ObjectGcode_MutableUpcastTo_MR_VisualObject().

◆ updateLinesColorMap()

void meshlib.ObjectGcode.updateLinesColorMap ( meshlib.UndirectedEdgeColors updated)

Generated from method MR::ObjectGcode::updateLinesColorMap.

Calls MR_ObjectGcode_updateLinesColorMap().

◆ updateVertsColorMap()

void meshlib.ObjectGcode.updateVertsColorMap ( meshlib.VertColors vertsColorMap)

swaps per-vertex colors of the object with given argument Generated from method MR::ObjectGcode::updateVertsColorMap.

Calls MR_ObjectGcode_updateVertsColorMap().

◆ useDefaultScenePropertiesOnDeserialization()

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

Calls MR_ObjectGcode_useDefaultScenePropertiesOnDeserialization().

◆ varPolylinePtr()

meshlib.Polyline3 meshlib.ObjectGcode.varPolylinePtr ( )

returns the polyline of this object for modification, or nullptr if it is not set Generated from method MR::ObjectGcode::varPolylinePtr.

Calls MR_ObjectGcode_varPolylinePtr().

◆ visibilityMask()

meshlib.ViewportMask meshlib.ObjectGcode.visibilityMask ( )

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

Calls MR_ObjectGcode_visibilityMask().

◆ worldXf()

meshlib.AffineXf3f meshlib.ObjectGcode.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::ObjectGcode::worldXf.

Calls MR_ObjectGcode_worldXf().

◆ xf()

meshlib.AffineXf3f meshlib.ObjectGcode.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::ObjectGcode::xf.

Calls MR_ObjectGcode_xf().

◆ xfsForAllViewports()

meshlib.ViewportProperty_MR_AffineXf3f meshlib.ObjectGcode.xfsForAllViewports ( )

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

Calls MR_ObjectGcode_xfsForAllViewports().


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