Static Public Member Functions | |
| static java.lang.Byte | StaticTypeName () |
| static java.lang.Byte | StaticClassName () |
| static java.lang.Byte | StaticClassNameInPlural () |
| static meshlib.VisualObject | staticDowncastFromObjectChildrenHolder (meshlib.ObjectChildrenHolder object) |
| static meshlib.VisualObject | staticDowncastFromObject (meshlib.Object object) |
| static meshlib.VisualObject | dynamicDowncastFromObject (meshlib.Object 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) | |
Visual Object Generated from class MR::VisualObject. Base classes: Direct: (non-virtual) MR::Object Indirect: (non-virtual) MR::ObjectChildrenHolder Derived classes: Direct: (non-virtual) MR::FeatureObject MR::MeasurementObject MR::ObjectLabel MR::ObjectLinesHolder MR::ObjectMeshHolder MR::ObjectPointsHolder Indirect: (non-virtual) MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length> MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length> MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter> MR::AngleMeasurementObject MR::CircleObject MR::ConeObject MR::CylinderObject MR::DistanceMeasurementObject MR::LineObject MR::ObjectDistanceMap MR::ObjectGcode MR::ObjectLines MR::ObjectMesh MR::ObjectPoints MR::ObjectVoxels MR::PlaneObject MR::PointMeasurementObject MR::PointObject MR::RadiusMeasurementObject MR::SphereObject
Instances created here own their C++ objects, see CppObject.
| meshlib.VisualObject.VisualObject | ( | 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.
| meshlib.VisualObject.VisualObject | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_VisualObject_DefaultConstruct().
| meshlib.VisualObject.VisualObject | ( | meshlib.VisualObject | _other | ) |
Generated from constructor MR::VisualObject::VisualObject. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_VisualObject_ConstructFromAnother().
| boolean meshlib.VisualObject.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;
| recognizedChild | if set to false then child object will be excluded from children() and it will be stored by weak_ptr Generated from method MR::VisualObject::addChild. |
Calls MR_VisualObject_addChild().
| boolean meshlib.VisualObject.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::VisualObject::addChildBefore.
Calls MR_VisualObject_addChildBefore().
| boolean meshlib.VisualObject.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::VisualObject::addTag.
Calls MR_VisualObject_addTag().
| void meshlib.VisualObject.applyScale | ( | float | scaleFactor | ) |
scale object size (all point positions) Generated from method MR::VisualObject::applyScale.
Calls MR_VisualObject_applyScale().
| meshlib.VisualObject meshlib.VisualObject.assignFromAnother | ( | meshlib.VisualObject | _other | ) |
Generated from method MR::VisualObject::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_VisualObject_AssignFromAnother().
| meshlib.std_string meshlib.VisualObject.className | ( | ) |
Generated from method MR::VisualObject::className.
Calls MR_VisualObject_className().
| meshlib.std_string meshlib.VisualObject.classNameInPlural | ( | ) |
Generated from method MR::VisualObject::classNameInPlural.
Calls MR_VisualObject_classNameInPlural().
| meshlib.std_shared_ptr_MR_Object meshlib.VisualObject.clone_2 | ( | ) |
clones this object only, without its children, making new object the owner of all copied resources Generated from method MR::VisualObject::clone.
Calls MR_VisualObject_clone().
| meshlib.std_shared_ptr_MR_Object meshlib.VisualObject.cloneTree | ( | ) |
clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::VisualObject::cloneTree.
Calls MR_VisualObject_cloneTree().
| meshlib.ConstChildren meshlib.VisualObject.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::VisualObject::constChildren.
Calls MR_VisualObject_constChildren().
| void meshlib.VisualObject.copyAllSolidColors | ( | meshlib.VisualObject | other | ) |
set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR::VisualObject::copyAllSolidColors.
Calls MR_VisualObject_copyAllSolidColors().
| boolean meshlib.VisualObject.detachFromParent | ( | ) |
removes this from its parent children list returns false if it was already orphan Generated from method MR::VisualObject::detachFromParent.
Calls MR_VisualObject_detachFromParent().
|
static |
Dynamic downcast from the base class MR::Object. Returns null if the object isn't actually a VisualObject. The result refers to object.
Calls MR_VisualObject_MutableDynamicDowncastFrom_MR_Object().
| meshlib.std_vector_MR_ViewportMask meshlib.VisualObject.getAllVisualizeProperties | ( | ) |
get all visualize properties masks Generated from method MR::VisualObject::getAllVisualizeProperties.
Calls MR_VisualObject_getAllVisualizeProperties().
| float meshlib.VisualObject.getAmbientStrength | ( | ) |
returns intensity of non-directional light Generated from method MR::VisualObject::getAmbientStrength.
Calls MR_VisualObject_getAmbientStrength().
| meshlib.Color meshlib.VisualObject.getBackColor | ( | meshlib.ViewportId | viewportId | ) |
returns backward color of object in given viewport Generated from method MR::VisualObject::getBackColor.
Calls MR_VisualObject_getBackColor().
| meshlib.ViewportProperty_MR_Color meshlib.VisualObject.getBackColorsForAllViewports | ( | ) |
returns backward color of object in all viewports Generated from method MR::VisualObject::getBackColorsForAllViewports.
Calls MR_VisualObject_getBackColorsForAllViewports().
| meshlib.Box3f meshlib.VisualObject.getBoundingBox | ( | ) |
returns cached bounding box of this object in local coordinates Generated from method MR::VisualObject::getBoundingBox.
Calls MR_VisualObject_getBoundingBox().
| meshlib.ColoringType meshlib.VisualObject.getColoringType | ( | ) |
returns the current coloring mode of the object Generated from method MR::VisualObject::getColoringType.
Calls MR_VisualObject_getColoringType().
| int meshlib.VisualObject.getDirtyFlags | ( | ) |
returns current dirty flags for the object Generated from method MR::VisualObject::getDirtyFlags.
Calls MR_VisualObject_getDirtyFlags().
| meshlib.Color meshlib.VisualObject.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::VisualObject::getFrontColor.
Calls MR_VisualObject_getFrontColor().
| meshlib.ViewportProperty_MR_Color meshlib.VisualObject.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::VisualObject::getFrontColorsForAllViewports.
Calls MR_VisualObject_getFrontColorsForAllViewports().
| byte meshlib.VisualObject.getGlobalAlpha | ( | meshlib.ViewportId | viewportId | ) |
returns global transparency alpha of object in given viewport Generated from method MR::VisualObject::getGlobalAlpha.
Calls MR_VisualObject_getGlobalAlpha().
| meshlib.ViewportProperty_unsigned_char meshlib.VisualObject.getGlobalAlphaForAllViewports | ( | ) |
returns global transparency alpha of object in all viewports Generated from method MR::VisualObject::getGlobalAlphaForAllViewports.
Calls MR_VisualObject_getGlobalAlphaForAllViewports().
| meshlib.std_vector_std_string meshlib.VisualObject.getInfoLines | ( | ) |
return several info lines that can better describe the object in the UI Generated from method MR::VisualObject::getInfoLines.
Calls MR_VisualObject_getInfoLines().
| long meshlib.VisualObject.getModelHash | ( | ) |
return hash of model (or hash object pointer if object has no model) Generated from method MR::VisualObject::getModelHash.
Calls MR_VisualObject_getModelHash().
| boolean meshlib.VisualObject.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::VisualObject::getRedrawFlag.
Calls MR_VisualObject_getRedrawFlag().
| meshlib.std_shared_ptr_MR_Object meshlib.VisualObject.getSharedPtr | ( | ) |
returns this Object as shared_ptr finds it among its parent's recognized children Generated from method MR::VisualObject::getSharedPtr.
Calls MR_VisualObject_getSharedPtr().
| float meshlib.VisualObject.getShininess | ( | ) |
returns the current shininess visual value Generated from method MR::VisualObject::getShininess.
Calls MR_VisualObject_getShininess().
| float meshlib.VisualObject.getSpecularStrength | ( | ) |
returns intensity of reflections Generated from method MR::VisualObject::getSpecularStrength.
Calls MR_VisualObject_getSpecularStrength().
| boolean meshlib.VisualObject.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::VisualObject::getVisualizeProperty.
Calls MR_VisualObject_getVisualizeProperty().
| meshlib.ViewportMask meshlib.VisualObject.getVisualizePropertyMask | ( | meshlib.AnyVisualizeMaskEnum | type | ) |
returns mask of viewports where given property is set Generated from method MR::VisualObject::getVisualizePropertyMask.
Calls MR_VisualObject_getVisualizePropertyMask().
| meshlib.Box3f meshlib.VisualObject.getWorldBox | ( | meshlib.ViewportId | _1 | ) |
returns bounding box of this object in given viewport in world coordinates, to get world bounding box of the object with all child objects, please call Object.getWorldTreeBox method Generated from method MR::VisualObject::getWorldBox.
Calls MR_VisualObject_getWorldBox().
| meshlib.Box3f meshlib.VisualObject.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::VisualObject::getWorldTreeBox.
Calls MR_VisualObject_getWorldTreeBox().
| boolean meshlib.VisualObject.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::VisualObject::globalClippedByPlane.
Calls MR_VisualObject_globalClippedByPlane().
| meshlib.ViewportMask meshlib.VisualObject.globalClippedByPlaneMask | ( | ) |
returns all viewports where this object or any of its parents is clipped by plane Generated from method MR::VisualObject::globalClippedByPlaneMask.
Calls MR_VisualObject_globalClippedByPlaneMask().
| boolean meshlib.VisualObject.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::VisualObject::globalVisibility.
Calls MR_VisualObject_globalVisibility().
| meshlib.ViewportMask meshlib.VisualObject.globalVisibilityMask | ( | ) |
returns all viewports where this object is visible together with all its parents Generated from method MR::VisualObject::globalVisibilityMask.
Calls MR_VisualObject_globalVisibilityMask().
| boolean meshlib.VisualObject.hasModel | ( | ) |
does the object have any model available (but possibly empty), e.g. ObjectMesh has valid meshPtr() or ObjectPoints has valid pointCloudPtr() Generated from method MR::VisualObject::hasModel.
Calls MR_VisualObject_hasModel().
| boolean meshlib.VisualObject.hasVisualRepresentation | ( | ) |
does the object have any visual representation (visible points, triangles, edges, etc.), no considering child objects Generated from method MR::VisualObject::hasVisualRepresentation.
Calls MR_VisualObject_hasVisualRepresentation().
| long meshlib.VisualObject.heapBytes | ( | ) |
returns the amount of memory this object occupies on heap Generated from method MR::VisualObject::heapBytes.
Calls MR_VisualObject_heapBytes().
| boolean meshlib.VisualObject.isAncestor | ( | meshlib.Object | ancestor | ) |
return true if given object is ancestor of this one, false otherwise Generated from method MR::VisualObject::isAncestor.
Calls MR_VisualObject_isAncestor().
| boolean meshlib.VisualObject.isAncillary | ( | ) |
Generated from method MR::VisualObject::isAncillary.
Calls MR_VisualObject_isAncillary().
| boolean meshlib.VisualObject.isGlobalAncillary | ( | ) |
returns true if the object or any of its ancestors are ancillary Generated from method MR::VisualObject::isGlobalAncillary.
Calls MR_VisualObject_isGlobalAncillary().
| boolean meshlib.VisualObject.isLocked | ( | ) |
object properties lock for UI Generated from method MR::VisualObject::isLocked.
Calls MR_VisualObject_isLocked().
| boolean meshlib.VisualObject.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::VisualObject::isParentLocked.
Calls MR_VisualObject_isParentLocked().
| boolean meshlib.VisualObject.isPickable | ( | meshlib.ViewportMask | viewportMask | ) |
whether the object can be picked (by mouse) in any of given viewports Generated from method MR::VisualObject::isPickable.
Calls MR_VisualObject_isPickable().
| boolean meshlib.VisualObject.isSelected | ( | ) |
Generated from method MR::VisualObject::isSelected.
Calls MR_VisualObject_isSelected().
| boolean meshlib.VisualObject.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::VisualObject::isVisible.
Calls MR_VisualObject_isVisible().
| meshlib.std_string meshlib.VisualObject.name | ( | ) |
Generated from method MR::VisualObject::name.
Calls MR_VisualObject_name().
| void meshlib.VisualObject.removeAllChildren | ( | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::VisualObject::removeAllChildren.
Calls MR_VisualObject_removeAllChildren().
| boolean meshlib.VisualObject.removeTag | ( | java.lang.String | tag | ) |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::VisualObject::removeTag.
Calls MR_VisualObject_removeTag().
| boolean meshlib.VisualObject.render | ( | meshlib.ModelRenderParams | _1 | ) |
draws this object for visualization Returns true if something was drawn. Generated from method MR::VisualObject::render.
Calls MR_VisualObject_render().
| void meshlib.VisualObject.renderForPicker | ( | meshlib.ModelBaseRenderParams | _1, |
| int | _2 ) |
draws this object for picking Generated from method MR::VisualObject::renderForPicker.
Calls MR_VisualObject_renderForPicker().
| void meshlib.VisualObject.renderUi | ( | meshlib.UiRenderParams | params | ) |
draws this object for 2d UI Generated from method MR::VisualObject::renderUi.
Calls MR_VisualObject_renderUi().
| void meshlib.VisualObject.resetColors | ( | ) |
reset all object colors to their default values from the current theme Generated from method MR::VisualObject::resetColors.
Calls MR_VisualObject_resetColors().
| void meshlib.VisualObject.resetDirty | ( | ) |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::VisualObject::resetDirty.
Calls MR_VisualObject_resetDirty().
| void meshlib.VisualObject.resetDirtyExceptMask | ( | int | mask | ) |
reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR::VisualObject::resetDirtyExceptMask.
Calls MR_VisualObject_resetDirtyExceptMask().
| void meshlib.VisualObject.resetFrontColor | ( | ) |
reset basic object colors to their default values from the current theme Generated from method MR::VisualObject::resetFrontColor.
Calls MR_VisualObject_resetFrontColor().
| void meshlib.VisualObject.resetRedrawFlag | ( | ) |
Generated from method MR::VisualObject::resetRedrawFlag.
Calls MR_VisualObject_resetRedrawFlag().
| void meshlib.VisualObject.resetXf | ( | meshlib.ViewportId | id | ) |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::VisualObject::resetXf.
Calls MR_VisualObject_resetXf().
| boolean meshlib.VisualObject.sameModels | ( | meshlib.Object | other | ) |
return true if model of current object equals to model (the same) of other Generated from method MR::VisualObject::sameModels.
Calls MR_VisualObject_sameModels().
| boolean meshlib.VisualObject.select | ( | boolean | on | ) |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::VisualObject::select.
Calls MR_VisualObject_select().
| void meshlib.VisualObject.setAllVisualizeProperties | ( | meshlib.std_vector_MR_ViewportMask | properties | ) |
set all visualize properties masks Generated from method MR::VisualObject::setAllVisualizeProperties.
Calls MR_VisualObject_setAllVisualizeProperties().
| void meshlib.VisualObject.setAmbientStrength | ( | float | ambientStrength | ) |
sets intensity of non-directional light Generated from method MR::VisualObject::setAmbientStrength.
Calls MR_VisualObject_setAmbientStrength().
| void meshlib.VisualObject.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::VisualObject::setAncillary.
Calls MR_VisualObject_setAncillary().
| void meshlib.VisualObject.setBackColor | ( | meshlib.Color | color, |
| meshlib.ViewportId | viewportId ) |
sets backward color of object in given viewport Generated from method MR::VisualObject::setBackColor.
Calls MR_VisualObject_setBackColor().
| void meshlib.VisualObject.setBackColorsForAllViewports | ( | meshlib.ViewportProperty_MR_Color | val | ) |
sets backward color of object in all viewports Generated from method MR::VisualObject::setBackColorsForAllViewports.
Calls MR_VisualObject_setBackColorsForAllViewports().
| void meshlib.VisualObject.setColoringType | ( | meshlib.ColoringType | coloringType | ) |
sets coloring mode of the object with given argument Generated from method MR::VisualObject::setColoringType.
Calls MR_VisualObject_setColoringType().
| void meshlib.VisualObject.setDirtyFlags | ( | int | mask, |
| java.lang.Boolean | invalidateCaches ) |
sets some dirty flags for the object (to force its visual update)
| mask | is a union of DirtyFlags flags |
| invalidateCaches | whether to automatically invalidate model caches (pass false here if you manually update the caches) Generated from method MR::VisualObject::setDirtyFlags. |
Calls MR_VisualObject_setDirtyFlags().
| void meshlib.VisualObject.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::VisualObject::setFrontColor.
Calls MR_VisualObject_setFrontColor().
| void meshlib.VisualObject.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::VisualObject::setFrontColorsForAllViewports.
Calls MR_VisualObject_setFrontColorsForAllViewports().
| void meshlib.VisualObject.setGlobalAlpha | ( | byte | alpha, |
| meshlib.ViewportId | viewportId ) |
sets global transparency alpha of object in given viewport Generated from method MR::VisualObject::setGlobalAlpha.
Calls MR_VisualObject_setGlobalAlpha().
| void meshlib.VisualObject.setGlobalAlphaForAllViewports | ( | meshlib.ViewportProperty_unsigned_char | val | ) |
sets global transparency alpha of object in all viewports Generated from method MR::VisualObject::setGlobalAlphaForAllViewports.
Calls MR_VisualObject_setGlobalAlphaForAllViewports().
| void meshlib.VisualObject.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::VisualObject::setGlobalClippedByPlane.
Calls MR_VisualObject_setGlobalClippedByPlane().
| void meshlib.VisualObject.setGlobalVisibility | ( | boolean | on, |
| meshlib.ViewportMask | viewportMask ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::VisualObject::setGlobalVisibility.
Calls MR_VisualObject_setGlobalVisibility().
| void meshlib.VisualObject.setLocked | ( | boolean | on | ) |
Generated from method MR::VisualObject::setLocked.
Calls MR_VisualObject_setLocked().
| void meshlib.VisualObject.setName | ( | java.lang.String | name | ) |
Generated from method MR::VisualObject::setName.
Calls MR_VisualObject_setName().
| void meshlib.VisualObject.setParentLocked | ( | boolean | lock | ) |
Generated from method MR::VisualObject::setParentLocked.
Calls MR_VisualObject_setParentLocked().
| void meshlib.VisualObject.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::VisualObject::setPickable.
Calls MR_VisualObject_setPickable().
| void meshlib.VisualObject.setShininess | ( | float | shininess | ) |
sets shininess visual value of the object with given argument Generated from method MR::VisualObject::setShininess.
Calls MR_VisualObject_setShininess().
| void meshlib.VisualObject.setSpecularStrength | ( | float | specularStrength | ) |
sets intensity of reflections Generated from method MR::VisualObject::setSpecularStrength.
Calls MR_VisualObject_setSpecularStrength().
| void meshlib.VisualObject.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::VisualObject::setUseDefaultScenePropertiesOnDeserialization.
Calls MR_VisualObject_setUseDefaultScenePropertiesOnDeserialization().
| void meshlib.VisualObject.setVisibilityMask | ( | meshlib.ViewportMask | viewportMask | ) |
specifies object visibility as bitmask of viewports Generated from method MR::VisualObject::setVisibilityMask.
Calls MR_VisualObject_setVisibilityMask().
| void meshlib.VisualObject.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::VisualObject::setVisible.
Calls MR_VisualObject_setVisible().
| void meshlib.VisualObject.setVisualizeProperty | ( | boolean | value, |
| meshlib.AnyVisualizeMaskEnum | type, | ||
| meshlib.ViewportMask | viewportMask ) |
set visual property in all viewports specified by the mask Generated from method MR::VisualObject::setVisualizeProperty.
Calls MR_VisualObject_setVisualizeProperty().
| void meshlib.VisualObject.setVisualizePropertyMask | ( | meshlib.AnyVisualizeMaskEnum | type, |
| meshlib.ViewportMask | viewportMask ) |
set visual property mask Generated from method MR::VisualObject::setVisualizePropertyMask.
Calls MR_VisualObject_setVisualizePropertyMask().
| void meshlib.VisualObject.setWorldXf | ( | meshlib.AffineXf3f | xf, |
| meshlib.ViewportId | id ) |
Generated from method MR::VisualObject::setWorldXf.
Calls MR_VisualObject_setWorldXf().
| void meshlib.VisualObject.setXf | ( | meshlib.AffineXf3f | xf, |
| meshlib.ViewportId | id ) |
Generated from method MR::VisualObject::setXf.
Calls MR_VisualObject_setXf().
| void meshlib.VisualObject.setXfsForAllViewports | ( | meshlib.ViewportProperty_MR_AffineXf3f | xf | ) |
modifies xfs for all viewports at once Generated from method MR::VisualObject::setXfsForAllViewports.
Calls MR_VisualObject_setXfsForAllViewports().
| meshlib.std_shared_ptr_MR_Object meshlib.VisualObject.shallowClone | ( | ) |
clones this object only, without its children, making new object to share resources with this object Generated from method MR::VisualObject::shallowClone.
Calls MR_VisualObject_shallowClone().
| meshlib.std_shared_ptr_MR_Object meshlib.VisualObject.shallowCloneTree | ( | ) |
clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR::VisualObject::shallowCloneTree.
Calls MR_VisualObject_shallowCloneTree().
| boolean meshlib.VisualObject.showName | ( | ) |
returns whether object name is shown in any viewport Generated from method MR::VisualObject::showName.
Calls MR_VisualObject_showName().
| void meshlib.VisualObject.showName | ( | boolean | on | ) |
shows/hides object name in all viewports Generated from method MR::VisualObject::showName.
Calls MR_VisualObject_showName_mut().
| void meshlib.VisualObject.sortChildren | ( | ) |
sort recognized children by name Generated from method MR::VisualObject::sortChildren.
Calls MR_VisualObject_sortChildren().
|
static |
Generated from method MR::VisualObject::StaticClassName.
Calls MR_VisualObject_StaticClassName().
|
static |
Generated from method MR::VisualObject::StaticClassNameInPlural.
Calls MR_VisualObject_StaticClassNameInPlural().
|
static |
Static downcast from the base class MR::Object. Undefined behavior if the object isn't actually a VisualObject. The result refers to object.
Calls MR_VisualObject_MutableStaticDowncastFrom_MR_Object().
|
static |
Static downcast from the base class MR::ObjectChildrenHolder. Undefined behavior if the object isn't actually a VisualObject. The result refers to object.
Calls MR_VisualObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder().
|
static |
Generated from method MR::VisualObject::StaticTypeName.
Calls MR_VisualObject_StaticTypeName().
| boolean meshlib.VisualObject.supportsVisualizeProperty | ( | meshlib.AnyVisualizeMaskEnum | type | ) |
Returns true if this class supports the property type. Otherwise passing it to the functions below is illegal. Generated from method MR::VisualObject::supportsVisualizeProperty.
Calls MR_VisualObject_supportsVisualizeProperty().
| void meshlib.VisualObject.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::VisualObject::swap.
Calls MR_VisualObject_swap().
| meshlib.std_set_std_string meshlib.VisualObject.tags | ( | ) |
provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::VisualObject::tags.
Calls MR_VisualObject_tags().
| void meshlib.VisualObject.toggleVisualizeProperty | ( | meshlib.AnyVisualizeMaskEnum | type, |
| meshlib.ViewportMask | viewportMask ) |
toggle visual property in all viewports specified by the mask Generated from method MR::VisualObject::toggleVisualizeProperty.
Calls MR_VisualObject_toggleVisualizeProperty().
| java.lang.Byte meshlib.VisualObject.typeName | ( | ) |
Generated from method MR::VisualObject::typeName.
Calls MR_VisualObject_typeName().
| meshlib.Object meshlib.VisualObject.upcastToObject | ( | ) |
Upcasts to the base class MR::Object. The result refers to this object.
Calls MR_VisualObject_MutableUpcastTo_MR_Object().
| meshlib.ObjectChildrenHolder meshlib.VisualObject.upcastToObjectChildrenHolder | ( | ) |
Upcasts to the base class MR::ObjectChildrenHolder. The result refers to this object.
Calls MR_VisualObject_MutableUpcastTo_MR_ObjectChildrenHolder().
| boolean meshlib.VisualObject.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::VisualObject::useDefaultScenePropertiesOnDeserialization.
Calls MR_VisualObject_useDefaultScenePropertiesOnDeserialization().
| meshlib.ViewportMask meshlib.VisualObject.visibilityMask | ( | ) |
gets object visibility as bitmask of viewports Generated from method MR::VisualObject::visibilityMask.
Calls MR_VisualObject_visibilityMask().
| meshlib.AffineXf3f meshlib.VisualObject.worldXf | ( | meshlib.ViewportId | id, |
| meshlib.bool_output | isDef ) |
this space to world space transformation for default or specific viewport
| isDef | receives true if the object has default transformation in this viewport (same as worldXf() returns) Generated from method MR::VisualObject::worldXf. |
Calls MR_VisualObject_worldXf().
| meshlib.AffineXf3f meshlib.VisualObject.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
| isDef | receives true if the object has default transformation in this viewport (same as xf() returns) Generated from method MR::VisualObject::xf. |
Calls MR_VisualObject_xf().
| meshlib.ViewportProperty_MR_AffineXf3f meshlib.VisualObject.xfsForAllViewports | ( | ) |
returns xfs for all viewports, combined into a single object Generated from method MR::VisualObject::xfsForAllViewports.
Calls MR_VisualObject_xfsForAllViewports().