Object to show plane feature Generated from class MR::PlaneObject. Base classes: Direct: (non-virtual) MR::FeatureObject Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object MR::VisualObject
Generated from class MR::PlaneObject. Heap-allocated instances are held in Owned<PlaneObject>.
| auto meshlib::PlaneObject::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::PlaneObject::addChild. |
Calls MR_PlaneObject_addChild().
| auto meshlib::PlaneObject::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::PlaneObject::addChildBefore.
Calls MR_PlaneObject_addChildBefore().
| auto meshlib::PlaneObject::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::PlaneObject::addTag.
Calls MR_PlaneObject_addTag().
| void meshlib::PlaneObject::apply_scale | ( | scaleFactor:f32 | ) |
scale object size (all point positions) Generated from method MR::PlaneObject::applyScale.
Calls MR_PlaneObject_applyScale().
| auto meshlib::PlaneObject::assign_from_another | ( | _other:meshlib::Owned< meshlib::PlaneObject > | ) | -> &mut meshlib::PlaneObject |
Generated from method MR::PlaneObject::operator=.
Calls MR_PlaneObject_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::PlaneObject::calc_local_basis | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Matrix3f |
calculates normalized directions of X,Y axis of the plane and normal as Z Generated from method MR::PlaneObject::calcLocalBasis.
Calls MR_PlaneObject_calcLocalBasis().
| auto meshlib::PlaneObject::class_name | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::PlaneObject::className.
Calls MR_PlaneObject_className().
| auto meshlib::PlaneObject::class_name_in_plural | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::PlaneObject::classNameInPlural.
Calls MR_PlaneObject_classNameInPlural().
| auto meshlib::PlaneObject::clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::PlaneObject::clone.
Calls MR_PlaneObject_clone().
| auto meshlib::PlaneObject::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::PlaneObject::cloneTree.
Calls MR_PlaneObject_cloneTree().
| auto meshlib::PlaneObject::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::PlaneObject::constChildren.
Calls MR_PlaneObject_constChildren().
|
static |
Finds best plane to approx given points Generated from constructor MR::PlaneObject::PlaneObject.
Calls MR_PlaneObject_Construct(). The reference to the parameter pointsToApprox might be preserved in the constructed object.
|
static |
Generated from constructor MR::PlaneObject::PlaneObject.
Calls MR_PlaneObject_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| void meshlib::PlaneObject::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::PlaneObject::copyAllSolidColors.
Calls MR_PlaneObject_copyAllSolidColors().
| auto meshlib::PlaneObject::detach_from_parent | ( | ) | -> bool |
removes this from its parent children list returns false if it was already orphan Generated from method MR::PlaneObject::detachFromParent.
Calls MR_PlaneObject_detachFromParent().
|
static |
Dynamic downcast from the base class MR::FeatureObject. Returns None if the object isn't actually a PlaneObject.
Calls MR_PlaneObject_DynamicDowncastFrom_MR_FeatureObject().
|
static |
Dynamic downcast from the base class MR::FeatureObject. Returns None if the object isn't actually a PlaneObject.
Calls MR_PlaneObject_MutableDynamicDowncastFrom_MR_FeatureObject().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a PlaneObject.
Calls MR_PlaneObject_DynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a PlaneObject.
Calls MR_PlaneObject_MutableDynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a PlaneObject.
Calls MR_PlaneObject_DynamicDowncastFrom_MR_VisualObject().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a PlaneObject.
Calls MR_PlaneObject_MutableDynamicDowncastFrom_MR_VisualObject().
| auto meshlib::PlaneObject::get_all_shared_properties | ( | ) | const -> &meshlib::std_vector_MR_FeatureObjectSharedProperty |
Generated from method MR::PlaneObject::getAllSharedProperties.
Calls MR_PlaneObject_getAllSharedProperties().
| auto meshlib::PlaneObject::get_all_visualize_properties | ( | ) | const -> meshlib::Owned< meshlib::std_vector_MR_ViewportMask > |
Generated from method MR::PlaneObject::getAllVisualizeProperties.
Calls MR_PlaneObject_getAllVisualizeProperties().
| auto meshlib::PlaneObject::get_ambient_strength | ( | ) | const -> f32 |
returns intensity of non-directional light Generated from method MR::PlaneObject::getAmbientStrength.
Calls MR_PlaneObject_getAmbientStrength().
| auto meshlib::PlaneObject::get_back_color | ( | viewportId:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns backward color of object in given viewport Generated from method MR::PlaneObject::getBackColor.
Calls MR_PlaneObject_getBackColor().
| auto meshlib::PlaneObject::get_back_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
returns backward color of object in all viewports Generated from method MR::PlaneObject::getBackColorsForAllViewports.
Calls MR_PlaneObject_getBackColorsForAllViewports().
| auto meshlib::PlaneObject::get_base_point | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
Returns point considered as base for the feature Generated from method MR::PlaneObject::getBasePoint.
Calls MR_PlaneObject_getBasePoint().
| auto meshlib::PlaneObject::get_bounding_box | ( | ) | const -> meshlib::Box3f |
returns cached bounding box of this object in local coordinates Generated from method MR::PlaneObject::getBoundingBox.
Calls MR_PlaneObject_getBoundingBox().
| auto meshlib::PlaneObject::get_center | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
calculates center from xf Generated from method MR::PlaneObject::getCenter.
Calls MR_PlaneObject_getCenter().
| auto meshlib::PlaneObject::get_coloring_type | ( | ) | const -> meshlib::ColoringType |
returns the current coloring mode of the object Generated from method MR::PlaneObject::getColoringType.
Calls MR_PlaneObject_getColoringType().
| auto meshlib::PlaneObject::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::PlaneObject::getDecorationsColor.
Calls MR_PlaneObject_getDecorationsColor().
| auto meshlib::PlaneObject::get_decorations_color_for_all_viewports | ( | selected:bool | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::PlaneObject::getDecorationsColorForAllViewports.
Calls MR_PlaneObject_getDecorationsColorForAllViewports().
| auto meshlib::PlaneObject::get_dirty_flags | ( | ) | const -> core::ffi::c_uint |
returns current dirty flags for the object Generated from method MR::PlaneObject::getDirtyFlags.
Calls MR_PlaneObject_getDirtyFlags().
| auto meshlib::PlaneObject::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::PlaneObject::getFrontColor.
Calls MR_PlaneObject_getFrontColor().
| auto meshlib::PlaneObject::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::PlaneObject::getFrontColorsForAllViewports.
Calls MR_PlaneObject_getFrontColorsForAllViewports().
| auto meshlib::PlaneObject::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::PlaneObject::getGlobalAlpha.
Calls MR_PlaneObject_getGlobalAlpha().
| auto meshlib::PlaneObject::get_global_alpha_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_unsigned_char |
returns global transparency alpha of object in all viewports Generated from method MR::PlaneObject::getGlobalAlphaForAllViewports.
Calls MR_PlaneObject_getGlobalAlphaForAllViewports().
| auto meshlib::PlaneObject::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::PlaneObject::getInfoLines.
Calls MR_PlaneObject_getInfoLines().
| auto meshlib::PlaneObject::get_line_width | ( | ) | const -> f32 |
Generated from method MR::PlaneObject::getLineWidth.
Calls MR_PlaneObject_getLineWidth().
| auto meshlib::PlaneObject::get_main_feature_alpha | ( | ) | const -> f32 |
Per-component alpha multipliers. The global alpha is multiplied by thise. Generated from method MR::PlaneObject::getMainFeatureAlpha.
Calls MR_PlaneObject_getMainFeatureAlpha().
| auto meshlib::PlaneObject::get_model_hash | ( | ) | const -> usize |
return hash of model (or hash object pointer if object has no model) Generated from method MR::PlaneObject::getModelHash.
Calls MR_PlaneObject_getModelHash().
| auto meshlib::PlaneObject::get_normal | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
calculates normal from xf Generated from method MR::PlaneObject::getNormal.
Calls MR_PlaneObject_getNormal().
| auto meshlib::PlaneObject::get_point_size | ( | ) | const -> f32 |
Point size and line width, for primary rendering rather than subfeatures. Generated from method MR::PlaneObject::getPointSize.
Calls MR_PlaneObject_getPointSize().
| auto meshlib::PlaneObject::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::PlaneObject::getRedrawFlag.
Calls MR_PlaneObject_getRedrawFlag().
| auto meshlib::PlaneObject::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::PlaneObject::getRotationMatrix.
Calls MR_PlaneObject_getRotationMatrix().
| auto meshlib::PlaneObject::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::PlaneObject::getScaleShearMatrix.
Calls MR_PlaneObject_getScaleShearMatrix().
| auto meshlib::PlaneObject::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::PlaneObject::getSharedPtr.
Calls MR_PlaneObject_getSharedPtr().
| auto meshlib::PlaneObject::get_shininess | ( | ) | const -> f32 |
returns the current shininess visual value Generated from method MR::PlaneObject::getShininess.
Calls MR_PlaneObject_getShininess().
| auto meshlib::PlaneObject::get_size | ( | id:Option<&meshlib::ViewportId > | ) | const -> f32 |
calculates plane size from xf Generated from method MR::PlaneObject::getSize.
Calls MR_PlaneObject_getSize().
| auto meshlib::PlaneObject::get_size_x | ( | id:Option<&meshlib::ViewportId > | ) | const -> f32 |
Generated from method MR::PlaneObject::getSizeX.
Calls MR_PlaneObject_getSizeX().
| auto meshlib::PlaneObject::get_size_y | ( | id:Option<&meshlib::ViewportId > | ) | const -> f32 |
Generated from method MR::PlaneObject::getSizeY.
Calls MR_PlaneObject_getSizeY().
| auto meshlib::PlaneObject::get_specular_strength | ( | ) | const -> f32 |
returns intensity of reflections Generated from method MR::PlaneObject::getSpecularStrength.
Calls MR_PlaneObject_getSpecularStrength().
| auto meshlib::PlaneObject::get_subfeature_alpha_lines | ( | ) | const -> f32 |
Generated from method MR::PlaneObject::getSubfeatureAlphaLines.
Calls MR_PlaneObject_getSubfeatureAlphaLines().
| auto meshlib::PlaneObject::get_subfeature_alpha_mesh | ( | ) | const -> f32 |
Generated from method MR::PlaneObject::getSubfeatureAlphaMesh.
Calls MR_PlaneObject_getSubfeatureAlphaMesh().
| auto meshlib::PlaneObject::get_subfeature_alpha_points | ( | ) | const -> f32 |
Generated from method MR::PlaneObject::getSubfeatureAlphaPoints.
Calls MR_PlaneObject_getSubfeatureAlphaPoints().
| auto meshlib::PlaneObject::get_subfeature_line_width | ( | ) | const -> f32 |
Generated from method MR::PlaneObject::getSubfeatureLineWidth.
Calls MR_PlaneObject_getSubfeatureLineWidth().
| auto meshlib::PlaneObject::get_subfeature_point_size | ( | ) | const -> f32 |
Point size and line width, for subfeatures rather than primary rendering. Generated from method MR::PlaneObject::getSubfeaturePointSize.
Calls MR_PlaneObject_getSubfeaturePointSize().
| auto meshlib::PlaneObject::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::PlaneObject::getVisualizeProperty.
Calls MR_PlaneObject_getVisualizeProperty().
| auto meshlib::PlaneObject::get_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> &meshlib::ViewportMask |
Generated from method MR::PlaneObject::getVisualizePropertyMask.
Calls MR_PlaneObject_getVisualizePropertyMask().
| auto meshlib::PlaneObject::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::PlaneObject::getWorldBox.
Calls MR_PlaneObject_getWorldBox().
| auto meshlib::PlaneObject::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::PlaneObject::getWorldTreeBox.
Calls MR_PlaneObject_getWorldTreeBox().
| auto meshlib::PlaneObject::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::PlaneObject::globalClippedByPlane.
Calls MR_PlaneObject_globalClippedByPlane().
| auto meshlib::PlaneObject::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::PlaneObject::globalClippedByPlaneMask.
Calls MR_PlaneObject_globalClippedByPlaneMask().
| auto meshlib::PlaneObject::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::PlaneObject::globalVisibility.
Calls MR_PlaneObject_globalVisibility().
| auto meshlib::PlaneObject::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::PlaneObject::globalVisibilityMask.
Calls MR_PlaneObject_globalVisibilityMask().
| auto meshlib::PlaneObject::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::PlaneObject::hasModel.
Calls MR_PlaneObject_hasModel().
| auto meshlib::PlaneObject::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::PlaneObject::hasVisualRepresentation.
Calls MR_PlaneObject_hasVisualRepresentation().
| auto meshlib::PlaneObject::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::PlaneObject::heapBytes.
Calls MR_PlaneObject_heapBytes().
| auto meshlib::PlaneObject::is_ancestor | ( | ancestor:Option<&meshlib::Object > | ) | const -> bool |
return true if given object is ancestor of this one, false otherwise Generated from method MR::PlaneObject::isAncestor.
Calls MR_PlaneObject_isAncestor().
| auto meshlib::PlaneObject::is_ancillary | ( | ) | const -> bool |
Generated from method MR::PlaneObject::isAncillary.
Calls MR_PlaneObject_isAncillary().
| auto meshlib::PlaneObject::is_global_ancillary | ( | ) | const -> bool |
returns true if the object or any of its ancestors are ancillary Generated from method MR::PlaneObject::isGlobalAncillary.
Calls MR_PlaneObject_isGlobalAncillary().
| auto meshlib::PlaneObject::is_locked | ( | ) | const -> bool |
object properties lock for UI Generated from method MR::PlaneObject::isLocked.
Calls MR_PlaneObject_isLocked().
| auto meshlib::PlaneObject::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::PlaneObject::isParentLocked.
Calls MR_PlaneObject_isParentLocked().
| auto meshlib::PlaneObject::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::PlaneObject::isPickable.
Calls MR_PlaneObject_isPickable().
| auto meshlib::PlaneObject::is_selected | ( | ) | const -> bool |
Generated from method MR::PlaneObject::isSelected.
Calls MR_PlaneObject_isSelected().
| auto meshlib::PlaneObject::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::PlaneObject::isVisible.
Calls MR_PlaneObject_isVisible().
| auto meshlib::PlaneObject::name | ( | ) | const -> &meshlib::std_string |
Generated from method MR::PlaneObject::name.
Calls MR_PlaneObject_name().
|
static |
Creates simple plane object
Calls MR_PlaneObject_DefaultConstruct().
| auto meshlib::PlaneObject::project_point | ( | point:&meshlib::Vector3f | , |
| id:Option<&meshlib::ViewportId > | ) const -> meshlib::Owned< meshlib::FeatureObjectProjectPointResult > |
Generated from method MR::PlaneObject::projectPoint.
Calls MR_PlaneObject_projectPoint().
| void meshlib::PlaneObject::remove_all_children | ( | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::PlaneObject::removeAllChildren.
Calls MR_PlaneObject_removeAllChildren().
| auto meshlib::PlaneObject::remove_tag | ( | tag:& | str | ) | -> bool |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::PlaneObject::removeTag.
Calls MR_PlaneObject_removeTag().
| auto meshlib::PlaneObject::render | ( | _1:&meshlib::ModelRenderParams | ) | const -> bool |
draws this object for visualization Returns true if something was drawn. Generated from method MR::PlaneObject::render.
Calls MR_PlaneObject_render().
| void meshlib::PlaneObject::render_for_picker | ( | _1:&meshlib::ModelBaseRenderParams | , |
| _2:core::ffi::c_uint | ) const |
draws this object for picking Generated from method MR::PlaneObject::renderForPicker.
Calls MR_PlaneObject_renderForPicker().
| void meshlib::PlaneObject::render_ui | ( | params:&meshlib::UiRenderParams | ) | const |
draws this object for 2d UI Generated from method MR::PlaneObject::renderUi.
Calls MR_PlaneObject_renderUi().
| void meshlib::PlaneObject::reset_colors | ( | ) |
reset all object colors to their default values from the current theme Generated from method MR::PlaneObject::resetColors.
Calls MR_PlaneObject_resetColors().
| void meshlib::PlaneObject::reset_dirty | ( | ) | const |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::PlaneObject::resetDirty.
Calls MR_PlaneObject_resetDirty().
| void meshlib::PlaneObject::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::PlaneObject::resetDirtyExceptMask.
Calls MR_PlaneObject_resetDirtyExceptMask().
| void meshlib::PlaneObject::reset_front_color | ( | ) |
reset basic object colors to their default values from the current theme Generated from method MR::PlaneObject::resetFrontColor.
Calls MR_PlaneObject_resetFrontColor().
| void meshlib::PlaneObject::reset_redraw_flag | ( | ) | const |
Generated from method MR::PlaneObject::resetRedrawFlag.
Calls MR_PlaneObject_resetRedrawFlag().
| void meshlib::PlaneObject::reset_xf | ( | id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::PlaneObject::resetXf.
Calls MR_PlaneObject_resetXf().
| auto meshlib::PlaneObject::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::PlaneObject::sameModels.
Calls MR_PlaneObject_sameModels().
| auto meshlib::PlaneObject::select | ( | on:bool | ) | -> bool |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::PlaneObject::select.
Calls MR_PlaneObject_select().
| void meshlib::PlaneObject::set_all_visualize_properties | ( | properties:&meshlib::std_vector_MR_ViewportMask | ) |
set all visualize properties masks Generated from method MR::PlaneObject::setAllVisualizeProperties.
Calls MR_PlaneObject_setAllVisualizeProperties().
| void meshlib::PlaneObject::set_ambient_strength | ( | ambientStrength:f32 | ) |
sets intensity of non-directional light Generated from method MR::PlaneObject::setAmbientStrength.
Calls MR_PlaneObject_setAmbientStrength().
| void meshlib::PlaneObject::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::PlaneObject::setAncillary.
Calls MR_PlaneObject_setAncillary().
| void meshlib::PlaneObject::set_back_color | ( | color:&meshlib::Color | , |
| viewportId:Option<&meshlib::ViewportId > | ) |
sets backward color of object in given viewport Generated from method MR::PlaneObject::setBackColor.
Calls MR_PlaneObject_setBackColor().
| void meshlib::PlaneObject::set_back_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
sets backward color of object in all viewports Generated from method MR::PlaneObject::setBackColorsForAllViewports.
Calls MR_PlaneObject_setBackColorsForAllViewports().
| void meshlib::PlaneObject::set_center | ( | center:&meshlib::Vector3f | , |
| id:Option<&meshlib::ViewportId > | ) |
updates xf to fit given center Generated from method MR::PlaneObject::setCenter.
Calls MR_PlaneObject_setCenter().
| void meshlib::PlaneObject::set_coloring_type | ( | coloringType:meshlib::ColoringType | ) |
sets coloring mode of the object with given argument Generated from method MR::PlaneObject::setColoringType.
Calls MR_PlaneObject_setColoringType().
| void meshlib::PlaneObject::set_decorations_color | ( | color:&meshlib::Color | , |
| selected:bool | , | ||
| viewportId:Option<&meshlib::ViewportId > | ) |
Generated from method MR::PlaneObject::setDecorationsColor.
Calls MR_PlaneObject_setDecorationsColor().
| void meshlib::PlaneObject::set_decorations_color_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | , |
| selected:bool | ) |
Generated from method MR::PlaneObject::setDecorationsColorForAllViewports.
Calls MR_PlaneObject_setDecorationsColorForAllViewports().
| void meshlib::PlaneObject::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::PlaneObject::setDirtyFlags. |
Calls MR_PlaneObject_setDirtyFlags().
| void meshlib::PlaneObject::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::PlaneObject::setFrontColor.
Calls MR_PlaneObject_setFrontColor().
| void meshlib::PlaneObject::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::PlaneObject::setFrontColorsForAllViewports.
Calls MR_PlaneObject_setFrontColorsForAllViewports().
| void meshlib::PlaneObject::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::PlaneObject::setGlobalAlpha.
Calls MR_PlaneObject_setGlobalAlpha().
| void meshlib::PlaneObject::set_global_alpha_for_all_viewports | ( | val:&meshlib::ViewportProperty_unsigned_char | ) |
sets global transparency alpha of object in all viewports Generated from method MR::PlaneObject::setGlobalAlphaForAllViewports.
Calls MR_PlaneObject_setGlobalAlphaForAllViewports().
| void meshlib::PlaneObject::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::PlaneObject::setGlobalClippedByPlane.
Calls MR_PlaneObject_setGlobalClippedByPlane().
| void meshlib::PlaneObject::set_global_visibility | ( | on:bool | , |
| viewportMask:Option<&meshlib::ViewportMask > | ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::PlaneObject::setGlobalVisibility.
Calls MR_PlaneObject_setGlobalVisibility().
| void meshlib::PlaneObject::set_line_width | ( | lineWidth:f32 | ) |
Generated from method MR::PlaneObject::setLineWidth.
Calls MR_PlaneObject_setLineWidth().
| void meshlib::PlaneObject::set_locked | ( | on:bool | ) |
Generated from method MR::PlaneObject::setLocked.
Calls MR_PlaneObject_setLocked().
| void meshlib::PlaneObject::set_main_feature_alpha | ( | alpha:f32 | ) |
Generated from method MR::PlaneObject::setMainFeatureAlpha.
Calls MR_PlaneObject_setMainFeatureAlpha().
| void meshlib::PlaneObject::set_name | ( | name:& | str | ) |
Generated from method MR::PlaneObject::setName.
Calls MR_PlaneObject_setName().
| void meshlib::PlaneObject::set_normal | ( | normal:&meshlib::Vector3f | , |
| id:Option<&meshlib::ViewportId > | ) |
updates xf to fit given normal Generated from method MR::PlaneObject::setNormal.
Calls MR_PlaneObject_setNormal().
| void meshlib::PlaneObject::set_parent_locked | ( | lock:bool | ) |
Generated from method MR::PlaneObject::setParentLocked.
Calls MR_PlaneObject_setParentLocked().
| void meshlib::PlaneObject::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::PlaneObject::setPickable.
Calls MR_PlaneObject_setPickable().
| void meshlib::PlaneObject::set_point_size | ( | pointSize:f32 | ) |
Generated from method MR::PlaneObject::setPointSize.
Calls MR_PlaneObject_setPointSize().
| void meshlib::PlaneObject::set_shininess | ( | shininess:f32 | ) |
sets shininess visual value of the object with given argument Generated from method MR::PlaneObject::setShininess.
Calls MR_PlaneObject_setShininess().
| void meshlib::PlaneObject::set_size | ( | size:f32 | , |
| id:Option<&meshlib::ViewportId > | ) |
updates xf to scale size Generated from method MR::PlaneObject::setSize.
Calls MR_PlaneObject_setSize().
| void meshlib::PlaneObject::set_size_x | ( | size:f32 | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::PlaneObject::setSizeX.
Calls MR_PlaneObject_setSizeX().
| void meshlib::PlaneObject::set_size_y | ( | size:f32 | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::PlaneObject::setSizeY.
Calls MR_PlaneObject_setSizeY().
| void meshlib::PlaneObject::set_specular_strength | ( | specularStrength:f32 | ) |
sets intensity of reflections Generated from method MR::PlaneObject::setSpecularStrength.
Calls MR_PlaneObject_setSpecularStrength().
| void meshlib::PlaneObject::set_subfeature_alpha_lines | ( | alpha:f32 | ) |
Generated from method MR::PlaneObject::setSubfeatureAlphaLines.
Calls MR_PlaneObject_setSubfeatureAlphaLines().
| void meshlib::PlaneObject::set_subfeature_alpha_mesh | ( | alpha:f32 | ) |
Generated from method MR::PlaneObject::setSubfeatureAlphaMesh.
Calls MR_PlaneObject_setSubfeatureAlphaMesh().
| void meshlib::PlaneObject::set_subfeature_alpha_points | ( | alpha:f32 | ) |
Generated from method MR::PlaneObject::setSubfeatureAlphaPoints.
Calls MR_PlaneObject_setSubfeatureAlphaPoints().
| void meshlib::PlaneObject::set_subfeature_line_width | ( | lineWidth:f32 | ) |
Generated from method MR::PlaneObject::setSubfeatureLineWidth.
Calls MR_PlaneObject_setSubfeatureLineWidth().
| void meshlib::PlaneObject::set_subfeature_point_size | ( | pointSize:f32 | ) |
Generated from method MR::PlaneObject::setSubfeaturePointSize.
Calls MR_PlaneObject_setSubfeaturePointSize().
| void meshlib::PlaneObject::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::PlaneObject::setUseDefaultScenePropertiesOnDeserialization.
Calls MR_PlaneObject_setUseDefaultScenePropertiesOnDeserialization().
| void meshlib::PlaneObject::set_visibility_mask | ( | viewportMask:&meshlib::ViewportMask | ) |
specifies object visibility as bitmask of viewports Generated from method MR::PlaneObject::setVisibilityMask.
Calls MR_PlaneObject_setVisibilityMask().
| void meshlib::PlaneObject::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::PlaneObject::setVisible.
Calls MR_PlaneObject_setVisible().
| void meshlib::PlaneObject::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::PlaneObject::setVisualizeProperty.
Calls MR_PlaneObject_setVisualizeProperty().
| void meshlib::PlaneObject::set_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
set visual property mask Generated from method MR::PlaneObject::setVisualizePropertyMask.
Calls MR_PlaneObject_setVisualizePropertyMask().
| void meshlib::PlaneObject::set_world_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::PlaneObject::setWorldXf.
Calls MR_PlaneObject_setWorldXf().
| void meshlib::PlaneObject::set_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::PlaneObject::setXf.
Calls MR_PlaneObject_setXf().
| void meshlib::PlaneObject::set_xfs_for_all_viewports | ( | xf:&meshlib::ViewportProperty_MR_AffineXf3f | ) |
modifies xfs for all viewports at once Generated from method MR::PlaneObject::setXfsForAllViewports.
Calls MR_PlaneObject_setXfsForAllViewports().
| auto meshlib::PlaneObject::shallow_clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::PlaneObject::shallowClone.
Calls MR_PlaneObject_shallowClone().
| auto meshlib::PlaneObject::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::PlaneObject::shallowCloneTree.
Calls MR_PlaneObject_shallowCloneTree().
| void meshlib::PlaneObject::sort_children | ( | ) |
sort recognized children by name Generated from method MR::PlaneObject::sortChildren.
Calls MR_PlaneObject_sortChildren().
|
static |
Generated from method MR::PlaneObject::StaticClassName.
Calls MR_PlaneObject_StaticClassName().
|
static |
Generated from method MR::PlaneObject::StaticClassNameInPlural.
Calls MR_PlaneObject_StaticClassNameInPlural().
|
static |
Static downcast from the base class MR::FeatureObject.
Calls MR_PlaneObject_StaticDowncastFrom_MR_FeatureObject(). Undefined behavior if the object isn't actually a PlaneObject.
|
static |
Static downcast from the base class MR::FeatureObject.
Calls MR_PlaneObject_MutableStaticDowncastFrom_MR_FeatureObject(). Undefined behavior if the object isn't actually a PlaneObject.
|
static |
Static downcast from the base class MR::Object.
Calls MR_PlaneObject_StaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a PlaneObject.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_PlaneObject_StaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a PlaneObject.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_PlaneObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a PlaneObject.
|
static |
Static downcast from the base class MR::Object.
Calls MR_PlaneObject_MutableStaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a PlaneObject.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_PlaneObject_StaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a PlaneObject.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_PlaneObject_MutableStaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a PlaneObject.
|
static |
Generated from method MR::PlaneObject::StaticTypeName.
Calls MR_PlaneObject_StaticTypeName().
| auto meshlib::PlaneObject::supports_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> bool |
Generated from method MR::PlaneObject::supportsVisualizeProperty.
Calls MR_PlaneObject_supportsVisualizeProperty().
| void meshlib::PlaneObject::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::PlaneObject::swap.
Calls MR_PlaneObject_swap().
| auto meshlib::PlaneObject::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::PlaneObject::tags.
Calls MR_PlaneObject_tags().
| void meshlib::PlaneObject::toggle_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
toggle visual property in all viewports specified by the mask Generated from method MR::PlaneObject::toggleVisualizeProperty.
Calls MR_PlaneObject_toggleVisualizeProperty().
| auto meshlib::PlaneObject::type_name | ( | ) | const -> Option<&core::ffi::c_char > |
Generated from method MR::PlaneObject::typeName.
Calls MR_PlaneObject_typeName().
| auto meshlib::PlaneObject::upcast_to_feature_object | ( | ) | const -> &meshlib::FeatureObject |
Upcasts to the base class MR::FeatureObject.
Calls MR_PlaneObject_UpcastTo_MR_FeatureObject().
| auto meshlib::PlaneObject::upcast_to_feature_object_mut | ( | ) | -> &mut meshlib::FeatureObject |
Upcasts to the base class MR::FeatureObject.
Calls MR_PlaneObject_MutableUpcastTo_MR_FeatureObject().
| auto meshlib::PlaneObject::upcast_to_object | ( | ) | const -> &meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_PlaneObject_UpcastTo_MR_Object().
| auto meshlib::PlaneObject::upcast_to_object_children_holder | ( | ) | const -> &meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_PlaneObject_UpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::PlaneObject::upcast_to_object_children_holder_mut | ( | ) | -> &mut meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_PlaneObject_MutableUpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::PlaneObject::upcast_to_object_mut | ( | ) | -> &mut meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_PlaneObject_MutableUpcastTo_MR_Object().
| auto meshlib::PlaneObject::upcast_to_visual_object | ( | ) | const -> &meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_PlaneObject_UpcastTo_MR_VisualObject().
| auto meshlib::PlaneObject::upcast_to_visual_object_mut | ( | ) | -> &mut meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_PlaneObject_MutableUpcastTo_MR_VisualObject().
| auto meshlib::PlaneObject::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::PlaneObject::useDefaultScenePropertiesOnDeserialization.
Calls MR_PlaneObject_useDefaultScenePropertiesOnDeserialization().
| auto meshlib::PlaneObject::visibility_mask | ( | ) | const -> meshlib::Owned< meshlib::ViewportMask > |
gets object visibility as bitmask of viewports Generated from method MR::PlaneObject::visibilityMask.
Calls MR_PlaneObject_visibilityMask().
| auto meshlib::PlaneObject::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::PlaneObject::worldXf. |
Calls MR_PlaneObject_worldXf().
| auto meshlib::PlaneObject::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::PlaneObject::xf. |
Calls MR_PlaneObject_xf().
| auto meshlib::PlaneObject::xfs_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_AffineXf3f |
returns xfs for all viewports, combined into a single object Generated from method MR::PlaneObject::xfsForAllViewports.
Calls MR_PlaneObject_xfsForAllViewports().