MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.ObjectPointsHolder Class Reference
Inheritance diagram for meshlib.ObjectPointsHolder:

Public Member Functions

 ObjectPointsHolder (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ObjectPointsHolder ()
 ObjectPointsHolder (meshlib.ObjectPointsHolder _other)
meshlib.ObjectPointsHolder assignFromAnother (meshlib.ObjectPointsHolder _other)
java.lang.Byte typeName ()
void applyScale (float scaleFactor)
boolean hasVisualRepresentation ()
boolean hasModel ()
meshlib.PointCloud varPointCloudPtr ()
meshlib.PointCloud pointCloudPtr ()
meshlib.std_shared_ptr_const_MR_PointCloud pointCloud ()
meshlib.PointCloudPart pointCloudPart ()
meshlib.std_shared_ptr_MR_Object clone_2 ()
meshlib.std_shared_ptr_MR_Object shallowClone ()
void setDirtyFlags (int mask, java.lang.Boolean invalidateCaches)
meshlib.VertBitSet getSelectedPoints ()
void selectPoints (meshlib.VertBitSet newSelection)
void updateSelectedPoints (meshlib.VertBitSet selection)
meshlib.VertBitSet getSelectedPointsOrAll ()
meshlib.Color getSelectedVerticesColor (meshlib.ViewportId id)
void setSelectedVerticesColor (meshlib.Color color, meshlib.ViewportId id)
meshlib.ViewportProperty_MR_Color getSelectedVerticesColorsForAllViewports ()
void setSelectedVerticesColorsForAllViewports (meshlib.ViewportProperty_MR_Color val)
void copyAllSolidColors (meshlib.ObjectPointsHolder other)
boolean supportsVisualizeProperty (meshlib.AnyVisualizeMaskEnum type)
meshlib.VertColors getVertsColorMap ()
void setVertsColorMap (meshlib.VertColors vertsColorMap)
void updateVertsColorMap (meshlib.VertColors vertsColorMap)
void copyColors (meshlib.ObjectPointsHolder src, meshlib.VertMap thisToSrc, meshlib.FaceMap thisToSrcFaces)
meshlib.std_vector_MR_ViewportMask getAllVisualizeProperties ()
meshlib.ViewportMask getVisualizePropertyMask (meshlib.AnyVisualizeMaskEnum type)
void setPointSize (float size)
float getPointSize ()
meshlib.Box3f getWorldBox (meshlib.ViewportId _1)
long numValidPoints ()
long numSelectedPoints ()
long heapBytes ()
int getRenderDiscretization ()
long numRenderingValidPoints ()
int getMaxRenderingPoints ()
void setMaxRenderingPoints (int val)
java.lang.Byte serializeFormat ()
void setSerializeFormat (java.lang.Byte newFormat)
void resetFrontColor ()
void resetColors ()
meshlib.std_string className ()
meshlib.std_string classNameInPlural ()
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)
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)
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)
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)
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 int MaxRenderingPointsDefault ()
static int MaxRenderingPointsUnlimited ()
static meshlib.ObjectPointsHolder staticDowncastFromObjectChildrenHolder (meshlib.ObjectChildrenHolder object)
static meshlib.ObjectPointsHolder staticDowncastFromObject (meshlib.Object object)
static meshlib.ObjectPointsHolder dynamicDowncastFromObject (meshlib.Object object)
static meshlib.ObjectPointsHolder staticDowncastFromVisualObject (meshlib.VisualObject object)
static meshlib.ObjectPointsHolder 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

an object that stores a points Generated from class MR::ObjectPointsHolder. Base classes: Direct: (non-virtual) MR::VisualObject Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object Derived classes: Direct: (non-virtual) MR::ObjectPoints

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

Constructor & Destructor Documentation

◆ ObjectPointsHolder() [1/3]

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

◆ ObjectPointsHolder() [2/3]

