Object to show plane feature Generated from class MR::LineObject. Base classes: Direct: (non-virtual) MR::FeatureObject Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object MR::VisualObject
Generated from class MR::LineObject. Heap-allocated instances are held in Owned<LineObject>.
| auto meshlib::LineObject::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::LineObject::addChild. |
Calls MR_LineObject_addChild().
| auto meshlib::LineObject::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::LineObject::addChildBefore.
Calls MR_LineObject_addChildBefore().
| auto meshlib::LineObject::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::LineObject::addTag.
Calls MR_LineObject_addTag().
| void meshlib::LineObject::apply_scale | ( | scaleFactor:f32 | ) |
scale object size (all point positions) Generated from method MR::LineObject::applyScale.
Calls MR_LineObject_applyScale().
| auto meshlib::LineObject::assign_from_another | ( | _other:meshlib::Owned< meshlib::LineObject > | ) | -> &mut meshlib::LineObject |
Generated from method MR::LineObject::operator=.
Calls MR_LineObject_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::LineObject::class_name | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::LineObject::className.
Calls MR_LineObject_className().
| auto meshlib::LineObject::class_name_in_plural | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::LineObject::classNameInPlural.
Calls MR_LineObject_classNameInPlural().
| auto meshlib::LineObject::clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::LineObject::clone.
Calls MR_LineObject_clone().
| auto meshlib::LineObject::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::LineObject::cloneTree.
Calls MR_LineObject_cloneTree().
| auto meshlib::LineObject::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::LineObject::constChildren.
Calls MR_LineObject_constChildren().
|
static |
Finds best plane to approx given points Generated from constructor MR::LineObject::LineObject.
Calls MR_LineObject_Construct(). The reference to the parameter pointsToApprox might be preserved in the constructed object.
|
static |
Generated from constructor MR::LineObject::LineObject.
Calls MR_LineObject_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| void meshlib::LineObject::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::LineObject::copyAllSolidColors.
Calls MR_LineObject_copyAllSolidColors().
| auto meshlib::LineObject::detach_from_parent | ( | ) | -> bool |
removes this from its parent children list returns false if it was already orphan Generated from method MR::LineObject::detachFromParent.
Calls MR_LineObject_detachFromParent().
|
static |
Dynamic downcast from the base class MR::FeatureObject. Returns None if the object isn't actually a LineObject.
Calls MR_LineObject_DynamicDowncastFrom_MR_FeatureObject().
|
static |
Dynamic downcast from the base class MR::FeatureObject. Returns None if the object isn't actually a LineObject.
Calls MR_LineObject_MutableDynamicDowncastFrom_MR_FeatureObject().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a LineObject.
Calls MR_LineObject_DynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a LineObject.
Calls MR_LineObject_MutableDynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a LineObject.
Calls MR_LineObject_DynamicDowncastFrom_MR_VisualObject().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a LineObject.
Calls MR_LineObject_MutableDynamicDowncastFrom_MR_VisualObject().
| auto meshlib::LineObject::get_all_shared_properties | ( | ) | const -> &meshlib::std_vector_MR_FeatureObjectSharedProperty |
Generated from method MR::LineObject::getAllSharedProperties.
Calls MR_LineObject_getAllSharedProperties().
| auto meshlib::LineObject::get_all_visualize_properties | ( | ) | const -> meshlib::Owned< meshlib::std_vector_MR_ViewportMask > |
Generated from method MR::LineObject::getAllVisualizeProperties.
Calls MR_LineObject_getAllVisualizeProperties().
| auto meshlib::LineObject::get_ambient_strength | ( | ) | const -> f32 |
returns intensity of non-directional light Generated from method MR::LineObject::getAmbientStrength.
Calls MR_LineObject_getAmbientStrength().
| auto meshlib::LineObject::get_back_color | ( | viewportId:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns backward color of object in given viewport Generated from method MR::LineObject::getBackColor.
Calls MR_LineObject_getBackColor().
| auto meshlib::LineObject::get_back_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
returns backward color of object in all viewports Generated from method MR::LineObject::getBackColorsForAllViewports.
Calls MR_LineObject_getBackColorsForAllViewports().
| auto meshlib::LineObject::get_base_point | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
Returns point considered as base for the feature Generated from method MR::LineObject::getBasePoint.
Calls MR_LineObject_getBasePoint().
| auto meshlib::LineObject::get_bounding_box | ( | ) | const -> meshlib::Box3f |
returns cached bounding box of this object in local coordinates Generated from method MR::LineObject::getBoundingBox.
Calls MR_LineObject_getBoundingBox().
| auto meshlib::LineObject::get_center | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
calculates center from xf Generated from method MR::LineObject::getCenter.
Calls MR_LineObject_getCenter().
| auto meshlib::LineObject::get_coloring_type | ( | ) | const -> meshlib::ColoringType |
returns the current coloring mode of the object Generated from method MR::LineObject::getColoringType.
Calls MR_LineObject_getColoringType().
| auto meshlib::LineObject::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::LineObject::getDecorationsColor.
Calls MR_LineObject_getDecorationsColor().
| auto meshlib::LineObject::get_decorations_color_for_all_viewports | ( | selected:bool | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::LineObject::getDecorationsColorForAllViewports.
Calls MR_LineObject_getDecorationsColorForAllViewports().
| auto meshlib::LineObject::get_direction | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
calculates direction from xf Generated from method MR::LineObject::getDirection.
Calls MR_LineObject_getDirection().
| auto meshlib::LineObject::get_dirty_flags | ( | ) | const -> core::ffi::c_uint |
returns current dirty flags for the object Generated from method MR::LineObject::getDirtyFlags.
Calls MR_LineObject_getDirtyFlags().
| auto meshlib::LineObject::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::LineObject::getFrontColor.
Calls MR_LineObject_getFrontColor().
| auto meshlib::LineObject::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::LineObject::getFrontColorsForAllViewports.
Calls MR_LineObject_getFrontColorsForAllViewports().
| auto meshlib::LineObject::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::LineObject::getGlobalAlpha.
Calls MR_LineObject_getGlobalAlpha().
| auto meshlib::LineObject::get_global_alpha_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_unsigned_char |
returns global transparency alpha of object in all viewports Generated from method MR::LineObject::getGlobalAlphaForAllViewports.
Calls MR_LineObject_getGlobalAlphaForAllViewports().
| auto meshlib::LineObject::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::LineObject::getInfoLines.
Calls MR_LineObject_getInfoLines().
| auto meshlib::LineObject::get_length | ( | id:Option<&meshlib::ViewportId > | ) | const -> f32 |
calculates line size from xf Generated from method MR::LineObject::getLength.
Calls MR_LineObject_getLength().
| auto meshlib::LineObject::get_line_width | ( | ) | const -> f32 |
Generated from method MR::LineObject::getLineWidth.
Calls MR_LineObject_getLineWidth().
| auto meshlib::LineObject::get_main_feature_alpha | ( | ) | const -> f32 |
Per-component alpha multipliers. The global alpha is multiplied by thise. Generated from method MR::LineObject::getMainFeatureAlpha.
Calls MR_LineObject_getMainFeatureAlpha().
| auto meshlib::LineObject::get_model_hash | ( | ) | const -> usize |
return hash of model (or hash object pointer if object has no model) Generated from method MR::LineObject::getModelHash.
Calls MR_LineObject_getModelHash().
| auto meshlib::LineObject::get_normal | ( | point:&meshlib::Vector3f | ) | const -> meshlib::Owned< meshlib::std_optional_MR_Vector3f > |
Generated from method MR::LineObject::getNormal.
Calls MR_LineObject_getNormal().
| auto meshlib::LineObject::get_point_a | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
Returns the starting point, aka center - dir * len/2. Generated from method MR::LineObject::getPointA.
Calls MR_LineObject_getPointA().
| auto meshlib::LineObject::get_point_b | ( | id:Option<&meshlib::ViewportId > | ) | const -> meshlib::Vector3f |
Returns the finishing point, aka center + dir * len/2. Generated from method MR::LineObject::getPointB.
Calls MR_LineObject_getPointB().
| auto meshlib::LineObject::get_point_size | ( | ) | const -> f32 |
Point size and line width, for primary rendering rather than subfeatures. Generated from method MR::LineObject::getPointSize.
Calls MR_LineObject_getPointSize().
| auto meshlib::LineObject::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::LineObject::getRedrawFlag.
Calls MR_LineObject_getRedrawFlag().
| auto meshlib::LineObject::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::LineObject::getRotationMatrix.
Calls MR_LineObject_getRotationMatrix().
| auto meshlib::LineObject::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::LineObject::getScaleShearMatrix.
Calls MR_LineObject_getScaleShearMatrix().
| auto meshlib::LineObject::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::LineObject::getSharedPtr.
Calls MR_LineObject_getSharedPtr().
| auto meshlib::LineObject::get_shininess | ( | ) | const -> f32 |
returns the current shininess visual value Generated from method MR::LineObject::getShininess.
Calls MR_LineObject_getShininess().
| auto meshlib::LineObject::get_specular_strength | ( | ) | const -> f32 |
returns intensity of reflections Generated from method MR::LineObject::getSpecularStrength.
Calls MR_LineObject_getSpecularStrength().
| auto meshlib::LineObject::get_subfeature_alpha_lines | ( | ) | const -> f32 |
Generated from method MR::LineObject::getSubfeatureAlphaLines.
Calls MR_LineObject_getSubfeatureAlphaLines().
| auto meshlib::LineObject::get_subfeature_alpha_mesh | ( | ) | const -> f32 |
Generated from method MR::LineObject::getSubfeatureAlphaMesh.
Calls MR_LineObject_getSubfeatureAlphaMesh().
| auto meshlib::LineObject::get_subfeature_alpha_points | ( | ) | const -> f32 |
Generated from method MR::LineObject::getSubfeatureAlphaPoints.
Calls MR_LineObject_getSubfeatureAlphaPoints().
| auto meshlib::LineObject::get_subfeature_line_width | ( | ) | const -> f32 |
Generated from method MR::LineObject::getSubfeatureLineWidth.
Calls MR_LineObject_getSubfeatureLineWidth().
| auto meshlib::LineObject::get_subfeature_point_size | ( | ) | const -> f32 |
Point size and line width, for subfeatures rather than primary rendering. Generated from method MR::LineObject::getSubfeaturePointSize.
Calls MR_LineObject_getSubfeaturePointSize().
| auto meshlib::LineObject::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::LineObject::getVisualizeProperty.
Calls MR_LineObject_getVisualizeProperty().
| auto meshlib::LineObject::get_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> &meshlib::ViewportMask |
Generated from method MR::LineObject::getVisualizePropertyMask.
Calls MR_LineObject_getVisualizePropertyMask().
| auto meshlib::LineObject::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::LineObject::getWorldBox.
Calls MR_LineObject_getWorldBox().
| auto meshlib::LineObject::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::LineObject::getWorldTreeBox.
Calls MR_LineObject_getWorldTreeBox().
| auto meshlib::LineObject::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::LineObject::globalClippedByPlane.
Calls MR_LineObject_globalClippedByPlane().
| auto meshlib::LineObject::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::LineObject::globalClippedByPlaneMask.
Calls MR_LineObject_globalClippedByPlaneMask().
| auto meshlib::LineObject::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::LineObject::globalVisibility.
Calls MR_LineObject_globalVisibility().
| auto meshlib::LineObject::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::LineObject::globalVisibilityMask.
Calls MR_LineObject_globalVisibilityMask().
| auto meshlib::LineObject::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::LineObject::hasModel.
Calls MR_LineObject_hasModel().
| auto meshlib::LineObject::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::LineObject::hasVisualRepresentation.
Calls MR_LineObject_hasVisualRepresentation().
| auto meshlib::LineObject::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::LineObject::heapBytes.
Calls MR_LineObject_heapBytes().
| auto meshlib::LineObject::is_ancestor | ( | ancestor:Option<&meshlib::Object > | ) | const -> bool |
return true if given object is ancestor of this one, false otherwise Generated from method MR::LineObject::isAncestor.
Calls MR_LineObject_isAncestor().
| auto meshlib::LineObject::is_ancillary | ( | ) | const -> bool |
Generated from method MR::LineObject::isAncillary.
Calls MR_LineObject_isAncillary().
| auto meshlib::LineObject::is_global_ancillary | ( | ) | const -> bool |
returns true if the object or any of its ancestors are ancillary Generated from method MR::LineObject::isGlobalAncillary.
Calls MR_LineObject_isGlobalAncillary().
| auto meshlib::LineObject::is_locked | ( | ) | const -> bool |
object properties lock for UI Generated from method MR::LineObject::isLocked.
Calls MR_LineObject_isLocked().
| auto meshlib::LineObject::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::LineObject::isParentLocked.
Calls MR_LineObject_isParentLocked().
| auto meshlib::LineObject::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::LineObject::isPickable.
Calls MR_LineObject_isPickable().
| auto meshlib::LineObject::is_selected | ( | ) | const -> bool |
Generated from method MR::LineObject::isSelected.
Calls MR_LineObject_isSelected().
| auto meshlib::LineObject::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::LineObject::isVisible.
Calls MR_LineObject_isVisible().
| auto meshlib::LineObject::name | ( | ) | const -> &meshlib::std_string |
Generated from method MR::LineObject::name.
Calls MR_LineObject_name().
|
static |
Creates simple plane object
Calls MR_LineObject_DefaultConstruct().
| auto meshlib::LineObject::project_point | ( | point:&meshlib::Vector3f | , |
| id:Option<&meshlib::ViewportId > | ) const -> meshlib::Owned< meshlib::FeatureObjectProjectPointResult > |
Generated from method MR::LineObject::projectPoint.
Calls MR_LineObject_projectPoint().
| void meshlib::LineObject::remove_all_children | ( | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::LineObject::removeAllChildren.
Calls MR_LineObject_removeAllChildren().
| auto meshlib::LineObject::remove_tag | ( | tag:& | str | ) | -> bool |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::LineObject::removeTag.
Calls MR_LineObject_removeTag().
| auto meshlib::LineObject::render | ( | _1:&meshlib::ModelRenderParams | ) | const -> bool |
draws this object for visualization Returns true if something was drawn. Generated from method MR::LineObject::render.
Calls MR_LineObject_render().
| void meshlib::LineObject::render_for_picker | ( | _1:&meshlib::ModelBaseRenderParams | , |
| _2:core::ffi::c_uint | ) const |
draws this object for picking Generated from method MR::LineObject::renderForPicker.
Calls MR_LineObject_renderForPicker().
| void meshlib::LineObject::render_ui | ( | params:&meshlib::UiRenderParams | ) | const |
draws this object for 2d UI Generated from method MR::LineObject::renderUi.
Calls MR_LineObject_renderUi().
| void meshlib::LineObject::reset_colors | ( | ) |
reset all object colors to their default values from the current theme Generated from method MR::LineObject::resetColors.
Calls MR_LineObject_resetColors().
| void meshlib::LineObject::reset_dirty | ( | ) | const |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::LineObject::resetDirty.
Calls MR_LineObject_resetDirty().
| void meshlib::LineObject::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::LineObject::resetDirtyExceptMask.
Calls MR_LineObject_resetDirtyExceptMask().
| void meshlib::LineObject::reset_front_color | ( | ) |
reset basic object colors to their default values from the current theme Generated from method MR::LineObject::resetFrontColor.
Calls MR_LineObject_resetFrontColor().
| void meshlib::LineObject::reset_redraw_flag | ( | ) | const |
Generated from method MR::LineObject::resetRedrawFlag.
Calls MR_LineObject_resetRedrawFlag().
| void meshlib::LineObject::reset_xf | ( | id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::LineObject::resetXf.
Calls MR_LineObject_resetXf().
| auto meshlib::LineObject::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::LineObject::sameModels.
Calls MR_LineObject_sameModels().
| auto meshlib::LineObject::select | ( | on:bool | ) | -> bool |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::LineObject::select.
Calls MR_LineObject_select().
| void meshlib::LineObject::set_all_visualize_properties | ( | properties:&meshlib::std_vector_MR_ViewportMask | ) |
set all visualize properties masks Generated from method MR::LineObject::setAllVisualizeProperties.
Calls MR_LineObject_setAllVisualizeProperties().
| void meshlib::LineObject::set_ambient_strength | ( | ambientStrength:f32 | ) |
sets intensity of non-directional light Generated from method MR::LineObject::setAmbientStrength.
Calls MR_LineObject_setAmbientStrength().
| void meshlib::LineObject::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::LineObject::setAncillary.
Calls MR_LineObject_setAncillary().
| void meshlib::LineObject::set_back_color | ( | color:&meshlib::Color | , |
| viewportId:Option<&meshlib::ViewportId > | ) |
sets backward color of object in given viewport Generated from method MR::LineObject::setBackColor.
Calls MR_LineObject_setBackColor().
| void meshlib::LineObject::set_back_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
sets backward color of object in all viewports Generated from method MR::LineObject::setBackColorsForAllViewports.
Calls MR_LineObject_setBackColorsForAllViewports().
| void meshlib::LineObject::set_center | ( | center:&meshlib::Vector3f | , |
| id:Option<&meshlib::ViewportId > | ) |
updates xf to fit given center Generated from method MR::LineObject::setCenter.
Calls MR_LineObject_setCenter().
| void meshlib::LineObject::set_coloring_type | ( | coloringType:meshlib::ColoringType | ) |
sets coloring mode of the object with given argument Generated from method MR::LineObject::setColoringType.
Calls MR_LineObject_setColoringType().
| void meshlib::LineObject::set_decorations_color | ( | color:&meshlib::Color | , |
| selected:bool | , | ||
| viewportId:Option<&meshlib::ViewportId > | ) |
Generated from method MR::LineObject::setDecorationsColor.
Calls MR_LineObject_setDecorationsColor().
| void meshlib::LineObject::set_decorations_color_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | , |
| selected:bool | ) |
Generated from method MR::LineObject::setDecorationsColorForAllViewports.
Calls MR_LineObject_setDecorationsColorForAllViewports().
| void meshlib::LineObject::set_direction | ( | normal:&meshlib::Vector3f | , |
| id:Option<&meshlib::ViewportId > | ) |
updates xf to fit given normal Generated from method MR::LineObject::setDirection.
Calls MR_LineObject_setDirection().
| void meshlib::LineObject::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::LineObject::setDirtyFlags. |
Calls MR_LineObject_setDirtyFlags().
| void meshlib::LineObject::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::LineObject::setFrontColor.
Calls MR_LineObject_setFrontColor().
| void meshlib::LineObject::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::LineObject::setFrontColorsForAllViewports.
Calls MR_LineObject_setFrontColorsForAllViewports().
| void meshlib::LineObject::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::LineObject::setGlobalAlpha.
Calls MR_LineObject_setGlobalAlpha().
| void meshlib::LineObject::set_global_alpha_for_all_viewports | ( | val:&meshlib::ViewportProperty_unsigned_char | ) |
sets global transparency alpha of object in all viewports Generated from method MR::LineObject::setGlobalAlphaForAllViewports.
Calls MR_LineObject_setGlobalAlphaForAllViewports().
| void meshlib::LineObject::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::LineObject::setGlobalClippedByPlane.
Calls MR_LineObject_setGlobalClippedByPlane().
| void meshlib::LineObject::set_global_visibility | ( | on:bool | , |
| viewportMask:Option<&meshlib::ViewportMask > | ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::LineObject::setGlobalVisibility.
Calls MR_LineObject_setGlobalVisibility().
| void meshlib::LineObject::set_length | ( | size:f32 | , |
| id:Option<&meshlib::ViewportId > | ) |
updates xf to scale size Generated from method MR::LineObject::setLength.
Calls MR_LineObject_setLength().
| void meshlib::LineObject::set_line_width | ( | lineWidth:f32 | ) |
Generated from method MR::LineObject::setLineWidth.
Calls MR_LineObject_setLineWidth().
| void meshlib::LineObject::set_locked | ( | on:bool | ) |
Generated from method MR::LineObject::setLocked.
Calls MR_LineObject_setLocked().
| void meshlib::LineObject::set_main_feature_alpha | ( | alpha:f32 | ) |
Generated from method MR::LineObject::setMainFeatureAlpha.
Calls MR_LineObject_setMainFeatureAlpha().
| void meshlib::LineObject::set_name | ( | name:& | str | ) |
Generated from method MR::LineObject::setName.
Calls MR_LineObject_setName().
| void meshlib::LineObject::set_parent_locked | ( | lock:bool | ) |
Generated from method MR::LineObject::setParentLocked.
Calls MR_LineObject_setParentLocked().
| void meshlib::LineObject::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::LineObject::setPickable.
Calls MR_LineObject_setPickable().
| void meshlib::LineObject::set_point_size | ( | pointSize:f32 | ) |
Generated from method MR::LineObject::setPointSize.
Calls MR_LineObject_setPointSize().
| void meshlib::LineObject::set_points | ( | a:&meshlib::Vector3f | , |
| b:&meshlib::Vector3f | , | ||
| id:Option<&meshlib::ViewportId > | ) |
updates xf for line visually to go from point a to point b Generated from method MR::LineObject::setPoints.
Calls MR_LineObject_setPoints().
| void meshlib::LineObject::set_shininess | ( | shininess:f32 | ) |
sets shininess visual value of the object with given argument Generated from method MR::LineObject::setShininess.
Calls MR_LineObject_setShininess().
| void meshlib::LineObject::set_specular_strength | ( | specularStrength:f32 | ) |
sets intensity of reflections Generated from method MR::LineObject::setSpecularStrength.
Calls MR_LineObject_setSpecularStrength().
| void meshlib::LineObject::set_subfeature_alpha_lines | ( | alpha:f32 | ) |
Generated from method MR::LineObject::setSubfeatureAlphaLines.
Calls MR_LineObject_setSubfeatureAlphaLines().
| void meshlib::LineObject::set_subfeature_alpha_mesh | ( | alpha:f32 | ) |
Generated from method MR::LineObject::setSubfeatureAlphaMesh.
Calls MR_LineObject_setSubfeatureAlphaMesh().
| void meshlib::LineObject::set_subfeature_alpha_points | ( | alpha:f32 | ) |
Generated from method MR::LineObject::setSubfeatureAlphaPoints.
Calls MR_LineObject_setSubfeatureAlphaPoints().
| void meshlib::LineObject::set_subfeature_line_width | ( | lineWidth:f32 | ) |
Generated from method MR::LineObject::setSubfeatureLineWidth.
Calls MR_LineObject_setSubfeatureLineWidth().
| void meshlib::LineObject::set_subfeature_point_size | ( | pointSize:f32 | ) |
Generated from method MR::LineObject::setSubfeaturePointSize.
Calls MR_LineObject_setSubfeaturePointSize().
| void meshlib::LineObject::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::LineObject::setUseDefaultScenePropertiesOnDeserialization.
Calls MR_LineObject_setUseDefaultScenePropertiesOnDeserialization().
| void meshlib::LineObject::set_visibility_mask | ( | viewportMask:&meshlib::ViewportMask | ) |
specifies object visibility as bitmask of viewports Generated from method MR::LineObject::setVisibilityMask.
Calls MR_LineObject_setVisibilityMask().
| void meshlib::LineObject::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::LineObject::setVisible.
Calls MR_LineObject_setVisible().
| void meshlib::LineObject::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::LineObject::setVisualizeProperty.
Calls MR_LineObject_setVisualizeProperty().
| void meshlib::LineObject::set_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
set visual property mask Generated from method MR::LineObject::setVisualizePropertyMask.
Calls MR_LineObject_setVisualizePropertyMask().
| void meshlib::LineObject::set_world_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::LineObject::setWorldXf.
Calls MR_LineObject_setWorldXf().
| void meshlib::LineObject::set_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::LineObject::setXf.
Calls MR_LineObject_setXf().
| void meshlib::LineObject::set_xfs_for_all_viewports | ( | xf:&meshlib::ViewportProperty_MR_AffineXf3f | ) |
modifies xfs for all viewports at once Generated from method MR::LineObject::setXfsForAllViewports.
Calls MR_LineObject_setXfsForAllViewports().
| auto meshlib::LineObject::shallow_clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::LineObject::shallowClone.
Calls MR_LineObject_shallowClone().
| auto meshlib::LineObject::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::LineObject::shallowCloneTree.
Calls MR_LineObject_shallowCloneTree().
| void meshlib::LineObject::sort_children | ( | ) |
sort recognized children by name Generated from method MR::LineObject::sortChildren.
Calls MR_LineObject_sortChildren().
|
static |
Generated from method MR::LineObject::StaticClassName.
Calls MR_LineObject_StaticClassName().
|
static |
Generated from method MR::LineObject::StaticClassNameInPlural.
Calls MR_LineObject_StaticClassNameInPlural().
|
static |
Static downcast from the base class MR::FeatureObject.
Calls MR_LineObject_StaticDowncastFrom_MR_FeatureObject(). Undefined behavior if the object isn't actually a LineObject.
|
static |
Static downcast from the base class MR::FeatureObject.
Calls MR_LineObject_MutableStaticDowncastFrom_MR_FeatureObject(). Undefined behavior if the object isn't actually a LineObject.
|
static |
Static downcast from the base class MR::Object.
Calls MR_LineObject_StaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a LineObject.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_LineObject_StaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a LineObject.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_LineObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a LineObject.
|
static |
Static downcast from the base class MR::Object.
Calls MR_LineObject_MutableStaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a LineObject.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_LineObject_StaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a LineObject.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_LineObject_MutableStaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a LineObject.
|
static |
Generated from method MR::LineObject::StaticTypeName.
Calls MR_LineObject_StaticTypeName().
| auto meshlib::LineObject::supports_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> bool |
Generated from method MR::LineObject::supportsVisualizeProperty.
Calls MR_LineObject_supportsVisualizeProperty().
| void meshlib::LineObject::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::LineObject::swap.
Calls MR_LineObject_swap().
| auto meshlib::LineObject::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::LineObject::tags.
Calls MR_LineObject_tags().
| void meshlib::LineObject::toggle_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
toggle visual property in all viewports specified by the mask Generated from method MR::LineObject::toggleVisualizeProperty.
Calls MR_LineObject_toggleVisualizeProperty().
| auto meshlib::LineObject::type_name | ( | ) | const -> Option<&core::ffi::c_char > |
Generated from method MR::LineObject::typeName.
Calls MR_LineObject_typeName().
| auto meshlib::LineObject::upcast_to_feature_object | ( | ) | const -> &meshlib::FeatureObject |
Upcasts to the base class MR::FeatureObject.
Calls MR_LineObject_UpcastTo_MR_FeatureObject().
| auto meshlib::LineObject::upcast_to_feature_object_mut | ( | ) | -> &mut meshlib::FeatureObject |
Upcasts to the base class MR::FeatureObject.
Calls MR_LineObject_MutableUpcastTo_MR_FeatureObject().
| auto meshlib::LineObject::upcast_to_object | ( | ) | const -> &meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_LineObject_UpcastTo_MR_Object().
| auto meshlib::LineObject::upcast_to_object_children_holder | ( | ) | const -> &meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_LineObject_UpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::LineObject::upcast_to_object_children_holder_mut | ( | ) | -> &mut meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_LineObject_MutableUpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::LineObject::upcast_to_object_mut | ( | ) | -> &mut meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_LineObject_MutableUpcastTo_MR_Object().
| auto meshlib::LineObject::upcast_to_visual_object | ( | ) | const -> &meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_LineObject_UpcastTo_MR_VisualObject().
| auto meshlib::LineObject::upcast_to_visual_object_mut | ( | ) | -> &mut meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_LineObject_MutableUpcastTo_MR_VisualObject().
| auto meshlib::LineObject::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::LineObject::useDefaultScenePropertiesOnDeserialization.
Calls MR_LineObject_useDefaultScenePropertiesOnDeserialization().
| auto meshlib::LineObject::visibility_mask | ( | ) | const -> meshlib::Owned< meshlib::ViewportMask > |
gets object visibility as bitmask of viewports Generated from method MR::LineObject::visibilityMask.
Calls MR_LineObject_visibilityMask().
| auto meshlib::LineObject::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::LineObject::worldXf. |
Calls MR_LineObject_worldXf().
| auto meshlib::LineObject::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::LineObject::xf. |
Calls MR_LineObject_xf().
| auto meshlib::LineObject::xfs_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_AffineXf3f |
returns xfs for all viewports, combined into a single object Generated from method MR::LineObject::xfsForAllViewports.
Calls MR_LineObject_xfsForAllViewports().