an object that stores a lines Generated from class MR::ObjectLinesHolder. Base classes: Direct: (non-virtual) MR::VisualObject Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object Derived classes: Direct: (non-virtual) MR::ObjectGcode MR::ObjectLines
Generated from class MR::ObjectLinesHolder. Heap-allocated instances are held in Owned<ObjectLinesHolder>.
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::addChild. |
Calls MR_ObjectLinesHolder_addChild().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::addChildBefore.
Calls MR_ObjectLinesHolder_addChildBefore().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::addTag.
Calls MR_ObjectLinesHolder_addTag().
| void meshlib::ObjectLinesHolder::apply_scale | ( | scaleFactor:f32 | ) |
Generated from method MR::ObjectLinesHolder::applyScale.
Calls MR_ObjectLinesHolder_applyScale().
| auto meshlib::ObjectLinesHolder::assign_from_another | ( | _other:meshlib::Owned< meshlib::ObjectLinesHolder > | ) | -> &mut meshlib::ObjectLinesHolder |
Generated from method MR::ObjectLinesHolder::operator=.
Calls MR_ObjectLinesHolder_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::ObjectLinesHolder::avg_edge_len | ( | ) | const -> f32 |
returns cached average edge length Generated from method MR::ObjectLinesHolder::avgEdgeLen.
Calls MR_ObjectLinesHolder_avgEdgeLen().
| auto meshlib::ObjectLinesHolder::class_name | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::ObjectLinesHolder::className.
Calls MR_ObjectLinesHolder_className().
| auto meshlib::ObjectLinesHolder::class_name_in_plural | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::ObjectLinesHolder::classNameInPlural.
Calls MR_ObjectLinesHolder_classNameInPlural().
| auto meshlib::ObjectLinesHolder::clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::ObjectLinesHolder::clone.
Calls MR_ObjectLinesHolder_clone().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::cloneTree.
Calls MR_ObjectLinesHolder_cloneTree().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::constChildren.
Calls MR_ObjectLinesHolder_constChildren().
|
static |
Generated from constructor MR::ObjectLinesHolder::ObjectLinesHolder.
Calls MR_ObjectLinesHolder_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| void meshlib::ObjectLinesHolder::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::ObjectLinesHolder::copyAllSolidColors.
Calls MR_ObjectLinesHolder_copyAllSolidColors().
| void meshlib::ObjectLinesHolder::copy_colors | ( | src:&meshlib::ObjectLinesHolder | , |
| thisToSrc:&meshlib::VertMap | ) |
copies vertex colors from given source object
| src | using given map |
| thisToSrc | Generated from method MR::ObjectLinesHolder::copyColors. |
Calls MR_ObjectLinesHolder_copyColors().
| auto meshlib::ObjectLinesHolder::detach_from_parent | ( | ) | -> bool |
removes this from its parent children list returns false if it was already orphan Generated from method MR::ObjectLinesHolder::detachFromParent.
Calls MR_ObjectLinesHolder_detachFromParent().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a ObjectLinesHolder.
Calls MR_ObjectLinesHolder_DynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a ObjectLinesHolder.
Calls MR_ObjectLinesHolder_MutableDynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a ObjectLinesHolder.
Calls MR_ObjectLinesHolder_DynamicDowncastFrom_MR_VisualObject().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a ObjectLinesHolder.
Calls MR_ObjectLinesHolder_MutableDynamicDowncastFrom_MR_VisualObject().
| auto meshlib::ObjectLinesHolder::get_all_visualize_properties | ( | ) | const -> meshlib::Owned< meshlib::std_vector_MR_ViewportMask > |
get all visualize properties masks Generated from method MR::ObjectLinesHolder::getAllVisualizeProperties.
Calls MR_ObjectLinesHolder_getAllVisualizeProperties().
| auto meshlib::ObjectLinesHolder::get_ambient_strength | ( | ) | const -> f32 |
returns intensity of non-directional light Generated from method MR::ObjectLinesHolder::getAmbientStrength.
Calls MR_ObjectLinesHolder_getAmbientStrength().
| auto meshlib::ObjectLinesHolder::get_back_color | ( | viewportId:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns backward color of object in given viewport Generated from method MR::ObjectLinesHolder::getBackColor.
Calls MR_ObjectLinesHolder_getBackColor().
| auto meshlib::ObjectLinesHolder::get_back_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
returns backward color of object in all viewports Generated from method MR::ObjectLinesHolder::getBackColorsForAllViewports.
Calls MR_ObjectLinesHolder_getBackColorsForAllViewports().
| auto meshlib::ObjectLinesHolder::get_bounding_box | ( | ) | const -> meshlib::Box3f |
returns cached bounding box of this object in local coordinates Generated from method MR::ObjectLinesHolder::getBoundingBox.
Calls MR_ObjectLinesHolder_getBoundingBox().
| auto meshlib::ObjectLinesHolder::get_coloring_type | ( | ) | const -> meshlib::ColoringType |
returns the current coloring mode of the object Generated from method MR::ObjectLinesHolder::getColoringType.
Calls MR_ObjectLinesHolder_getColoringType().
| auto meshlib::ObjectLinesHolder::get_dash_pattern | ( | vpId:Option<&meshlib::ViewportId > | , |
| isDef:Option<&mut bool > | ) const -> &meshlib::Vector4_unsigned_char |
Generated from method MR::ObjectLinesHolder::getDashPattern.
Calls MR_ObjectLinesHolder_getDashPattern().
| auto meshlib::ObjectLinesHolder::get_dirty_flags | ( | ) | const -> core::ffi::c_uint |
returns current dirty flags for the object Generated from method MR::ObjectLinesHolder::getDirtyFlags.
Calls MR_ObjectLinesHolder_getDirtyFlags().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::getFrontColor.
Calls MR_ObjectLinesHolder_getFrontColor().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::getFrontColorsForAllViewports.
Calls MR_ObjectLinesHolder_getFrontColorsForAllViewports().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::getGlobalAlpha.
Calls MR_ObjectLinesHolder_getGlobalAlpha().
| auto meshlib::ObjectLinesHolder::get_global_alpha_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_unsigned_char |
returns global transparency alpha of object in all viewports Generated from method MR::ObjectLinesHolder::getGlobalAlphaForAllViewports.
Calls MR_ObjectLinesHolder_getGlobalAlphaForAllViewports().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::getInfoLines.
Calls MR_ObjectLinesHolder_getInfoLines().
| auto meshlib::ObjectLinesHolder::get_line_width | ( | ) | const -> f32 |
Generated from method MR::ObjectLinesHolder::getLineWidth.
Calls MR_ObjectLinesHolder_getLineWidth().
| auto meshlib::ObjectLinesHolder::get_lines_color_map | ( | ) | const -> &meshlib::UndirectedEdgeColors |
Generated from method MR::ObjectLinesHolder::getLinesColorMap.
Calls MR_ObjectLinesHolder_getLinesColorMap().
| auto meshlib::ObjectLinesHolder::get_model_hash | ( | ) | const -> usize |
return hash of model (or hash object pointer if object has no model) Generated from method MR::ObjectLinesHolder::getModelHash.
Calls MR_ObjectLinesHolder_getModelHash().
| auto meshlib::ObjectLinesHolder::get_point_size | ( | ) | const -> f32 |
Generated from method MR::ObjectLinesHolder::getPointSize.
Calls MR_ObjectLinesHolder_getPointSize().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::getRedrawFlag.
Calls MR_ObjectLinesHolder_getRedrawFlag().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::getSharedPtr.
Calls MR_ObjectLinesHolder_getSharedPtr().
| auto meshlib::ObjectLinesHolder::get_shininess | ( | ) | const -> f32 |
returns the current shininess visual value Generated from method MR::ObjectLinesHolder::getShininess.
Calls MR_ObjectLinesHolder_getShininess().
| auto meshlib::ObjectLinesHolder::get_specular_strength | ( | ) | const -> f32 |
returns intensity of reflections Generated from method MR::ObjectLinesHolder::getSpecularStrength.
Calls MR_ObjectLinesHolder_getSpecularStrength().
| auto meshlib::ObjectLinesHolder::get_verts_color_map | ( | ) | const -> &meshlib::VertColors |
returns per-vertex colors of the object Generated from method MR::ObjectLinesHolder::getVertsColorMap.
Calls MR_ObjectLinesHolder_getVertsColorMap().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::getVisualizeProperty.
Calls MR_ObjectLinesHolder_getVisualizeProperty().
| auto meshlib::ObjectLinesHolder::get_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> &meshlib::ViewportMask |
returns mask of viewports where given property is set Generated from method MR::ObjectLinesHolder::getVisualizePropertyMask.
Calls MR_ObjectLinesHolder_getVisualizePropertyMask().
| auto meshlib::ObjectLinesHolder::get_world_box | ( | _1:Option<&meshlib::ViewportId > | ) | const -> meshlib::Box3f |
returns cached bounding box of this point object in world coordinates; if you need bounding box in local coordinates please call getBoundingBox() Generated from method MR::ObjectLinesHolder::getWorldBox.
Calls MR_ObjectLinesHolder_getWorldBox().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::getWorldTreeBox.
Calls MR_ObjectLinesHolder_getWorldTreeBox().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::globalClippedByPlane.
Calls MR_ObjectLinesHolder_globalClippedByPlane().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::globalClippedByPlaneMask.
Calls MR_ObjectLinesHolder_globalClippedByPlaneMask().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::globalVisibility.
Calls MR_ObjectLinesHolder_globalVisibility().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::globalVisibilityMask.
Calls MR_ObjectLinesHolder_globalVisibilityMask().
| auto meshlib::ObjectLinesHolder::has_model | ( | ) | const -> bool |
Generated from method MR::ObjectLinesHolder::hasModel.
Calls MR_ObjectLinesHolder_hasModel().
| auto meshlib::ObjectLinesHolder::has_visual_representation | ( | ) | const -> bool |
Generated from method MR::ObjectLinesHolder::hasVisualRepresentation.
Calls MR_ObjectLinesHolder_hasVisualRepresentation().
| auto meshlib::ObjectLinesHolder::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::ObjectLinesHolder::heapBytes.
Calls MR_ObjectLinesHolder_heapBytes().
| auto meshlib::ObjectLinesHolder::is_ancestor | ( | ancestor:Option<&meshlib::Object > | ) | const -> bool |
return true if given object is ancestor of this one, false otherwise Generated from method MR::ObjectLinesHolder::isAncestor.
Calls MR_ObjectLinesHolder_isAncestor().
| auto meshlib::ObjectLinesHolder::is_ancillary | ( | ) | const -> bool |
Generated from method MR::ObjectLinesHolder::isAncillary.
Calls MR_ObjectLinesHolder_isAncillary().
| auto meshlib::ObjectLinesHolder::is_global_ancillary | ( | ) | const -> bool |
returns true if the object or any of its ancestors are ancillary Generated from method MR::ObjectLinesHolder::isGlobalAncillary.
Calls MR_ObjectLinesHolder_isGlobalAncillary().
| auto meshlib::ObjectLinesHolder::is_locked | ( | ) | const -> bool |
object properties lock for UI Generated from method MR::ObjectLinesHolder::isLocked.
Calls MR_ObjectLinesHolder_isLocked().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::isParentLocked.
Calls MR_ObjectLinesHolder_isParentLocked().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::isPickable.
Calls MR_ObjectLinesHolder_isPickable().
| auto meshlib::ObjectLinesHolder::is_selected | ( | ) | const -> bool |
Generated from method MR::ObjectLinesHolder::isSelected.
Calls MR_ObjectLinesHolder_isSelected().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::isVisible.
Calls MR_ObjectLinesHolder_isVisible().
| auto meshlib::ObjectLinesHolder::name | ( | ) | const -> &meshlib::std_string |
Generated from method MR::ObjectLinesHolder::name.
Calls MR_ObjectLinesHolder_name().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_ObjectLinesHolder_DefaultConstruct().
| auto meshlib::ObjectLinesHolder::num_components | ( | ) | const -> usize |
returns cached information about the number of components in the polyline Generated from method MR::ObjectLinesHolder::numComponents.
Calls MR_ObjectLinesHolder_numComponents().
| auto meshlib::ObjectLinesHolder::num_undirected_edges | ( | ) | const -> usize |
returns cached information about the number of undirected edges in the polyline Generated from method MR::ObjectLinesHolder::numUndirectedEdges.
Calls MR_ObjectLinesHolder_numUndirectedEdges().
| auto meshlib::ObjectLinesHolder::polyline | ( | ) | const -> &meshlib::std_shared_ptr_const_MR_Polyline3 |
Calls MR_ObjectLinesHolder_polyline().
| auto meshlib::ObjectLinesHolder::polyline_ptr | ( | ) | const -> Option<&meshlib::Polyline3 > |
returns the polyline of this object, or nullptr if it is not set Generated from method MR::ObjectLinesHolder::polylinePtr.
Calls MR_ObjectLinesHolder_polylinePtr().
| void meshlib::ObjectLinesHolder::remove_all_children | ( | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::ObjectLinesHolder::removeAllChildren.
Calls MR_ObjectLinesHolder_removeAllChildren().
| auto meshlib::ObjectLinesHolder::remove_tag | ( | tag:& | str | ) | -> bool |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ObjectLinesHolder::removeTag.
Calls MR_ObjectLinesHolder_removeTag().
| auto meshlib::ObjectLinesHolder::render | ( | _1:&meshlib::ModelRenderParams | ) | const -> bool |
draws this object for visualization Returns true if something was drawn. Generated from method MR::ObjectLinesHolder::render.
Calls MR_ObjectLinesHolder_render().
| void meshlib::ObjectLinesHolder::render_for_picker | ( | _1:&meshlib::ModelBaseRenderParams | , |
| _2:core::ffi::c_uint | ) const |
draws this object for picking Generated from method MR::ObjectLinesHolder::renderForPicker.
Calls MR_ObjectLinesHolder_renderForPicker().
| void meshlib::ObjectLinesHolder::render_ui | ( | params:&meshlib::UiRenderParams | ) | const |
draws this object for 2d UI Generated from method MR::ObjectLinesHolder::renderUi.
Calls MR_ObjectLinesHolder_renderUi().
| void meshlib::ObjectLinesHolder::reset_colors | ( | ) |
reset all object colors to their default values from the current theme Generated from method MR::ObjectLinesHolder::resetColors.
Calls MR_ObjectLinesHolder_resetColors().
| void meshlib::ObjectLinesHolder::reset_dirty | ( | ) | const |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::ObjectLinesHolder::resetDirty.
Calls MR_ObjectLinesHolder_resetDirty().
| void meshlib::ObjectLinesHolder::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::ObjectLinesHolder::resetDirtyExceptMask.
Calls MR_ObjectLinesHolder_resetDirtyExceptMask().
| void meshlib::ObjectLinesHolder::reset_front_color | ( | ) |
reset basic object colors to their default values from the current theme Generated from method MR::ObjectLinesHolder::resetFrontColor.
Calls MR_ObjectLinesHolder_resetFrontColor().
| void meshlib::ObjectLinesHolder::reset_redraw_flag | ( | ) | const |
Generated from method MR::ObjectLinesHolder::resetRedrawFlag.
Calls MR_ObjectLinesHolder_resetRedrawFlag().
| void meshlib::ObjectLinesHolder::reset_xf | ( | id:Option<&meshlib::ViewportId > | ) |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectLinesHolder::resetXf.
Calls MR_ObjectLinesHolder_resetXf().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::sameModels.
Calls MR_ObjectLinesHolder_sameModels().
| auto meshlib::ObjectLinesHolder::select | ( | on:bool | ) | -> bool |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::ObjectLinesHolder::select.
Calls MR_ObjectLinesHolder_select().
| void meshlib::ObjectLinesHolder::set_all_visualize_properties | ( | properties:&meshlib::std_vector_MR_ViewportMask | ) |
set all visualize properties masks Generated from method MR::ObjectLinesHolder::setAllVisualizeProperties.
Calls MR_ObjectLinesHolder_setAllVisualizeProperties().
| void meshlib::ObjectLinesHolder::set_ambient_strength | ( | ambientStrength:f32 | ) |
sets intensity of non-directional light Generated from method MR::ObjectLinesHolder::setAmbientStrength.
Calls MR_ObjectLinesHolder_setAmbientStrength().
| void meshlib::ObjectLinesHolder::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::ObjectLinesHolder::setAncillary.
Calls MR_ObjectLinesHolder_setAncillary().
| void meshlib::ObjectLinesHolder::set_back_color | ( | color:&meshlib::Color | , |
| viewportId:Option<&meshlib::ViewportId > | ) |
sets backward color of object in given viewport Generated from method MR::ObjectLinesHolder::setBackColor.
Calls MR_ObjectLinesHolder_setBackColor().
| void meshlib::ObjectLinesHolder::set_back_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
sets backward color of object in all viewports Generated from method MR::ObjectLinesHolder::setBackColorsForAllViewports.
Calls MR_ObjectLinesHolder_setBackColorsForAllViewports().
| void meshlib::ObjectLinesHolder::set_coloring_type | ( | coloringType:meshlib::ColoringType | ) |
sets coloring mode of the object with given argument Generated from method MR::ObjectLinesHolder::setColoringType.
Calls MR_ObjectLinesHolder_setColoringType().
| void meshlib::ObjectLinesHolder::set_dash_pattern | ( | pattern:&meshlib::Vector4_unsigned_char | , |
| vpId:Option<&meshlib::ViewportId > | ) |
specify dash pattern in pixels [0] - dash [1] - space [2] - dash [3] - space Generated from method MR::ObjectLinesHolder::setDashPattern.
Calls MR_ObjectLinesHolder_setDashPattern().
| void meshlib::ObjectLinesHolder::set_dirty_flags | ( | mask:core::ffi::c_uint | , |
| invalidateCaches:Option< bool > | ) |
Generated from method MR::ObjectLinesHolder::setDirtyFlags.
Calls MR_ObjectLinesHolder_setDirtyFlags().
| void meshlib::ObjectLinesHolder::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::ObjectLinesHolder::setFrontColor.
Calls MR_ObjectLinesHolder_setFrontColor().
| void meshlib::ObjectLinesHolder::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::ObjectLinesHolder::setFrontColorsForAllViewports.
Calls MR_ObjectLinesHolder_setFrontColorsForAllViewports().
| void meshlib::ObjectLinesHolder::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::ObjectLinesHolder::setGlobalAlpha.
Calls MR_ObjectLinesHolder_setGlobalAlpha().
| void meshlib::ObjectLinesHolder::set_global_alpha_for_all_viewports | ( | val:&meshlib::ViewportProperty_unsigned_char | ) |
sets global transparency alpha of object in all viewports Generated from method MR::ObjectLinesHolder::setGlobalAlphaForAllViewports.
Calls MR_ObjectLinesHolder_setGlobalAlphaForAllViewports().
| void meshlib::ObjectLinesHolder::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::ObjectLinesHolder::setGlobalClippedByPlane.
Calls MR_ObjectLinesHolder_setGlobalClippedByPlane().
| void meshlib::ObjectLinesHolder::set_global_visibility | ( | on:bool | , |
| viewportMask:Option<&meshlib::ViewportMask > | ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectLinesHolder::setGlobalVisibility.
Calls MR_ObjectLinesHolder_setGlobalVisibility().
| void meshlib::ObjectLinesHolder::set_line_width | ( | width:f32 | ) |
Generated from method MR::ObjectLinesHolder::setLineWidth.
Calls MR_ObjectLinesHolder_setLineWidth().
| void meshlib::ObjectLinesHolder::set_lines_color_map | ( | linesColorMap:&meshlib::UndirectedEdgeColors | ) |
Generated from method MR::ObjectLinesHolder::setLinesColorMap.
Calls MR_ObjectLinesHolder_setLinesColorMap().
| void meshlib::ObjectLinesHolder::set_locked | ( | on:bool | ) |
Generated from method MR::ObjectLinesHolder::setLocked.
Calls MR_ObjectLinesHolder_setLocked().
| void meshlib::ObjectLinesHolder::set_name | ( | name:& | str | ) |
Generated from method MR::ObjectLinesHolder::setName.
Calls MR_ObjectLinesHolder_setName().
| void meshlib::ObjectLinesHolder::set_parent_locked | ( | lock:bool | ) |
Generated from method MR::ObjectLinesHolder::setParentLocked.
Calls MR_ObjectLinesHolder_setParentLocked().
| void meshlib::ObjectLinesHolder::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::ObjectLinesHolder::setPickable.
Calls MR_ObjectLinesHolder_setPickable().
| void meshlib::ObjectLinesHolder::set_point_size | ( | size:f32 | ) |
Generated from method MR::ObjectLinesHolder::setPointSize.
Calls MR_ObjectLinesHolder_setPointSize().
| void meshlib::ObjectLinesHolder::set_shininess | ( | shininess:f32 | ) |
sets shininess visual value of the object with given argument Generated from method MR::ObjectLinesHolder::setShininess.
Calls MR_ObjectLinesHolder_setShininess().
| void meshlib::ObjectLinesHolder::set_specular_strength | ( | specularStrength:f32 | ) |
sets intensity of reflections Generated from method MR::ObjectLinesHolder::setSpecularStrength.
Calls MR_ObjectLinesHolder_setSpecularStrength().
| void meshlib::ObjectLinesHolder::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::ObjectLinesHolder::setUseDefaultScenePropertiesOnDeserialization.
Calls MR_ObjectLinesHolder_setUseDefaultScenePropertiesOnDeserialization().
| void meshlib::ObjectLinesHolder::set_verts_color_map | ( | vertsColorMap:&meshlib::VertColors | ) |
sets per-vertex colors of the object Generated from method MR::ObjectLinesHolder::setVertsColorMap.
Calls MR_ObjectLinesHolder_setVertsColorMap().
| void meshlib::ObjectLinesHolder::set_visibility_mask | ( | viewportMask:&meshlib::ViewportMask | ) |
specifies object visibility as bitmask of viewports Generated from method MR::ObjectLinesHolder::setVisibilityMask.
Calls MR_ObjectLinesHolder_setVisibilityMask().
| void meshlib::ObjectLinesHolder::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::ObjectLinesHolder::setVisible.
Calls MR_ObjectLinesHolder_setVisible().
| void meshlib::ObjectLinesHolder::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::ObjectLinesHolder::setVisualizeProperty.
Calls MR_ObjectLinesHolder_setVisualizeProperty().
| void meshlib::ObjectLinesHolder::set_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
set visual property mask Generated from method MR::ObjectLinesHolder::setVisualizePropertyMask.
Calls MR_ObjectLinesHolder_setVisualizePropertyMask().
| void meshlib::ObjectLinesHolder::set_world_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectLinesHolder::setWorldXf.
Calls MR_ObjectLinesHolder_setWorldXf().
| void meshlib::ObjectLinesHolder::set_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectLinesHolder::setXf.
Calls MR_ObjectLinesHolder_setXf().
| void meshlib::ObjectLinesHolder::set_xfs_for_all_viewports | ( | xf:&meshlib::ViewportProperty_MR_AffineXf3f | ) |
modifies xfs for all viewports at once Generated from method MR::ObjectLinesHolder::setXfsForAllViewports.
Calls MR_ObjectLinesHolder_setXfsForAllViewports().
| auto meshlib::ObjectLinesHolder::shallow_clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::ObjectLinesHolder::shallowClone.
Calls MR_ObjectLinesHolder_shallowClone().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::shallowCloneTree.
Calls MR_ObjectLinesHolder_shallowCloneTree().
| void meshlib::ObjectLinesHolder::sort_children | ( | ) |
sort recognized children by name Generated from method MR::ObjectLinesHolder::sortChildren.
Calls MR_ObjectLinesHolder_sortChildren().
|
static |
Generated from method MR::ObjectLinesHolder::StaticClassName.
Calls MR_ObjectLinesHolder_StaticClassName().
|
static |
Generated from method MR::ObjectLinesHolder::StaticClassNameInPlural.
Calls MR_ObjectLinesHolder_StaticClassNameInPlural().
|
static |
Static downcast from the base class MR::Object.
Calls MR_ObjectLinesHolder_StaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a ObjectLinesHolder.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_ObjectLinesHolder_StaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a ObjectLinesHolder.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_ObjectLinesHolder_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a ObjectLinesHolder.
|
static |
Static downcast from the base class MR::Object.
Calls MR_ObjectLinesHolder_MutableStaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a ObjectLinesHolder.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_ObjectLinesHolder_StaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a ObjectLinesHolder.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_ObjectLinesHolder_MutableStaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a ObjectLinesHolder.
|
static |
Generated from method MR::ObjectLinesHolder::StaticTypeName.
Calls MR_ObjectLinesHolder_StaticTypeName().
| auto meshlib::ObjectLinesHolder::supports_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> bool |
Generated from method MR::ObjectLinesHolder::supportsVisualizeProperty.
Calls MR_ObjectLinesHolder_supportsVisualizeProperty().
| void meshlib::ObjectLinesHolder::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::ObjectLinesHolder::swap.
Calls MR_ObjectLinesHolder_swap().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::tags.
Calls MR_ObjectLinesHolder_tags().
| void meshlib::ObjectLinesHolder::toggle_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
toggle visual property in all viewports specified by the mask Generated from method MR::ObjectLinesHolder::toggleVisualizeProperty.
Calls MR_ObjectLinesHolder_toggleVisualizeProperty().
| auto meshlib::ObjectLinesHolder::total_length | ( | ) | const -> f32 |
return cached total length Generated from method MR::ObjectLinesHolder::totalLength.
Calls MR_ObjectLinesHolder_totalLength().
| auto meshlib::ObjectLinesHolder::type_name | ( | ) | const -> Option<&core::ffi::c_char > |
Generated from method MR::ObjectLinesHolder::typeName.
Calls MR_ObjectLinesHolder_typeName().
| auto meshlib::ObjectLinesHolder::upcast_to_object | ( | ) | const -> &meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_ObjectLinesHolder_UpcastTo_MR_Object().
| auto meshlib::ObjectLinesHolder::upcast_to_object_children_holder | ( | ) | const -> &meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_ObjectLinesHolder_UpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::ObjectLinesHolder::upcast_to_object_children_holder_mut | ( | ) | -> &mut meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_ObjectLinesHolder_MutableUpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::ObjectLinesHolder::upcast_to_object_mut | ( | ) | -> &mut meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_ObjectLinesHolder_MutableUpcastTo_MR_Object().
| auto meshlib::ObjectLinesHolder::upcast_to_visual_object | ( | ) | const -> &meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_ObjectLinesHolder_UpcastTo_MR_VisualObject().
| auto meshlib::ObjectLinesHolder::upcast_to_visual_object_mut | ( | ) | -> &mut meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_ObjectLinesHolder_MutableUpcastTo_MR_VisualObject().
| void meshlib::ObjectLinesHolder::update_lines_color_map | ( | updated:&mut meshlib::UndirectedEdgeColors | ) |
Generated from method MR::ObjectLinesHolder::updateLinesColorMap.
Calls MR_ObjectLinesHolder_updateLinesColorMap().
| void meshlib::ObjectLinesHolder::update_verts_color_map | ( | vertsColorMap:&mut meshlib::VertColors | ) |
swaps per-vertex colors of the object with given argument Generated from method MR::ObjectLinesHolder::updateVertsColorMap.
Calls MR_ObjectLinesHolder_updateVertsColorMap().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::useDefaultScenePropertiesOnDeserialization.
Calls MR_ObjectLinesHolder_useDefaultScenePropertiesOnDeserialization().
| auto meshlib::ObjectLinesHolder::var_polyline_ptr | ( | ) | -> Option<&mut meshlib::Polyline3 > |
returns the polyline of this object for modification, or nullptr if it is not set Generated from method MR::ObjectLinesHolder::varPolylinePtr.
Calls MR_ObjectLinesHolder_varPolylinePtr().
| auto meshlib::ObjectLinesHolder::visibility_mask | ( | ) | const -> meshlib::Owned< meshlib::ViewportMask > |
gets object visibility as bitmask of viewports Generated from method MR::ObjectLinesHolder::visibilityMask.
Calls MR_ObjectLinesHolder_visibilityMask().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::worldXf. |
Calls MR_ObjectLinesHolder_worldXf().
| auto meshlib::ObjectLinesHolder::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::ObjectLinesHolder::xf. |
Calls MR_ObjectLinesHolder_xf().
| auto meshlib::ObjectLinesHolder::xfs_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_AffineXf3f |
returns xfs for all viewports, combined into a single object Generated from method MR::ObjectLinesHolder::xfsForAllViewports.
Calls MR_ObjectLinesHolder_xfsForAllViewports().