meshlib.ObjectPointsHolder.ObjectPointsHolder ( )

Constructs an empty (default-constructed) instance.

Calls MR_ObjectPointsHolder_DefaultConstruct().

◆ ObjectPointsHolder() [3/3]

meshlib.ObjectPointsHolder.ObjectPointsHolder ( meshlib.ObjectPointsHolder _other)

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

Calls MR_ObjectPointsHolder_ConstructFromAnother().

Member Function Documentation

◆ addChild()

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

Calls MR_ObjectPointsHolder_addChild().

◆ addChildBefore()

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

Calls MR_ObjectPointsHolder_addChildBefore().

◆ addTag()

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

Calls MR_ObjectPointsHolder_addTag().

◆ applyScale()

void meshlib.ObjectPointsHolder.applyScale ( float scaleFactor)

Generated from method MR::ObjectPointsHolder::applyScale.

Calls MR_ObjectPointsHolder_applyScale().

◆ assignFromAnother()

meshlib.ObjectPointsHolder meshlib.ObjectPointsHolder.assignFromAnother ( meshlib.ObjectPointsHolder _other)

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

◆ className()

meshlib.std_string meshlib.ObjectPointsHolder.className ( )

Generated from method MR::ObjectPointsHolder::className.

Calls MR_ObjectPointsHolder_className().

◆ classNameInPlural()

meshlib.std_string meshlib.ObjectPointsHolder.classNameInPlural ( )

Generated from method MR::ObjectPointsHolder::classNameInPlural.

Calls MR_ObjectPointsHolder_classNameInPlural().

◆ clone_2()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectPointsHolder.clone_2 ( )

Generated from method MR::ObjectPointsHolder::clone.

Calls MR_ObjectPointsHolder_clone().

◆ cloneTree()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectPointsHolder.cloneTree ( )

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

Calls MR_ObjectPointsHolder_cloneTree().

◆ constChildren()

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

Calls MR_ObjectPointsHolder_constChildren().

◆ copyAllSolidColors()

void meshlib.ObjectPointsHolder.copyAllSolidColors ( meshlib.ObjectPointsHolder other)

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

Calls MR_ObjectPointsHolder_copyAllSolidColors().

◆ copyColors()

void meshlib.ObjectPointsHolder.copyColors ( meshlib.ObjectPointsHolder src,
meshlib.VertMap thisToSrc,
meshlib.FaceMap thisToSrcFaces )

copies point colors from given source object

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

Calls MR_ObjectPointsHolder_copyColors().

◆ detachFromParent()

boolean meshlib.ObjectPointsHolder.detachFromParent ( )

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

Calls MR_ObjectPointsHolder_detachFromParent().

◆ dynamicDowncastFromObject()

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

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

Calls MR_ObjectPointsHolder_MutableDynamicDowncastFrom_MR_Object().

◆ dynamicDowncastFromVisualObject()

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

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

Calls MR_ObjectPointsHolder_MutableDynamicDowncastFrom_MR_VisualObject().

◆ getAllVisualizeProperties()

meshlib.std_vector_MR_ViewportMask meshlib.ObjectPointsHolder.getAllVisualizeProperties ( )

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

Calls MR_ObjectPointsHolder_getAllVisualizeProperties().

◆ getAmbientStrength()

float meshlib.ObjectPointsHolder.getAmbientStrength ( )

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

Calls MR_ObjectPointsHolder_getAmbientStrength().

◆ getBackColor()

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

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

Calls MR_ObjectPointsHolder_getBackColor().

◆ getBackColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectPointsHolder.getBackColorsForAllViewports ( )

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

Calls MR_ObjectPointsHolder_getBackColorsForAllViewports().

◆ getBoundingBox()

meshlib.Box3f meshlib.ObjectPointsHolder.getBoundingBox ( )

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

Calls MR_ObjectPointsHolder_getBoundingBox().

◆ getColoringType()

