Object to show Cylinder feature, position and radius are controlled by xf Generated from class MR::CylinderObject. Base classes: Direct: (non-virtual) MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length> Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object MR::VisualObject MR::FeatureObject
Generated from class MR::CylinderObject. Heap-allocated instances are held in Owned<CylinderObject>.
| auto meshlib::CylinderObject::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::CylinderObject::addChild. |
Calls MR_CylinderObject_addChild().
| auto meshlib::CylinderObject::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::CylinderObject::addChildBefore.
Calls MR_CylinderObject_addChildBefore().
| auto meshlib::CylinderObject::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::CylinderObject::addTag.
Calls MR_CylinderObject_addTag().
| void meshlib::CylinderObject::apply_scale | ( | scaleFactor:f32 | ) |
scale object size (all point positions) Generated from method MR::CylinderObject::applyScale.
Calls MR_CylinderObject_applyScale().
| auto meshlib::CylinderObject::assign_from_another | ( | _other:meshlib::Owned< meshlib::CylinderObject > | ) | -> &mut meshlib::CylinderObject |
Generated from method MR::CylinderObject::operator=.
Calls MR_CylinderObject_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::CylinderObject::class_name | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::CylinderObject::className.
Calls MR_CylinderObject_className().
| auto meshlib::CylinderObject::class_name_in_plural | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::CylinderObject::classNameInPlural.
Calls MR_CylinderObject_classNameInPlural().
| auto meshlib::CylinderObject::clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::CylinderObject::clone.
Calls MR_CylinderObject_clone().
| auto meshlib::CylinderObject::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::CylinderObject::cloneTree.
Calls MR_CylinderObject_cloneTree().
| auto meshlib::CylinderObject::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::CylinderObject::constChildren.
Calls MR_CylinderObject_constChildren().
|
static |
Finds best Cylinder to approx given points Generated from constructor MR::CylinderObject::CylinderObject.
Calls MR_CylinderObject_Construct(). The reference to the parameter pointsToApprox might be preserved in the constructed object.
|
static |
Generated from constructor MR::CylinderObject::CylinderObject.
Calls MR_CylinderObject_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| void meshlib::CylinderObject::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::CylinderObject::copyAllSolidColors.
Calls MR_CylinderObject_copyAllSolidColors().
| auto meshlib::CylinderObject::detach_from_parent | ( | ) | -> bool |
removes this from its parent children list returns false if it was already orphan Generated from method MR::CylinderObject::detachFromParent.
Calls MR_CylinderObject_detachFromParent().
|
static |
Dynamic downcast from the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length>. Returns None if the object isn't actually a CylinderObject.
Calls MR_CylinderObject_DynamicDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length().
|
static |
Dynamic downcast from the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length>. Returns None if the object isn't actually a CylinderObject.
Calls MR_CylinderObject_MutableDynamicDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length().
|
static |
Dynamic downcast from the base class MR::FeatureObject. Returns None if the object isn't actually a CylinderObject.
Calls MR_CylinderObject_DynamicDowncastFrom_MR_FeatureObject().
|
static |
Dynamic downcast from the base class MR::FeatureObject. Returns None if the object isn't actually a CylinderObject.
Calls MR_CylinderObject_MutableDynamicDowncastFrom_MR_FeatureObject().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a CylinderObject.
Calls MR_CylinderObject_DynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a CylinderObject.
Calls MR_CylinderObject_MutableDynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a CylinderObject.
Calls MR_CylinderObject_DynamicDowncastFrom_MR_VisualObject().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a CylinderObject.
Calls MR_CylinderObject_MutableDynamicDowncastFrom_MR_VisualObject().
| auto meshlib::CylinderObject::get_all_shared_properties | ( | ) | const -> &meshlib::std_vector_MR_FeatureObjectSharedProperty |
Generated from method MR::CylinderObject::getAllSharedProperties.
Calls MR_CylinderObject_getAllSharedProperties().
| auto meshlib::CylinderObject::get_all_visualize_properties | ( | ) | const -> meshlib::Owned< meshlib::std_vector_MR_ViewportMask > |
Generated from method MR::CylinderObject::getAllVisualizeProperties.
Calls MR_CylinderObject_getAllVisualizeProperties().
| auto meshlib::CylinderObject::get_ambient_strength | ( | ) | const -> f32 |
returns intensity of non-directional light Generated from method MR::CylinderObject::getAmbientStrength.
Calls MR_CylinderObject_getAmbientStrength().
| auto meshlib::CylinderObject::get_back_color | ( | viewportId:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns backward color of object in given viewport Generated from method MR::CylinderObject::getBackColor.
Calls MR_CylinderObject_getBackColor().
| auto meshlib::CylinderObject::get_back_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
returns backward color of object in all viewports Generated from method MR::CylinderObject::getBackColorsForAllViewports.
Calls MR_CylinderObject_getBackColorsForAllViewports().
| auto meshlib::CylinderObject::get_base_point | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
Returns point considered as base for the feature Generated from method MR::CylinderObject::getBasePoint.
Calls MR_CylinderObject_getBasePoint().
| auto meshlib::CylinderObject::get_bounding_box | ( | ) | const -> meshlib::Box3f |
returns cached bounding box of this object in local coordinates Generated from method MR::CylinderObject::getBoundingBox.
Calls MR_CylinderObject_getBoundingBox().
| auto meshlib::CylinderObject::get_center | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
calculates center from xf Generated from method MR::CylinderObject::getCenter.
Calls MR_CylinderObject_getCenter().
| auto meshlib::CylinderObject::get_coloring_type | ( | ) | const -> meshlib::ColoringType |
returns the current coloring mode of the object Generated from method MR::CylinderObject::getColoringType.
Calls MR_CylinderObject_getColoringType().
| auto meshlib::CylinderObject::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::CylinderObject::getDecorationsColor.
Calls MR_CylinderObject_getDecorationsColor().
| auto meshlib::CylinderObject::get_decorations_color_for_all_viewports | ( | selected:bool | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::CylinderObject::getDecorationsColorForAllViewports.
Calls MR_CylinderObject_getDecorationsColorForAllViewports().
| auto meshlib::CylinderObject::get_direction | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
calculates main axis direction from xf Generated from method MR::CylinderObject::getDirection.
Calls MR_CylinderObject_getDirection().
| auto meshlib::CylinderObject::get_dirty_flags | ( | ) | const -> core::ffi::c_uint |
returns current dirty flags for the object Generated from method MR::CylinderObject::getDirtyFlags.
Calls MR_CylinderObject_getDirtyFlags().
| auto meshlib::CylinderObject::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::CylinderObject::getFrontColor.
Calls MR_CylinderObject_getFrontColor().
| auto meshlib::CylinderObject::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::CylinderObject::getFrontColorsForAllViewports.
Calls MR_CylinderObject_getFrontColorsForAllViewports().
| auto meshlib::CylinderObject::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::CylinderObject::getGlobalAlpha.
Calls MR_CylinderObject_getGlobalAlpha().
| auto meshlib::CylinderObject::get_global_alpha_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_unsigned_char |
returns global transparency alpha of object in all viewports Generated from method MR::CylinderObject::getGlobalAlphaForAllViewports.
Calls MR_CylinderObject_getGlobalAlphaForAllViewports().
| auto meshlib::CylinderObject::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::CylinderObject::getInfoLines.
Calls MR_CylinderObject_getInfoLines().
| auto meshlib::CylinderObject::get_length | ( | id:Option<&meshlib::ViewportId > | ) | const -> f32 |
calculates cylinder length from xf Generated from method MR::CylinderObject::getLength.
Calls MR_CylinderObject_getLength().
| auto meshlib::CylinderObject::get_line_width | ( | ) | const -> f32 |
Generated from method MR::CylinderObject::getLineWidth.
Calls MR_CylinderObject_getLineWidth().
| auto meshlib::CylinderObject::get_main_feature_alpha | ( | ) | const -> f32 |
Per-component alpha multipliers. The global alpha is multiplied by thise. Generated from method MR::CylinderObject::getMainFeatureAlpha.
Calls MR_CylinderObject_getMainFeatureAlpha().
| auto meshlib::CylinderObject::get_model_hash | ( | ) | const -> usize |
return hash of model (or hash object pointer if object has no model) Generated from method MR::CylinderObject::getModelHash.
Calls MR_CylinderObject_getModelHash().
| auto meshlib::CylinderObject::get_normal | ( | point:&meshlib::Vector3f | ) | const -> meshlib::Owned< meshlib::std_optional_MR_Vector3f > |
Generated from method MR::CylinderObject::getNormal.
Calls MR_CylinderObject_getNormal().
| auto meshlib::CylinderObject::get_point_size | ( | ) | const -> f32 |
Point size and line width, for primary rendering rather than subfeatures. Generated from method MR::CylinderObject::getPointSize.
Calls MR_CylinderObject_getPointSize().
| auto meshlib::CylinderObject::get_radius | ( | id:Option<&meshlib::ViewportId > | ) | const -> f32 |
calculates radius from xf Generated from method MR::CylinderObject::getRadius.
Calls MR_CylinderObject_getRadius().
| auto meshlib::CylinderObject::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::CylinderObject::getRedrawFlag.
Calls MR_CylinderObject_getRedrawFlag().
| auto meshlib::CylinderObject::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::CylinderObject::getRotationMatrix.
Calls MR_CylinderObject_getRotationMatrix().
| auto meshlib::CylinderObject::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::CylinderObject::getScaleShearMatrix.
Calls MR_CylinderObject_getScaleShearMatrix().
| auto meshlib::CylinderObject::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::CylinderObject::getSharedPtr.
Calls MR_CylinderObject_getSharedPtr().
| auto meshlib::CylinderObject::get_shininess | ( | ) | const -> f32 |
returns the current shininess visual value Generated from method MR::CylinderObject::getShininess.
Calls MR_CylinderObject_getShininess().
| auto meshlib::CylinderObject::get_specular_strength | ( | ) | const -> f32 |
returns intensity of reflections Generated from method MR::CylinderObject::getSpecularStrength.
Calls MR_CylinderObject_getSpecularStrength().
| auto meshlib::CylinderObject::get_subfeature_alpha_lines | ( | ) | const -> f32 |
Generated from method MR::CylinderObject::getSubfeatureAlphaLines.
Calls MR_CylinderObject_getSubfeatureAlphaLines().
| auto meshlib::CylinderObject::get_subfeature_alpha_mesh | ( | ) | const -> f32 |
Generated from method MR::CylinderObject::getSubfeatureAlphaMesh.
Calls MR_CylinderObject_getSubfeatureAlphaMesh().
| auto meshlib::CylinderObject::get_subfeature_alpha_points | ( | ) | const -> f32 |
Generated from method MR::CylinderObject::getSubfeatureAlphaPoints.
Calls MR_CylinderObject_getSubfeatureAlphaPoints().
| auto meshlib::CylinderObject::get_subfeature_line_width | ( | ) | const -> f32 |
Generated from method MR::CylinderObject::getSubfeatureLineWidth.
Calls MR_CylinderObject_getSubfeatureLineWidth().
| auto meshlib::CylinderObject::get_subfeature_point_size | ( | ) | const -> f32 |
Point size and line width, for subfeatures rather than primary rendering. Generated from method MR::CylinderObject::getSubfeaturePointSize.
Calls MR_CylinderObject_getSubfeaturePointSize().
| auto meshlib::CylinderObject::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::CylinderObject::getVisualizeProperty.
Calls MR_CylinderObject_getVisualizeProperty().
| auto meshlib::CylinderObject::get_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> &meshlib::ViewportMask |
Generated from method MR::CylinderObject::getVisualizePropertyMask.
Calls MR_CylinderObject_getVisualizePropertyMask().
| auto meshlib::CylinderObject::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::CylinderObject::getWorldBox.
Calls MR_CylinderObject_getWorldBox().
| auto meshlib::CylinderObject::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::CylinderObject::getWorldTreeBox.
Calls MR_CylinderObject_getWorldTreeBox().
| auto meshlib::CylinderObject::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::CylinderObject::globalClippedByPlane.
Calls MR_CylinderObject_globalClippedByPlane().
| auto meshlib::CylinderObject::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::CylinderObject::globalClippedByPlaneMask.
Calls MR_CylinderObject_globalClippedByPlaneMask().
| auto meshlib::CylinderObject::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::CylinderObject::globalVisibility.
Calls MR_CylinderObject_globalVisibility().
| auto meshlib::CylinderObject::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::CylinderObject::globalVisibilityMask.
Calls MR_CylinderObject_globalVisibilityMask().
| auto meshlib::CylinderObject::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::CylinderObject::hasModel.
Calls MR_CylinderObject_hasModel().
| auto meshlib::CylinderObject::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::CylinderObject::hasVisualRepresentation.
Calls MR_CylinderObject_hasVisualRepresentation().
| auto meshlib::CylinderObject::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::CylinderObject::heapBytes.
Calls MR_CylinderObject_heapBytes().
| auto meshlib::CylinderObject::is_ancestor | ( | ancestor:Option<&meshlib::Object > | ) | const -> bool |
return true if given object is ancestor of this one, false otherwise Generated from method MR::CylinderObject::isAncestor.
Calls MR_CylinderObject_isAncestor().
| auto meshlib::CylinderObject::is_ancillary | ( | ) | const -> bool |
Generated from method MR::CylinderObject::isAncillary.
Calls MR_CylinderObject_isAncillary().
| auto meshlib::CylinderObject::is_global_ancillary | ( | ) | const -> bool |
returns true if the object or any of its ancestors are ancillary Generated from method MR::CylinderObject::isGlobalAncillary.
Calls MR_CylinderObject_isGlobalAncillary().
| auto meshlib::CylinderObject::is_locked | ( | ) | const -> bool |
object properties lock for UI Generated from method MR::CylinderObject::isLocked.
Calls MR_CylinderObject_isLocked().
| auto meshlib::CylinderObject::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::CylinderObject::isParentLocked.
Calls MR_CylinderObject_isParentLocked().
| auto meshlib::CylinderObject::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::CylinderObject::isPickable.
Calls MR_CylinderObject_isPickable().
| auto meshlib::CylinderObject::is_selected | ( | ) | const -> bool |
Generated from method MR::CylinderObject::isSelected.
Calls MR_CylinderObject_isSelected().
| auto meshlib::CylinderObject::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::CylinderObject::isVisible.
Calls MR_CylinderObject_isVisible().
| auto meshlib::CylinderObject::name | ( | ) | const -> &meshlib::std_string |
Generated from method MR::CylinderObject::name.
Calls MR_CylinderObject_name().
|
static |
Creates simple Cylinder object with center in zero and radius - 1
Calls MR_CylinderObject_DefaultConstruct().
| auto meshlib::CylinderObject::project_point | ( | point:&meshlib::Vector3f | , |
| id:Option<&meshlib::ViewportId > | ) const -> meshlib::Owned< meshlib::FeatureObjectProjectPointResult > |
Generated from method MR::CylinderObject::projectPoint.
Calls MR_CylinderObject_projectPoint().
| void meshlib::CylinderObject::remove_all_children | ( | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::CylinderObject::removeAllChildren.
Calls MR_CylinderObject_removeAllChildren().
| auto meshlib::CylinderObject::remove_tag | ( | tag:& | str | ) | -> bool |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::CylinderObject::removeTag.
Calls MR_CylinderObject_removeTag().
| auto meshlib::CylinderObject::render | ( | _1:&meshlib::ModelRenderParams | ) | const -> bool |
draws this object for visualization Returns true if something was drawn. Generated from method MR::CylinderObject::render.
Calls MR_CylinderObject_render().
| void meshlib::CylinderObject::render_for_picker | ( | _1:&meshlib::ModelBaseRenderParams | , |
| _2:core::ffi::c_uint | ) const |
draws this object for picking Generated from method MR::CylinderObject::renderForPicker.
Calls MR_CylinderObject_renderForPicker().
| void meshlib::CylinderObject::render_ui | ( | params:&meshlib::UiRenderParams | ) | const |
draws this object for 2d UI Generated from method MR::CylinderObject::renderUi.
Calls MR_CylinderObject_renderUi().
| void meshlib::CylinderObject::reset_colors | ( | ) |
reset all object colors to their default values from the current theme Generated from method MR::CylinderObject::resetColors.
Calls MR_CylinderObject_resetColors().
| void meshlib::CylinderObject::reset_dirty | ( | ) | const |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::CylinderObject::resetDirty.
Calls MR_CylinderObject_resetDirty().
| void meshlib::CylinderObject::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::CylinderObject::resetDirtyExceptMask.
Calls MR_CylinderObject_resetDirtyExceptMask().
| void meshlib::CylinderObject::reset_front_color | ( | ) |
reset basic object colors to their default values from the current theme Generated from method MR::CylinderObject::resetFrontColor.
Calls MR_CylinderObject_resetFrontColor().
| void meshlib::CylinderObject::reset_redraw_flag | ( | ) | const |
Generated from method MR::CylinderObject::resetRedrawFlag.
Calls MR_CylinderObject_resetRedrawFlag().
| void meshlib::CylinderObject::reset_xf | ( | id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::CylinderObject::resetXf.
Calls MR_CylinderObject_resetXf().
| auto meshlib::CylinderObject::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::CylinderObject::sameModels.
Calls MR_CylinderObject_sameModels().
| auto meshlib::CylinderObject::select | ( | on:bool | ) | -> bool |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::CylinderObject::select.
Calls MR_CylinderObject_select().
| void meshlib::CylinderObject::set_all_visualize_properties | ( | properties:&meshlib::std_vector_MR_ViewportMask | ) |
set all visualize properties masks Generated from method MR::CylinderObject::setAllVisualizeProperties.
Calls MR_CylinderObject_setAllVisualizeProperties().
| void meshlib::CylinderObject::set_ambient_strength | ( | ambientStrength:f32 | ) |
sets intensity of non-directional light Generated from method MR::CylinderObject::setAmbientStrength.
Calls MR_CylinderObject_setAmbientStrength().
| void meshlib::CylinderObject::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::CylinderObject::setAncillary.
Calls MR_CylinderObject_setAncillary().
| void meshlib::CylinderObject::set_back_color | ( | color:&meshlib::Color | , |
| viewportId:Option<&meshlib::ViewportId > | ) |
sets backward color of object in given viewport Generated from method MR::CylinderObject::setBackColor.
Calls MR_CylinderObject_setBackColor().
| void meshlib::CylinderObject::set_back_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
sets backward color of object in all viewports Generated from method MR::CylinderObject::setBackColorsForAllViewports.
Calls MR_CylinderObject_setBackColorsForAllViewports().
| void meshlib::CylinderObject::set_center | ( | center:&meshlib::Vector3f | , |
| id:Option<&meshlib::ViewportId > | ) |
updates xf to fit given center Generated from method MR::CylinderObject::setCenter.
Calls MR_CylinderObject_setCenter().
| void meshlib::CylinderObject::set_coloring_type | ( | coloringType:meshlib::ColoringType | ) |
sets coloring mode of the object with given argument Generated from method MR::CylinderObject::setColoringType.
Calls MR_CylinderObject_setColoringType().
| void meshlib::CylinderObject::set_decorations_color | ( | color:&meshlib::Color | , |
| selected:bool | , | ||
| viewportId:Option<&meshlib::ViewportId > | ) |
Generated from method MR::CylinderObject::setDecorationsColor.
Calls MR_CylinderObject_setDecorationsColor().
| void meshlib::CylinderObject::set_decorations_color_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | , |
| selected:bool | ) |
Generated from method MR::CylinderObject::setDecorationsColorForAllViewports.
Calls MR_CylinderObject_setDecorationsColorForAllViewports().
| void meshlib::CylinderObject::set_direction | ( | normal:&meshlib::Vector3f | , |
| id:Option<&meshlib::ViewportId > | ) |
updates xf to fit main axis Generated from method MR::CylinderObject::setDirection.
Calls MR_CylinderObject_setDirection().
| void meshlib::CylinderObject::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::CylinderObject::setDirtyFlags. |
Calls MR_CylinderObject_setDirtyFlags().
| void meshlib::CylinderObject::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::CylinderObject::setFrontColor.
Calls MR_CylinderObject_setFrontColor().
| void meshlib::CylinderObject::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::CylinderObject::setFrontColorsForAllViewports.
Calls MR_CylinderObject_setFrontColorsForAllViewports().
| void meshlib::CylinderObject::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::CylinderObject::setGlobalAlpha.
Calls MR_CylinderObject_setGlobalAlpha().
| void meshlib::CylinderObject::set_global_alpha_for_all_viewports | ( | val:&meshlib::ViewportProperty_unsigned_char | ) |
sets global transparency alpha of object in all viewports Generated from method MR::CylinderObject::setGlobalAlphaForAllViewports.
Calls MR_CylinderObject_setGlobalAlphaForAllViewports().
| void meshlib::CylinderObject::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::CylinderObject::setGlobalClippedByPlane.
Calls MR_CylinderObject_setGlobalClippedByPlane().
| void meshlib::CylinderObject::set_global_visibility | ( | on:bool | , |
| viewportMask:Option<&meshlib::ViewportMask > | ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::CylinderObject::setGlobalVisibility.
Calls MR_CylinderObject_setGlobalVisibility().
| void meshlib::CylinderObject::set_length | ( | length:f32 | , |
| id:Option<&meshlib::ViewportId > | ) |
updates xf to fit cylinder length Generated from method MR::CylinderObject::setLength.
Calls MR_CylinderObject_setLength().
| void meshlib::CylinderObject::set_line_width | ( | lineWidth:f32 | ) |
Generated from method MR::CylinderObject::setLineWidth.
Calls MR_CylinderObject_setLineWidth().
| void meshlib::CylinderObject::set_locked | ( | on:bool | ) |
Generated from method MR::CylinderObject::setLocked.
Calls MR_CylinderObject_setLocked().
| void meshlib::CylinderObject::set_main_feature_alpha | ( | alpha:f32 | ) |
Generated from method MR::CylinderObject::setMainFeatureAlpha.
Calls MR_CylinderObject_setMainFeatureAlpha().
| void meshlib::CylinderObject::set_name | ( | name:& | str | ) |
Generated from method MR::CylinderObject::setName.
Calls MR_CylinderObject_setName().
| void meshlib::CylinderObject::set_parent_locked | ( | lock:bool | ) |
Generated from method MR::CylinderObject::setParentLocked.
Calls MR_CylinderObject_setParentLocked().
| void meshlib::CylinderObject::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::CylinderObject::setPickable.
Calls MR_CylinderObject_setPickable().
| void meshlib::CylinderObject::set_point_size | ( | pointSize:f32 | ) |
Generated from method MR::CylinderObject::setPointSize.
Calls MR_CylinderObject_setPointSize().
| void meshlib::CylinderObject::set_radius | ( | radius:f32 | , |
| id:Option<&meshlib::ViewportId > | ) |
updates xf to fit given radius Generated from method MR::CylinderObject::setRadius.
Calls MR_CylinderObject_setRadius().
| void meshlib::CylinderObject::set_shininess | ( | shininess:f32 | ) |
sets shininess visual value of the object with given argument Generated from method MR::CylinderObject::setShininess.
Calls MR_CylinderObject_setShininess().
| void meshlib::CylinderObject::set_specular_strength | ( | specularStrength:f32 | ) |
sets intensity of reflections Generated from method MR::CylinderObject::setSpecularStrength.
Calls MR_CylinderObject_setSpecularStrength().
| void meshlib::CylinderObject::set_subfeature_alpha_lines | ( | alpha:f32 | ) |
Generated from method MR::CylinderObject::setSubfeatureAlphaLines.
Calls MR_CylinderObject_setSubfeatureAlphaLines().
| void meshlib::CylinderObject::set_subfeature_alpha_mesh | ( | alpha:f32 | ) |
Generated from method MR::CylinderObject::setSubfeatureAlphaMesh.
Calls MR_CylinderObject_setSubfeatureAlphaMesh().
| void meshlib::CylinderObject::set_subfeature_alpha_points | ( | alpha:f32 | ) |
Generated from method MR::CylinderObject::setSubfeatureAlphaPoints.
Calls MR_CylinderObject_setSubfeatureAlphaPoints().
| void meshlib::CylinderObject::set_subfeature_line_width | ( | lineWidth:f32 | ) |
Generated from method MR::CylinderObject::setSubfeatureLineWidth.
Calls MR_CylinderObject_setSubfeatureLineWidth().
| void meshlib::CylinderObject::set_subfeature_point_size | ( | pointSize:f32 | ) |
Generated from method MR::CylinderObject::setSubfeaturePointSize.
Calls MR_CylinderObject_setSubfeaturePointSize().
| void meshlib::CylinderObject::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::CylinderObject::setUseDefaultScenePropertiesOnDeserialization.
Calls MR_CylinderObject_setUseDefaultScenePropertiesOnDeserialization().
| void meshlib::CylinderObject::set_visibility_mask | ( | viewportMask:&meshlib::ViewportMask | ) |
specifies object visibility as bitmask of viewports Generated from method MR::CylinderObject::setVisibilityMask.
Calls MR_CylinderObject_setVisibilityMask().
| void meshlib::CylinderObject::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::CylinderObject::setVisible.
Calls MR_CylinderObject_setVisible().
| void meshlib::CylinderObject::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::CylinderObject::setVisualizeProperty.
Calls MR_CylinderObject_setVisualizeProperty().
| void meshlib::CylinderObject::set_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
set visual property mask Generated from method MR::CylinderObject::setVisualizePropertyMask.
Calls MR_CylinderObject_setVisualizePropertyMask().
| void meshlib::CylinderObject::set_world_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::CylinderObject::setWorldXf.
Calls MR_CylinderObject_setWorldXf().
| void meshlib::CylinderObject::set_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::CylinderObject::setXf.
Calls MR_CylinderObject_setXf().
| void meshlib::CylinderObject::set_xfs_for_all_viewports | ( | xf:&meshlib::ViewportProperty_MR_AffineXf3f | ) |
modifies xfs for all viewports at once Generated from method MR::CylinderObject::setXfsForAllViewports.
Calls MR_CylinderObject_setXfsForAllViewports().
| auto meshlib::CylinderObject::shallow_clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::CylinderObject::shallowClone.
Calls MR_CylinderObject_shallowClone().
| auto meshlib::CylinderObject::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::CylinderObject::shallowCloneTree.
Calls MR_CylinderObject_shallowCloneTree().
| void meshlib::CylinderObject::sort_children | ( | ) |
sort recognized children by name Generated from method MR::CylinderObject::sortChildren.
Calls MR_CylinderObject_sortChildren().
|
static |
Generated from method MR::CylinderObject::StaticClassName.
Calls MR_CylinderObject_StaticClassName().
|
static |
Generated from method MR::CylinderObject::StaticClassNameInPlural.
Calls MR_CylinderObject_StaticClassNameInPlural().
|
static |
Static downcast from the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length>.
Calls MR_CylinderObject_StaticDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length(). Undefined behavior if the object isn't actually a CylinderObject.
|
static |
Static downcast from the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length>.
Calls MR_CylinderObject_MutableStaticDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length(). Undefined behavior if the object isn't actually a CylinderObject.
|
static |
Static downcast from the base class MR::FeatureObject.
Calls MR_CylinderObject_StaticDowncastFrom_MR_FeatureObject(). Undefined behavior if the object isn't actually a CylinderObject.
|
static |
Static downcast from the base class MR::FeatureObject.
Calls MR_CylinderObject_MutableStaticDowncastFrom_MR_FeatureObject(). Undefined behavior if the object isn't actually a CylinderObject.
|
static |
Static downcast from the base class MR::Object.
Calls MR_CylinderObject_StaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a CylinderObject.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_CylinderObject_StaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a CylinderObject.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_CylinderObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a CylinderObject.
|
static |
Static downcast from the base class MR::Object.
Calls MR_CylinderObject_MutableStaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a CylinderObject.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_CylinderObject_StaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a CylinderObject.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_CylinderObject_MutableStaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a CylinderObject.
|
static |
Generated from method MR::CylinderObject::StaticTypeName.
Calls MR_CylinderObject_StaticTypeName().
| auto meshlib::CylinderObject::supports_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> bool |
Generated from method MR::CylinderObject::supportsVisualizeProperty.
Calls MR_CylinderObject_supportsVisualizeProperty().
| void meshlib::CylinderObject::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::CylinderObject::swap.
Calls MR_CylinderObject_swap().
| auto meshlib::CylinderObject::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::CylinderObject::tags.
Calls MR_CylinderObject_tags().
| void meshlib::CylinderObject::toggle_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
toggle visual property in all viewports specified by the mask Generated from method MR::CylinderObject::toggleVisualizeProperty.
Calls MR_CylinderObject_toggleVisualizeProperty().
| auto meshlib::CylinderObject::type_name | ( | ) | const -> Option<&core::ffi::c_char > |
Generated from method MR::CylinderObject::typeName.
Calls MR_CylinderObject_typeName().
| auto meshlib::CylinderObject::upcast_to_add_visual_properties_mr_feature_object_mr_dimensions_visualize_property_type_diameter_mr_dimensions_visualize_property_type_length | ( | ) | const -> &meshlib::AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length |
Upcasts to the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length>.
Calls MR_CylinderObject_UpcastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length().
| auto meshlib::CylinderObject::upcast_to_add_visual_properties_mr_feature_object_mr_dimensions_visualize_property_type_diameter_mr_dimensions_visualize_property_type_length_mut | ( | ) | -> &mut meshlib::AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length |
Upcasts to the base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length>.
Calls MR_CylinderObject_MutableUpcastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length().
| auto meshlib::CylinderObject::upcast_to_feature_object | ( | ) | const -> &meshlib::FeatureObject |
Upcasts to the base class MR::FeatureObject.
Calls MR_CylinderObject_UpcastTo_MR_FeatureObject().
| auto meshlib::CylinderObject::upcast_to_feature_object_mut | ( | ) | -> &mut meshlib::FeatureObject |
Upcasts to the base class MR::FeatureObject.
Calls MR_CylinderObject_MutableUpcastTo_MR_FeatureObject().
| auto meshlib::CylinderObject::upcast_to_object | ( | ) | const -> &meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_CylinderObject_UpcastTo_MR_Object().
| auto meshlib::CylinderObject::upcast_to_object_children_holder | ( | ) | const -> &meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_CylinderObject_UpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::CylinderObject::upcast_to_object_children_holder_mut | ( | ) | -> &mut meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_CylinderObject_MutableUpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::CylinderObject::upcast_to_object_mut | ( | ) | -> &mut meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_CylinderObject_MutableUpcastTo_MR_Object().
| auto meshlib::CylinderObject::upcast_to_visual_object | ( | ) | const -> &meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_CylinderObject_UpcastTo_MR_VisualObject().
| auto meshlib::CylinderObject::upcast_to_visual_object_mut | ( | ) | -> &mut meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_CylinderObject_MutableUpcastTo_MR_VisualObject().
| auto meshlib::CylinderObject::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::CylinderObject::useDefaultScenePropertiesOnDeserialization.
Calls MR_CylinderObject_useDefaultScenePropertiesOnDeserialization().
| auto meshlib::CylinderObject::visibility_mask | ( | ) | const -> meshlib::Owned< meshlib::ViewportMask > |
gets object visibility as bitmask of viewports Generated from method MR::CylinderObject::visibilityMask.
Calls MR_CylinderObject_visibilityMask().
| auto meshlib::CylinderObject::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::CylinderObject::worldXf. |
Calls MR_CylinderObject_worldXf().
| auto meshlib::CylinderObject::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::CylinderObject::xf. |
Calls MR_CylinderObject_xf().
| auto meshlib::CylinderObject::xfs_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_AffineXf3f |
returns xfs for all viewports, combined into a single object Generated from method MR::CylinderObject::xfsForAllViewports.
Calls MR_CylinderObject_xfsForAllViewports().