Static Public Member Functions | |
| 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) |
An interface class which allows feature objects to share setters and getters on their main properties, for convenient presentation in the UI Generated from class MR::FeatureObject. Base classes: Direct: (non-virtual) MR::VisualObject Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object Derived classes: Direct: (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::LineObject MR::PlaneObject MR::PointObject Indirect: (non-virtual) MR::CircleObject MR::ConeObject MR::CylinderObject MR::SphereObject
Generated from class MR::FeatureObject. Heap-allocated instances are held in Owned<FeatureObject>.
| auto meshlib::FeatureObject::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::FeatureObject::addChild. |
Calls MR_FeatureObject_addChild().
| auto meshlib::FeatureObject::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::FeatureObject::addChildBefore.
Calls MR_FeatureObject_addChildBefore().
| auto meshlib::FeatureObject::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::FeatureObject::addTag.
Calls MR_FeatureObject_addTag().
| void meshlib::FeatureObject::apply_scale | ( | scaleFactor:f32 | ) |
scale object size (all point positions) Generated from method MR::FeatureObject::applyScale.
Calls MR_FeatureObject_applyScale().
| auto meshlib::FeatureObject::class_name | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::FeatureObject::className.
Calls MR_FeatureObject_className().
| auto meshlib::FeatureObject::class_name_in_plural | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::FeatureObject::classNameInPlural.
Calls MR_FeatureObject_classNameInPlural().
| auto meshlib::FeatureObject::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::FeatureObject::clone.
Calls MR_FeatureObject_clone().
| auto meshlib::FeatureObject::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::FeatureObject::cloneTree.
Calls MR_FeatureObject_cloneTree().
| auto meshlib::FeatureObject::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::FeatureObject::constChildren.
Calls MR_FeatureObject_constChildren().
| void meshlib::FeatureObject::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::FeatureObject::copyAllSolidColors.
Calls MR_FeatureObject_copyAllSolidColors().
| auto meshlib::FeatureObject::detach_from_parent | ( | ) | -> bool |
removes this from its parent children list returns false if it was already orphan Generated from method MR::FeatureObject::detachFromParent.
Calls MR_FeatureObject_detachFromParent().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a FeatureObject.
Calls MR_FeatureObject_DynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a FeatureObject.
Calls MR_FeatureObject_MutableDynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a FeatureObject.
Calls MR_FeatureObject_DynamicDowncastFrom_MR_VisualObject().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a FeatureObject.
Calls MR_FeatureObject_MutableDynamicDowncastFrom_MR_VisualObject().
| auto meshlib::FeatureObject::get_all_shared_properties | ( | ) | const -> &meshlib::std_vector_MR_FeatureObjectSharedProperty |
Create and generate list of bounded getters and setters for the main properties of feature object, together with prop. name for display and edit into UI. Generated from method MR::FeatureObject::getAllSharedProperties.
Calls MR_FeatureObject_getAllSharedProperties().
| auto meshlib::FeatureObject::get_all_visualize_properties | ( | ) | const -> meshlib::Owned< meshlib::std_vector_MR_ViewportMask > |
Generated from method MR::FeatureObject::getAllVisualizeProperties.
Calls MR_FeatureObject_getAllVisualizeProperties().
| auto meshlib::FeatureObject::get_ambient_strength | ( | ) | const -> f32 |
returns intensity of non-directional light Generated from method MR::FeatureObject::getAmbientStrength.
Calls MR_FeatureObject_getAmbientStrength().
| auto meshlib::FeatureObject::get_back_color | ( | viewportId:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns backward color of object in given viewport Generated from method MR::FeatureObject::getBackColor.
Calls MR_FeatureObject_getBackColor().
| auto meshlib::FeatureObject::get_back_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
returns backward color of object in all viewports Generated from method MR::FeatureObject::getBackColorsForAllViewports.
Calls MR_FeatureObject_getBackColorsForAllViewports().
| auto meshlib::FeatureObject::get_base_point | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
Returns point considered as base for the feature Generated from method MR::FeatureObject::getBasePoint.
Calls MR_FeatureObject_getBasePoint().
| auto meshlib::FeatureObject::get_bounding_box | ( | ) | const -> meshlib::Box3f |
returns cached bounding box of this object in local coordinates Generated from method MR::FeatureObject::getBoundingBox.
Calls MR_FeatureObject_getBoundingBox().
| auto meshlib::FeatureObject::get_coloring_type | ( | ) | const -> meshlib::ColoringType |
returns the current coloring mode of the object Generated from method MR::FeatureObject::getColoringType.
Calls MR_FeatureObject_getColoringType().
| auto meshlib::FeatureObject::get_decorations_color | ( | selected:bool | , |
| viewportId:Option<&meshlib::ViewportId > | , | ||
| isDef:Option<&mut bool > | ) const -> &meshlib::Color |
This color is used for subfeatures. isDef receives false if matrix is overridden for this specific viewport. Generated from method MR::FeatureObject::getDecorationsColor.
Calls MR_FeatureObject_getDecorationsColor().
| auto meshlib::FeatureObject::get_decorations_color_for_all_viewports | ( | selected:bool | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::FeatureObject::getDecorationsColorForAllViewports.
Calls MR_FeatureObject_getDecorationsColorForAllViewports().
| auto meshlib::FeatureObject::get_dirty_flags | ( | ) | const -> core::ffi::c_uint |
returns current dirty flags for the object Generated from method MR::FeatureObject::getDirtyFlags.
Calls MR_FeatureObject_getDirtyFlags().
| auto meshlib::FeatureObject::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::FeatureObject::getFrontColor.
Calls MR_FeatureObject_getFrontColor().
| auto meshlib::FeatureObject::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::FeatureObject::getFrontColorsForAllViewports.
Calls MR_FeatureObject_getFrontColorsForAllViewports().
| auto meshlib::FeatureObject::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::FeatureObject::getGlobalAlpha.
Calls MR_FeatureObject_getGlobalAlpha().
| auto meshlib::FeatureObject::get_global_alpha_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_unsigned_char |
returns global transparency alpha of object in all viewports Generated from method MR::FeatureObject::getGlobalAlphaForAllViewports.
Calls MR_FeatureObject_getGlobalAlphaForAllViewports().
| auto meshlib::FeatureObject::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::FeatureObject::getInfoLines.
Calls MR_FeatureObject_getInfoLines().
| auto meshlib::FeatureObject::get_line_width | ( | ) | const -> f32 |
Generated from method MR::FeatureObject::getLineWidth.
Calls MR_FeatureObject_getLineWidth().
| auto meshlib::FeatureObject::get_main_feature_alpha | ( | ) | const -> f32 |
Per-component alpha multipliers. The global alpha is multiplied by thise. Generated from method MR::FeatureObject::getMainFeatureAlpha.
Calls MR_FeatureObject_getMainFeatureAlpha().
| auto meshlib::FeatureObject::get_model_hash | ( | ) | const -> usize |
return hash of model (or hash object pointer if object has no model) Generated from method MR::FeatureObject::getModelHash.
Calls MR_FeatureObject_getModelHash().
| auto meshlib::FeatureObject::get_normal | ( | point:&meshlib::Vector3f | ) | const -> meshlib::Owned< meshlib::std_optional_MR_Vector3f > |
Generated from method MR::FeatureObject::getNormal.
Calls MR_FeatureObject_getNormal().
| auto meshlib::FeatureObject::get_point_size | ( | ) | const -> f32 |
Point size and line width, for primary rendering rather than subfeatures. Generated from method MR::FeatureObject::getPointSize.
Calls MR_FeatureObject_getPointSize().
| auto meshlib::FeatureObject::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::FeatureObject::getRedrawFlag.
Calls MR_FeatureObject_getRedrawFlag().
| auto meshlib::FeatureObject::get_rotation_matrix | ( | id:Option<&meshlib::ViewportId > | , |
| isDef:Option<&mut bool > | ) const -> meshlib::Matrix3f |
The cached orthonormalized rotation matrix. isDef receives false if matrix is overridden for this specific viewport. Generated from method MR::FeatureObject::getRotationMatrix.
Calls MR_FeatureObject_getRotationMatrix().
| auto meshlib::FeatureObject::get_scale_shear_matrix | ( | id:Option<&meshlib::ViewportId > | , |
| isDef:Option<&mut bool > | ) const -> meshlib::Matrix3f |
The cached scale and shear matrix. The main diagnoal stores the scale, and some other elements store the shearing. isDef receives false if matrix is overridden for this specific viewport. Generated from method MR::FeatureObject::getScaleShearMatrix.
Calls MR_FeatureObject_getScaleShearMatrix().
| auto meshlib::FeatureObject::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::FeatureObject::getSharedPtr.
Calls MR_FeatureObject_getSharedPtr().
| auto meshlib::FeatureObject::get_shininess | ( | ) | const -> f32 |
returns the current shininess visual value Generated from method MR::FeatureObject::getShininess.
Calls MR_FeatureObject_getShininess().
| auto meshlib::FeatureObject::get_specular_strength | ( | ) | const -> f32 |
returns intensity of reflections Generated from method MR::FeatureObject::getSpecularStrength.
Calls MR_FeatureObject_getSpecularStrength().
| auto meshlib::FeatureObject::get_subfeature_alpha_lines | ( | ) | const -> f32 |
Generated from method MR::FeatureObject::getSubfeatureAlphaLines.
Calls MR_FeatureObject_getSubfeatureAlphaLines().
| auto meshlib::FeatureObject::get_subfeature_alpha_mesh | ( | ) | const -> f32 |
Generated from method MR::FeatureObject::getSubfeatureAlphaMesh.
Calls MR_FeatureObject_getSubfeatureAlphaMesh().
| auto meshlib::FeatureObject::get_subfeature_alpha_points | ( | ) | const -> f32 |
Generated from method MR::FeatureObject::getSubfeatureAlphaPoints.
Calls MR_FeatureObject_getSubfeatureAlphaPoints().
| auto meshlib::FeatureObject::get_subfeature_line_width | ( | ) | const -> f32 |
Generated from method MR::FeatureObject::getSubfeatureLineWidth.
Calls MR_FeatureObject_getSubfeatureLineWidth().
| auto meshlib::FeatureObject::get_subfeature_point_size | ( | ) | const -> f32 |
Point size and line width, for subfeatures rather than primary rendering. Generated from method MR::FeatureObject::getSubfeaturePointSize.
Calls MR_FeatureObject_getSubfeaturePointSize().
| auto meshlib::FeatureObject::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::FeatureObject::getVisualizeProperty.
Calls MR_FeatureObject_getVisualizeProperty().
| auto meshlib::FeatureObject::get_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> &meshlib::ViewportMask |
Generated from method MR::FeatureObject::getVisualizePropertyMask.
Calls MR_FeatureObject_getVisualizePropertyMask().
| auto meshlib::FeatureObject::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::FeatureObject::getWorldBox.
Calls MR_FeatureObject_getWorldBox().
| auto meshlib::FeatureObject::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::FeatureObject::getWorldTreeBox.
Calls MR_FeatureObject_getWorldTreeBox().
| auto meshlib::FeatureObject::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::FeatureObject::globalClippedByPlane.
Calls MR_FeatureObject_globalClippedByPlane().
| auto meshlib::FeatureObject::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::FeatureObject::globalClippedByPlaneMask.
Calls MR_FeatureObject_globalClippedByPlaneMask().
| auto meshlib::FeatureObject::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::FeatureObject::globalVisibility.
Calls MR_FeatureObject_globalVisibility().
| auto meshlib::FeatureObject::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::FeatureObject::globalVisibilityMask.
Calls MR_FeatureObject_globalVisibilityMask().
| auto meshlib::FeatureObject::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::FeatureObject::hasModel.
Calls MR_FeatureObject_hasModel().
| auto meshlib::FeatureObject::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::FeatureObject::hasVisualRepresentation.
Calls MR_FeatureObject_hasVisualRepresentation().
| auto meshlib::FeatureObject::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::FeatureObject::heapBytes.
Calls MR_FeatureObject_heapBytes().
| auto meshlib::FeatureObject::is_ancestor | ( | ancestor:Option<&meshlib::Object > | ) | const -> bool |
return true if given object is ancestor of this one, false otherwise Generated from method MR::FeatureObject::isAncestor.
Calls MR_FeatureObject_isAncestor().
| auto meshlib::FeatureObject::is_ancillary | ( | ) | const -> bool |
Generated from method MR::FeatureObject::isAncillary.
Calls MR_FeatureObject_isAncillary().
| auto meshlib::FeatureObject::is_global_ancillary | ( | ) | const -> bool |
returns true if the object or any of its ancestors are ancillary Generated from method MR::FeatureObject::isGlobalAncillary.
Calls MR_FeatureObject_isGlobalAncillary().
| auto meshlib::FeatureObject::is_locked | ( | ) | const -> bool |
object properties lock for UI Generated from method MR::FeatureObject::isLocked.
Calls MR_FeatureObject_isLocked().
| auto meshlib::FeatureObject::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::FeatureObject::isParentLocked.
Calls MR_FeatureObject_isParentLocked().
| auto meshlib::FeatureObject::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::FeatureObject::isPickable.
Calls MR_FeatureObject_isPickable().
| auto meshlib::FeatureObject::is_selected | ( | ) | const -> bool |
Generated from method MR::FeatureObject::isSelected.
Calls MR_FeatureObject_isSelected().
| auto meshlib::FeatureObject::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::FeatureObject::isVisible.
Calls MR_FeatureObject_isVisible().
| auto meshlib::FeatureObject::name | ( | ) | const -> &meshlib::std_string |
Generated from method MR::FeatureObject::name.
Calls MR_FeatureObject_name().
| auto meshlib::FeatureObject::project_point | ( | point:&meshlib::Vector3f | , |
| id:Option<&meshlib::ViewportId > | ) const -> meshlib::Owned< meshlib::FeatureObjectProjectPointResult > |
Since a point on an abstract feature is difficult to uniquely parameterize, the projection function simultaneously returns the normal to the surface at the projection point. Generated from method MR::FeatureObject::projectPoint.
Calls MR_FeatureObject_projectPoint().
| void meshlib::FeatureObject::remove_all_children | ( | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::FeatureObject::removeAllChildren.
Calls MR_FeatureObject_removeAllChildren().
| auto meshlib::FeatureObject::remove_tag | ( | tag:& | str | ) | -> bool |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::FeatureObject::removeTag.
Calls MR_FeatureObject_removeTag().
| auto meshlib::FeatureObject::render | ( | _1:&meshlib::ModelRenderParams | ) | const -> bool |
draws this object for visualization Returns true if something was drawn. Generated from method MR::FeatureObject::render.
Calls MR_FeatureObject_render().
| void meshlib::FeatureObject::render_for_picker | ( | _1:&meshlib::ModelBaseRenderParams | , |
| _2:core::ffi::c_uint | ) const |
draws this object for picking Generated from method MR::FeatureObject::renderForPicker.
Calls MR_FeatureObject_renderForPicker().
| void meshlib::FeatureObject::render_ui | ( | params:&meshlib::UiRenderParams | ) | const |
draws this object for 2d UI Generated from method MR::FeatureObject::renderUi.
Calls MR_FeatureObject_renderUi().
| void meshlib::FeatureObject::reset_colors | ( | ) |
reset all object colors to their default values from the current theme Generated from method MR::FeatureObject::resetColors.
Calls MR_FeatureObject_resetColors().
| void meshlib::FeatureObject::reset_dirty | ( | ) | const |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::FeatureObject::resetDirty.
Calls MR_FeatureObject_resetDirty().
| void meshlib::FeatureObject::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::FeatureObject::resetDirtyExceptMask.
Calls MR_FeatureObject_resetDirtyExceptMask().
| void meshlib::FeatureObject::reset_front_color | ( | ) |
reset basic object colors to their default values from the current theme Generated from method MR::FeatureObject::resetFrontColor.
Calls MR_FeatureObject_resetFrontColor().
| void meshlib::FeatureObject::reset_redraw_flag | ( | ) | const |
Generated from method MR::FeatureObject::resetRedrawFlag.
Calls MR_FeatureObject_resetRedrawFlag().
| void meshlib::FeatureObject::reset_xf | ( | id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::FeatureObject::resetXf.
Calls MR_FeatureObject_resetXf().
| auto meshlib::FeatureObject::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::FeatureObject::sameModels.
Calls MR_FeatureObject_sameModels().
| auto meshlib::FeatureObject::select | ( | on:bool | ) | -> bool |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::FeatureObject::select.
Calls MR_FeatureObject_select().
| void meshlib::FeatureObject::set_all_visualize_properties | ( | properties:&meshlib::std_vector_MR_ViewportMask | ) |
set all visualize properties masks Generated from method MR::FeatureObject::setAllVisualizeProperties.
Calls MR_FeatureObject_setAllVisualizeProperties().
| void meshlib::FeatureObject::set_ambient_strength | ( | ambientStrength:f32 | ) |
sets intensity of non-directional light Generated from method MR::FeatureObject::setAmbientStrength.
Calls MR_FeatureObject_setAmbientStrength().
| void meshlib::FeatureObject::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::FeatureObject::setAncillary.
Calls MR_FeatureObject_setAncillary().
| void meshlib::FeatureObject::set_back_color | ( | color:&meshlib::Color | , |
| viewportId:Option<&meshlib::ViewportId > | ) |
sets backward color of object in given viewport Generated from method MR::FeatureObject::setBackColor.
Calls MR_FeatureObject_setBackColor().
| void meshlib::FeatureObject::set_back_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
sets backward color of object in all viewports Generated from method MR::FeatureObject::setBackColorsForAllViewports.
Calls MR_FeatureObject_setBackColorsForAllViewports().
| void meshlib::FeatureObject::set_coloring_type | ( | coloringType:meshlib::ColoringType | ) |
sets coloring mode of the object with given argument Generated from method MR::FeatureObject::setColoringType.
Calls MR_FeatureObject_setColoringType().
| void meshlib::FeatureObject::set_decorations_color | ( | color:&meshlib::Color | , |
| selected:bool | , | ||
| viewportId:Option<&meshlib::ViewportId > | ) |
Generated from method MR::FeatureObject::setDecorationsColor.
Calls MR_FeatureObject_setDecorationsColor().
| void meshlib::FeatureObject::set_decorations_color_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | , |
| selected:bool | ) |
Generated from method MR::FeatureObject::setDecorationsColorForAllViewports.
Calls MR_FeatureObject_setDecorationsColorForAllViewports().
| void meshlib::FeatureObject::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::FeatureObject::setDirtyFlags. |
Calls MR_FeatureObject_setDirtyFlags().
| void meshlib::FeatureObject::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::FeatureObject::setFrontColor.
Calls MR_FeatureObject_setFrontColor().
| void meshlib::FeatureObject::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::FeatureObject::setFrontColorsForAllViewports.
Calls MR_FeatureObject_setFrontColorsForAllViewports().
| void meshlib::FeatureObject::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::FeatureObject::setGlobalAlpha.
Calls MR_FeatureObject_setGlobalAlpha().
| void meshlib::FeatureObject::set_global_alpha_for_all_viewports | ( | val:&meshlib::ViewportProperty_unsigned_char | ) |
sets global transparency alpha of object in all viewports Generated from method MR::FeatureObject::setGlobalAlphaForAllViewports.
Calls MR_FeatureObject_setGlobalAlphaForAllViewports().
| void meshlib::FeatureObject::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::FeatureObject::setGlobalClippedByPlane.
Calls MR_FeatureObject_setGlobalClippedByPlane().
| void meshlib::FeatureObject::set_global_visibility | ( | on:bool | , |
| viewportMask:Option<&meshlib::ViewportMask > | ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::FeatureObject::setGlobalVisibility.
Calls MR_FeatureObject_setGlobalVisibility().
| void meshlib::FeatureObject::set_line_width | ( | lineWidth:f32 | ) |
Generated from method MR::FeatureObject::setLineWidth.
Calls MR_FeatureObject_setLineWidth().
| void meshlib::FeatureObject::set_locked | ( | on:bool | ) |
Generated from method MR::FeatureObject::setLocked.
Calls MR_FeatureObject_setLocked().
| void meshlib::FeatureObject::set_main_feature_alpha | ( | alpha:f32 | ) |
Generated from method MR::FeatureObject::setMainFeatureAlpha.
Calls MR_FeatureObject_setMainFeatureAlpha().
| void meshlib::FeatureObject::set_name | ( | name:& | str | ) |
Generated from method MR::FeatureObject::setName.
Calls MR_FeatureObject_setName().
| void meshlib::FeatureObject::set_parent_locked | ( | lock:bool | ) |
Generated from method MR::FeatureObject::setParentLocked.
Calls MR_FeatureObject_setParentLocked().
| void meshlib::FeatureObject::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::FeatureObject::setPickable.
Calls MR_FeatureObject_setPickable().
| void meshlib::FeatureObject::set_point_size | ( | pointSize:f32 | ) |
Generated from method MR::FeatureObject::setPointSize.
Calls MR_FeatureObject_setPointSize().
| void meshlib::FeatureObject::set_shininess | ( | shininess:f32 | ) |
sets shininess visual value of the object with given argument Generated from method MR::FeatureObject::setShininess.
Calls MR_FeatureObject_setShininess().
| void meshlib::FeatureObject::set_specular_strength | ( | specularStrength:f32 | ) |
sets intensity of reflections Generated from method MR::FeatureObject::setSpecularStrength.
Calls MR_FeatureObject_setSpecularStrength().
| void meshlib::FeatureObject::set_subfeature_alpha_lines | ( | alpha:f32 | ) |
Generated from method MR::FeatureObject::setSubfeatureAlphaLines.
Calls MR_FeatureObject_setSubfeatureAlphaLines().
| void meshlib::FeatureObject::set_subfeature_alpha_mesh | ( | alpha:f32 | ) |
Generated from method MR::FeatureObject::setSubfeatureAlphaMesh.
Calls MR_FeatureObject_setSubfeatureAlphaMesh().
| void meshlib::FeatureObject::set_subfeature_alpha_points | ( | alpha:f32 | ) |
Generated from method MR::FeatureObject::setSubfeatureAlphaPoints.
Calls MR_FeatureObject_setSubfeatureAlphaPoints().
| void meshlib::FeatureObject::set_subfeature_line_width | ( | lineWidth:f32 | ) |
Generated from method MR::FeatureObject::setSubfeatureLineWidth.
Calls MR_FeatureObject_setSubfeatureLineWidth().
| void meshlib::FeatureObject::set_subfeature_point_size | ( | pointSize:f32 | ) |
Generated from method MR::FeatureObject::setSubfeaturePointSize.
Calls MR_FeatureObject_setSubfeaturePointSize().
| void meshlib::FeatureObject::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::FeatureObject::setUseDefaultScenePropertiesOnDeserialization.
Calls MR_FeatureObject_setUseDefaultScenePropertiesOnDeserialization().
| void meshlib::FeatureObject::set_visibility_mask | ( | viewportMask:&meshlib::ViewportMask | ) |
specifies object visibility as bitmask of viewports Generated from method MR::FeatureObject::setVisibilityMask.
Calls MR_FeatureObject_setVisibilityMask().
| void meshlib::FeatureObject::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::FeatureObject::setVisible.
Calls MR_FeatureObject_setVisible().
| void meshlib::FeatureObject::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::FeatureObject::setVisualizeProperty.
Calls MR_FeatureObject_setVisualizeProperty().
| void meshlib::FeatureObject::set_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
set visual property mask Generated from method MR::FeatureObject::setVisualizePropertyMask.
Calls MR_FeatureObject_setVisualizePropertyMask().
| void meshlib::FeatureObject::set_world_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::FeatureObject::setWorldXf.
Calls MR_FeatureObject_setWorldXf().
| void meshlib::FeatureObject::set_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::FeatureObject::setXf.
Calls MR_FeatureObject_setXf().
| void meshlib::FeatureObject::set_xfs_for_all_viewports | ( | xf:&meshlib::ViewportProperty_MR_AffineXf3f | ) |
modifies xfs for all viewports at once Generated from method MR::FeatureObject::setXfsForAllViewports.
Calls MR_FeatureObject_setXfsForAllViewports().
| auto meshlib::FeatureObject::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::FeatureObject::shallowClone.
Calls MR_FeatureObject_shallowClone().
| auto meshlib::FeatureObject::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::FeatureObject::shallowCloneTree.
Calls MR_FeatureObject_shallowCloneTree().
| void meshlib::FeatureObject::sort_children | ( | ) |
sort recognized children by name Generated from method MR::FeatureObject::sortChildren.
Calls MR_FeatureObject_sortChildren().
|
static |
Generated from method MR::FeatureObject::StaticClassName.
Calls MR_FeatureObject_StaticClassName().
|
static |
Generated from method MR::FeatureObject::StaticClassNameInPlural.
Calls MR_FeatureObject_StaticClassNameInPlural().
|
static |
Static downcast from the base class MR::Object.
Calls MR_FeatureObject_StaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a FeatureObject.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_FeatureObject_StaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a FeatureObject.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_FeatureObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a FeatureObject.
|
static |
Static downcast from the base class MR::Object.
Calls MR_FeatureObject_MutableStaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a FeatureObject.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_FeatureObject_StaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a FeatureObject.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_FeatureObject_MutableStaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a FeatureObject.
|
static |
Generated from method MR::FeatureObject::StaticTypeName.
Calls MR_FeatureObject_StaticTypeName().
| auto meshlib::FeatureObject::supports_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> bool |
Generated from method MR::FeatureObject::supportsVisualizeProperty.
Calls MR_FeatureObject_supportsVisualizeProperty().
| void meshlib::FeatureObject::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::FeatureObject::swap.
Calls MR_FeatureObject_swap().
| auto meshlib::FeatureObject::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::FeatureObject::tags.
Calls MR_FeatureObject_tags().
| void meshlib::FeatureObject::toggle_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
toggle visual property in all viewports specified by the mask Generated from method MR::FeatureObject::toggleVisualizeProperty.
Calls MR_FeatureObject_toggleVisualizeProperty().
| auto meshlib::FeatureObject::type_name | ( | ) | const -> Option<&core::ffi::c_char > |
Generated from method MR::FeatureObject::typeName.
Calls MR_FeatureObject_typeName().
| auto meshlib::FeatureObject::upcast_to_object | ( | ) | const -> &meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_FeatureObject_UpcastTo_MR_Object().
| auto meshlib::FeatureObject::upcast_to_object_children_holder | ( | ) | const -> &meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_FeatureObject_UpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::FeatureObject::upcast_to_object_children_holder_mut | ( | ) | -> &mut meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_FeatureObject_MutableUpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::FeatureObject::upcast_to_object_mut | ( | ) | -> &mut meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_FeatureObject_MutableUpcastTo_MR_Object().
| auto meshlib::FeatureObject::upcast_to_visual_object | ( | ) | const -> &meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_FeatureObject_UpcastTo_MR_VisualObject().
| auto meshlib::FeatureObject::upcast_to_visual_object_mut | ( | ) | -> &mut meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_FeatureObject_MutableUpcastTo_MR_VisualObject().
| auto meshlib::FeatureObject::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::FeatureObject::useDefaultScenePropertiesOnDeserialization.
Calls MR_FeatureObject_useDefaultScenePropertiesOnDeserialization().
| auto meshlib::FeatureObject::visibility_mask | ( | ) | const -> meshlib::Owned< meshlib::ViewportMask > |
gets object visibility as bitmask of viewports Generated from method MR::FeatureObject::visibilityMask.
Calls MR_FeatureObject_visibilityMask().
| auto meshlib::FeatureObject::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::FeatureObject::worldXf. |
Calls MR_FeatureObject_worldXf().
| auto meshlib::FeatureObject::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::FeatureObject::xf. |
Calls MR_FeatureObject_xf().
| auto meshlib::FeatureObject::xfs_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_AffineXf3f |
returns xfs for all viewports, combined into a single object Generated from method MR::FeatureObject::xfsForAllViewports.
Calls MR_FeatureObject_xfsForAllViewports().