meshlib.ColoringType meshlib.ObjectPointsHolder.getColoringType ( )

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

Calls MR_ObjectPointsHolder_getColoringType().

◆ getDirtyFlags()

int meshlib.ObjectPointsHolder.getDirtyFlags ( )

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

Calls MR_ObjectPointsHolder_getDirtyFlags().

◆ getFrontColor()

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

Calls MR_ObjectPointsHolder_getFrontColor().

◆ getFrontColorsForAllViewports()

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

Calls MR_ObjectPointsHolder_getFrontColorsForAllViewports().

◆ getGlobalAlpha()

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

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

Calls MR_ObjectPointsHolder_getGlobalAlpha().

◆ getGlobalAlphaForAllViewports()

meshlib.ViewportProperty_unsigned_char meshlib.ObjectPointsHolder.getGlobalAlphaForAllViewports ( )

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

Calls MR_ObjectPointsHolder_getGlobalAlphaForAllViewports().

◆ getInfoLines()

meshlib.std_vector_std_string meshlib.ObjectPointsHolder.getInfoLines ( )

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

Calls MR_ObjectPointsHolder_getInfoLines().

◆ getMaxRenderingPoints()

int meshlib.ObjectPointsHolder.getMaxRenderingPoints ( )

returns maximal number of points that will be rendered if actual count of valid points is greater then the points will be sampled Generated from method MR::ObjectPointsHolder::getMaxRenderingPoints.

Calls MR_ObjectPointsHolder_getMaxRenderingPoints().

◆ getModelHash()

long meshlib.ObjectPointsHolder.getModelHash ( )

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

Calls MR_ObjectPointsHolder_getModelHash().

◆ getPointSize()

float meshlib.ObjectPointsHolder.getPointSize ( )

returns size of points on screen in pixels Generated from method MR::ObjectPointsHolder::getPointSize.

Calls MR_ObjectPointsHolder_getPointSize().

◆ getRedrawFlag()

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

Calls MR_ObjectPointsHolder_getRedrawFlag().

◆ getRenderDiscretization()

int meshlib.ObjectPointsHolder.getRenderDiscretization ( )

returns rendering discretization display each renderDiscretization-th point only, starting from 0 index, total number is numRenderingValidPoints()

defined by maximum rendered points number as: numValidPoints() / getMaxRenderingPoints() (rounded up) updated when setting maxRenderingPoints or changing the cloud (setting DIRTY_FACE flag) Generated from method MR::ObjectPointsHolder::getRenderDiscretization.

Calls MR_ObjectPointsHolder_getRenderDiscretization().

◆ getSelectedPoints()

meshlib.VertBitSet meshlib.ObjectPointsHolder.getSelectedPoints ( )

gets current selected points Generated from method MR::ObjectPointsHolder::getSelectedPoints.

Calls MR_ObjectPointsHolder_getSelectedPoints().

◆ getSelectedPointsOrAll()

meshlib.VertBitSet meshlib.ObjectPointsHolder.getSelectedPointsOrAll ( )

returns selected points if any, otherwise returns all valid points Generated from method MR::ObjectPointsHolder::getSelectedPointsOrAll.

Calls MR_ObjectPointsHolder_getSelectedPointsOrAll().

◆ getSelectedVerticesColor()

meshlib.Color meshlib.ObjectPointsHolder.getSelectedVerticesColor ( meshlib.ViewportId id)

returns colors of selected vertices Generated from method MR::ObjectPointsHolder::getSelectedVerticesColor.

Calls MR_ObjectPointsHolder_getSelectedVerticesColor().

◆ getSelectedVerticesColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectPointsHolder.getSelectedVerticesColorsForAllViewports ( )

Generated from method MR::ObjectPointsHolder::getSelectedVerticesColorsForAllViewports.

Calls MR_ObjectPointsHolder_getSelectedVerticesColorsForAllViewports().

