Object to show Cone feature, position and radius are controlled by xf Generated from class MR::ConeObject. Base classes: Direct: (non-virtual) MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length> Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object MR::VisualObject MR::FeatureObject
Generated from class MR::ConeObject. Heap-allocated instances are held in Owned<ConeObject>.
| auto meshlib::ConeObject::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::ConeObject::addChild. |
Calls MR_ConeObject_addChild().
| auto meshlib::ConeObject::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::ConeObject::addChildBefore.
Calls MR_ConeObject_addChildBefore().
| auto meshlib::ConeObject::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::ConeObject::addTag.
Calls MR_ConeObject_addTag().
| void meshlib::ConeObject::apply_scale | ( | scaleFactor:f32 | ) |
scale object size (all point positions) Generated from method MR::ConeObject::applyScale.
Calls MR_ConeObject_applyScale().
| auto meshlib::ConeObject::assign_from_another | ( | _other:meshlib::Owned< meshlib::ConeObject > | ) | -> &mut meshlib::ConeObject |
Generated from method MR::ConeObject::operator=.
Calls MR_ConeObject_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::ConeObject::class_name | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::ConeObject::className.
Calls MR_ConeObject_className().
| auto meshlib::ConeObject::class_name_in_plural | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::ConeObject::classNameInPlural.
Calls MR_ConeObject_classNameInPlural().
| auto meshlib::ConeObject::clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::ConeObject::clone.
Calls MR_ConeObject_clone().
| auto meshlib::ConeObject::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::ConeObject::cloneTree.
Calls MR_ConeObject_cloneTree().
| auto meshlib::ConeObject::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::ConeObject::constChildren.
Calls MR_ConeObject_constChildren().
|
static |
Finds best Cone to approx given points Generated from constructor MR::ConeObject::ConeObject.
Calls MR_ConeObject_Construct(). The reference to the parameter pointsToApprox might be preserved in the constructed object.
|
static |
Generated from constructor MR::ConeObject::ConeObject.
Calls MR_ConeObject_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| void meshlib::ConeObject::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::ConeObject::copyAllSolidColors.
Calls MR_ConeObject_copyAllSolidColors().
| auto meshlib::ConeObject::detach_from_parent | ( | ) | -> bool |
removes this from its parent children list returns false if it was already orphan Generated from method MR::ConeObject::detachFromParent.
Calls MR_ConeObject_detachFromParent().
|
static |
Dynamic downcast from the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length>. Returns None if the object isn't actually a ConeObject.
Calls MR_ConeObject_DynamicDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length().
|
static |
Dynamic downcast from the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length>. Returns None if the object isn't actually a ConeObject.
Calls MR_ConeObject_MutableDynamicDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length().
|
static |
Dynamic downcast from the base class MR::FeatureObject. Returns None if the object isn't actually a ConeObject.
Calls MR_ConeObject_DynamicDowncastFrom_MR_FeatureObject().
|
static |
Dynamic downcast from the base class MR::FeatureObject. Returns None if the object isn't actually a ConeObject.
Calls MR_ConeObject_MutableDynamicDowncastFrom_MR_FeatureObject().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a ConeObject.
Calls MR_ConeObject_DynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a ConeObject.
Calls MR_ConeObject_MutableDynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a ConeObject.
Calls MR_ConeObject_DynamicDowncastFrom_MR_VisualObject().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a ConeObject.
Calls MR_ConeObject_MutableDynamicDowncastFrom_MR_VisualObject().
| auto meshlib::ConeObject::get_all_shared_properties | ( | ) | const -> &meshlib::std_vector_MR_FeatureObjectSharedProperty |
Generated from method MR::ConeObject::getAllSharedProperties.
Calls MR_ConeObject_getAllSharedProperties().
| auto meshlib::ConeObject::get_all_visualize_properties | ( | ) | const -> meshlib::Owned< meshlib::std_vector_MR_ViewportMask > |
Generated from method MR::ConeObject::getAllVisualizeProperties.
Calls MR_ConeObject_getAllVisualizeProperties().
| auto meshlib::ConeObject::get_ambient_strength | ( | ) | const -> f32 |
returns intensity of non-directional light Generated from method MR::ConeObject::getAmbientStrength.
Calls MR_ConeObject_getAmbientStrength().
| auto meshlib::ConeObject::get_angle | ( | id:Option<&meshlib::ViewportId > | ) | const -> f32 |
calculates cone angle from xf. It is an angle betweeh main axis and side. Generated from method MR::ConeObject::getAngle.
Calls MR_ConeObject_getAngle().
| auto meshlib::ConeObject::get_back_color | ( | viewportId:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns backward color of object in given viewport Generated from method MR::ConeObject::getBackColor.
Calls MR_ConeObject_getBackColor().
| auto meshlib::ConeObject::get_back_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
returns backward color of object in all viewports Generated from method MR::ConeObject::getBackColorsForAllViewports.
Calls MR_ConeObject_getBackColorsForAllViewports().
| auto meshlib::ConeObject::get_base_point | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
Returns point considered as base for the feature Generated from method MR::ConeObject::getBasePoint.
Calls MR_ConeObject_getBasePoint().
| auto meshlib::ConeObject::get_base_radius | ( | id:Option<&meshlib::ViewportId > | ) | const -> f32 |
Computes the base base radius from the xf. Generated from method MR::ConeObject::getBaseRadius.
Calls MR_ConeObject_getBaseRadius().
| auto meshlib::ConeObject::get_bounding_box | ( | ) | const -> meshlib::Box3f |
returns cached bounding box of this object in local coordinates Generated from method MR::ConeObject::getBoundingBox.
Calls MR_ConeObject_getBoundingBox().
| auto meshlib::ConeObject::get_center | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
calculates center from xf. Center is the apex of the cone. Generated from method MR::ConeObject::getCenter.
Calls MR_ConeObject_getCenter().
| auto meshlib::ConeObject::get_coloring_type | ( | ) | const -> meshlib::ColoringType |
returns the current coloring mode of the object Generated from method MR::ConeObject::getColoringType.
Calls MR_ConeObject_getColoringType().
| auto meshlib::ConeObject::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::ConeObject::getDecorationsColor.
Calls MR_ConeObject_getDecorationsColor().
| auto meshlib::ConeObject::get_decorations_color_for_all_viewports | ( | selected:bool | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::ConeObject::getDecorationsColorForAllViewports.
Calls MR_ConeObject_getDecorationsColorForAllViewports().
| auto meshlib::ConeObject::get_direction | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
calculates main axis direction from xf Generated from method MR::ConeObject::getDirection.
Calls MR_ConeObject_getDirection().
| auto meshlib::ConeObject::get_dirty_flags | ( | ) | const -> core::ffi::c_uint |
returns current dirty flags for the object Generated from method MR::ConeObject::getDirtyFlags.
Calls MR_ConeObject_getDirtyFlags().
| auto meshlib::ConeObject::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::ConeObject::getFrontColor.
Calls MR_ConeObject_getFrontColor().
| auto meshlib::ConeObject::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::ConeObject::getFrontColorsForAllViewports.
Calls MR_ConeObject_getFrontColorsForAllViewports().
| auto meshlib::ConeObject::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::ConeObject::getGlobalAlpha.
Calls MR_ConeObject_getGlobalAlpha().
| auto meshlib::ConeObject::get_global_alpha_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_unsigned_char |
returns global transparency alpha of object in all viewports Generated from method MR::ConeObject::getGlobalAlphaForAllViewports.
Calls MR_ConeObject_getGlobalAlphaForAllViewports().
| auto meshlib::ConeObject::get_height | ( | id:Option<&meshlib::ViewportId > | ) | const -> f32 |
calculates cone height from xf Generated from method MR::ConeObject::getHeight.
Calls MR_ConeObject_getHeight().
| auto meshlib::ConeObject::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::ConeObject::getInfoLines.
Calls MR_ConeObject_getInfoLines().
| auto meshlib::ConeObject::get_line_width | ( | ) | const -> f32 |
Generated from method MR::ConeObject::getLineWidth.
Calls MR_ConeObject_getLineWidth().
| auto meshlib::ConeObject::get_main_feature_alpha | ( | ) | const -> f32 |
Per-component alpha multipliers. The global alpha is multiplied by thise. Generated from method MR::ConeObject::getMainFeatureAlpha.
Calls MR_ConeObject_getMainFeatureAlpha().
| auto meshlib::ConeObject::get_model_hash | ( | ) | const -> usize |
return hash of model (or hash object pointer if object has no model) Generated from method MR::ConeObject::getModelHash.
Calls MR_ConeObject_getModelHash().
| auto meshlib::ConeObject::get_normal | ( | point:&meshlib::Vector3f | ) | const -> meshlib::Owned< meshlib::std_optional_MR_Vector3f > |
Generated from method MR::ConeObject::getNormal.
Calls MR_ConeObject_getNormal().
| auto meshlib::ConeObject::get_point_size | ( | ) | const -> f32 |
Point size and line width, for primary rendering rather than subfeatures. Generated from method MR::ConeObject::getPointSize.
Calls MR_ConeObject_getPointSize().
| auto meshlib::ConeObject::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::ConeObject::getRedrawFlag.
Calls MR_ConeObject_getRedrawFlag().
| auto meshlib::ConeObject::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::ConeObject::getRotationMatrix.
Calls MR_ConeObject_getRotationMatrix().
| auto meshlib::ConeObject::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::ConeObject::getScaleShearMatrix.
Calls MR_ConeObject_getScaleShearMatrix().
| auto meshlib::ConeObject::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::ConeObject::getSharedPtr.
Calls MR_ConeObject_getSharedPtr().
| auto meshlib::ConeObject::get_shininess | ( | ) | const -> f32 |
returns the current shininess visual value Generated from method MR::ConeObject::getShininess.
Calls MR_ConeObject_getShininess().
| auto meshlib::ConeObject::get_specular_strength | ( | ) | const -> f32 |
returns intensity of reflections Generated from method MR::ConeObject::getSpecularStrength.
Calls MR_ConeObject_getSpecularStrength().
| auto meshlib::ConeObject::get_subfeature_alpha_lines | ( | ) | const -> f32 |
Generated from method MR::ConeObject::getSubfeatureAlphaLines.
Calls MR_ConeObject_getSubfeatureAlphaLines().
| auto meshlib::ConeObject::get_subfeature_alpha_mesh | ( | ) | const -> f32 |
Generated from method MR::ConeObject::getSubfeatureAlphaMesh.
Calls MR_ConeObject_getSubfeatureAlphaMesh().
| auto meshlib::ConeObject::get_subfeature_alpha_points | ( | ) | const -> f32 |
Generated from method MR::ConeObject::getSubfeatureAlphaPoints.
Calls MR_ConeObject_getSubfeatureAlphaPoints().
| auto meshlib::ConeObject::get_subfeature_line_width | ( | ) | const -> f32 |
Generated from method MR::ConeObject::getSubfeatureLineWidth.
Calls MR_ConeObject_getSubfeatureLineWidth().
| auto meshlib::ConeObject::get_subfeature_point_size | ( | ) | const -> f32 |
Point size and line width, for subfeatures rather than primary rendering. Generated from method MR::ConeObject::getSubfeaturePointSize.
Calls MR_ConeObject_getSubfeaturePointSize().
| auto meshlib::ConeObject::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::ConeObject::getVisualizeProperty.
Calls MR_ConeObject_getVisualizeProperty().
| auto meshlib::ConeObject::get_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> &meshlib::ViewportMask |
Generated from method MR::ConeObject::getVisualizePropertyMask.
Calls MR_ConeObject_getVisualizePropertyMask().
| auto meshlib::ConeObject::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::ConeObject::getWorldBox.
Calls MR_ConeObject_getWorldBox().
| auto meshlib::ConeObject::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::ConeObject::getWorldTreeBox.
Calls MR_ConeObject_getWorldTreeBox().
| auto meshlib::ConeObject::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::ConeObject::globalClippedByPlane.
Calls MR_ConeObject_globalClippedByPlane().
| auto meshlib::ConeObject::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::ConeObject::globalClippedByPlaneMask.
Calls MR_ConeObject_globalClippedByPlaneMask().
| auto meshlib::ConeObject::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::ConeObject::globalVisibility.
Calls MR_ConeObject_globalVisibility().
| auto meshlib::ConeObject::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::ConeObject::globalVisibilityMask.
Calls MR_ConeObject_globalVisibilityMask().
| auto meshlib::ConeObject::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::ConeObject::hasModel.
Calls MR_ConeObject_hasModel().
| auto meshlib::ConeObject::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::ConeObject::hasVisualRepresentation.
Calls MR_ConeObject_hasVisualRepresentation().
| auto meshlib::ConeObject::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::ConeObject::heapBytes.
Calls MR_ConeObject_heapBytes().
| auto meshlib::ConeObject::is_ancestor | ( | ancestor:Option<&meshlib::Object > | ) | const -> bool |
return true if given object is ancestor of this one, false otherwise Generated from method MR::ConeObject::isAncestor.
Calls MR_ConeObject_isAncestor().
| auto meshlib::ConeObject::is_ancillary | ( | ) | const -> bool |
Generated from method MR::ConeObject::isAncillary.
Calls MR_ConeObject_isAncillary().
| auto meshlib::ConeObject::is_global_ancillary | ( | ) | const -> bool |
returns true if the object or any of its ancestors are ancillary Generated from method MR::ConeObject::isGlobalAncillary.
Calls MR_ConeObject_isGlobalAncillary().
| auto meshlib::ConeObject::is_locked | ( | ) | const -> bool |
object properties lock for UI Generated from method MR::ConeObject::isLocked.
Calls MR_ConeObject_isLocked().
| auto meshlib::ConeObject::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::ConeObject::isParentLocked.
Calls MR_ConeObject_isParentLocked().
| auto meshlib::ConeObject::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::ConeObject::isPickable.
Calls MR_ConeObject_isPickable().
| auto meshlib::ConeObject::is_selected | ( | ) | const -> bool |
Generated from method MR::ConeObject::isSelected.
Calls MR_ConeObject_isSelected().
| auto meshlib::ConeObject::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::ConeObject::isVisible.
Calls MR_ConeObject_isVisible().
| auto meshlib::ConeObject::name | ( | ) | const -> &meshlib::std_string |
Generated from method MR::ConeObject::name.
Calls MR_ConeObject_name().
|
static |
Creates simple Cone object with center in zero and radius - 1
Calls MR_ConeObject_DefaultConstruct().
| auto meshlib::ConeObject::project_point | ( | point:&meshlib::Vector3f | , |
| id:Option<&meshlib::ViewportId > | ) const -> meshlib::Owned< meshlib::FeatureObjectProjectPointResult > |
Generated from method MR::ConeObject::projectPoint.
Calls MR_ConeObject_projectPoint().
| void meshlib::ConeObject::remove_all_children | ( | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::ConeObject::removeAllChildren.
Calls MR_ConeObject_removeAllChildren().
| auto meshlib::ConeObject::remove_tag | ( | tag:& | str | ) | -> bool |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ConeObject::removeTag.
Calls MR_ConeObject_removeTag().
| auto meshlib::ConeObject::render | ( | _1:&meshlib::ModelRenderParams | ) | const -> bool |
draws this object for visualization Returns true if something was drawn. Generated from method MR::ConeObject::render.
Calls MR_ConeObject_render().
| void meshlib::ConeObject::render_for_picker | ( | _1:&meshlib::ModelBaseRenderParams | , |
| _2:core::ffi::c_uint | ) const |
draws this object for picking Generated from method MR::ConeObject::renderForPicker.
Calls MR_ConeObject_renderForPicker().
| void meshlib::ConeObject::render_ui | ( | params:&meshlib::UiRenderParams | ) | const |
draws this object for 2d UI Generated from method MR::ConeObject::renderUi.
Calls MR_ConeObject_renderUi().
| void meshlib::ConeObject::reset_colors | ( | ) |
reset all object colors to their default values from the current theme Generated from method MR::ConeObject::resetColors.
Calls MR_ConeObject_resetColors().
| void meshlib::ConeObject::reset_dirty | ( | ) | const |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::ConeObject::resetDirty.
Calls MR_ConeObject_resetDirty().
| void meshlib::ConeObject::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::ConeObject::resetDirtyExceptMask.
Calls MR_ConeObject_resetDirtyExceptMask().
| void meshlib::ConeObject::reset_front_color | ( | ) |
reset basic object colors to their default values from the current theme Generated from method MR::ConeObject::resetFrontColor.
Calls MR_ConeObject_resetFrontColor().
| void meshlib::ConeObject::reset_redraw_flag | ( | ) | const |
Generated from method MR::ConeObject::resetRedrawFlag.
Calls MR_ConeObject_resetRedrawFlag().
| void meshlib::ConeObject::reset_xf | ( | id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ConeObject::resetXf.
Calls MR_ConeObject_resetXf().
| auto meshlib::ConeObject::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::ConeObject::sameModels.
Calls MR_ConeObject_sameModels().
| auto meshlib::ConeObject::select | ( | on:bool | ) | -> bool |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::ConeObject::select.
Calls MR_ConeObject_select().
| void meshlib::ConeObject::set_all_visualize_properties | ( | properties:&meshlib::std_vector_MR_ViewportMask | ) |
set all visualize properties masks Generated from method MR::ConeObject::setAllVisualizeProperties.
Calls MR_ConeObject_setAllVisualizeProperties().
| void meshlib::ConeObject::set_ambient_strength | ( | ambientStrength:f32 | ) |
sets intensity of non-directional light Generated from method MR::ConeObject::setAmbientStrength.
Calls MR_ConeObject_setAmbientStrength().
| void meshlib::ConeObject::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::ConeObject::setAncillary.
Calls MR_ConeObject_setAncillary().
| void meshlib::ConeObject::set_angle | ( | angle:f32 | , |
| id:Option<&meshlib::ViewportId > | ) |
updates xf to fit given cone angle. It is an angle betweeh main axis and side Generated from method MR::ConeObject::setAngle.
Calls MR_ConeObject_setAngle().
| void meshlib::ConeObject::set_back_color | ( | color:&meshlib::Color | , |
| viewportId:Option<&meshlib::ViewportId > | ) |
sets backward color of object in given viewport Generated from method MR::ConeObject::setBackColor.
Calls MR_ConeObject_setBackColor().
| void meshlib::ConeObject::set_back_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
sets backward color of object in all viewports Generated from method MR::ConeObject::setBackColorsForAllViewports.
Calls MR_ConeObject_setBackColorsForAllViewports().
| void meshlib::ConeObject::set_base_radius | ( | radius:f32 | , |
| id:Option<&meshlib::ViewportId > | ) |
Updates the xf for the new base radius. Generated from method MR::ConeObject::setBaseRadius.
Calls MR_ConeObject_setBaseRadius().
| void meshlib::ConeObject::set_center | ( | center:&meshlib::Vector3f | , |
| id:Option<&meshlib::ViewportId > | ) |
updates xf to fit given center. Center is the apex of the cone. Generated from method MR::ConeObject::setCenter.
Calls MR_ConeObject_setCenter().
| void meshlib::ConeObject::set_coloring_type | ( | coloringType:meshlib::ColoringType | ) |
sets coloring mode of the object with given argument Generated from method MR::ConeObject::setColoringType.
Calls MR_ConeObject_setColoringType().
| void meshlib::ConeObject::set_decorations_color | ( | color:&meshlib::Color | , |
| selected:bool | , | ||
| viewportId:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ConeObject::setDecorationsColor.
Calls MR_ConeObject_setDecorationsColor().
| void meshlib::ConeObject::set_decorations_color_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | , |
| selected:bool | ) |
Generated from method MR::ConeObject::setDecorationsColorForAllViewports.
Calls MR_ConeObject_setDecorationsColorForAllViewports().
| void meshlib::ConeObject::set_direction | ( | normal:&meshlib::Vector3f | , |
| id:Option<&meshlib::ViewportId > | ) |
updates xf to fit main axis Generated from method MR::ConeObject::setDirection.
Calls MR_ConeObject_setDirection().
| void meshlib::ConeObject::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::ConeObject::setDirtyFlags. |
Calls MR_ConeObject_setDirtyFlags().
| void meshlib::ConeObject::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::ConeObject::setFrontColor.
Calls MR_ConeObject_setFrontColor().
| void meshlib::ConeObject::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::ConeObject::setFrontColorsForAllViewports.
Calls MR_ConeObject_setFrontColorsForAllViewports().
| void meshlib::ConeObject::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::ConeObject::setGlobalAlpha.
Calls MR_ConeObject_setGlobalAlpha().
| void meshlib::ConeObject::set_global_alpha_for_all_viewports | ( | val:&meshlib::ViewportProperty_unsigned_char | ) |
sets global transparency alpha of object in all viewports Generated from method MR::ConeObject::setGlobalAlphaForAllViewports.
Calls MR_ConeObject_setGlobalAlphaForAllViewports().
| void meshlib::ConeObject::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::ConeObject::setGlobalClippedByPlane.
Calls MR_ConeObject_setGlobalClippedByPlane().
| void meshlib::ConeObject::set_global_visibility | ( | on:bool | , |
| viewportMask:Option<&meshlib::ViewportMask > | ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ConeObject::setGlobalVisibility.
Calls MR_ConeObject_setGlobalVisibility().
| void meshlib::ConeObject::set_height | ( | height:f32 | , |
| id:Option<&meshlib::ViewportId > | ) |
updates xf to fit cone height Generated from method MR::ConeObject::setHeight.
Calls MR_ConeObject_setHeight().
| void meshlib::ConeObject::set_line_width | ( | lineWidth:f32 | ) |
Generated from method MR::ConeObject::setLineWidth.
Calls MR_ConeObject_setLineWidth().
| void meshlib::ConeObject::set_locked | ( | on:bool | ) |
Generated from method MR::ConeObject::setLocked.
Calls MR_ConeObject_setLocked().
| void meshlib::ConeObject::set_main_feature_alpha | ( | alpha:f32 | ) |
Generated from method MR::ConeObject::setMainFeatureAlpha.
Calls MR_ConeObject_setMainFeatureAlpha().
| void meshlib::ConeObject::set_name | ( | name:& | str | ) |
Generated from method MR::ConeObject::setName.
Calls MR_ConeObject_setName().
| void meshlib::ConeObject::set_parent_locked | ( | lock:bool | ) |
Generated from method MR::ConeObject::setParentLocked.
Calls MR_ConeObject_setParentLocked().
| void meshlib::ConeObject::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::ConeObject::setPickable.
Calls MR_ConeObject_setPickable().
| void meshlib::ConeObject::set_point_size | ( | pointSize:f32 | ) |
Generated from method MR::ConeObject::setPointSize.
Calls MR_ConeObject_setPointSize().
| void meshlib::ConeObject::set_shininess | ( | shininess:f32 | ) |
sets shininess visual value of the object with given argument Generated from method MR::ConeObject::setShininess.
Calls MR_ConeObject_setShininess().
| void meshlib::ConeObject::set_specular_strength | ( | specularStrength:f32 | ) |
sets intensity of reflections Generated from method MR::ConeObject::setSpecularStrength.
Calls MR_ConeObject_setSpecularStrength().
| void meshlib::ConeObject::set_subfeature_alpha_lines | ( | alpha:f32 | ) |
Generated from method MR::ConeObject::setSubfeatureAlphaLines.
Calls MR_ConeObject_setSubfeatureAlphaLines().
| void meshlib::ConeObject::set_subfeature_alpha_mesh | ( | alpha:f32 | ) |
Generated from method MR::ConeObject::setSubfeatureAlphaMesh.
Calls MR_ConeObject_setSubfeatureAlphaMesh().
| void meshlib::ConeObject::set_subfeature_alpha_points | ( | alpha:f32 | ) |
Generated from method MR::ConeObject::setSubfeatureAlphaPoints.
Calls MR_ConeObject_setSubfeatureAlphaPoints().
| void meshlib::ConeObject::set_subfeature_line_width | ( | lineWidth:f32 | ) |
Generated from method MR::ConeObject::setSubfeatureLineWidth.
Calls MR_ConeObject_setSubfeatureLineWidth().
| void meshlib::ConeObject::set_subfeature_point_size | ( | pointSize:f32 | ) |
Generated from method MR::ConeObject::setSubfeaturePointSize.
Calls MR_ConeObject_setSubfeaturePointSize().
| void meshlib::ConeObject::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::ConeObject::setUseDefaultScenePropertiesOnDeserialization.
Calls MR_ConeObject_setUseDefaultScenePropertiesOnDeserialization().
| void meshlib::ConeObject::set_visibility_mask | ( | viewportMask:&meshlib::ViewportMask | ) |
specifies object visibility as bitmask of viewports Generated from method MR::ConeObject::setVisibilityMask.
Calls MR_ConeObject_setVisibilityMask().
| void meshlib::ConeObject::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::ConeObject::setVisible.
Calls MR_ConeObject_setVisible().
| void meshlib::ConeObject::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::ConeObject::setVisualizeProperty.
Calls MR_ConeObject_setVisualizeProperty().
| void meshlib::ConeObject::set_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
set visual property mask Generated from method MR::ConeObject::setVisualizePropertyMask.
Calls MR_ConeObject_setVisualizePropertyMask().
| void meshlib::ConeObject::set_world_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ConeObject::setWorldXf.
Calls MR_ConeObject_setWorldXf().
| void meshlib::ConeObject::set_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ConeObject::setXf.
Calls MR_ConeObject_setXf().
| void meshlib::ConeObject::set_xfs_for_all_viewports | ( | xf:&meshlib::ViewportProperty_MR_AffineXf3f | ) |
modifies xfs for all viewports at once Generated from method MR::ConeObject::setXfsForAllViewports.
Calls MR_ConeObject_setXfsForAllViewports().
| auto meshlib::ConeObject::shallow_clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::ConeObject::shallowClone.
Calls MR_ConeObject_shallowClone().
| auto meshlib::ConeObject::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::ConeObject::shallowCloneTree.
Calls MR_ConeObject_shallowCloneTree().
| void meshlib::ConeObject::sort_children | ( | ) |
sort recognized children by name Generated from method MR::ConeObject::sortChildren.
Calls MR_ConeObject_sortChildren().
|
static |
Generated from method MR::ConeObject::StaticClassName.
Calls MR_ConeObject_StaticClassName().
|
static |
Generated from method MR::ConeObject::StaticClassNameInPlural.
Calls MR_ConeObject_StaticClassNameInPlural().
|
static |
Static downcast from the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length>.
Calls MR_ConeObject_StaticDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length(). Undefined behavior if the object isn't actually a ConeObject.
|
static |
Static downcast from the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length>.
Calls MR_ConeObject_MutableStaticDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length(). Undefined behavior if the object isn't actually a ConeObject.
|
static |
Static downcast from the base class MR::FeatureObject.
Calls MR_ConeObject_StaticDowncastFrom_MR_FeatureObject(). Undefined behavior if the object isn't actually a ConeObject.
|
static |
Static downcast from the base class MR::FeatureObject.
Calls MR_ConeObject_MutableStaticDowncastFrom_MR_FeatureObject(). Undefined behavior if the object isn't actually a ConeObject.
|
static |
Static downcast from the base class MR::Object.
Calls MR_ConeObject_StaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a ConeObject.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_ConeObject_StaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a ConeObject.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_ConeObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a ConeObject.
|
static |
Static downcast from the base class MR::Object.
Calls MR_ConeObject_MutableStaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a ConeObject.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_ConeObject_StaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a ConeObject.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_ConeObject_MutableStaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a ConeObject.
|
static |
Generated from method MR::ConeObject::StaticTypeName.
Calls MR_ConeObject_StaticTypeName().
| auto meshlib::ConeObject::supports_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> bool |
Generated from method MR::ConeObject::supportsVisualizeProperty.
Calls MR_ConeObject_supportsVisualizeProperty().
| void meshlib::ConeObject::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::ConeObject::swap.
Calls MR_ConeObject_swap().
| auto meshlib::ConeObject::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::ConeObject::tags.
Calls MR_ConeObject_tags().
| void meshlib::ConeObject::toggle_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
toggle visual property in all viewports specified by the mask Generated from method MR::ConeObject::toggleVisualizeProperty.
Calls MR_ConeObject_toggleVisualizeProperty().
| auto meshlib::ConeObject::type_name | ( | ) | const -> Option<&core::ffi::c_char > |
Generated from method MR::ConeObject::typeName.
Calls MR_ConeObject_typeName().
| auto meshlib::ConeObject::upcast_to_add_visual_properties_mr_feature_object_mr_dimensions_visualize_property_type_diameter_mr_dimensions_visualize_property_type_angle_mr_dimensions_visualize_property_type_length | ( | ) | const -> &meshlib::AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length |
Upcasts to the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length>.
Calls MR_ConeObject_UpcastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length().
| auto meshlib::ConeObject::upcast_to_add_visual_properties_mr_feature_object_mr_dimensions_visualize_property_type_diameter_mr_dimensions_visualize_property_type_angle_mr_dimensions_visualize_property_type_length_mut | ( | ) | -> &mut meshlib::AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length |
Upcasts to the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length>.
Calls MR_ConeObject_MutableUpcastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length().
| auto meshlib::ConeObject::upcast_to_feature_object | ( | ) | const -> &meshlib::FeatureObject |
Upcasts to the base class MR::FeatureObject.
Calls MR_ConeObject_UpcastTo_MR_FeatureObject().
| auto meshlib::ConeObject::upcast_to_feature_object_mut | ( | ) | -> &mut meshlib::FeatureObject |
Upcasts to the base class MR::FeatureObject.
Calls MR_ConeObject_MutableUpcastTo_MR_FeatureObject().
| auto meshlib::ConeObject::upcast_to_object | ( | ) | const -> &meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_ConeObject_UpcastTo_MR_Object().
| auto meshlib::ConeObject::upcast_to_object_children_holder | ( | ) | const -> &meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_ConeObject_UpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::ConeObject::upcast_to_object_children_holder_mut | ( | ) | -> &mut meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_ConeObject_MutableUpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::ConeObject::upcast_to_object_mut | ( | ) | -> &mut meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_ConeObject_MutableUpcastTo_MR_Object().
| auto meshlib::ConeObject::upcast_to_visual_object | ( | ) | const -> &meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_ConeObject_UpcastTo_MR_VisualObject().
| auto meshlib::ConeObject::upcast_to_visual_object_mut | ( | ) | -> &mut meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_ConeObject_MutableUpcastTo_MR_VisualObject().
| auto meshlib::ConeObject::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::ConeObject::useDefaultScenePropertiesOnDeserialization.
Calls MR_ConeObject_useDefaultScenePropertiesOnDeserialization().
| auto meshlib::ConeObject::visibility_mask | ( | ) | const -> meshlib::Owned< meshlib::ViewportMask > |
gets object visibility as bitmask of viewports Generated from method MR::ConeObject::visibilityMask.
Calls MR_ConeObject_visibilityMask().
| auto meshlib::ConeObject::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::ConeObject::worldXf. |
Calls MR_ConeObject_worldXf().
| auto meshlib::ConeObject::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::ConeObject::xf. |
Calls MR_ConeObject_xf().
| auto meshlib::ConeObject::xfs_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_AffineXf3f |
returns xfs for all viewports, combined into a single object Generated from method MR::ConeObject::xfsForAllViewports.
Calls MR_ConeObject_xfsForAllViewports().