This object type has not visual representation, just holder for lines in scene Generated from class MR::ObjectLines. Base classes: Direct: (non-virtual) MR::ObjectLinesHolder Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object MR::VisualObject
Generated from class MR::ObjectLines. Heap-allocated instances are held in Owned<ObjectLines>.
| auto meshlib::ObjectLines::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::ObjectLines::addChild. |
Calls MR_ObjectLines_addChild().
| auto meshlib::ObjectLines::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::ObjectLines::addChildBefore.
Calls MR_ObjectLines_addChildBefore().
| auto meshlib::ObjectLines::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::ObjectLines::addTag.
Calls MR_ObjectLines_addTag().
| void meshlib::ObjectLines::apply_scale | ( | scaleFactor:f32 | ) |
Generated from method MR::ObjectLines::applyScale.
Calls MR_ObjectLines_applyScale().
| auto meshlib::ObjectLines::assign_from_another | ( | _other:meshlib::Owned< meshlib::ObjectLines > | ) | -> &mut meshlib::ObjectLines |
Generated from method MR::ObjectLines::operator=.
Calls MR_ObjectLines_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::ObjectLines::avg_edge_len | ( | ) | const -> f32 |
returns cached average edge length Generated from method MR::ObjectLines::avgEdgeLen.
Calls MR_ObjectLines_avgEdgeLen().
| auto meshlib::ObjectLines::class_name | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::ObjectLines::className.
Calls MR_ObjectLines_className().
| auto meshlib::ObjectLines::class_name_in_plural | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::ObjectLines::classNameInPlural.
Calls MR_ObjectLines_classNameInPlural().
| auto meshlib::ObjectLines::clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::ObjectLines::clone.
Calls MR_ObjectLines_clone().
| auto meshlib::ObjectLines::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::ObjectLines::cloneTree.
Calls MR_ObjectLines_cloneTree().
| auto meshlib::ObjectLines::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::ObjectLines::constChildren.
Calls MR_ObjectLines_constChildren().
|
static |
Generated from constructor MR::ObjectLines::ObjectLines.
Calls MR_ObjectLines_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| void meshlib::ObjectLines::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::ObjectLines::copyAllSolidColors.
Calls MR_ObjectLines_copyAllSolidColors().
| void meshlib::ObjectLines::copy_colors | ( | src:&meshlib::ObjectLinesHolder | , |
| thisToSrc:&meshlib::VertMap | ) |
copies vertex colors from given source object
| src | using given map |
| thisToSrc | Generated from method MR::ObjectLines::copyColors. |
Calls MR_ObjectLines_copyColors().
| auto meshlib::ObjectLines::detach_from_parent | ( | ) | -> bool |
removes this from its parent children list returns false if it was already orphan Generated from method MR::ObjectLines::detachFromParent.
Calls MR_ObjectLines_detachFromParent().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a ObjectLines.
Calls MR_ObjectLines_DynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::ObjectLinesHolder. Returns None if the object isn't actually a ObjectLines.
Calls MR_ObjectLines_DynamicDowncastFrom_MR_ObjectLinesHolder().
|
static |
Dynamic downcast from the base class MR::ObjectLinesHolder. Returns None if the object isn't actually a ObjectLines.
Calls MR_ObjectLines_MutableDynamicDowncastFrom_MR_ObjectLinesHolder().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a ObjectLines.
Calls MR_ObjectLines_MutableDynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a ObjectLines.
Calls MR_ObjectLines_DynamicDowncastFrom_MR_VisualObject().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a ObjectLines.
Calls MR_ObjectLines_MutableDynamicDowncastFrom_MR_VisualObject().
| auto meshlib::ObjectLines::get_all_visualize_properties | ( | ) | const -> meshlib::Owned< meshlib::std_vector_MR_ViewportMask > |
get all visualize properties masks Generated from method MR::ObjectLines::getAllVisualizeProperties.
Calls MR_ObjectLines_getAllVisualizeProperties().
| auto meshlib::ObjectLines::get_ambient_strength | ( | ) | const -> f32 |
returns intensity of non-directional light Generated from method MR::ObjectLines::getAmbientStrength.
Calls MR_ObjectLines_getAmbientStrength().
| auto meshlib::ObjectLines::get_back_color | ( | viewportId:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns backward color of object in given viewport Generated from method MR::ObjectLines::getBackColor.
Calls MR_ObjectLines_getBackColor().
| auto meshlib::ObjectLines::get_back_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
returns backward color of object in all viewports Generated from method MR::ObjectLines::getBackColorsForAllViewports.
Calls MR_ObjectLines_getBackColorsForAllViewports().
| auto meshlib::ObjectLines::get_bounding_box | ( | ) | const -> meshlib::Box3f |
returns cached bounding box of this object in local coordinates Generated from method MR::ObjectLines::getBoundingBox.
Calls MR_ObjectLines_getBoundingBox().
| auto meshlib::ObjectLines::get_coloring_type | ( | ) | const -> meshlib::ColoringType |
returns the current coloring mode of the object Generated from method MR::ObjectLines::getColoringType.
Calls MR_ObjectLines_getColoringType().
| auto meshlib::ObjectLines::get_dash_pattern | ( | vpId:Option<&meshlib::ViewportId > | , |
| isDef:Option<&mut bool > | ) const -> &meshlib::Vector4_unsigned_char |
Generated from method MR::ObjectLines::getDashPattern.
Calls MR_ObjectLines_getDashPattern().
| auto meshlib::ObjectLines::get_dirty_flags | ( | ) | const -> core::ffi::c_uint |
returns current dirty flags for the object Generated from method MR::ObjectLines::getDirtyFlags.
Calls MR_ObjectLines_getDirtyFlags().
| auto meshlib::ObjectLines::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::ObjectLines::getFrontColor.
Calls MR_ObjectLines_getFrontColor().
| auto meshlib::ObjectLines::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::ObjectLines::getFrontColorsForAllViewports.
Calls MR_ObjectLines_getFrontColorsForAllViewports().
| auto meshlib::ObjectLines::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::ObjectLines::getGlobalAlpha.
Calls MR_ObjectLines_getGlobalAlpha().
| auto meshlib::ObjectLines::get_global_alpha_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_unsigned_char |
returns global transparency alpha of object in all viewports Generated from method MR::ObjectLines::getGlobalAlphaForAllViewports.
Calls MR_ObjectLines_getGlobalAlphaForAllViewports().
| auto meshlib::ObjectLines::get_info_lines | ( | ) | const -> meshlib::Owned< meshlib::std_vector_std_string > |
Generated from method MR::ObjectLines::getInfoLines.
Calls MR_ObjectLines_getInfoLines().
| auto meshlib::ObjectLines::get_line_width | ( | ) | const -> f32 |
Generated from method MR::ObjectLines::getLineWidth.
Calls MR_ObjectLines_getLineWidth().
| auto meshlib::ObjectLines::get_lines_color_map | ( | ) | const -> &meshlib::UndirectedEdgeColors |
Generated from method MR::ObjectLines::getLinesColorMap.
Calls MR_ObjectLines_getLinesColorMap().
| auto meshlib::ObjectLines::get_model_hash | ( | ) | const -> usize |
return hash of model (or hash object pointer if object has no model) Generated from method MR::ObjectLines::getModelHash.
Calls MR_ObjectLines_getModelHash().
| auto meshlib::ObjectLines::get_point_size | ( | ) | const -> f32 |
Generated from method MR::ObjectLines::getPointSize.
Calls MR_ObjectLines_getPointSize().
| auto meshlib::ObjectLines::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::ObjectLines::getRedrawFlag.
Calls MR_ObjectLines_getRedrawFlag().
| auto meshlib::ObjectLines::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::ObjectLines::getSharedPtr.
Calls MR_ObjectLines_getSharedPtr().
| auto meshlib::ObjectLines::get_shininess | ( | ) | const -> f32 |
returns the current shininess visual value Generated from method MR::ObjectLines::getShininess.
Calls MR_ObjectLines_getShininess().
| auto meshlib::ObjectLines::get_specular_strength | ( | ) | const -> f32 |
returns intensity of reflections Generated from method MR::ObjectLines::getSpecularStrength.
Calls MR_ObjectLines_getSpecularStrength().
| auto meshlib::ObjectLines::get_verts_color_map | ( | ) | const -> &meshlib::VertColors |
returns per-vertex colors of the object Generated from method MR::ObjectLines::getVertsColorMap.
Calls MR_ObjectLines_getVertsColorMap().
| auto meshlib::ObjectLines::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::ObjectLines::getVisualizeProperty.
Calls MR_ObjectLines_getVisualizeProperty().
| auto meshlib::ObjectLines::get_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> &meshlib::ViewportMask |
returns mask of viewports where given property is set Generated from method MR::ObjectLines::getVisualizePropertyMask.
Calls MR_ObjectLines_getVisualizePropertyMask().
| auto meshlib::ObjectLines::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::ObjectLines::getWorldBox.
Calls MR_ObjectLines_getWorldBox().
| auto meshlib::ObjectLines::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::ObjectLines::getWorldTreeBox.
Calls MR_ObjectLines_getWorldTreeBox().
| auto meshlib::ObjectLines::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::ObjectLines::globalClippedByPlane.
Calls MR_ObjectLines_globalClippedByPlane().
| auto meshlib::ObjectLines::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::ObjectLines::globalClippedByPlaneMask.
Calls MR_ObjectLines_globalClippedByPlaneMask().
| auto meshlib::ObjectLines::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::ObjectLines::globalVisibility.
Calls MR_ObjectLines_globalVisibility().
| auto meshlib::ObjectLines::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::ObjectLines::globalVisibilityMask.
Calls MR_ObjectLines_globalVisibilityMask().
| auto meshlib::ObjectLines::has_model | ( | ) | const -> bool |
Generated from method MR::ObjectLines::hasModel.
Calls MR_ObjectLines_hasModel().
| auto meshlib::ObjectLines::has_visual_representation | ( | ) | const -> bool |
Generated from method MR::ObjectLines::hasVisualRepresentation.
Calls MR_ObjectLines_hasVisualRepresentation().
| auto meshlib::ObjectLines::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::ObjectLines::heapBytes.
Calls MR_ObjectLines_heapBytes().
| auto meshlib::ObjectLines::is_ancestor | ( | ancestor:Option<&meshlib::Object > | ) | const -> bool |
return true if given object is ancestor of this one, false otherwise Generated from method MR::ObjectLines::isAncestor.
Calls MR_ObjectLines_isAncestor().
| auto meshlib::ObjectLines::is_ancillary | ( | ) | const -> bool |
Generated from method MR::ObjectLines::isAncillary.
Calls MR_ObjectLines_isAncillary().
| auto meshlib::ObjectLines::is_global_ancillary | ( | ) | const -> bool |
returns true if the object or any of its ancestors are ancillary Generated from method MR::ObjectLines::isGlobalAncillary.
Calls MR_ObjectLines_isGlobalAncillary().
| auto meshlib::ObjectLines::is_locked | ( | ) | const -> bool |
object properties lock for UI Generated from method MR::ObjectLines::isLocked.
Calls MR_ObjectLines_isLocked().
| auto meshlib::ObjectLines::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::ObjectLines::isParentLocked.
Calls MR_ObjectLines_isParentLocked().
| auto meshlib::ObjectLines::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::ObjectLines::isPickable.
Calls MR_ObjectLines_isPickable().
| auto meshlib::ObjectLines::is_selected | ( | ) | const -> bool |
Generated from method MR::ObjectLines::isSelected.
Calls MR_ObjectLines_isSelected().
| auto meshlib::ObjectLines::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::ObjectLines::isVisible.
Calls MR_ObjectLines_isVisible().
| auto meshlib::ObjectLines::name | ( | ) | const -> &meshlib::std_string |
Generated from method MR::ObjectLines::name.
Calls MR_ObjectLines_name().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_ObjectLines_DefaultConstruct().
| auto meshlib::ObjectLines::num_components | ( | ) | const -> usize |
returns cached information about the number of components in the polyline Generated from method MR::ObjectLines::numComponents.
Calls MR_ObjectLines_numComponents().
| auto meshlib::ObjectLines::num_undirected_edges | ( | ) | const -> usize |
returns cached information about the number of undirected edges in the polyline Generated from method MR::ObjectLines::numUndirectedEdges.
Calls MR_ObjectLines_numUndirectedEdges().
| auto meshlib::ObjectLines::polyline | ( | ) | const -> &meshlib::std_shared_ptr_const_MR_Polyline3 |
Calls MR_ObjectLines_polyline().
| auto meshlib::ObjectLines::polyline_ptr | ( | ) | const -> Option<&meshlib::Polyline3 > |
returns the polyline of this object, or nullptr if it is not set Generated from method MR::ObjectLines::polylinePtr.
Calls MR_ObjectLines_polylinePtr().
| void meshlib::ObjectLines::remove_all_children | ( | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::ObjectLines::removeAllChildren.
Calls MR_ObjectLines_removeAllChildren().
| auto meshlib::ObjectLines::remove_tag | ( | tag:& | str | ) | -> bool |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ObjectLines::removeTag.
Calls MR_ObjectLines_removeTag().
| auto meshlib::ObjectLines::render | ( | _1:&meshlib::ModelRenderParams | ) | const -> bool |
draws this object for visualization Returns true if something was drawn. Generated from method MR::ObjectLines::render.
Calls MR_ObjectLines_render().
| void meshlib::ObjectLines::render_for_picker | ( | _1:&meshlib::ModelBaseRenderParams | , |
| _2:core::ffi::c_uint | ) const |
draws this object for picking Generated from method MR::ObjectLines::renderForPicker.
Calls MR_ObjectLines_renderForPicker().
| void meshlib::ObjectLines::render_ui | ( | params:&meshlib::UiRenderParams | ) | const |
draws this object for 2d UI Generated from method MR::ObjectLines::renderUi.
Calls MR_ObjectLines_renderUi().
| void meshlib::ObjectLines::reset_colors | ( | ) |
reset all object colors to their default values from the current theme Generated from method MR::ObjectLines::resetColors.
Calls MR_ObjectLines_resetColors().
| void meshlib::ObjectLines::reset_dirty | ( | ) | const |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::ObjectLines::resetDirty.
Calls MR_ObjectLines_resetDirty().
| void meshlib::ObjectLines::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::ObjectLines::resetDirtyExceptMask.
Calls MR_ObjectLines_resetDirtyExceptMask().
| void meshlib::ObjectLines::reset_front_color | ( | ) |
reset basic object colors to their default values from the current theme Generated from method MR::ObjectLines::resetFrontColor.
Calls MR_ObjectLines_resetFrontColor().
| void meshlib::ObjectLines::reset_redraw_flag | ( | ) | const |
Generated from method MR::ObjectLines::resetRedrawFlag.
Calls MR_ObjectLines_resetRedrawFlag().
| void meshlib::ObjectLines::reset_xf | ( | id:Option<&meshlib::ViewportId > | ) |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectLines::resetXf.
Calls MR_ObjectLines_resetXf().
| auto meshlib::ObjectLines::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::ObjectLines::sameModels.
Calls MR_ObjectLines_sameModels().
| auto meshlib::ObjectLines::select | ( | on:bool | ) | -> bool |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::ObjectLines::select.
Calls MR_ObjectLines_select().
| void meshlib::ObjectLines::set_all_visualize_properties | ( | properties:&meshlib::std_vector_MR_ViewportMask | ) |
set all visualize properties masks Generated from method MR::ObjectLines::setAllVisualizeProperties.
Calls MR_ObjectLines_setAllVisualizeProperties().
| void meshlib::ObjectLines::set_ambient_strength | ( | ambientStrength:f32 | ) |
sets intensity of non-directional light Generated from method MR::ObjectLines::setAmbientStrength.
Calls MR_ObjectLines_setAmbientStrength().
| void meshlib::ObjectLines::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::ObjectLines::setAncillary.
Calls MR_ObjectLines_setAncillary().
| void meshlib::ObjectLines::set_back_color | ( | color:&meshlib::Color | , |
| viewportId:Option<&meshlib::ViewportId > | ) |
sets backward color of object in given viewport Generated from method MR::ObjectLines::setBackColor.
Calls MR_ObjectLines_setBackColor().
| void meshlib::ObjectLines::set_back_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
sets backward color of object in all viewports Generated from method MR::ObjectLines::setBackColorsForAllViewports.
Calls MR_ObjectLines_setBackColorsForAllViewports().
| void meshlib::ObjectLines::set_coloring_type | ( | coloringType:meshlib::ColoringType | ) |
sets coloring mode of the object with given argument Generated from method MR::ObjectLines::setColoringType.
Calls MR_ObjectLines_setColoringType().
| void meshlib::ObjectLines::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::ObjectLines::setDashPattern.
Calls MR_ObjectLines_setDashPattern().
| void meshlib::ObjectLines::set_dirty_flags | ( | mask:core::ffi::c_uint | , |
| invalidateCaches:Option< bool > | ) |
Generated from method MR::ObjectLines::setDirtyFlags.
Calls MR_ObjectLines_setDirtyFlags().
| void meshlib::ObjectLines::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::ObjectLines::setFrontColor.
Calls MR_ObjectLines_setFrontColor().
| void meshlib::ObjectLines::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::ObjectLines::setFrontColorsForAllViewports.
Calls MR_ObjectLines_setFrontColorsForAllViewports().
| void meshlib::ObjectLines::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::ObjectLines::setGlobalAlpha.
Calls MR_ObjectLines_setGlobalAlpha().
| void meshlib::ObjectLines::set_global_alpha_for_all_viewports | ( | val:&meshlib::ViewportProperty_unsigned_char | ) |
sets global transparency alpha of object in all viewports Generated from method MR::ObjectLines::setGlobalAlphaForAllViewports.
Calls MR_ObjectLines_setGlobalAlphaForAllViewports().
| void meshlib::ObjectLines::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::ObjectLines::setGlobalClippedByPlane.
Calls MR_ObjectLines_setGlobalClippedByPlane().
| void meshlib::ObjectLines::set_global_visibility | ( | on:bool | , |
| viewportMask:Option<&meshlib::ViewportMask > | ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectLines::setGlobalVisibility.
Calls MR_ObjectLines_setGlobalVisibility().
| void meshlib::ObjectLines::set_line_width | ( | width:f32 | ) |
Generated from method MR::ObjectLines::setLineWidth.
Calls MR_ObjectLines_setLineWidth().
| void meshlib::ObjectLines::set_lines_color_map | ( | linesColorMap:&meshlib::UndirectedEdgeColors | ) |
Generated from method MR::ObjectLines::setLinesColorMap.
Calls MR_ObjectLines_setLinesColorMap().
| void meshlib::ObjectLines::set_locked | ( | on:bool | ) |
Generated from method MR::ObjectLines::setLocked.
Calls MR_ObjectLines_setLocked().
| void meshlib::ObjectLines::set_name | ( | name:& | str | ) |
Generated from method MR::ObjectLines::setName.
Calls MR_ObjectLines_setName().
| void meshlib::ObjectLines::set_parent_locked | ( | lock:bool | ) |
Generated from method MR::ObjectLines::setParentLocked.
Calls MR_ObjectLines_setParentLocked().
| void meshlib::ObjectLines::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::ObjectLines::setPickable.
Calls MR_ObjectLines_setPickable().
| void meshlib::ObjectLines::set_point_size | ( | size:f32 | ) |
Generated from method MR::ObjectLines::setPointSize.
Calls MR_ObjectLines_setPointSize().
| void meshlib::ObjectLines::set_polyline | ( | polyline:&meshlib::std_shared_ptr_MR_Polyline3 | ) |
Generated from method MR::ObjectLines::setPolyline.
Calls MR_ObjectLines_setPolyline().
| void meshlib::ObjectLines::set_shininess | ( | shininess:f32 | ) |
sets shininess visual value of the object with given argument Generated from method MR::ObjectLines::setShininess.
Calls MR_ObjectLines_setShininess().
| void meshlib::ObjectLines::set_specular_strength | ( | specularStrength:f32 | ) |
sets intensity of reflections Generated from method MR::ObjectLines::setSpecularStrength.
Calls MR_ObjectLines_setSpecularStrength().
| void meshlib::ObjectLines::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::ObjectLines::setUseDefaultScenePropertiesOnDeserialization.
Calls MR_ObjectLines_setUseDefaultScenePropertiesOnDeserialization().
| void meshlib::ObjectLines::set_verts_color_map | ( | vertsColorMap:&meshlib::VertColors | ) |
sets per-vertex colors of the object Generated from method MR::ObjectLines::setVertsColorMap.
Calls MR_ObjectLines_setVertsColorMap().
| void meshlib::ObjectLines::set_visibility_mask | ( | viewportMask:&meshlib::ViewportMask | ) |
specifies object visibility as bitmask of viewports Generated from method MR::ObjectLines::setVisibilityMask.
Calls MR_ObjectLines_setVisibilityMask().
| void meshlib::ObjectLines::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::ObjectLines::setVisible.
Calls MR_ObjectLines_setVisible().
| void meshlib::ObjectLines::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::ObjectLines::setVisualizeProperty.
Calls MR_ObjectLines_setVisualizeProperty().
| void meshlib::ObjectLines::set_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
set visual property mask Generated from method MR::ObjectLines::setVisualizePropertyMask.
Calls MR_ObjectLines_setVisualizePropertyMask().
| void meshlib::ObjectLines::set_world_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectLines::setWorldXf.
Calls MR_ObjectLines_setWorldXf().
| void meshlib::ObjectLines::set_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectLines::setXf.
Calls MR_ObjectLines_setXf().
| void meshlib::ObjectLines::set_xfs_for_all_viewports | ( | xf:&meshlib::ViewportProperty_MR_AffineXf3f | ) |
modifies xfs for all viewports at once Generated from method MR::ObjectLines::setXfsForAllViewports.
Calls MR_ObjectLines_setXfsForAllViewports().
| auto meshlib::ObjectLines::shallow_clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::ObjectLines::shallowClone.
Calls MR_ObjectLines_shallowClone().
| auto meshlib::ObjectLines::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::ObjectLines::shallowCloneTree.
Calls MR_ObjectLines_shallowCloneTree().
| void meshlib::ObjectLines::sort_children | ( | ) |
sort recognized children by name Generated from method MR::ObjectLines::sortChildren.
Calls MR_ObjectLines_sortChildren().
|
static |
Generated from method MR::ObjectLines::StaticClassName.
Calls MR_ObjectLines_StaticClassName().
|
static |
Generated from method MR::ObjectLines::StaticClassNameInPlural.
Calls MR_ObjectLines_StaticClassNameInPlural().
|
static |
Static downcast from the base class MR::Object.
Calls MR_ObjectLines_StaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a ObjectLines.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_ObjectLines_StaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a ObjectLines.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_ObjectLines_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a ObjectLines.
|
static |
Static downcast from the base class MR::ObjectLinesHolder.
Calls MR_ObjectLines_StaticDowncastFrom_MR_ObjectLinesHolder(). Undefined behavior if the object isn't actually a ObjectLines.
|
static |
Static downcast from the base class MR::ObjectLinesHolder.
Calls MR_ObjectLines_MutableStaticDowncastFrom_MR_ObjectLinesHolder(). Undefined behavior if the object isn't actually a ObjectLines.
|
static |
Static downcast from the base class MR::Object.
Calls MR_ObjectLines_MutableStaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a ObjectLines.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_ObjectLines_StaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a ObjectLines.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_ObjectLines_MutableStaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a ObjectLines.
|
static |
Generated from method MR::ObjectLines::StaticTypeName.
Calls MR_ObjectLines_StaticTypeName().
| auto meshlib::ObjectLines::supports_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> bool |
Generated from method MR::ObjectLines::supportsVisualizeProperty.
Calls MR_ObjectLines_supportsVisualizeProperty().
| void meshlib::ObjectLines::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::ObjectLines::swap.
Calls MR_ObjectLines_swap().
| auto meshlib::ObjectLines::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::ObjectLines::tags.
Calls MR_ObjectLines_tags().
| void meshlib::ObjectLines::toggle_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
toggle visual property in all viewports specified by the mask Generated from method MR::ObjectLines::toggleVisualizeProperty.
Calls MR_ObjectLines_toggleVisualizeProperty().
| auto meshlib::ObjectLines::total_length | ( | ) | const -> f32 |
return cached total length Generated from method MR::ObjectLines::totalLength.
Calls MR_ObjectLines_totalLength().
| auto meshlib::ObjectLines::type_name | ( | ) | const -> Option<&core::ffi::c_char > |
Generated from method MR::ObjectLines::typeName.
Calls MR_ObjectLines_typeName().
| auto meshlib::ObjectLines::upcast_to_object | ( | ) | const -> &meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_ObjectLines_UpcastTo_MR_Object().
| auto meshlib::ObjectLines::upcast_to_object_children_holder | ( | ) | const -> &meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_ObjectLines_UpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::ObjectLines::upcast_to_object_children_holder_mut | ( | ) | -> &mut meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_ObjectLines_MutableUpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::ObjectLines::upcast_to_object_lines_holder | ( | ) | const -> &meshlib::ObjectLinesHolder |
Upcasts to the base class MR::ObjectLinesHolder.
Calls MR_ObjectLines_UpcastTo_MR_ObjectLinesHolder().
| auto meshlib::ObjectLines::upcast_to_object_lines_holder_mut | ( | ) | -> &mut meshlib::ObjectLinesHolder |
Upcasts to the base class MR::ObjectLinesHolder.
Calls MR_ObjectLines_MutableUpcastTo_MR_ObjectLinesHolder().
| auto meshlib::ObjectLines::upcast_to_object_mut | ( | ) | -> &mut meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_ObjectLines_MutableUpcastTo_MR_Object().
| auto meshlib::ObjectLines::upcast_to_visual_object | ( | ) | const -> &meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_ObjectLines_UpcastTo_MR_VisualObject().
| auto meshlib::ObjectLines::upcast_to_visual_object_mut | ( | ) | -> &mut meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_ObjectLines_MutableUpcastTo_MR_VisualObject().
| void meshlib::ObjectLines::update_lines_color_map | ( | updated:&mut meshlib::UndirectedEdgeColors | ) |
Generated from method MR::ObjectLines::updateLinesColorMap.
Calls MR_ObjectLines_updateLinesColorMap().
| auto meshlib::ObjectLines::update_polyline | ( | polyline:&meshlib::std_shared_ptr_MR_Polyline3 | ) | -> meshlib::Owned< meshlib::std_shared_ptr_MR_Polyline3 > |
sets given polyline to this, and returns back previous polyline of this; Generated from method MR::ObjectLines::updatePolyline.
Calls MR_ObjectLines_updatePolyline().
| void meshlib::ObjectLines::update_verts_color_map | ( | vertsColorMap:&mut meshlib::VertColors | ) |
swaps per-vertex colors of the object with given argument Generated from method MR::ObjectLines::updateVertsColorMap.
Calls MR_ObjectLines_updateVertsColorMap().
| auto meshlib::ObjectLines::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::ObjectLines::useDefaultScenePropertiesOnDeserialization.
Calls MR_ObjectLines_useDefaultScenePropertiesOnDeserialization().
| auto meshlib::ObjectLines::var_polyline | ( | ) | -> &meshlib::std_shared_ptr_MR_Polyline3 |
Generated from method MR::ObjectLines::varPolyline.
Calls MR_ObjectLines_varPolyline().
| auto meshlib::ObjectLines::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::ObjectLines::varPolylinePtr.
Calls MR_ObjectLines_varPolylinePtr().
| auto meshlib::ObjectLines::visibility_mask | ( | ) | const -> meshlib::Owned< meshlib::ViewportMask > |
gets object visibility as bitmask of viewports Generated from method MR::ObjectLines::visibilityMask.
Calls MR_ObjectLines_visibilityMask().
| auto meshlib::ObjectLines::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::ObjectLines::worldXf. |
Calls MR_ObjectLines_worldXf().
| auto meshlib::ObjectLines::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::ObjectLines::xf. |
Calls MR_ObjectLines_xf().
| auto meshlib::ObjectLines::xfs_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_AffineXf3f |
returns xfs for all viewports, combined into a single object Generated from method MR::ObjectLines::xfsForAllViewports.
Calls MR_ObjectLines_xfsForAllViewports().