Object to show sphere feature, position and radius are controlled by xf Generated from class MR::SphereObject. Base classes: Direct: (non-virtual) MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter> Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object MR::VisualObject MR::FeatureObject
Generated from class MR::SphereObject. Heap-allocated instances are held in Owned<SphereObject>.
| auto meshlib::SphereObject::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::SphereObject::addChild. |
Calls MR_SphereObject_addChild().
| auto meshlib::SphereObject::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::SphereObject::addChildBefore.
Calls MR_SphereObject_addChildBefore().
| auto meshlib::SphereObject::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::SphereObject::addTag.
Calls MR_SphereObject_addTag().
| void meshlib::SphereObject::apply_scale | ( | scaleFactor:f32 | ) |
scale object size (all point positions) Generated from method MR::SphereObject::applyScale.
Calls MR_SphereObject_applyScale().
| auto meshlib::SphereObject::assign_from_another | ( | _other:meshlib::Owned< meshlib::SphereObject > | ) | -> &mut meshlib::SphereObject |
Generated from method MR::SphereObject::operator=.
Calls MR_SphereObject_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::SphereObject::class_name | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::SphereObject::className.
Calls MR_SphereObject_className().
| auto meshlib::SphereObject::class_name_in_plural | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::SphereObject::classNameInPlural.
Calls MR_SphereObject_classNameInPlural().
| auto meshlib::SphereObject::clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::SphereObject::clone.
Calls MR_SphereObject_clone().
| auto meshlib::SphereObject::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::SphereObject::cloneTree.
Calls MR_SphereObject_cloneTree().
| auto meshlib::SphereObject::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::SphereObject::constChildren.
Calls MR_SphereObject_constChildren().
|
static |
Finds best sphere to approx given points Generated from constructor MR::SphereObject::SphereObject.
Calls MR_SphereObject_Construct(). The reference to the parameter pointsToApprox might be preserved in the constructed object.
|
static |
Generated from constructor MR::SphereObject::SphereObject.
Calls MR_SphereObject_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| void meshlib::SphereObject::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::SphereObject::copyAllSolidColors.
Calls MR_SphereObject_copyAllSolidColors().
| auto meshlib::SphereObject::detach_from_parent | ( | ) | -> bool |
removes this from its parent children list returns false if it was already orphan Generated from method MR::SphereObject::detachFromParent.
Calls MR_SphereObject_detachFromParent().
|
static |
Dynamic downcast from the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter>. Returns None if the object isn't actually a SphereObject.
Calls MR_SphereObject_DynamicDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter().
|
static |
Dynamic downcast from the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter>. Returns None if the object isn't actually a SphereObject.
Calls MR_SphereObject_MutableDynamicDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter().
|
static |
Dynamic downcast from the base class MR::FeatureObject. Returns None if the object isn't actually a SphereObject.
Calls MR_SphereObject_DynamicDowncastFrom_MR_FeatureObject().
|
static |
Dynamic downcast from the base class MR::FeatureObject. Returns None if the object isn't actually a SphereObject.
Calls MR_SphereObject_MutableDynamicDowncastFrom_MR_FeatureObject().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a SphereObject.
Calls MR_SphereObject_DynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a SphereObject.
Calls MR_SphereObject_MutableDynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a SphereObject.
Calls MR_SphereObject_DynamicDowncastFrom_MR_VisualObject().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a SphereObject.
Calls MR_SphereObject_MutableDynamicDowncastFrom_MR_VisualObject().
| auto meshlib::SphereObject::get_all_shared_properties | ( | ) | const -> &meshlib::std_vector_MR_FeatureObjectSharedProperty |
Generated from method MR::SphereObject::getAllSharedProperties.
Calls MR_SphereObject_getAllSharedProperties().
| auto meshlib::SphereObject::get_all_visualize_properties | ( | ) | const -> meshlib::Owned< meshlib::std_vector_MR_ViewportMask > |
Generated from method MR::SphereObject::getAllVisualizeProperties.
Calls MR_SphereObject_getAllVisualizeProperties().
| auto meshlib::SphereObject::get_ambient_strength | ( | ) | const -> f32 |
returns intensity of non-directional light Generated from method MR::SphereObject::getAmbientStrength.
Calls MR_SphereObject_getAmbientStrength().
| auto meshlib::SphereObject::get_back_color | ( | viewportId:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns backward color of object in given viewport Generated from method MR::SphereObject::getBackColor.
Calls MR_SphereObject_getBackColor().
| auto meshlib::SphereObject::get_back_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
returns backward color of object in all viewports Generated from method MR::SphereObject::getBackColorsForAllViewports.
Calls MR_SphereObject_getBackColorsForAllViewports().
| auto meshlib::SphereObject::get_base_point | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
Returns point considered as base for the feature Generated from method MR::SphereObject::getBasePoint.
Calls MR_SphereObject_getBasePoint().
| auto meshlib::SphereObject::get_bounding_box | ( | ) | const -> meshlib::Box3f |
returns cached bounding box of this object in local coordinates Generated from method MR::SphereObject::getBoundingBox.
Calls MR_SphereObject_getBoundingBox().
| auto meshlib::SphereObject::get_center | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
calculates center from xf Generated from method MR::SphereObject::getCenter.
Calls MR_SphereObject_getCenter().
| auto meshlib::SphereObject::get_coloring_type | ( | ) | const -> meshlib::ColoringType |
returns the current coloring mode of the object Generated from method MR::SphereObject::getColoringType.
Calls MR_SphereObject_getColoringType().
| auto meshlib::SphereObject::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::SphereObject::getDecorationsColor.
Calls MR_SphereObject_getDecorationsColor().
| auto meshlib::SphereObject::get_decorations_color_for_all_viewports | ( | selected:bool | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::SphereObject::getDecorationsColorForAllViewports.
Calls MR_SphereObject_getDecorationsColorForAllViewports().
| auto meshlib::SphereObject::get_dirty_flags | ( | ) | const -> core::ffi::c_uint |
returns current dirty flags for the object Generated from method MR::SphereObject::getDirtyFlags.
Calls MR_SphereObject_getDirtyFlags().
| auto meshlib::SphereObject::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::SphereObject::getFrontColor.
Calls MR_SphereObject_getFrontColor().
| auto meshlib::SphereObject::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::SphereObject::getFrontColorsForAllViewports.
Calls MR_SphereObject_getFrontColorsForAllViewports().
| auto meshlib::SphereObject::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::SphereObject::getGlobalAlpha.
Calls MR_SphereObject_getGlobalAlpha().
| auto meshlib::SphereObject::get_global_alpha_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_unsigned_char |
returns global transparency alpha of object in all viewports Generated from method MR::SphereObject::getGlobalAlphaForAllViewports.
Calls MR_SphereObject_getGlobalAlphaForAllViewports().
| auto meshlib::SphereObject::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::SphereObject::getInfoLines.
Calls MR_SphereObject_getInfoLines().
| auto meshlib::SphereObject::get_line_width | ( | ) | const -> f32 |
Generated from method MR::SphereObject::getLineWidth.
Calls MR_SphereObject_getLineWidth().
| auto meshlib::SphereObject::get_main_feature_alpha | ( | ) | const -> f32 |
Per-component alpha multipliers. The global alpha is multiplied by thise. Generated from method MR::SphereObject::getMainFeatureAlpha.
Calls MR_SphereObject_getMainFeatureAlpha().
| auto meshlib::SphereObject::get_model_hash | ( | ) | const -> usize |
return hash of model (or hash object pointer if object has no model) Generated from method MR::SphereObject::getModelHash.
Calls MR_SphereObject_getModelHash().
| auto meshlib::SphereObject::get_normal | ( | point:&meshlib::Vector3f | ) | const -> meshlib::Owned< meshlib::std_optional_MR_Vector3f > |
Generated from method MR::SphereObject::getNormal.
Calls MR_SphereObject_getNormal().
| auto meshlib::SphereObject::get_point_size | ( | ) | const -> f32 |
Point size and line width, for primary rendering rather than subfeatures. Generated from method MR::SphereObject::getPointSize.
Calls MR_SphereObject_getPointSize().
| auto meshlib::SphereObject::get_radius | ( | id:Option<&meshlib::ViewportId > | ) | const -> f32 |
calculates radius from xf Generated from method MR::SphereObject::getRadius.
Calls MR_SphereObject_getRadius().
| auto meshlib::SphereObject::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::SphereObject::getRedrawFlag.
Calls MR_SphereObject_getRedrawFlag().
| auto meshlib::SphereObject::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::SphereObject::getRotationMatrix.
Calls MR_SphereObject_getRotationMatrix().
| auto meshlib::SphereObject::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::SphereObject::getScaleShearMatrix.
Calls MR_SphereObject_getScaleShearMatrix().
| auto meshlib::SphereObject::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::SphereObject::getSharedPtr.
Calls MR_SphereObject_getSharedPtr().
| auto meshlib::SphereObject::get_shininess | ( | ) | const -> f32 |
returns the current shininess visual value Generated from method MR::SphereObject::getShininess.
Calls MR_SphereObject_getShininess().
| auto meshlib::SphereObject::get_specular_strength | ( | ) | const -> f32 |
returns intensity of reflections Generated from method MR::SphereObject::getSpecularStrength.
Calls MR_SphereObject_getSpecularStrength().
| auto meshlib::SphereObject::get_subfeature_alpha_lines | ( | ) | const -> f32 |
Generated from method MR::SphereObject::getSubfeatureAlphaLines.
Calls MR_SphereObject_getSubfeatureAlphaLines().
| auto meshlib::SphereObject::get_subfeature_alpha_mesh | ( | ) | const -> f32 |
Generated from method MR::SphereObject::getSubfeatureAlphaMesh.
Calls MR_SphereObject_getSubfeatureAlphaMesh().
| auto meshlib::SphereObject::get_subfeature_alpha_points | ( | ) | const -> f32 |
Generated from method MR::SphereObject::getSubfeatureAlphaPoints.
Calls MR_SphereObject_getSubfeatureAlphaPoints().
| auto meshlib::SphereObject::get_subfeature_line_width | ( | ) | const -> f32 |
Generated from method MR::SphereObject::getSubfeatureLineWidth.
Calls MR_SphereObject_getSubfeatureLineWidth().
| auto meshlib::SphereObject::get_subfeature_point_size | ( | ) | const -> f32 |
Point size and line width, for subfeatures rather than primary rendering. Generated from method MR::SphereObject::getSubfeaturePointSize.
Calls MR_SphereObject_getSubfeaturePointSize().
| auto meshlib::SphereObject::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::SphereObject::getVisualizeProperty.
Calls MR_SphereObject_getVisualizeProperty().
| auto meshlib::SphereObject::get_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> &meshlib::ViewportMask |
Generated from method MR::SphereObject::getVisualizePropertyMask.
Calls MR_SphereObject_getVisualizePropertyMask().
| auto meshlib::SphereObject::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::SphereObject::getWorldBox.
Calls MR_SphereObject_getWorldBox().
| auto meshlib::SphereObject::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::SphereObject::getWorldTreeBox.
Calls MR_SphereObject_getWorldTreeBox().
| auto meshlib::SphereObject::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::SphereObject::globalClippedByPlane.
Calls MR_SphereObject_globalClippedByPlane().
| auto meshlib::SphereObject::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::SphereObject::globalClippedByPlaneMask.
Calls MR_SphereObject_globalClippedByPlaneMask().
| auto meshlib::SphereObject::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::SphereObject::globalVisibility.
Calls MR_SphereObject_globalVisibility().
| auto meshlib::SphereObject::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::SphereObject::globalVisibilityMask.
Calls MR_SphereObject_globalVisibilityMask().
| auto meshlib::SphereObject::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::SphereObject::hasModel.
Calls MR_SphereObject_hasModel().
| auto meshlib::SphereObject::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::SphereObject::hasVisualRepresentation.
Calls MR_SphereObject_hasVisualRepresentation().
| auto meshlib::SphereObject::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::SphereObject::heapBytes.
Calls MR_SphereObject_heapBytes().
| auto meshlib::SphereObject::is_ancestor | ( | ancestor:Option<&meshlib::Object > | ) | const -> bool |
return true if given object is ancestor of this one, false otherwise Generated from method MR::SphereObject::isAncestor.
Calls MR_SphereObject_isAncestor().
| auto meshlib::SphereObject::is_ancillary | ( | ) | const -> bool |
Generated from method MR::SphereObject::isAncillary.
Calls MR_SphereObject_isAncillary().
| auto meshlib::SphereObject::is_global_ancillary | ( | ) | const -> bool |
returns true if the object or any of its ancestors are ancillary Generated from method MR::SphereObject::isGlobalAncillary.
Calls MR_SphereObject_isGlobalAncillary().
| auto meshlib::SphereObject::is_locked | ( | ) | const -> bool |
object properties lock for UI Generated from method MR::SphereObject::isLocked.
Calls MR_SphereObject_isLocked().
| auto meshlib::SphereObject::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::SphereObject::isParentLocked.
Calls MR_SphereObject_isParentLocked().
| auto meshlib::SphereObject::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::SphereObject::isPickable.
Calls MR_SphereObject_isPickable().
| auto meshlib::SphereObject::is_selected | ( | ) | const -> bool |
Generated from method MR::SphereObject::isSelected.
Calls MR_SphereObject_isSelected().
| auto meshlib::SphereObject::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::SphereObject::isVisible.
Calls MR_SphereObject_isVisible().
| auto meshlib::SphereObject::name | ( | ) | const -> &meshlib::std_string |
Generated from method MR::SphereObject::name.
Calls MR_SphereObject_name().
|
static |
Creates simple sphere object with center in zero and radius - 1
Calls MR_SphereObject_DefaultConstruct().
| auto meshlib::SphereObject::project_point | ( | point:&meshlib::Vector3f | , |
| id:Option<&meshlib::ViewportId > | ) const -> meshlib::Owned< meshlib::FeatureObjectProjectPointResult > |
Generated from method MR::SphereObject::projectPoint.
Calls MR_SphereObject_projectPoint().
| void meshlib::SphereObject::remove_all_children | ( | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::SphereObject::removeAllChildren.
Calls MR_SphereObject_removeAllChildren().
| auto meshlib::SphereObject::remove_tag | ( | tag:& | str | ) | -> bool |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::SphereObject::removeTag.
Calls MR_SphereObject_removeTag().
| auto meshlib::SphereObject::render | ( | _1:&meshlib::ModelRenderParams | ) | const -> bool |
draws this object for visualization Returns true if something was drawn. Generated from method MR::SphereObject::render.
Calls MR_SphereObject_render().
| void meshlib::SphereObject::render_for_picker | ( | _1:&meshlib::ModelBaseRenderParams | , |
| _2:core::ffi::c_uint | ) const |
draws this object for picking Generated from method MR::SphereObject::renderForPicker.
Calls MR_SphereObject_renderForPicker().
| void meshlib::SphereObject::render_ui | ( | params:&meshlib::UiRenderParams | ) | const |
draws this object for 2d UI Generated from method MR::SphereObject::renderUi.
Calls MR_SphereObject_renderUi().
| void meshlib::SphereObject::reset_colors | ( | ) |
reset all object colors to their default values from the current theme Generated from method MR::SphereObject::resetColors.
Calls MR_SphereObject_resetColors().
| void meshlib::SphereObject::reset_dirty | ( | ) | const |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::SphereObject::resetDirty.
Calls MR_SphereObject_resetDirty().
| void meshlib::SphereObject::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::SphereObject::resetDirtyExceptMask.
Calls MR_SphereObject_resetDirtyExceptMask().
| void meshlib::SphereObject::reset_front_color | ( | ) |
reset basic object colors to their default values from the current theme Generated from method MR::SphereObject::resetFrontColor.
Calls MR_SphereObject_resetFrontColor().
| void meshlib::SphereObject::reset_redraw_flag | ( | ) | const |
Generated from method MR::SphereObject::resetRedrawFlag.
Calls MR_SphereObject_resetRedrawFlag().
| void meshlib::SphereObject::reset_xf | ( | id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::SphereObject::resetXf.
Calls MR_SphereObject_resetXf().
| auto meshlib::SphereObject::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::SphereObject::sameModels.
Calls MR_SphereObject_sameModels().
| auto meshlib::SphereObject::select | ( | on:bool | ) | -> bool |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::SphereObject::select.
Calls MR_SphereObject_select().
| void meshlib::SphereObject::set_all_visualize_properties | ( | properties:&meshlib::std_vector_MR_ViewportMask | ) |
set all visualize properties masks Generated from method MR::SphereObject::setAllVisualizeProperties.
Calls MR_SphereObject_setAllVisualizeProperties().
| void meshlib::SphereObject::set_ambient_strength | ( | ambientStrength:f32 | ) |
sets intensity of non-directional light Generated from method MR::SphereObject::setAmbientStrength.
Calls MR_SphereObject_setAmbientStrength().
| void meshlib::SphereObject::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::SphereObject::setAncillary.
Calls MR_SphereObject_setAncillary().
| void meshlib::SphereObject::set_back_color | ( | color:&meshlib::Color | , |
| viewportId:Option<&meshlib::ViewportId > | ) |
sets backward color of object in given viewport Generated from method MR::SphereObject::setBackColor.
Calls MR_SphereObject_setBackColor().
| void meshlib::SphereObject::set_back_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
sets backward color of object in all viewports Generated from method MR::SphereObject::setBackColorsForAllViewports.
Calls MR_SphereObject_setBackColorsForAllViewports().
| void meshlib::SphereObject::set_center | ( | center:&meshlib::Vector3f | , |
| id:Option<&meshlib::ViewportId > | ) |
updates xf to fit given center Generated from method MR::SphereObject::setCenter.
Calls MR_SphereObject_setCenter().
| void meshlib::SphereObject::set_coloring_type | ( | coloringType:meshlib::ColoringType | ) |
sets coloring mode of the object with given argument Generated from method MR::SphereObject::setColoringType.
Calls MR_SphereObject_setColoringType().
| void meshlib::SphereObject::set_decorations_color | ( | color:&meshlib::Color | , |
| selected:bool | , | ||
| viewportId:Option<&meshlib::ViewportId > | ) |
Generated from method MR::SphereObject::setDecorationsColor.
Calls MR_SphereObject_setDecorationsColor().
| void meshlib::SphereObject::set_decorations_color_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | , |
| selected:bool | ) |
Generated from method MR::SphereObject::setDecorationsColorForAllViewports.
Calls MR_SphereObject_setDecorationsColorForAllViewports().
| void meshlib::SphereObject::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::SphereObject::setDirtyFlags. |
Calls MR_SphereObject_setDirtyFlags().
| void meshlib::SphereObject::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::SphereObject::setFrontColor.
Calls MR_SphereObject_setFrontColor().
| void meshlib::SphereObject::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::SphereObject::setFrontColorsForAllViewports.
Calls MR_SphereObject_setFrontColorsForAllViewports().
| void meshlib::SphereObject::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::SphereObject::setGlobalAlpha.
Calls MR_SphereObject_setGlobalAlpha().
| void meshlib::SphereObject::set_global_alpha_for_all_viewports | ( | val:&meshlib::ViewportProperty_unsigned_char | ) |
sets global transparency alpha of object in all viewports Generated from method MR::SphereObject::setGlobalAlphaForAllViewports.
Calls MR_SphereObject_setGlobalAlphaForAllViewports().
| void meshlib::SphereObject::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::SphereObject::setGlobalClippedByPlane.
Calls MR_SphereObject_setGlobalClippedByPlane().
| void meshlib::SphereObject::set_global_visibility | ( | on:bool | , |
| viewportMask:Option<&meshlib::ViewportMask > | ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::SphereObject::setGlobalVisibility.
Calls MR_SphereObject_setGlobalVisibility().
| void meshlib::SphereObject::set_line_width | ( | lineWidth:f32 | ) |
Generated from method MR::SphereObject::setLineWidth.
Calls MR_SphereObject_setLineWidth().
| void meshlib::SphereObject::set_locked | ( | on:bool | ) |
Generated from method MR::SphereObject::setLocked.
Calls MR_SphereObject_setLocked().
| void meshlib::SphereObject::set_main_feature_alpha | ( | alpha:f32 | ) |
Generated from method MR::SphereObject::setMainFeatureAlpha.
Calls MR_SphereObject_setMainFeatureAlpha().
| void meshlib::SphereObject::set_name | ( | name:& | str | ) |
Generated from method MR::SphereObject::setName.
Calls MR_SphereObject_setName().
| void meshlib::SphereObject::set_parent_locked | ( | lock:bool | ) |
Generated from method MR::SphereObject::setParentLocked.
Calls MR_SphereObject_setParentLocked().
| void meshlib::SphereObject::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::SphereObject::setPickable.
Calls MR_SphereObject_setPickable().
| void meshlib::SphereObject::set_point_size | ( | pointSize:f32 | ) |
Generated from method MR::SphereObject::setPointSize.
Calls MR_SphereObject_setPointSize().
| void meshlib::SphereObject::set_radius | ( | radius:f32 | , |
| id:Option<&meshlib::ViewportId > | ) |
updates xf to fit given radius Generated from method MR::SphereObject::setRadius.
Calls MR_SphereObject_setRadius().
| void meshlib::SphereObject::set_shininess | ( | shininess:f32 | ) |
sets shininess visual value of the object with given argument Generated from method MR::SphereObject::setShininess.
Calls MR_SphereObject_setShininess().
| void meshlib::SphereObject::set_specular_strength | ( | specularStrength:f32 | ) |
sets intensity of reflections Generated from method MR::SphereObject::setSpecularStrength.
Calls MR_SphereObject_setSpecularStrength().
| void meshlib::SphereObject::set_subfeature_alpha_lines | ( | alpha:f32 | ) |
Generated from method MR::SphereObject::setSubfeatureAlphaLines.
Calls MR_SphereObject_setSubfeatureAlphaLines().
| void meshlib::SphereObject::set_subfeature_alpha_mesh | ( | alpha:f32 | ) |
Generated from method MR::SphereObject::setSubfeatureAlphaMesh.
Calls MR_SphereObject_setSubfeatureAlphaMesh().
| void meshlib::SphereObject::set_subfeature_alpha_points | ( | alpha:f32 | ) |
Generated from method MR::SphereObject::setSubfeatureAlphaPoints.
Calls MR_SphereObject_setSubfeatureAlphaPoints().
| void meshlib::SphereObject::set_subfeature_line_width | ( | lineWidth:f32 | ) |
Generated from method MR::SphereObject::setSubfeatureLineWidth.
Calls MR_SphereObject_setSubfeatureLineWidth().
| void meshlib::SphereObject::set_subfeature_point_size | ( | pointSize:f32 | ) |
Generated from method MR::SphereObject::setSubfeaturePointSize.
Calls MR_SphereObject_setSubfeaturePointSize().
| void meshlib::SphereObject::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::SphereObject::setUseDefaultScenePropertiesOnDeserialization.
Calls MR_SphereObject_setUseDefaultScenePropertiesOnDeserialization().
| void meshlib::SphereObject::set_visibility_mask | ( | viewportMask:&meshlib::ViewportMask | ) |
specifies object visibility as bitmask of viewports Generated from method MR::SphereObject::setVisibilityMask.
Calls MR_SphereObject_setVisibilityMask().
| void meshlib::SphereObject::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::SphereObject::setVisible.
Calls MR_SphereObject_setVisible().
| void meshlib::SphereObject::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::SphereObject::setVisualizeProperty.
Calls MR_SphereObject_setVisualizeProperty().
| void meshlib::SphereObject::set_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
set visual property mask Generated from method MR::SphereObject::setVisualizePropertyMask.
Calls MR_SphereObject_setVisualizePropertyMask().
| void meshlib::SphereObject::set_world_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::SphereObject::setWorldXf.
Calls MR_SphereObject_setWorldXf().
| void meshlib::SphereObject::set_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::SphereObject::setXf.
Calls MR_SphereObject_setXf().
| void meshlib::SphereObject::set_xfs_for_all_viewports | ( | xf:&meshlib::ViewportProperty_MR_AffineXf3f | ) |
modifies xfs for all viewports at once Generated from method MR::SphereObject::setXfsForAllViewports.
Calls MR_SphereObject_setXfsForAllViewports().
| auto meshlib::SphereObject::shallow_clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::SphereObject::shallowClone.
Calls MR_SphereObject_shallowClone().
| auto meshlib::SphereObject::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::SphereObject::shallowCloneTree.
Calls MR_SphereObject_shallowCloneTree().
| void meshlib::SphereObject::sort_children | ( | ) |
sort recognized children by name Generated from method MR::SphereObject::sortChildren.
Calls MR_SphereObject_sortChildren().
|
static |
Generated from method MR::SphereObject::StaticClassName.
Calls MR_SphereObject_StaticClassName().
|
static |
Generated from method MR::SphereObject::StaticClassNameInPlural.
Calls MR_SphereObject_StaticClassNameInPlural().
|
static |
Static downcast from the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter>.
Calls MR_SphereObject_StaticDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter(). Undefined behavior if the object isn't actually a SphereObject.
|
static |
Static downcast from the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter>.
Calls MR_SphereObject_MutableStaticDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter(). Undefined behavior if the object isn't actually a SphereObject.
|
static |
Static downcast from the base class MR::FeatureObject.
Calls MR_SphereObject_StaticDowncastFrom_MR_FeatureObject(). Undefined behavior if the object isn't actually a SphereObject.
|
static |
Static downcast from the base class MR::FeatureObject.
Calls MR_SphereObject_MutableStaticDowncastFrom_MR_FeatureObject(). Undefined behavior if the object isn't actually a SphereObject.
|
static |
Static downcast from the base class MR::Object.
Calls MR_SphereObject_StaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a SphereObject.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_SphereObject_StaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a SphereObject.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_SphereObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a SphereObject.
|
static |
Static downcast from the base class MR::Object.
Calls MR_SphereObject_MutableStaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a SphereObject.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_SphereObject_StaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a SphereObject.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_SphereObject_MutableStaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a SphereObject.
|
static |
Generated from method MR::SphereObject::StaticTypeName.
Calls MR_SphereObject_StaticTypeName().
| auto meshlib::SphereObject::supports_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> bool |
Generated from method MR::SphereObject::supportsVisualizeProperty.
Calls MR_SphereObject_supportsVisualizeProperty().
| void meshlib::SphereObject::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::SphereObject::swap.
Calls MR_SphereObject_swap().
| auto meshlib::SphereObject::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::SphereObject::tags.
Calls MR_SphereObject_tags().
| void meshlib::SphereObject::toggle_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
toggle visual property in all viewports specified by the mask Generated from method MR::SphereObject::toggleVisualizeProperty.
Calls MR_SphereObject_toggleVisualizeProperty().
| auto meshlib::SphereObject::type_name | ( | ) | const -> Option<&core::ffi::c_char > |
Generated from method MR::SphereObject::typeName.
Calls MR_SphereObject_typeName().
| auto meshlib::SphereObject::upcast_to_add_visual_properties_mr_feature_object_mr_dimensions_visualize_property_type_diameter | ( | ) | const -> &meshlib::AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter |
Upcasts to the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter>.
Calls MR_SphereObject_UpcastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter().
| auto meshlib::SphereObject::upcast_to_add_visual_properties_mr_feature_object_mr_dimensions_visualize_property_type_diameter_mut | ( | ) | -> &mut meshlib::AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter |
Upcasts to the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter>.
Calls MR_SphereObject_MutableUpcastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter().
| auto meshlib::SphereObject::upcast_to_feature_object | ( | ) | const -> &meshlib::FeatureObject |
Upcasts to the base class MR::FeatureObject.
Calls MR_SphereObject_UpcastTo_MR_FeatureObject().
| auto meshlib::SphereObject::upcast_to_feature_object_mut | ( | ) | -> &mut meshlib::FeatureObject |
Upcasts to the base class MR::FeatureObject.
Calls MR_SphereObject_MutableUpcastTo_MR_FeatureObject().
| auto meshlib::SphereObject::upcast_to_object | ( | ) | const -> &meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_SphereObject_UpcastTo_MR_Object().
| auto meshlib::SphereObject::upcast_to_object_children_holder | ( | ) | const -> &meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_SphereObject_UpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::SphereObject::upcast_to_object_children_holder_mut | ( | ) | -> &mut meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_SphereObject_MutableUpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::SphereObject::upcast_to_object_mut | ( | ) | -> &mut meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_SphereObject_MutableUpcastTo_MR_Object().
| auto meshlib::SphereObject::upcast_to_visual_object | ( | ) | const -> &meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_SphereObject_UpcastTo_MR_VisualObject().
| auto meshlib::SphereObject::upcast_to_visual_object_mut | ( | ) | -> &mut meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_SphereObject_MutableUpcastTo_MR_VisualObject().
| auto meshlib::SphereObject::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::SphereObject::useDefaultScenePropertiesOnDeserialization.
Calls MR_SphereObject_useDefaultScenePropertiesOnDeserialization().
| auto meshlib::SphereObject::visibility_mask | ( | ) | const -> meshlib::Owned< meshlib::ViewportMask > |
gets object visibility as bitmask of viewports Generated from method MR::SphereObject::visibilityMask.
Calls MR_SphereObject_visibilityMask().
| auto meshlib::SphereObject::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::SphereObject::worldXf. |
Calls MR_SphereObject_worldXf().
| auto meshlib::SphereObject::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::SphereObject::xf. |
Calls MR_SphereObject_xf().
| auto meshlib::SphereObject::xfs_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_AffineXf3f |
returns xfs for all viewports, combined into a single object Generated from method MR::SphereObject::xfsForAllViewports.
Calls MR_SphereObject_xfsForAllViewports().