◆ getSharedPtr()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectPointsHolder.getSharedPtr ( )

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

Calls MR_ObjectPointsHolder_getSharedPtr().

◆ getShininess()

float meshlib.ObjectPointsHolder.getShininess ( )

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

Calls MR_ObjectPointsHolder_getShininess().

◆ getSpecularStrength()

float meshlib.ObjectPointsHolder.getSpecularStrength ( )

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

Calls MR_ObjectPointsHolder_getSpecularStrength().

◆ getVertsColorMap()

meshlib.VertColors meshlib.ObjectPointsHolder.getVertsColorMap ( )

returns per-point colors of the object Generated from method MR::ObjectPointsHolder::getVertsColorMap.

Calls MR_ObjectPointsHolder_getVertsColorMap().

◆ getVisualizeProperty()

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

Calls MR_ObjectPointsHolder_getVisualizeProperty().

◆ getVisualizePropertyMask()

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

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

Calls MR_ObjectPointsHolder_getVisualizePropertyMask().

◆ getWorldBox()

meshlib.Box3f meshlib.ObjectPointsHolder.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::ObjectPointsHolder::getWorldBox.

Calls MR_ObjectPointsHolder_getWorldBox().

◆ getWorldTreeBox()

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

Calls MR_ObjectPointsHolder_getWorldTreeBox().

◆ globalClippedByPlane()

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

Calls MR_ObjectPointsHolder_globalClippedByPlane().

◆ globalClippedByPlaneMask()

meshlib.ViewportMask meshlib.ObjectPointsHolder.globalClippedByPlaneMask ( )

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

Calls MR_ObjectPointsHolder_globalClippedByPlaneMask().

◆ globalVisibility()

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

Calls MR_ObjectPointsHolder_globalVisibility().

◆ globalVisibilityMask()

meshlib.ViewportMask meshlib.ObjectPointsHolder.globalVisibilityMask ( )

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

Calls MR_ObjectPointsHolder_globalVisibilityMask().

◆ hasModel()

boolean meshlib.ObjectPointsHolder.hasModel ( )

Generated from method MR::ObjectPointsHolder::hasModel.

Calls MR_ObjectPointsHolder_hasModel().

◆ hasVisualRepresentation()

boolean meshlib.ObjectPointsHolder.hasVisualRepresentation ( )

Generated from method MR::ObjectPointsHolder::hasVisualRepresentation.

Calls MR_ObjectPointsHolder_hasVisualRepresentation().

◆ heapBytes()

long meshlib.ObjectPointsHolder.heapBytes ( )

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

Calls MR_ObjectPointsHolder_heapBytes().

◆ isAncestor()

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

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

Calls MR_ObjectPointsHolder_isAncestor().

◆ isAncillary()

boolean meshlib.ObjectPointsHolder.isAncillary ( )

Generated from method MR::ObjectPointsHolder::isAncillary.

Calls MR_ObjectPointsHolder_isAncillary().

◆ isGlobalAncillary()

boolean meshlib.ObjectPointsHolder.isGlobalAncillary ( )

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

Calls MR_ObjectPointsHolder_isGlobalAncillary().

◆ isLocked()

boolean meshlib.ObjectPointsHolder.isLocked ( )

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

Calls MR_ObjectPointsHolder_isLocked().

◆ isParentLocked()

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

Calls MR_ObjectPointsHolder_isParentLocked().

◆ isPickable()

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

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

Calls MR_ObjectPointsHolder_isPickable().

◆ isSelected()

boolean meshlib.ObjectPointsHolder.isSelected ( )

Generated from method MR::ObjectPointsHolder::isSelected.

Calls MR_ObjectPointsHolder_isSelected().

◆ isVisible()

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

Calls MR_ObjectPointsHolder_isVisible().

◆ MaxRenderingPointsDefault()

int meshlib.ObjectPointsHolder.MaxRenderingPointsDefault ( )
static

