Static Public Member Functions | |
| static auto | construct_from_another (_other:&meshlib::MeasurementObject) -> meshlib::Owned< meshlib::MeasurementObject > |
| static auto | static_type_name () -> *const core::ffi::c_char |
| static auto | static_class_name () -> *const core::ffi::c_char |
| static auto | static_class_name_in_plural () -> *const core::ffi::c_char |
| static auto | static_downcast_from_object_children_holder (object:&meshlib::ObjectChildrenHolder) -> &Self |
| static auto | static_downcast_from_object_children_holder_mut (object:&mut meshlib::ObjectChildrenHolder) -> &mut Self |
| static auto | static_downcast_from_object (object:&meshlib::Object) -> &Self |
| static auto | static_downcast_from_object_mut (object:&mut meshlib::Object) -> &mut Self |
| static auto | dynamic_downcast_from_object (object:&meshlib::Object) -> Option<&Self > |
| static auto | dynamic_downcast_from_object_mut (object:&mut meshlib::Object) -> Option<&mut Self > |
| static auto | static_downcast_from_visual_object (object:&meshlib::VisualObject) -> &Self |
| static auto | static_downcast_from_visual_object_mut (object:&mut meshlib::VisualObject) -> &mut Self |
| static auto | dynamic_downcast_from_visual_object (object:&meshlib::VisualObject) -> Option<&Self > |
| static auto | dynamic_downcast_from_visual_object_mut (object:&mut meshlib::VisualObject) -> Option<&mut Self > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
A common base class for measurement objects. Can't be constructed directly. Generated from class MR::MeasurementObject. Base classes: Direct: (non-virtual) MR::VisualObject Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object Derived classes: Direct: (non-virtual) MR::AngleMeasurementObject MR::DistanceMeasurementObject MR::PointMeasurementObject MR::RadiusMeasurementObject
Generated from class MR::MeasurementObject. Heap-allocated instances are held in Owned<MeasurementObject>.
| auto meshlib::MeasurementObject::add_child | ( | child:&meshlib::std_shared_ptr_MR_Object | , |
| recognizedChild:Option< bool > | ) -> bool |
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::MeasurementObject::addChild. |
Calls MR_MeasurementObject_addChild().
| auto meshlib::MeasurementObject::add_child_before | ( | newChild:&meshlib::std_shared_ptr_MR_Object | , |
| existingChild:&meshlib::std_shared_ptr_MR_Object | ) -> bool |
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::MeasurementObject::addChildBefore.
Calls MR_MeasurementObject_addChildBefore().
| auto meshlib::MeasurementObject::add_tag | ( | tag:& | str | ) | -> bool |
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::MeasurementObject::addTag.
Calls MR_MeasurementObject_addTag().
| void meshlib::MeasurementObject::apply_scale | ( | scaleFactor:f32 | ) |
scale object size (all point positions) Generated from method MR::MeasurementObject::applyScale.
Calls MR_MeasurementObject_applyScale().
| auto meshlib::MeasurementObject::assign_from_another | ( | _other:&meshlib::MeasurementObject | ) | -> &mut meshlib::MeasurementObject |
Generated from method MR::MeasurementObject::operator=.
Calls MR_MeasurementObject_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::MeasurementObject::class_name | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::MeasurementObject::className.
Calls MR_MeasurementObject_className().
| auto meshlib::MeasurementObject::class_name_in_plural | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::MeasurementObject::classNameInPlural.
Calls MR_MeasurementObject_classNameInPlural().
| auto meshlib::MeasurementObject::clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
clones this object only, without its children, making new object the owner of all copied resources Generated from method MR::MeasurementObject::clone.
Calls MR_MeasurementObject_clone().
| auto meshlib::MeasurementObject::clone_tree | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::MeasurementObject::cloneTree.
Calls MR_MeasurementObject_cloneTree().
| auto meshlib::MeasurementObject::const_children | ( | ) | const -> meshlib::Owned< meshlib::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::MeasurementObject::constChildren.
Calls MR_MeasurementObject_constChildren().
|
static |
Generated from constructor MR::MeasurementObject::MeasurementObject.
Calls MR_MeasurementObject_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| void meshlib::MeasurementObject::copy_all_solid_colors | ( | other:&meshlib::VisualObject | ) |
set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR::MeasurementObject::copyAllSolidColors.
Calls MR_MeasurementObject_copyAllSolidColors().
| auto meshlib::MeasurementObject::detach_from_parent | ( | ) | -> bool |
removes this from its parent children list returns false if it was already orphan Generated from method MR::MeasurementObject::detachFromParent.
Calls MR_MeasurementObject_detachFromParent().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a MeasurementObject.
Calls MR_MeasurementObject_DynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a MeasurementObject.
Calls MR_MeasurementObject_MutableDynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a MeasurementObject.
Calls MR_MeasurementObject_DynamicDowncastFrom_MR_VisualObject().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a MeasurementObject.
Calls MR_MeasurementObject_MutableDynamicDowncastFrom_MR_VisualObject().
| auto meshlib::MeasurementObject::get_all_visualize_properties | ( | ) | const -> meshlib::Owned< meshlib::std_vector_MR_ViewportMask > |
get all visualize properties masks Generated from method MR::MeasurementObject::getAllVisualizeProperties.
Calls MR_MeasurementObject_getAllVisualizeProperties().
| auto meshlib::MeasurementObject::get_ambient_strength | ( | ) | const -> f32 |
returns intensity of non-directional light Generated from method MR::MeasurementObject::getAmbientStrength.
Calls MR_MeasurementObject_getAmbientStrength().
| auto meshlib::MeasurementObject::get_back_color | ( | viewportId:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns backward color of object in given viewport Generated from method MR::MeasurementObject::getBackColor.
Calls MR_MeasurementObject_getBackColor().
| auto meshlib::MeasurementObject::get_back_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
returns backward color of object in all viewports Generated from method MR::MeasurementObject::getBackColorsForAllViewports.
Calls MR_MeasurementObject_getBackColorsForAllViewports().
| auto meshlib::MeasurementObject::get_bounding_box | ( | ) | const -> meshlib::Box3f |
returns cached bounding box of this object in local coordinates Generated from method MR::MeasurementObject::getBoundingBox.
Calls MR_MeasurementObject_getBoundingBox().
| auto meshlib::MeasurementObject::get_coloring_type | ( | ) | const -> meshlib::ColoringType |
returns the current coloring mode of the object Generated from method MR::MeasurementObject::getColoringType.
Calls MR_MeasurementObject_getColoringType().
| auto meshlib::MeasurementObject::get_dirty_flags | ( | ) | const -> core::ffi::c_uint |
returns current dirty flags for the object Generated from method MR::MeasurementObject::getDirtyFlags.
Calls MR_MeasurementObject_getDirtyFlags().
| auto meshlib::MeasurementObject::get_front_color | ( | selected:Option< bool > | , |
| viewportId:Option<&meshlib::ViewportId > | ) const -> &meshlib::Color |
returns color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR::MeasurementObject::getFrontColor.
Calls MR_MeasurementObject_getFrontColor().
| auto meshlib::MeasurementObject::get_front_colors_for_all_viewports | ( | selected:Option< bool > | ) | const -> &meshlib::ViewportProperty_MR_Color |
returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::MeasurementObject::getFrontColorsForAllViewports.
Calls MR_MeasurementObject_getFrontColorsForAllViewports().
| auto meshlib::MeasurementObject::get_global_alpha | ( | viewportId:Option<&meshlib::ViewportId > | ) | const -> &core::ffi::c_uchar |
returns global transparency alpha of object in given viewport Generated from method MR::MeasurementObject::getGlobalAlpha.
Calls MR_MeasurementObject_getGlobalAlpha().
| auto meshlib::MeasurementObject::get_global_alpha_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_unsigned_char |
returns global transparency alpha of object in all viewports Generated from method MR::MeasurementObject::getGlobalAlphaForAllViewports.
Calls MR_MeasurementObject_getGlobalAlphaForAllViewports().
| auto meshlib::MeasurementObject::get_info_lines | ( | ) | const -> meshlib::Owned< meshlib::std_vector_std_string > |
return several info lines that can better describe the object in the UI Generated from method MR::MeasurementObject::getInfoLines.
Calls MR_MeasurementObject_getInfoLines().
| auto meshlib::MeasurementObject::get_model_hash | ( | ) | const -> usize |
return hash of model (or hash object pointer if object has no model) Generated from method MR::MeasurementObject::getModelHash.
Calls MR_MeasurementObject_getModelHash().
| auto meshlib::MeasurementObject::get_redraw_flag | ( | viewportMask:&meshlib::ViewportMask | ) | const -> bool |
returns true if the object must be redrawn (due to dirty flags) in one of specified viewports Generated from method MR::MeasurementObject::getRedrawFlag.
Calls MR_MeasurementObject_getRedrawFlag().
| auto meshlib::MeasurementObject::get_shared_ptr | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
returns this Object as shared_ptr finds it among its parent's recognized children Generated from method MR::MeasurementObject::getSharedPtr.
Calls MR_MeasurementObject_getSharedPtr().
| auto meshlib::MeasurementObject::get_shininess | ( | ) | const -> f32 |
returns the current shininess visual value Generated from method MR::MeasurementObject::getShininess.
Calls MR_MeasurementObject_getShininess().
| auto meshlib::MeasurementObject::get_specular_strength | ( | ) | const -> f32 |
returns intensity of reflections Generated from method MR::MeasurementObject::getSpecularStrength.
Calls MR_MeasurementObject_getSpecularStrength().
| auto meshlib::MeasurementObject::get_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) const -> bool |
returns true if the property is set at least in one viewport specified by the mask Generated from method MR::MeasurementObject::getVisualizeProperty.
Calls MR_MeasurementObject_getVisualizeProperty().
| auto meshlib::MeasurementObject::get_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> &meshlib::ViewportMask |
returns mask of viewports where given property is set Generated from method MR::MeasurementObject::getVisualizePropertyMask.
Calls MR_MeasurementObject_getVisualizePropertyMask().
| auto meshlib::MeasurementObject::get_world_box | ( | _1:Option<&meshlib::ViewportId > | ) | const -> meshlib::Box3f |
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::MeasurementObject::getWorldBox.
Calls MR_MeasurementObject_getWorldBox().
| auto meshlib::MeasurementObject::get_world_tree_box | ( | _1:Option<&meshlib::ViewportId > | ) | const -> meshlib::Box3f |
returns bounding box of this object and all children visible in given (or default) viewport in world coordinates Generated from method MR::MeasurementObject::getWorldTreeBox.
Calls MR_MeasurementObject_getWorldTreeBox().
| auto meshlib::MeasurementObject::global_clipped_by_plane | ( | viewportMask:Option<&meshlib::ViewportMask > | ) | const -> bool |
returns true if this object or any of its parents is clipped by plane in any of given viewports Generated from method MR::MeasurementObject::globalClippedByPlane.
Calls MR_MeasurementObject_globalClippedByPlane().
| auto meshlib::MeasurementObject::global_clipped_by_plane_mask | ( | ) | const -> meshlib::Owned< meshlib::ViewportMask > |
returns all viewports where this object or any of its parents is clipped by plane Generated from method MR::MeasurementObject::globalClippedByPlaneMask.
Calls MR_MeasurementObject_globalClippedByPlaneMask().
| auto meshlib::MeasurementObject::global_visibility | ( | viewportMask:Option<&meshlib::ViewportMask > | ) | const -> bool |
returns true if this object is visible together with all its parents in any of given viewports Generated from method MR::MeasurementObject::globalVisibility.
Calls MR_MeasurementObject_globalVisibility().
| auto meshlib::MeasurementObject::global_visibility_mask | ( | ) | const -> meshlib::Owned< meshlib::ViewportMask > |
returns all viewports where this object is visible together with all its parents Generated from method MR::MeasurementObject::globalVisibilityMask.
Calls MR_MeasurementObject_globalVisibilityMask().
| auto meshlib::MeasurementObject::has_model | ( | ) | const -> bool |
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::MeasurementObject::hasModel.
Calls MR_MeasurementObject_hasModel().
| auto meshlib::MeasurementObject::has_visual_representation | ( | ) | const -> bool |
does the object have any visual representation (visible points, triangles, edges, etc.), no considering child objects Generated from method MR::MeasurementObject::hasVisualRepresentation.
Calls MR_MeasurementObject_hasVisualRepresentation().
| auto meshlib::MeasurementObject::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::MeasurementObject::heapBytes.
Calls MR_MeasurementObject_heapBytes().
| auto meshlib::MeasurementObject::is_ancestor | ( | ancestor:Option<&meshlib::Object > | ) | const -> bool |
return true if given object is ancestor of this one, false otherwise Generated from method MR::MeasurementObject::isAncestor.
Calls MR_MeasurementObject_isAncestor().
| auto meshlib::MeasurementObject::is_ancillary | ( | ) | const -> bool |
Generated from method MR::MeasurementObject::isAncillary.
Calls MR_MeasurementObject_isAncillary().
| auto meshlib::MeasurementObject::is_global_ancillary | ( | ) | const -> bool |
returns true if the object or any of its ancestors are ancillary Generated from method MR::MeasurementObject::isGlobalAncillary.
Calls MR_MeasurementObject_isGlobalAncillary().
| auto meshlib::MeasurementObject::is_locked | ( | ) | const -> bool |
object properties lock for UI Generated from method MR::MeasurementObject::isLocked.
Calls MR_MeasurementObject_isLocked().
| auto meshlib::MeasurementObject::is_parent_locked | ( | ) | const -> bool |
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::MeasurementObject::isParentLocked.
Calls MR_MeasurementObject_isParentLocked().
| auto meshlib::MeasurementObject::is_pickable | ( | viewportMask:Option<&meshlib::ViewportMask > | ) | const -> bool |
whether the object can be picked (by mouse) in any of given viewports Generated from method MR::MeasurementObject::isPickable.
Calls MR_MeasurementObject_isPickable().
| auto meshlib::MeasurementObject::is_selected | ( | ) | const -> bool |
Generated from method MR::MeasurementObject::isSelected.
Calls MR_MeasurementObject_isSelected().
| auto meshlib::MeasurementObject::is_visible | ( | viewportMask:Option<&meshlib::ViewportMask > | ) | const -> bool |
checks whether the object is visible in any of the viewports specified by the mask (by default in any viewport) Generated from method MR::MeasurementObject::isVisible.
Calls MR_MeasurementObject_isVisible().
| auto meshlib::MeasurementObject::name | ( | ) | const -> &meshlib::std_string |
Generated from method MR::MeasurementObject::name.
Calls MR_MeasurementObject_name().
| void meshlib::MeasurementObject::remove_all_children | ( | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::MeasurementObject::removeAllChildren.
Calls MR_MeasurementObject_removeAllChildren().
| auto meshlib::MeasurementObject::remove_tag | ( | tag:& | str | ) | -> bool |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::MeasurementObject::removeTag.
Calls MR_MeasurementObject_removeTag().
| auto meshlib::MeasurementObject::render | ( | _1:&meshlib::ModelRenderParams | ) | const -> bool |
draws this object for visualization Returns true if something was drawn. Generated from method MR::MeasurementObject::render.
Calls MR_MeasurementObject_render().
| void meshlib::MeasurementObject::render_for_picker | ( | _1:&meshlib::ModelBaseRenderParams | , |
| _2:core::ffi::c_uint | ) const |
draws this object for picking Generated from method MR::MeasurementObject::renderForPicker.
Calls MR_MeasurementObject_renderForPicker().
| void meshlib::MeasurementObject::render_ui | ( | params:&meshlib::UiRenderParams | ) | const |
draws this object for 2d UI Generated from method MR::MeasurementObject::renderUi.
Calls MR_MeasurementObject_renderUi().
| void meshlib::MeasurementObject::reset_colors | ( | ) |
reset all object colors to their default values from the current theme Generated from method MR::MeasurementObject::resetColors.
Calls MR_MeasurementObject_resetColors().
| void meshlib::MeasurementObject::reset_dirty | ( | ) | const |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::MeasurementObject::resetDirty.
Calls MR_MeasurementObject_resetDirty().
| void meshlib::MeasurementObject::reset_dirty_except_mask | ( | mask:core::ffi::c_uint | ) | const |
reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR::MeasurementObject::resetDirtyExceptMask.
Calls MR_MeasurementObject_resetDirtyExceptMask().
| void meshlib::MeasurementObject::reset_front_color | ( | ) |
reset basic object colors to their default values from the current theme Generated from method MR::MeasurementObject::resetFrontColor.
Calls MR_MeasurementObject_resetFrontColor().
| void meshlib::MeasurementObject::reset_redraw_flag | ( | ) | const |
Generated from method MR::MeasurementObject::resetRedrawFlag.
Calls MR_MeasurementObject_resetRedrawFlag().
| void meshlib::MeasurementObject::reset_xf | ( | id:Option<&meshlib::ViewportId > | ) |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::MeasurementObject::resetXf.
Calls MR_MeasurementObject_resetXf().
| auto meshlib::MeasurementObject::same_models | ( | other:&meshlib::Object | ) | const -> bool |
return true if model of current object equals to model (the same) of other Generated from method MR::MeasurementObject::sameModels.
Calls MR_MeasurementObject_sameModels().
| auto meshlib::MeasurementObject::select | ( | on:bool | ) | -> bool |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::MeasurementObject::select.
Calls MR_MeasurementObject_select().
| void meshlib::MeasurementObject::set_all_visualize_properties | ( | properties:&meshlib::std_vector_MR_ViewportMask | ) |
set all visualize properties masks Generated from method MR::MeasurementObject::setAllVisualizeProperties.
Calls MR_MeasurementObject_setAllVisualizeProperties().
| void meshlib::MeasurementObject::set_ambient_strength | ( | ambientStrength:f32 | ) |
sets intensity of non-directional light Generated from method MR::MeasurementObject::setAmbientStrength.
Calls MR_MeasurementObject_setAmbientStrength().
| void meshlib::MeasurementObject::set_ancillary | ( | ancillary:bool | ) |
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::MeasurementObject::setAncillary.
Calls MR_MeasurementObject_setAncillary().
| void meshlib::MeasurementObject::set_back_color | ( | color:&meshlib::Color | , |
| viewportId:Option<&meshlib::ViewportId > | ) |
sets backward color of object in given viewport Generated from method MR::MeasurementObject::setBackColor.
Calls MR_MeasurementObject_setBackColor().
| void meshlib::MeasurementObject::set_back_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
sets backward color of object in all viewports Generated from method MR::MeasurementObject::setBackColorsForAllViewports.
Calls MR_MeasurementObject_setBackColorsForAllViewports().
| void meshlib::MeasurementObject::set_coloring_type | ( | coloringType:meshlib::ColoringType | ) |
sets coloring mode of the object with given argument Generated from method MR::MeasurementObject::setColoringType.
Calls MR_MeasurementObject_setColoringType().
| void meshlib::MeasurementObject::set_dirty_flags | ( | mask:core::ffi::c_uint | , |
| invalidateCaches:Option< bool > | ) |
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::MeasurementObject::setDirtyFlags. |
Calls MR_MeasurementObject_setDirtyFlags().
| void meshlib::MeasurementObject::set_front_color | ( | color:&meshlib::Color | , |
| selected:bool | , | ||
| viewportId:Option<&meshlib::ViewportId > | ) |
sets color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR::MeasurementObject::setFrontColor.
Calls MR_MeasurementObject_setFrontColor().
| void meshlib::MeasurementObject::set_front_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | , |
| selected:Option< bool > | ) |
sets color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::MeasurementObject::setFrontColorsForAllViewports.
Calls MR_MeasurementObject_setFrontColorsForAllViewports().
| void meshlib::MeasurementObject::set_global_alpha | ( | alpha:core::ffi::c_uchar | , |
| viewportId:Option<&meshlib::ViewportId > | ) |
sets global transparency alpha of object in given viewport Generated from method MR::MeasurementObject::setGlobalAlpha.
Calls MR_MeasurementObject_setGlobalAlpha().
| void meshlib::MeasurementObject::set_global_alpha_for_all_viewports | ( | val:&meshlib::ViewportProperty_unsigned_char | ) |
sets global transparency alpha of object in all viewports Generated from method MR::MeasurementObject::setGlobalAlphaForAllViewports.
Calls MR_MeasurementObject_setGlobalAlphaForAllViewports().
| void meshlib::MeasurementObject::set_global_clipped_by_plane | ( | on:bool | , |
| viewportMask:Option<&meshlib::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::MeasurementObject::setGlobalClippedByPlane.
Calls MR_MeasurementObject_setGlobalClippedByPlane().
| void meshlib::MeasurementObject::set_global_visibility | ( | on:bool | , |
| viewportMask:Option<&meshlib::ViewportMask > | ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::MeasurementObject::setGlobalVisibility.
Calls MR_MeasurementObject_setGlobalVisibility().
| void meshlib::MeasurementObject::set_locked | ( | on:bool | ) |
Generated from method MR::MeasurementObject::setLocked.
Calls MR_MeasurementObject_setLocked().
| void meshlib::MeasurementObject::set_name | ( | name:& | str | ) |
Generated from method MR::MeasurementObject::setName.
Calls MR_MeasurementObject_setName().
| void meshlib::MeasurementObject::set_parent_locked | ( | lock:bool | ) |
Generated from method MR::MeasurementObject::setParentLocked.
Calls MR_MeasurementObject_setParentLocked().
| void meshlib::MeasurementObject::set_pickable | ( | on:bool | , |
| viewportMask:Option<&meshlib::ViewportMask > | ) |
sets the object as can/cannot be picked (by mouse) in all of given viewports Generated from method MR::MeasurementObject::setPickable.
Calls MR_MeasurementObject_setPickable().
| void meshlib::MeasurementObject::set_shininess | ( | shininess:f32 | ) |
sets shininess visual value of the object with given argument Generated from method MR::MeasurementObject::setShininess.
Calls MR_MeasurementObject_setShininess().
| void meshlib::MeasurementObject::set_specular_strength | ( | specularStrength:f32 | ) |
sets intensity of reflections Generated from method MR::MeasurementObject::setSpecularStrength.
Calls MR_MeasurementObject_setSpecularStrength().
| void meshlib::MeasurementObject::set_use_default_scene_properties_on_deserialization | ( | useDefaultScenePropertiesOnDeserialization:bool | ) |
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::MeasurementObject::setUseDefaultScenePropertiesOnDeserialization.
Calls MR_MeasurementObject_setUseDefaultScenePropertiesOnDeserialization().
| void meshlib::MeasurementObject::set_visibility_mask | ( | viewportMask:&meshlib::ViewportMask | ) |
specifies object visibility as bitmask of viewports Generated from method MR::MeasurementObject::setVisibilityMask.
Calls MR_MeasurementObject_setVisibilityMask().
| void meshlib::MeasurementObject::set_visible | ( | on:bool | , |
| viewportMask:Option<&meshlib::ViewportMask > | ) |
sets the object visible in the viewports specified by the mask (by default in all viewports) Generated from method MR::MeasurementObject::setVisible.
Calls MR_MeasurementObject_setVisible().
| void meshlib::MeasurementObject::set_visualize_property | ( | value:bool | , |
| type:&meshlib::AnyVisualizeMaskEnum | , | ||
| viewportMask:&meshlib::ViewportMask | ) |
set visual property in all viewports specified by the mask Generated from method MR::MeasurementObject::setVisualizeProperty.
Calls MR_MeasurementObject_setVisualizeProperty().
| void meshlib::MeasurementObject::set_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
set visual property mask Generated from method MR::MeasurementObject::setVisualizePropertyMask.
Calls MR_MeasurementObject_setVisualizePropertyMask().
| void meshlib::MeasurementObject::set_world_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::MeasurementObject::setWorldXf.
Calls MR_MeasurementObject_setWorldXf().
| void meshlib::MeasurementObject::set_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::MeasurementObject::setXf.
Calls MR_MeasurementObject_setXf().
| void meshlib::MeasurementObject::set_xfs_for_all_viewports | ( | xf:&meshlib::ViewportProperty_MR_AffineXf3f | ) |
modifies xfs for all viewports at once Generated from method MR::MeasurementObject::setXfsForAllViewports.
Calls MR_MeasurementObject_setXfsForAllViewports().
| auto meshlib::MeasurementObject::shallow_clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
clones this object only, without its children, making new object to share resources with this object Generated from method MR::MeasurementObject::shallowClone.
Calls MR_MeasurementObject_shallowClone().
| auto meshlib::MeasurementObject::shallow_clone_tree | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR::MeasurementObject::shallowCloneTree.
Calls MR_MeasurementObject_shallowCloneTree().
| void meshlib::MeasurementObject::sort_children | ( | ) |
sort recognized children by name Generated from method MR::MeasurementObject::sortChildren.
Calls MR_MeasurementObject_sortChildren().
|
static |
Generated from method MR::MeasurementObject::StaticClassName.
Calls MR_MeasurementObject_StaticClassName().
|
static |
Generated from method MR::MeasurementObject::StaticClassNameInPlural.
Calls MR_MeasurementObject_StaticClassNameInPlural().
|
static |
Static downcast from the base class MR::Object.
Calls MR_MeasurementObject_StaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a MeasurementObject.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_MeasurementObject_StaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a MeasurementObject.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_MeasurementObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a MeasurementObject.
|
static |
Static downcast from the base class MR::Object.
Calls MR_MeasurementObject_MutableStaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a MeasurementObject.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_MeasurementObject_StaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a MeasurementObject.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_MeasurementObject_MutableStaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a MeasurementObject.
|
static |
Generated from method MR::MeasurementObject::StaticTypeName.
Calls MR_MeasurementObject_StaticTypeName().
| auto meshlib::MeasurementObject::supports_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> bool |
Returns true if this class supports the property type. Otherwise passing it to the functions below is illegal. Generated from method MR::MeasurementObject::supportsVisualizeProperty.
Calls MR_MeasurementObject_supportsVisualizeProperty().
| void meshlib::MeasurementObject::swap | ( | other:&mut meshlib::Object | ) |
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::MeasurementObject::swap.
Calls MR_MeasurementObject_swap().
| auto meshlib::MeasurementObject::tags | ( | ) | const -> &meshlib::std_set_std_string |
provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::MeasurementObject::tags.
Calls MR_MeasurementObject_tags().
| void meshlib::MeasurementObject::toggle_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
toggle visual property in all viewports specified by the mask Generated from method MR::MeasurementObject::toggleVisualizeProperty.
Calls MR_MeasurementObject_toggleVisualizeProperty().
| auto meshlib::MeasurementObject::type_name | ( | ) | const -> Option<&core::ffi::c_char > |
Generated from method MR::MeasurementObject::typeName.
Calls MR_MeasurementObject_typeName().
| auto meshlib::MeasurementObject::upcast_to_object | ( | ) | const -> &meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_MeasurementObject_UpcastTo_MR_Object().
| auto meshlib::MeasurementObject::upcast_to_object_children_holder | ( | ) | const -> &meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_MeasurementObject_UpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::MeasurementObject::upcast_to_object_children_holder_mut | ( | ) | -> &mut meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_MeasurementObject_MutableUpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::MeasurementObject::upcast_to_object_mut | ( | ) | -> &mut meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_MeasurementObject_MutableUpcastTo_MR_Object().
| auto meshlib::MeasurementObject::upcast_to_visual_object | ( | ) | const -> &meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_MeasurementObject_UpcastTo_MR_VisualObject().
| auto meshlib::MeasurementObject::upcast_to_visual_object_mut | ( | ) | -> &mut meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_MeasurementObject_MutableUpcastTo_MR_VisualObject().
| auto meshlib::MeasurementObject::use_default_scene_properties_on_deserialization | ( | ) | const -> bool |
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::MeasurementObject::useDefaultScenePropertiesOnDeserialization.
Calls MR_MeasurementObject_useDefaultScenePropertiesOnDeserialization().
| auto meshlib::MeasurementObject::visibility_mask | ( | ) | const -> meshlib::Owned< meshlib::ViewportMask > |
gets object visibility as bitmask of viewports Generated from method MR::MeasurementObject::visibilityMask.
Calls MR_MeasurementObject_visibilityMask().
| auto meshlib::MeasurementObject::world_xf | ( | id:Option<&meshlib::ViewportId > | , |
| isDef:Option<&mut bool > | ) const -> meshlib::AffineXf3f |
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::MeasurementObject::worldXf. |
Calls MR_MeasurementObject_worldXf().
| auto meshlib::MeasurementObject::xf | ( | id:Option<&meshlib::ViewportId > | , |
| isDef:Option<&mut bool > | ) const -> &meshlib::AffineXf3f |
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::MeasurementObject::xf. |
Calls MR_MeasurementObject_xf().
| auto meshlib::MeasurementObject::xfs_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_AffineXf3f |
returns xfs for all viewports, combined into a single object Generated from method MR::MeasurementObject::xfsForAllViewports.
Calls MR_MeasurementObject_xfsForAllViewports().