Generated from class MR::PointMeasurementObject. Base classes: Direct: (non-virtual) MR::MeasurementObject MR::ObjectComparableWithReference Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object MR::VisualObject
Generated from class MR::PointMeasurementObject. Heap-allocated instances are held in Owned<PointMeasurementObject>.
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::addChild. |
Calls MR_PointMeasurementObject_addChild().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::addChildBefore.
Calls MR_PointMeasurementObject_addChildBefore().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::addTag.
Calls MR_PointMeasurementObject_addTag().
| void meshlib::PointMeasurementObject::apply_scale | ( | scaleFactor:f32 | ) |
scale object size (all point positions) Generated from method MR::PointMeasurementObject::applyScale.
Calls MR_PointMeasurementObject_applyScale().
| auto meshlib::PointMeasurementObject::assign_from_another | ( | _other:meshlib::Owned< meshlib::PointMeasurementObject > | ) | -> &mut meshlib::PointMeasurementObject |
Generated from method MR::PointMeasurementObject::operator=.
Calls MR_PointMeasurementObject_AssignFromAnother(). 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.
| auto meshlib::PointMeasurementObject::class_name | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::PointMeasurementObject::className.
Calls MR_PointMeasurementObject_className().
| auto meshlib::PointMeasurementObject::class_name_in_plural | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::PointMeasurementObject::classNameInPlural.
Calls MR_PointMeasurementObject_classNameInPlural().
| auto meshlib::PointMeasurementObject::clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::PointMeasurementObject::clone.
Calls MR_PointMeasurementObject_clone().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::cloneTree.
Calls MR_PointMeasurementObject_cloneTree().
| auto meshlib::PointMeasurementObject::comparison_tolerance_is_always_only_positive | ( | i:usize | ) | const -> bool |
Generated from method MR::PointMeasurementObject::comparisonToleranceIsAlwaysOnlyPositive.
Calls MR_PointMeasurementObject_comparisonToleranceIsAlwaysOnlyPositive().
| auto meshlib::PointMeasurementObject::compute_comparable_property | ( | i:usize | ) | const -> meshlib::Owned< meshlib::std_optional_MR_ObjectComparableWithReference_ComparableProperty > |
Generated from method MR::PointMeasurementObject::computeComparableProperty.
Calls MR_PointMeasurementObject_computeComparableProperty().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::constChildren.
Calls MR_PointMeasurementObject_constChildren().
|
static |
Generated from constructor MR::PointMeasurementObject::PointMeasurementObject.
Calls MR_PointMeasurementObject_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| void meshlib::PointMeasurementObject::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::PointMeasurementObject::copyAllSolidColors.
Calls MR_PointMeasurementObject_copyAllSolidColors().
| auto meshlib::PointMeasurementObject::detach_from_parent | ( | ) | -> bool |
removes this from its parent children list returns false if it was already orphan Generated from method MR::PointMeasurementObject::detachFromParent.
Calls MR_PointMeasurementObject_detachFromParent().
|
static |
Dynamic downcast from the base class MR::MeasurementObject. Returns None if the object isn't actually a PointMeasurementObject.
Calls MR_PointMeasurementObject_DynamicDowncastFrom_MR_MeasurementObject().
|
static |
Dynamic downcast from the base class MR::MeasurementObject. Returns None if the object isn't actually a PointMeasurementObject.
Calls MR_PointMeasurementObject_MutableDynamicDowncastFrom_MR_MeasurementObject().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a PointMeasurementObject.
Calls MR_PointMeasurementObject_DynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::ObjectComparableWithReference. Returns None if the object isn't actually a PointMeasurementObject.
Calls MR_PointMeasurementObject_DynamicDowncastFrom_MR_ObjectComparableWithReference().
|
static |
Dynamic downcast from the base class MR::ObjectComparableWithReference. Returns None if the object isn't actually a PointMeasurementObject.
Calls MR_PointMeasurementObject_MutableDynamicDowncastFrom_MR_ObjectComparableWithReference().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a PointMeasurementObject.
Calls MR_PointMeasurementObject_MutableDynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a PointMeasurementObject.
Calls MR_PointMeasurementObject_DynamicDowncastFrom_MR_VisualObject().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a PointMeasurementObject.
Calls MR_PointMeasurementObject_MutableDynamicDowncastFrom_MR_VisualObject().
| auto meshlib::PointMeasurementObject::get_all_visualize_properties | ( | ) | const -> meshlib::Owned< meshlib::std_vector_MR_ViewportMask > |
Generated from method MR::PointMeasurementObject::getAllVisualizeProperties.
Calls MR_PointMeasurementObject_getAllVisualizeProperties().
| auto meshlib::PointMeasurementObject::get_ambient_strength | ( | ) | const -> f32 |
returns intensity of non-directional light Generated from method MR::PointMeasurementObject::getAmbientStrength.
Calls MR_PointMeasurementObject_getAmbientStrength().
| auto meshlib::PointMeasurementObject::get_back_color | ( | viewportId:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns backward color of object in given viewport Generated from method MR::PointMeasurementObject::getBackColor.
Calls MR_PointMeasurementObject_getBackColor().
| auto meshlib::PointMeasurementObject::get_back_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
returns backward color of object in all viewports Generated from method MR::PointMeasurementObject::getBackColorsForAllViewports.
Calls MR_PointMeasurementObject_getBackColorsForAllViewports().
| auto meshlib::PointMeasurementObject::get_bounding_box | ( | ) | const -> meshlib::Box3f |
returns cached bounding box of this object in local coordinates Generated from method MR::PointMeasurementObject::getBoundingBox.
Calls MR_PointMeasurementObject_getBoundingBox().
| auto meshlib::PointMeasurementObject::get_coloring_type | ( | ) | const -> meshlib::ColoringType |
returns the current coloring mode of the object Generated from method MR::PointMeasurementObject::getColoringType.
Calls MR_PointMeasurementObject_getColoringType().
| auto meshlib::PointMeasurementObject::get_comparable_property_name | ( | i:usize | ) | const -> meshlib::Owned< meshlib::std_string_view > |
Generated from method MR::PointMeasurementObject::getComparablePropertyName.
Calls MR_PointMeasurementObject_getComparablePropertyName().
| auto meshlib::PointMeasurementObject::get_comparison_reference_value | ( | i:usize | ) | const -> meshlib::Owned< meshlib::ObjectComparableWithReference_ComparisonReferenceValue > |
Generated from method MR::PointMeasurementObject::getComparisonReferenceValue.
Calls MR_PointMeasurementObject_getComparisonReferenceValue().
| auto meshlib::PointMeasurementObject::get_comparison_reference_value_name | ( | i:usize | ) | const -> meshlib::Owned< meshlib::std_string_view > |
Generated from method MR::PointMeasurementObject::getComparisonReferenceValueName.
Calls MR_PointMeasurementObject_getComparisonReferenceValueName().
| auto meshlib::PointMeasurementObject::get_comparison_tolerence | ( | i:usize | ) | const -> meshlib::Owned< meshlib::std_optional_MR_ObjectComparableWithReference_ComparisonTolerance > |
Generated from method MR::PointMeasurementObject::getComparisonTolerence.
Calls MR_PointMeasurementObject_getComparisonTolerence().
| auto meshlib::PointMeasurementObject::get_dirty_flags | ( | ) | const -> core::ffi::c_uint |
returns current dirty flags for the object Generated from method MR::PointMeasurementObject::getDirtyFlags.
Calls MR_PointMeasurementObject_getDirtyFlags().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::getFrontColor.
Calls MR_PointMeasurementObject_getFrontColor().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::getFrontColorsForAllViewports.
Calls MR_PointMeasurementObject_getFrontColorsForAllViewports().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::getGlobalAlpha.
Calls MR_PointMeasurementObject_getGlobalAlpha().
| auto meshlib::PointMeasurementObject::get_global_alpha_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_unsigned_char |
returns global transparency alpha of object in all viewports Generated from method MR::PointMeasurementObject::getGlobalAlphaForAllViewports.
Calls MR_PointMeasurementObject_getGlobalAlphaForAllViewports().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::getInfoLines.
Calls MR_PointMeasurementObject_getInfoLines().
| auto meshlib::PointMeasurementObject::get_local_point | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
calculates point from xf Generated from method MR::PointMeasurementObject::getLocalPoint.
Calls MR_PointMeasurementObject_getLocalPoint().
| auto meshlib::PointMeasurementObject::get_model_hash | ( | ) | const -> usize |
return hash of model (or hash object pointer if object has no model) Generated from method MR::PointMeasurementObject::getModelHash.
Calls MR_PointMeasurementObject_getModelHash().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::getRedrawFlag.
Calls MR_PointMeasurementObject_getRedrawFlag().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::getSharedPtr.
Calls MR_PointMeasurementObject_getSharedPtr().
| auto meshlib::PointMeasurementObject::get_shininess | ( | ) | const -> f32 |
returns the current shininess visual value Generated from method MR::PointMeasurementObject::getShininess.
Calls MR_PointMeasurementObject_getShininess().
| auto meshlib::PointMeasurementObject::get_specular_strength | ( | ) | const -> f32 |
returns intensity of reflections Generated from method MR::PointMeasurementObject::getSpecularStrength.
Calls MR_PointMeasurementObject_getSpecularStrength().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::getVisualizeProperty.
Calls MR_PointMeasurementObject_getVisualizeProperty().
| auto meshlib::PointMeasurementObject::get_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> &meshlib::ViewportMask |
Generated from method MR::PointMeasurementObject::getVisualizePropertyMask.
Calls MR_PointMeasurementObject_getVisualizePropertyMask().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::getWorldBox.
Calls MR_PointMeasurementObject_getWorldBox().
| auto meshlib::PointMeasurementObject::get_world_point | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
Generated from method MR::PointMeasurementObject::getWorldPoint.
Calls MR_PointMeasurementObject_getWorldPoint().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::getWorldTreeBox.
Calls MR_PointMeasurementObject_getWorldTreeBox().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::globalClippedByPlane.
Calls MR_PointMeasurementObject_globalClippedByPlane().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::globalClippedByPlaneMask.
Calls MR_PointMeasurementObject_globalClippedByPlaneMask().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::globalVisibility.
Calls MR_PointMeasurementObject_globalVisibility().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::globalVisibilityMask.
Calls MR_PointMeasurementObject_globalVisibilityMask().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::hasModel.
Calls MR_PointMeasurementObject_hasModel().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::hasVisualRepresentation.
Calls MR_PointMeasurementObject_hasVisualRepresentation().
| auto meshlib::PointMeasurementObject::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::PointMeasurementObject::heapBytes.
Calls MR_PointMeasurementObject_heapBytes().
| auto meshlib::PointMeasurementObject::is_ancestor | ( | ancestor:Option<&meshlib::Object > | ) | const -> bool |
return true if given object is ancestor of this one, false otherwise Generated from method MR::PointMeasurementObject::isAncestor.
Calls MR_PointMeasurementObject_isAncestor().
| auto meshlib::PointMeasurementObject::is_ancillary | ( | ) | const -> bool |
Generated from method MR::PointMeasurementObject::isAncillary.
Calls MR_PointMeasurementObject_isAncillary().
| auto meshlib::PointMeasurementObject::is_global_ancillary | ( | ) | const -> bool |
returns true if the object or any of its ancestors are ancillary Generated from method MR::PointMeasurementObject::isGlobalAncillary.
Calls MR_PointMeasurementObject_isGlobalAncillary().
| auto meshlib::PointMeasurementObject::is_locked | ( | ) | const -> bool |
object properties lock for UI Generated from method MR::PointMeasurementObject::isLocked.
Calls MR_PointMeasurementObject_isLocked().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::isParentLocked.
Calls MR_PointMeasurementObject_isParentLocked().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::isPickable.
Calls MR_PointMeasurementObject_isPickable().
| auto meshlib::PointMeasurementObject::is_selected | ( | ) | const -> bool |
Generated from method MR::PointMeasurementObject::isSelected.
Calls MR_PointMeasurementObject_isSelected().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::isVisible.
Calls MR_PointMeasurementObject_isVisible().
| auto meshlib::PointMeasurementObject::name | ( | ) | const -> &meshlib::std_string |
Generated from method MR::PointMeasurementObject::name.
Calls MR_PointMeasurementObject_name().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_PointMeasurementObject_DefaultConstruct().
| auto meshlib::PointMeasurementObject::num_comparable_properties | ( | ) | const -> usize |
Implement ObjectComparableWithReference: Generated from method MR::PointMeasurementObject::numComparableProperties.
Calls MR_PointMeasurementObject_numComparableProperties().
| auto meshlib::PointMeasurementObject::num_comparison_reference_values | ( | ) | const -> usize |
This returns 2: the point, and the optional normal direction. The normal doesn't need to be normalized, its length doesn't affect calculations. If the normal isn't specified, the Euclidean distance gets used. Generated from method MR::PointMeasurementObject::numComparisonReferenceValues.
Calls MR_PointMeasurementObject_numComparisonReferenceValues().
| void meshlib::PointMeasurementObject::remove_all_children | ( | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::PointMeasurementObject::removeAllChildren.
Calls MR_PointMeasurementObject_removeAllChildren().
| auto meshlib::PointMeasurementObject::remove_tag | ( | tag:& | str | ) | -> bool |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::PointMeasurementObject::removeTag.
Calls MR_PointMeasurementObject_removeTag().
| auto meshlib::PointMeasurementObject::render | ( | _1:&meshlib::ModelRenderParams | ) | const -> bool |
draws this object for visualization Returns true if something was drawn. Generated from method MR::PointMeasurementObject::render.
Calls MR_PointMeasurementObject_render().
| void meshlib::PointMeasurementObject::render_for_picker | ( | _1:&meshlib::ModelBaseRenderParams | , |
| _2:core::ffi::c_uint | ) const |
draws this object for picking Generated from method MR::PointMeasurementObject::renderForPicker.
Calls MR_PointMeasurementObject_renderForPicker().
| void meshlib::PointMeasurementObject::render_ui | ( | params:&meshlib::UiRenderParams | ) | const |
draws this object for 2d UI Generated from method MR::PointMeasurementObject::renderUi.
Calls MR_PointMeasurementObject_renderUi().
| void meshlib::PointMeasurementObject::reset_colors | ( | ) |
reset all object colors to their default values from the current theme Generated from method MR::PointMeasurementObject::resetColors.
Calls MR_PointMeasurementObject_resetColors().
| void meshlib::PointMeasurementObject::reset_dirty | ( | ) | const |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::PointMeasurementObject::resetDirty.
Calls MR_PointMeasurementObject_resetDirty().
| void meshlib::PointMeasurementObject::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::PointMeasurementObject::resetDirtyExceptMask.
Calls MR_PointMeasurementObject_resetDirtyExceptMask().
| void meshlib::PointMeasurementObject::reset_front_color | ( | ) |
reset basic object colors to their default values from the current theme Generated from method MR::PointMeasurementObject::resetFrontColor.
Calls MR_PointMeasurementObject_resetFrontColor().
| void meshlib::PointMeasurementObject::reset_redraw_flag | ( | ) | const |
Generated from method MR::PointMeasurementObject::resetRedrawFlag.
Calls MR_PointMeasurementObject_resetRedrawFlag().
| void meshlib::PointMeasurementObject::reset_xf | ( | id:Option<&meshlib::ViewportId > | ) |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::PointMeasurementObject::resetXf.
Calls MR_PointMeasurementObject_resetXf().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::sameModels.
Calls MR_PointMeasurementObject_sameModels().
| auto meshlib::PointMeasurementObject::select | ( | on:bool | ) | -> bool |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::PointMeasurementObject::select.
Calls MR_PointMeasurementObject_select().
| void meshlib::PointMeasurementObject::set_all_visualize_properties | ( | properties:&meshlib::std_vector_MR_ViewportMask | ) |
set all visualize properties masks Generated from method MR::PointMeasurementObject::setAllVisualizeProperties.
Calls MR_PointMeasurementObject_setAllVisualizeProperties().
| void meshlib::PointMeasurementObject::set_ambient_strength | ( | ambientStrength:f32 | ) |
sets intensity of non-directional light Generated from method MR::PointMeasurementObject::setAmbientStrength.
Calls MR_PointMeasurementObject_setAmbientStrength().
| void meshlib::PointMeasurementObject::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::PointMeasurementObject::setAncillary.
Calls MR_PointMeasurementObject_setAncillary().
| void meshlib::PointMeasurementObject::set_back_color | ( | color:&meshlib::Color | , |
| viewportId:Option<&meshlib::ViewportId > | ) |
sets backward color of object in given viewport Generated from method MR::PointMeasurementObject::setBackColor.
Calls MR_PointMeasurementObject_setBackColor().
| void meshlib::PointMeasurementObject::set_back_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
sets backward color of object in all viewports Generated from method MR::PointMeasurementObject::setBackColorsForAllViewports.
Calls MR_PointMeasurementObject_setBackColorsForAllViewports().
| void meshlib::PointMeasurementObject::set_coloring_type | ( | coloringType:meshlib::ColoringType | ) |
sets coloring mode of the object with given argument Generated from method MR::PointMeasurementObject::setColoringType.
Calls MR_PointMeasurementObject_setColoringType().
| void meshlib::PointMeasurementObject::set_comparison_reference_val | ( | i:usize | , |
| value:&meshlib::ObjectComparableWithReference_ComparisonReferenceValue | ) |
Generated from method MR::PointMeasurementObject::setComparisonReferenceVal.
Calls MR_PointMeasurementObject_setComparisonReferenceVal().
| void meshlib::PointMeasurementObject::set_comparison_reference_value | ( | i:usize | , |
| value:Option<&meshlib::std_variant_float_MR_Vector3f > | ) |
Generated from method MR::PointMeasurementObject::setComparisonReferenceValue.
Calls MR_PointMeasurementObject_setComparisonReferenceValue().
| void meshlib::PointMeasurementObject::set_comparison_tolerance | ( | i:usize | , |
| newTolerance:Option<&meshlib::ObjectComparableWithReference_ComparisonTolerance > | ) |
Generated from method MR::PointMeasurementObject::setComparisonTolerance.
Calls MR_PointMeasurementObject_setComparisonTolerance().
| void meshlib::PointMeasurementObject::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::PointMeasurementObject::setDirtyFlags. |
Calls MR_PointMeasurementObject_setDirtyFlags().
| void meshlib::PointMeasurementObject::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::PointMeasurementObject::setFrontColor.
Calls MR_PointMeasurementObject_setFrontColor().
| void meshlib::PointMeasurementObject::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::PointMeasurementObject::setFrontColorsForAllViewports.
Calls MR_PointMeasurementObject_setFrontColorsForAllViewports().
| void meshlib::PointMeasurementObject::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::PointMeasurementObject::setGlobalAlpha.
Calls MR_PointMeasurementObject_setGlobalAlpha().
| void meshlib::PointMeasurementObject::set_global_alpha_for_all_viewports | ( | val:&meshlib::ViewportProperty_unsigned_char | ) |
sets global transparency alpha of object in all viewports Generated from method MR::PointMeasurementObject::setGlobalAlphaForAllViewports.
Calls MR_PointMeasurementObject_setGlobalAlphaForAllViewports().
| void meshlib::PointMeasurementObject::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::PointMeasurementObject::setGlobalClippedByPlane.
Calls MR_PointMeasurementObject_setGlobalClippedByPlane().
| void meshlib::PointMeasurementObject::set_global_visibility | ( | on:bool | , |
| viewportMask:Option<&meshlib::ViewportMask > | ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::PointMeasurementObject::setGlobalVisibility.
Calls MR_PointMeasurementObject_setGlobalVisibility().
| void meshlib::PointMeasurementObject::set_local_point | ( | point:&meshlib::Vector3f | , |
| id:Option<&meshlib::ViewportId > | ) |
updates xf to fit given point Generated from method MR::PointMeasurementObject::setLocalPoint.
Calls MR_PointMeasurementObject_setLocalPoint().
| void meshlib::PointMeasurementObject::set_locked | ( | on:bool | ) |
Generated from method MR::PointMeasurementObject::setLocked.
Calls MR_PointMeasurementObject_setLocked().
| void meshlib::PointMeasurementObject::set_name | ( | name:& | str | ) |
Generated from method MR::PointMeasurementObject::setName.
Calls MR_PointMeasurementObject_setName().
| void meshlib::PointMeasurementObject::set_parent_locked | ( | lock:bool | ) |
Generated from method MR::PointMeasurementObject::setParentLocked.
Calls MR_PointMeasurementObject_setParentLocked().
| void meshlib::PointMeasurementObject::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::PointMeasurementObject::setPickable.
Calls MR_PointMeasurementObject_setPickable().
| void meshlib::PointMeasurementObject::set_shininess | ( | shininess:f32 | ) |
sets shininess visual value of the object with given argument Generated from method MR::PointMeasurementObject::setShininess.
Calls MR_PointMeasurementObject_setShininess().
| void meshlib::PointMeasurementObject::set_specular_strength | ( | specularStrength:f32 | ) |
sets intensity of reflections Generated from method MR::PointMeasurementObject::setSpecularStrength.
Calls MR_PointMeasurementObject_setSpecularStrength().
| void meshlib::PointMeasurementObject::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::PointMeasurementObject::setUseDefaultScenePropertiesOnDeserialization.
Calls MR_PointMeasurementObject_setUseDefaultScenePropertiesOnDeserialization().
| void meshlib::PointMeasurementObject::set_visibility_mask | ( | viewportMask:&meshlib::ViewportMask | ) |
specifies object visibility as bitmask of viewports Generated from method MR::PointMeasurementObject::setVisibilityMask.
Calls MR_PointMeasurementObject_setVisibilityMask().
| void meshlib::PointMeasurementObject::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::PointMeasurementObject::setVisible.
Calls MR_PointMeasurementObject_setVisible().
| void meshlib::PointMeasurementObject::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::PointMeasurementObject::setVisualizeProperty.
Calls MR_PointMeasurementObject_setVisualizeProperty().
| void meshlib::PointMeasurementObject::set_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
set visual property mask Generated from method MR::PointMeasurementObject::setVisualizePropertyMask.
Calls MR_PointMeasurementObject_setVisualizePropertyMask().
| void meshlib::PointMeasurementObject::set_world_point | ( | point:&meshlib::Vector3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::PointMeasurementObject::setWorldPoint.
Calls MR_PointMeasurementObject_setWorldPoint().
| void meshlib::PointMeasurementObject::set_world_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::PointMeasurementObject::setWorldXf.
Calls MR_PointMeasurementObject_setWorldXf().
| void meshlib::PointMeasurementObject::set_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::PointMeasurementObject::setXf.
Calls MR_PointMeasurementObject_setXf().
| void meshlib::PointMeasurementObject::set_xfs_for_all_viewports | ( | xf:&meshlib::ViewportProperty_MR_AffineXf3f | ) |
modifies xfs for all viewports at once Generated from method MR::PointMeasurementObject::setXfsForAllViewports.
Calls MR_PointMeasurementObject_setXfsForAllViewports().
| auto meshlib::PointMeasurementObject::shallow_clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::PointMeasurementObject::shallowClone.
Calls MR_PointMeasurementObject_shallowClone().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::shallowCloneTree.
Calls MR_PointMeasurementObject_shallowCloneTree().
| void meshlib::PointMeasurementObject::sort_children | ( | ) |
sort recognized children by name Generated from method MR::PointMeasurementObject::sortChildren.
Calls MR_PointMeasurementObject_sortChildren().
|
static |
Generated from method MR::PointMeasurementObject::StaticClassName.
Calls MR_PointMeasurementObject_StaticClassName().
|
static |
Generated from method MR::PointMeasurementObject::StaticClassNameInPlural.
Calls MR_PointMeasurementObject_StaticClassNameInPlural().
|
static |
Static downcast from the base class MR::MeasurementObject.
Calls MR_PointMeasurementObject_StaticDowncastFrom_MR_MeasurementObject(). Undefined behavior if the object isn't actually a PointMeasurementObject.
|
static |
Static downcast from the base class MR::MeasurementObject.
Calls MR_PointMeasurementObject_MutableStaticDowncastFrom_MR_MeasurementObject(). Undefined behavior if the object isn't actually a PointMeasurementObject.
|
static |
Static downcast from the base class MR::Object.
Calls MR_PointMeasurementObject_StaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a PointMeasurementObject.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_PointMeasurementObject_StaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a PointMeasurementObject.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_PointMeasurementObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a PointMeasurementObject.
|
static |
Static downcast from the base class MR::ObjectComparableWithReference.
Calls MR_PointMeasurementObject_StaticDowncastFrom_MR_ObjectComparableWithReference(). Undefined behavior if the object isn't actually a PointMeasurementObject.
|
static |
Static downcast from the base class MR::ObjectComparableWithReference.
Calls MR_PointMeasurementObject_MutableStaticDowncastFrom_MR_ObjectComparableWithReference(). Undefined behavior if the object isn't actually a PointMeasurementObject.
|
static |
Static downcast from the base class MR::Object.
Calls MR_PointMeasurementObject_MutableStaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a PointMeasurementObject.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_PointMeasurementObject_StaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a PointMeasurementObject.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_PointMeasurementObject_MutableStaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a PointMeasurementObject.
|
static |
Generated from method MR::PointMeasurementObject::StaticTypeName.
Calls MR_PointMeasurementObject_StaticTypeName().
| auto meshlib::PointMeasurementObject::supports_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> bool |
Generated from method MR::PointMeasurementObject::supportsVisualizeProperty.
Calls MR_PointMeasurementObject_supportsVisualizeProperty().
| void meshlib::PointMeasurementObject::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::PointMeasurementObject::swap.
Calls MR_PointMeasurementObject_swap().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::tags.
Calls MR_PointMeasurementObject_tags().
| void meshlib::PointMeasurementObject::toggle_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
toggle visual property in all viewports specified by the mask Generated from method MR::PointMeasurementObject::toggleVisualizeProperty.
Calls MR_PointMeasurementObject_toggleVisualizeProperty().
| auto meshlib::PointMeasurementObject::type_name | ( | ) | const -> Option<&core::ffi::c_char > |
Generated from method MR::PointMeasurementObject::typeName.
Calls MR_PointMeasurementObject_typeName().
| auto meshlib::PointMeasurementObject::upcast_to_measurement_object | ( | ) | const -> &meshlib::MeasurementObject |
Upcasts to the base class MR::MeasurementObject.
Calls MR_PointMeasurementObject_UpcastTo_MR_MeasurementObject().
| auto meshlib::PointMeasurementObject::upcast_to_measurement_object_mut | ( | ) | -> &mut meshlib::MeasurementObject |
Upcasts to the base class MR::MeasurementObject.
Calls MR_PointMeasurementObject_MutableUpcastTo_MR_MeasurementObject().
| auto meshlib::PointMeasurementObject::upcast_to_object | ( | ) | const -> &meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_PointMeasurementObject_UpcastTo_MR_Object().
| auto meshlib::PointMeasurementObject::upcast_to_object_children_holder | ( | ) | const -> &meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_PointMeasurementObject_UpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::PointMeasurementObject::upcast_to_object_children_holder_mut | ( | ) | -> &mut meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_PointMeasurementObject_MutableUpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::PointMeasurementObject::upcast_to_object_comparable_with_reference | ( | ) | const -> &meshlib::ObjectComparableWithReference |
Upcasts to the base class MR::ObjectComparableWithReference.
Calls MR_PointMeasurementObject_UpcastTo_MR_ObjectComparableWithReference().
| auto meshlib::PointMeasurementObject::upcast_to_object_comparable_with_reference_mut | ( | ) | -> &mut meshlib::ObjectComparableWithReference |
Upcasts to the base class MR::ObjectComparableWithReference.
Calls MR_PointMeasurementObject_MutableUpcastTo_MR_ObjectComparableWithReference().
| auto meshlib::PointMeasurementObject::upcast_to_object_mut | ( | ) | -> &mut meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_PointMeasurementObject_MutableUpcastTo_MR_Object().
| auto meshlib::PointMeasurementObject::upcast_to_visual_object | ( | ) | const -> &meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_PointMeasurementObject_UpcastTo_MR_VisualObject().
| auto meshlib::PointMeasurementObject::upcast_to_visual_object_mut | ( | ) | -> &mut meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_PointMeasurementObject_MutableUpcastTo_MR_VisualObject().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::useDefaultScenePropertiesOnDeserialization.
Calls MR_PointMeasurementObject_useDefaultScenePropertiesOnDeserialization().
| auto meshlib::PointMeasurementObject::visibility_mask | ( | ) | const -> meshlib::Owned< meshlib::ViewportMask > |
gets object visibility as bitmask of viewports Generated from method MR::PointMeasurementObject::visibilityMask.
Calls MR_PointMeasurementObject_visibilityMask().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::worldXf. |
Calls MR_PointMeasurementObject_worldXf().
| auto meshlib::PointMeasurementObject::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::PointMeasurementObject::xf. |
Calls MR_PointMeasurementObject_xf().
| auto meshlib::PointMeasurementObject::xfs_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_AffineXf3f |
returns xfs for all viewports, combined into a single object Generated from method MR::PointMeasurementObject::xfsForAllViewports.
Calls MR_PointMeasurementObject_xfsForAllViewports().