default value for maximum rendered points number Returns a pointer to a member variable of class MR::ObjectPointsHolder named MaxRenderingPointsDefault.

Calls MR_ObjectPointsHolder_Get_MaxRenderingPointsDefault().

◆ MaxRenderingPointsUnlimited()

int meshlib.ObjectPointsHolder.MaxRenderingPointsUnlimited ( )
static

recommended value for maximum rendered points number to disable discretization Returns a pointer to a member variable of class MR::ObjectPointsHolder named MaxRenderingPointsUnlimited.

Calls MR_ObjectPointsHolder_Get_MaxRenderingPointsUnlimited().

◆ name()

meshlib.std_string meshlib.ObjectPointsHolder.name ( )

Generated from method MR::ObjectPointsHolder::name.

Calls MR_ObjectPointsHolder_name().

◆ numRenderingValidPoints()

long meshlib.ObjectPointsHolder.numRenderingValidPoints ( )

returns count of valid points that will be rendered Generated from method MR::ObjectPointsHolder::numRenderingValidPoints.

Calls MR_ObjectPointsHolder_numRenderingValidPoints().

◆ numSelectedPoints()

long meshlib.ObjectPointsHolder.numSelectedPoints ( )

returns cached information about the number of selected points Generated from method MR::ObjectPointsHolder::numSelectedPoints.

Calls MR_ObjectPointsHolder_numSelectedPoints().

◆ numValidPoints()

long meshlib.ObjectPointsHolder.numValidPoints ( )

returns cached information about the number of valid points Generated from method MR::ObjectPointsHolder::numValidPoints.

Calls MR_ObjectPointsHolder_numValidPoints().

◆ pointCloud()

meshlib.std_shared_ptr_const_MR_PointCloud meshlib.ObjectPointsHolder.pointCloud ( )
Deprecated
the cast inside is undefined behaviour, use pointCloudPtr() instead Generated from method MR::ObjectPointsHolder::pointCloud.

Calls MR_ObjectPointsHolder_pointCloud().

◆ pointCloudPart()

meshlib.PointCloudPart meshlib.ObjectPointsHolder.pointCloudPart ( )
Returns
the pair ( point cloud, selected points ) if any point is selected or full point cloud otherwise Generated from method MR::ObjectPointsHolder::pointCloudPart.

Calls MR_ObjectPointsHolder_pointCloudPart().

◆ pointCloudPtr()

meshlib.PointCloud meshlib.ObjectPointsHolder.pointCloudPtr ( )

returns the point cloud of this object, or nullptr if it is not set Generated from method MR::ObjectPointsHolder::pointCloudPtr.

Calls MR_ObjectPointsHolder_pointCloudPtr().

◆ removeAllChildren()

void meshlib.ObjectPointsHolder.removeAllChildren ( )

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

Calls MR_ObjectPointsHolder_removeAllChildren().

◆ removeTag()

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

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

Calls MR_ObjectPointsHolder_removeTag().

◆ render()

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

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

Calls MR_ObjectPointsHolder_render().

◆ renderForPicker()

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

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

Calls MR_ObjectPointsHolder_renderForPicker().

◆ renderUi()

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

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

Calls MR_ObjectPointsHolder_renderUi().

◆ resetColors()

void meshlib.ObjectPointsHolder.resetColors ( )

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

Calls MR_ObjectPointsHolder_resetColors().

◆ resetDirty()

void meshlib.ObjectPointsHolder.resetDirty ( )

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

Calls MR_ObjectPointsHolder_resetDirty().

◆ resetDirtyExceptMask()

void meshlib.ObjectPointsHolder.resetDirtyExceptMask ( int mask)

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

Calls MR_ObjectPointsHolder_resetDirtyExceptMask().

◆ resetFrontColor()

void meshlib.ObjectPointsHolder.resetFrontColor ( )

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

Calls MR_ObjectPointsHolder_resetFrontColor().

◆ resetRedrawFlag()

void meshlib.ObjectPointsHolder.resetRedrawFlag ( )

Generated from method MR::ObjectPointsHolder::resetRedrawFlag.

Calls MR_ObjectPointsHolder_resetRedrawFlag().

◆ resetXf()

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

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

Calls MR_ObjectPointsHolder_resetXf().

◆ sameModels()

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

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

Calls MR_ObjectPointsHolder_sameModels().

◆ select()

boolean meshlib.ObjectPointsHolder.select ( boolean on)

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

Calls MR_ObjectPointsHolder_select().

◆ selectPoints()

void meshlib.ObjectPointsHolder.selectPoints ( meshlib.VertBitSet newSelection)

sets current selected points Generated from method MR::ObjectPointsHolder::selectPoints.

Calls MR_ObjectPointsHolder_selectPoints().

◆ serializeFormat()

java.lang.Byte meshlib.ObjectPointsHolder.serializeFormat ( )

returns overriden file extension used to serialize point cloud inside this object, nullptr means SceneSettings::get( SceneSettings::StringType::PointsSerializeFormat ) Generated from method MR::ObjectPointsHolder::serializeFormat.

Calls MR_ObjectPointsHolder_serializeFormat().

◆ setAllVisualizeProperties()

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

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

Calls MR_ObjectPointsHolder_setAllVisualizeProperties().

◆ setAmbientStrength()

void meshlib.ObjectPointsHolder.setAmbientStrength ( float ambientStrength)

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

Calls MR_ObjectPointsHolder_setAmbientStrength().

◆ setAncillary()

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

Calls MR_ObjectPointsHolder_setAncillary().

◆ setBackColor()

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

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

Calls MR_ObjectPointsHolder_setBackColor().

◆ setBackColorsForAllViewports()

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

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

Calls MR_ObjectPointsHolder_setBackColorsForAllViewports().

◆ setColoringType()

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

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

Calls MR_ObjectPointsHolder_setColoringType().

◆ setDirtyFlags()

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

Generated from method MR::ObjectPointsHolder::setDirtyFlags.

Calls MR_ObjectPointsHolder_setDirtyFlags().

◆ setFrontColor()

void meshlib.ObjectPointsHolder.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::ObjectPointsHolder::setFrontColor.

Calls MR_ObjectPointsHolder_setFrontColor().

◆ setFrontColorsForAllViewports()

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

Calls MR_ObjectPointsHolder_setFrontColorsForAllViewports().

◆ setGlobalAlpha()

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

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

Calls MR_ObjectPointsHolder_setGlobalAlpha().

◆ setGlobalAlphaForAllViewports()

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

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

Calls MR_ObjectPointsHolder_setGlobalAlphaForAllViewports().

◆ setGlobalClippedByPlane()

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

Calls MR_ObjectPointsHolder_setGlobalClippedByPlane().

◆ setGlobalVisibility()

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

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

Calls MR_ObjectPointsHolder_setGlobalVisibility().

◆ setLocked()

void meshlib.ObjectPointsHolder.setLocked ( boolean on)

Generated from method MR::ObjectPointsHolder::setLocked.

Calls MR_ObjectPointsHolder_setLocked().

◆ setMaxRenderingPoints()

void meshlib.ObjectPointsHolder.setMaxRenderingPoints ( int val)

sets maximal number of points that will be rendered

See also
getRenderDiscretization, MaxRenderingPointsDefault, MaxRenderingPointsUnlimited Generated from method MR::ObjectPointsHolder::setMaxRenderingPoints.

Calls MR_ObjectPointsHolder_setMaxRenderingPoints().

◆ setName()

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

Generated from method MR::ObjectPointsHolder::setName.

Calls MR_ObjectPointsHolder_setName().

◆ setParentLocked()

void meshlib.ObjectPointsHolder.setParentLocked ( boolean lock)

Generated from method MR::ObjectPointsHolder::setParentLocked.

Calls MR_ObjectPointsHolder_setParentLocked().

◆ setPickable()

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

Calls MR_ObjectPointsHolder_setPickable().

◆ setPointSize()

void meshlib.ObjectPointsHolder.setPointSize ( float size)

sets size of points on screen in pixels Generated from method MR::ObjectPointsHolder::setPointSize.

Calls MR_ObjectPointsHolder_setPointSize().

◆ setSelectedVerticesColor()

void meshlib.ObjectPointsHolder.setSelectedVerticesColor ( meshlib.Color color,
meshlib.ViewportId id )

sets colors of selected vertices Generated from method MR::ObjectPointsHolder::setSelectedVerticesColor.

Calls MR_ObjectPointsHolder_setSelectedVerticesColor().

◆ setSelectedVerticesColorsForAllViewports()

void meshlib.ObjectPointsHolder.setSelectedVerticesColorsForAllViewports ( meshlib.ViewportProperty_MR_Color val)

Generated from method MR::ObjectPointsHolder::setSelectedVerticesColorsForAllViewports.

Calls MR_ObjectPointsHolder_setSelectedVerticesColorsForAllViewports().

◆ setSerializeFormat()

void meshlib.ObjectPointsHolder.setSerializeFormat ( java.lang.Byte newFormat)

overrides file extension used to serialize point cloud inside this object: must start from '.', nullptr means serialize in SceneSettings::get( SceneSettings::StringType::PointsSerializeFormat ) Generated from method MR::ObjectPointsHolder::setSerializeFormat.

Calls MR_ObjectPointsHolder_setSerializeFormat().

◆ setShininess()

void meshlib.ObjectPointsHolder.setShininess ( float shininess)

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

Calls MR_ObjectPointsHolder_setShininess().

◆ setSpecularStrength()

void meshlib.ObjectPointsHolder.setSpecularStrength ( float specularStrength)

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

Calls MR_ObjectPointsHolder_setSpecularStrength().

◆ setUseDefaultScenePropertiesOnDeserialization()

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

Calls MR_ObjectPointsHolder_setUseDefaultScenePropertiesOnDeserialization().

◆ setVertsColorMap()

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

sets per-point colors of the object Generated from method MR::ObjectPointsHolder::setVertsColorMap.

Calls MR_ObjectPointsHolder_setVertsColorMap().

◆ setVisibilityMask()

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

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

Calls MR_ObjectPointsHolder_setVisibilityMask().

◆ setVisible()

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

Calls MR_ObjectPointsHolder_setVisible().

◆ setVisualizeProperty()

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

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

Calls MR_ObjectPointsHolder_setVisualizeProperty().

◆ setVisualizePropertyMask()

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

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

Calls MR_ObjectPointsHolder_setVisualizePropertyMask().

◆ setWorldXf()

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

Generated from method MR::ObjectPointsHolder::setWorldXf.

Calls MR_ObjectPointsHolder_setWorldXf().

◆ setXf()

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

Generated from method MR::ObjectPointsHolder::setXf.

Calls MR_ObjectPointsHolder_setXf().

◆ setXfsForAllViewports()

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

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

Calls MR_ObjectPointsHolder_setXfsForAllViewports().

◆ shallowClone()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectPointsHolder.shallowClone ( )

Generated from method MR::ObjectPointsHolder::shallowClone.

Calls MR_ObjectPointsHolder_shallowClone().

◆ shallowCloneTree()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectPointsHolder.shallowCloneTree ( )

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

Calls MR_ObjectPointsHolder_shallowCloneTree().

◆ sortChildren()

void meshlib.ObjectPointsHolder.sortChildren ( )

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

Calls MR_ObjectPointsHolder_sortChildren().

◆ StaticClassName()

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

Generated from method MR::ObjectPointsHolder::StaticClassName.

Calls MR_ObjectPointsHolder_StaticClassName().

◆ StaticClassNameInPlural()

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

Generated from method MR::ObjectPointsHolder::StaticClassNameInPlural.

Calls MR_ObjectPointsHolder_StaticClassNameInPlural().

◆ staticDowncastFromObject()

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

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

Calls MR_ObjectPointsHolder_MutableStaticDowncastFrom_MR_Object().

◆ staticDowncastFromObjectChildrenHolder()

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

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

Calls MR_ObjectPointsHolder_MutableStaticDowncastFrom_MR_ObjectChildrenHolder().

◆ staticDowncastFromVisualObject()

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

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

Calls MR_ObjectPointsHolder_MutableStaticDowncastFrom_MR_VisualObject().

◆ StaticTypeName()

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

Generated from method MR::ObjectPointsHolder::StaticTypeName.

Calls MR_ObjectPointsHolder_StaticTypeName().

◆ supportsVisualizeProperty()

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

Generated from method MR::ObjectPointsHolder::supportsVisualizeProperty.

Calls MR_ObjectPointsHolder_supportsVisualizeProperty().

◆ swap()

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

Calls MR_ObjectPointsHolder_swap().

◆ tags()

meshlib.std_set_std_string meshlib.ObjectPointsHolder.tags ( )

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

Calls MR_ObjectPointsHolder_tags().

◆ toggleVisualizeProperty()

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

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

Calls MR_ObjectPointsHolder_toggleVisualizeProperty().

◆ typeName()

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

Generated from method MR::ObjectPointsHolder::typeName.

Calls MR_ObjectPointsHolder_typeName().

◆ upcastToObject()

meshlib.Object meshlib.ObjectPointsHolder.upcastToObject ( )

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

Calls MR_ObjectPointsHolder_MutableUpcastTo_MR_Object().

◆ upcastToObjectChildrenHolder()

meshlib.ObjectChildrenHolder meshlib.ObjectPointsHolder.upcastToObjectChildrenHolder ( )

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

Calls MR_ObjectPointsHolder_MutableUpcastTo_MR_ObjectChildrenHolder().

◆ upcastToVisualObject()

meshlib.VisualObject meshlib.ObjectPointsHolder.upcastToVisualObject ( )

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

Calls MR_ObjectPointsHolder_MutableUpcastTo_MR_VisualObject().

◆ updateSelectedPoints()

void meshlib.ObjectPointsHolder.updateSelectedPoints ( meshlib.VertBitSet selection)

swaps current selected points with the argument Generated from method MR::ObjectPointsHolder::updateSelectedPoints.

Calls MR_ObjectPointsHolder_updateSelectedPoints().

◆ updateVertsColorMap()

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

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

Calls MR_ObjectPointsHolder_updateVertsColorMap().

◆ useDefaultScenePropertiesOnDeserialization()

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

Calls MR_ObjectPointsHolder_useDefaultScenePropertiesOnDeserialization().

◆ varPointCloudPtr()

meshlib.PointCloud meshlib.ObjectPointsHolder.varPointCloudPtr ( )

returns the point cloud of this object for modification, or nullptr if it is not set Generated from method MR::ObjectPointsHolder::varPointCloudPtr.

Calls MR_ObjectPointsHolder_varPointCloudPtr().

◆ visibilityMask()

meshlib.ViewportMask meshlib.ObjectPointsHolder.visibilityMask ( )

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

Calls MR_ObjectPointsHolder_visibilityMask().

◆ worldXf()

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

Calls MR_ObjectPointsHolder_worldXf().

◆ xf()

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

Calls MR_ObjectPointsHolder_xf().

◆ xfsForAllViewports()

meshlib.ViewportProperty_MR_AffineXf3f meshlib.ObjectPointsHolder.xfsForAllViewports ( )

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

Calls MR_ObjectPointsHolder_xfsForAllViewports().


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