an object that stores a points Generated from class MR::ObjectPointsHolder. Base classes: Direct: (non-virtual) MR::VisualObject Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object Derived classes: Direct: (non-virtual) MR::ObjectPoints
Generated from class MR::ObjectPointsHolder. Heap-allocated instances are held in Owned<ObjectPointsHolder>.
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::addChild. |
Calls MR_ObjectPointsHolder_addChild().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::addChildBefore.
Calls MR_ObjectPointsHolder_addChildBefore().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::addTag.
Calls MR_ObjectPointsHolder_addTag().
| void meshlib::ObjectPointsHolder::apply_scale | ( | scaleFactor:f32 | ) |
Generated from method MR::ObjectPointsHolder::applyScale.
Calls MR_ObjectPointsHolder_applyScale().
| auto meshlib::ObjectPointsHolder::assign_from_another | ( | _other:meshlib::Owned< meshlib::ObjectPointsHolder > | ) | -> &mut meshlib::ObjectPointsHolder |
Generated from method MR::ObjectPointsHolder::operator=.
Calls MR_ObjectPointsHolder_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::ObjectPointsHolder::class_name | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::ObjectPointsHolder::className.
Calls MR_ObjectPointsHolder_className().
| auto meshlib::ObjectPointsHolder::class_name_in_plural | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::ObjectPointsHolder::classNameInPlural.
Calls MR_ObjectPointsHolder_classNameInPlural().
| auto meshlib::ObjectPointsHolder::clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::ObjectPointsHolder::clone.
Calls MR_ObjectPointsHolder_clone().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::cloneTree.
Calls MR_ObjectPointsHolder_cloneTree().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::constChildren.
Calls MR_ObjectPointsHolder_constChildren().
|
static |
Generated from constructor MR::ObjectPointsHolder::ObjectPointsHolder.
Calls MR_ObjectPointsHolder_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| void meshlib::ObjectPointsHolder::copy_all_solid_colors | ( | other:&meshlib::ObjectPointsHolder | ) |
set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR::ObjectPointsHolder::copyAllSolidColors.
Calls MR_ObjectPointsHolder_copyAllSolidColors().
| void meshlib::ObjectPointsHolder::copy_colors | ( | src:&meshlib::ObjectPointsHolder | , |
| thisToSrc:&meshlib::VertMap | , | ||
| thisToSrcFaces:Option<&meshlib::FaceMap > | ) |
copies point colors from given source object
| src | using given map |
| thisToSrc | Generated from method MR::ObjectPointsHolder::copyColors. |
Calls MR_ObjectPointsHolder_copyColors().
| auto meshlib::ObjectPointsHolder::detach_from_parent | ( | ) | -> bool |
removes this from its parent children list returns false if it was already orphan Generated from method MR::ObjectPointsHolder::detachFromParent.
Calls MR_ObjectPointsHolder_detachFromParent().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a ObjectPointsHolder.
Calls MR_ObjectPointsHolder_DynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a ObjectPointsHolder.
Calls MR_ObjectPointsHolder_MutableDynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a ObjectPointsHolder.
Calls MR_ObjectPointsHolder_DynamicDowncastFrom_MR_VisualObject().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a ObjectPointsHolder.
Calls MR_ObjectPointsHolder_MutableDynamicDowncastFrom_MR_VisualObject().
| auto meshlib::ObjectPointsHolder::get_all_visualize_properties | ( | ) | const -> meshlib::Owned< meshlib::std_vector_MR_ViewportMask > |
get all visualize properties masks Generated from method MR::ObjectPointsHolder::getAllVisualizeProperties.
Calls MR_ObjectPointsHolder_getAllVisualizeProperties().
| auto meshlib::ObjectPointsHolder::get_ambient_strength | ( | ) | const -> f32 |
returns intensity of non-directional light Generated from method MR::ObjectPointsHolder::getAmbientStrength.
Calls MR_ObjectPointsHolder_getAmbientStrength().
| auto meshlib::ObjectPointsHolder::get_back_color | ( | viewportId:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns backward color of object in given viewport Generated from method MR::ObjectPointsHolder::getBackColor.
Calls MR_ObjectPointsHolder_getBackColor().
| auto meshlib::ObjectPointsHolder::get_back_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
returns backward color of object in all viewports Generated from method MR::ObjectPointsHolder::getBackColorsForAllViewports.
Calls MR_ObjectPointsHolder_getBackColorsForAllViewports().
| auto meshlib::ObjectPointsHolder::get_bounding_box | ( | ) | const -> meshlib::Box3f |
returns cached bounding box of this object in local coordinates Generated from method MR::ObjectPointsHolder::getBoundingBox.
Calls MR_ObjectPointsHolder_getBoundingBox().
| auto meshlib::ObjectPointsHolder::get_coloring_type | ( | ) | const -> meshlib::ColoringType |
returns the current coloring mode of the object Generated from method MR::ObjectPointsHolder::getColoringType.
Calls MR_ObjectPointsHolder_getColoringType().
| auto meshlib::ObjectPointsHolder::get_dirty_flags | ( | ) | const -> core::ffi::c_uint |
returns current dirty flags for the object Generated from method MR::ObjectPointsHolder::getDirtyFlags.
Calls MR_ObjectPointsHolder_getDirtyFlags().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::getFrontColor.
Calls MR_ObjectPointsHolder_getFrontColor().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::getFrontColorsForAllViewports.
Calls MR_ObjectPointsHolder_getFrontColorsForAllViewports().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::getGlobalAlpha.
Calls MR_ObjectPointsHolder_getGlobalAlpha().
| auto meshlib::ObjectPointsHolder::get_global_alpha_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_unsigned_char |
returns global transparency alpha of object in all viewports Generated from method MR::ObjectPointsHolder::getGlobalAlphaForAllViewports.
Calls MR_ObjectPointsHolder_getGlobalAlphaForAllViewports().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::getInfoLines.
Calls MR_ObjectPointsHolder_getInfoLines().
| auto meshlib::ObjectPointsHolder::get_max_rendering_points | ( | ) | const -> core::ffi::c_int |
returns maximal number of points that will be rendered if actual count of valid points is greater then the points will be sampled Generated from method MR::ObjectPointsHolder::getMaxRenderingPoints.
Calls MR_ObjectPointsHolder_getMaxRenderingPoints().
| auto meshlib::ObjectPointsHolder::get_model_hash | ( | ) | const -> usize |
return hash of model (or hash object pointer if object has no model) Generated from method MR::ObjectPointsHolder::getModelHash.
Calls MR_ObjectPointsHolder_getModelHash().
| auto meshlib::ObjectPointsHolder::get_point_size | ( | ) | const -> f32 |
returns size of points on screen in pixels Generated from method MR::ObjectPointsHolder::getPointSize.
Calls MR_ObjectPointsHolder_getPointSize().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::getRedrawFlag.
Calls MR_ObjectPointsHolder_getRedrawFlag().
| auto meshlib::ObjectPointsHolder::get_render_discretization | ( | ) | const -> core::ffi::c_int |
returns rendering discretization display each renderDiscretization-th point only, starting from 0 index, total number is numRenderingValidPoints()
defined by maximum rendered points number as: numValidPoints() / getMaxRenderingPoints() (rounded up) updated when setting maxRenderingPoints or changing the cloud (setting DIRTY_FACE flag) Generated from method MR::ObjectPointsHolder::getRenderDiscretization.
Calls MR_ObjectPointsHolder_getRenderDiscretization().
| auto meshlib::ObjectPointsHolder::get_selected_points | ( | ) | const -> &meshlib::VertBitSet |
gets current selected points Generated from method MR::ObjectPointsHolder::getSelectedPoints.
Calls MR_ObjectPointsHolder_getSelectedPoints().
| auto meshlib::ObjectPointsHolder::get_selected_points_or_all | ( | ) | const -> &meshlib::VertBitSet |
returns selected points if any, otherwise returns all valid points Generated from method MR::ObjectPointsHolder::getSelectedPointsOrAll.
Calls MR_ObjectPointsHolder_getSelectedPointsOrAll().
| auto meshlib::ObjectPointsHolder::get_selected_vertices_color | ( | id:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns colors of selected vertices Generated from method MR::ObjectPointsHolder::getSelectedVerticesColor.
Calls MR_ObjectPointsHolder_getSelectedVerticesColor().
| auto meshlib::ObjectPointsHolder::get_selected_vertices_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::ObjectPointsHolder::getSelectedVerticesColorsForAllViewports.
Calls MR_ObjectPointsHolder_getSelectedVerticesColorsForAllViewports().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::getSharedPtr.
Calls MR_ObjectPointsHolder_getSharedPtr().
| auto meshlib::ObjectPointsHolder::get_shininess | ( | ) | const -> f32 |
returns the current shininess visual value Generated from method MR::ObjectPointsHolder::getShininess.
Calls MR_ObjectPointsHolder_getShininess().
| auto meshlib::ObjectPointsHolder::get_specular_strength | ( | ) | const -> f32 |
returns intensity of reflections Generated from method MR::ObjectPointsHolder::getSpecularStrength.
Calls MR_ObjectPointsHolder_getSpecularStrength().
| auto meshlib::ObjectPointsHolder::get_verts_color_map | ( | ) | const -> &meshlib::VertColors |
returns per-point colors of the object Generated from method MR::ObjectPointsHolder::getVertsColorMap.
Calls MR_ObjectPointsHolder_getVertsColorMap().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::getVisualizeProperty.
Calls MR_ObjectPointsHolder_getVisualizeProperty().
| auto meshlib::ObjectPointsHolder::get_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> &meshlib::ViewportMask |
returns mask of viewports where given property is set Generated from method MR::ObjectPointsHolder::getVisualizePropertyMask.
Calls MR_ObjectPointsHolder_getVisualizePropertyMask().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::getWorldBox.
Calls MR_ObjectPointsHolder_getWorldBox().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::getWorldTreeBox.
Calls MR_ObjectPointsHolder_getWorldTreeBox().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::globalClippedByPlane.
Calls MR_ObjectPointsHolder_globalClippedByPlane().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::globalClippedByPlaneMask.
Calls MR_ObjectPointsHolder_globalClippedByPlaneMask().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::globalVisibility.
Calls MR_ObjectPointsHolder_globalVisibility().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::globalVisibilityMask.
Calls MR_ObjectPointsHolder_globalVisibilityMask().
| auto meshlib::ObjectPointsHolder::has_model | ( | ) | const -> bool |
Generated from method MR::ObjectPointsHolder::hasModel.
Calls MR_ObjectPointsHolder_hasModel().
| auto meshlib::ObjectPointsHolder::has_visual_representation | ( | ) | const -> bool |
Generated from method MR::ObjectPointsHolder::hasVisualRepresentation.
Calls MR_ObjectPointsHolder_hasVisualRepresentation().
| auto meshlib::ObjectPointsHolder::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::ObjectPointsHolder::heapBytes.
Calls MR_ObjectPointsHolder_heapBytes().
| auto meshlib::ObjectPointsHolder::is_ancestor | ( | ancestor:Option<&meshlib::Object > | ) | const -> bool |
return true if given object is ancestor of this one, false otherwise Generated from method MR::ObjectPointsHolder::isAncestor.
Calls MR_ObjectPointsHolder_isAncestor().
| auto meshlib::ObjectPointsHolder::is_ancillary | ( | ) | const -> bool |
Generated from method MR::ObjectPointsHolder::isAncillary.
Calls MR_ObjectPointsHolder_isAncillary().
| auto meshlib::ObjectPointsHolder::is_global_ancillary | ( | ) | const -> bool |
returns true if the object or any of its ancestors are ancillary Generated from method MR::ObjectPointsHolder::isGlobalAncillary.
Calls MR_ObjectPointsHolder_isGlobalAncillary().
| auto meshlib::ObjectPointsHolder::is_locked | ( | ) | const -> bool |
object properties lock for UI Generated from method MR::ObjectPointsHolder::isLocked.
Calls MR_ObjectPointsHolder_isLocked().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::isParentLocked.
Calls MR_ObjectPointsHolder_isParentLocked().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::isPickable.
Calls MR_ObjectPointsHolder_isPickable().
| auto meshlib::ObjectPointsHolder::is_selected | ( | ) | const -> bool |
Generated from method MR::ObjectPointsHolder::isSelected.
Calls MR_ObjectPointsHolder_isSelected().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::isVisible.
Calls MR_ObjectPointsHolder_isVisible().
|
static |
default value for maximum rendered points number Returns a pointer to a member variable of class MR::ObjectPointsHolder named MaxRenderingPointsDefault.
Calls MR_ObjectPointsHolder_Get_MaxRenderingPointsDefault().
|
static |
recommended value for maximum rendered points number to disable discretization Returns a pointer to a member variable of class MR::ObjectPointsHolder named MaxRenderingPointsUnlimited.
Calls MR_ObjectPointsHolder_Get_MaxRenderingPointsUnlimited().
| auto meshlib::ObjectPointsHolder::name | ( | ) | const -> &meshlib::std_string |
Generated from method MR::ObjectPointsHolder::name.
Calls MR_ObjectPointsHolder_name().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_ObjectPointsHolder_DefaultConstruct().
| auto meshlib::ObjectPointsHolder::num_rendering_valid_points | ( | ) | const -> usize |
returns count of valid points that will be rendered Generated from method MR::ObjectPointsHolder::numRenderingValidPoints.
Calls MR_ObjectPointsHolder_numRenderingValidPoints().
| auto meshlib::ObjectPointsHolder::num_selected_points | ( | ) | const -> usize |
returns cached information about the number of selected points Generated from method MR::ObjectPointsHolder::numSelectedPoints.
Calls MR_ObjectPointsHolder_numSelectedPoints().
| auto meshlib::ObjectPointsHolder::num_valid_points | ( | ) | const -> usize |
returns cached information about the number of valid points Generated from method MR::ObjectPointsHolder::numValidPoints.
Calls MR_ObjectPointsHolder_numValidPoints().
| auto meshlib::ObjectPointsHolder::point_cloud | ( | ) | const -> &meshlib::std_shared_ptr_const_MR_PointCloud |
Calls MR_ObjectPointsHolder_pointCloud().
| auto meshlib::ObjectPointsHolder::point_cloud_part | ( | ) | const -> meshlib::Owned< meshlib::PointCloudPart > |
Calls MR_ObjectPointsHolder_pointCloudPart().
| auto meshlib::ObjectPointsHolder::point_cloud_ptr | ( | ) | const -> Option<&meshlib::PointCloud > |
returns the point cloud of this object, or nullptr if it is not set Generated from method MR::ObjectPointsHolder::pointCloudPtr.
Calls MR_ObjectPointsHolder_pointCloudPtr().
| void meshlib::ObjectPointsHolder::remove_all_children | ( | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::ObjectPointsHolder::removeAllChildren.
Calls MR_ObjectPointsHolder_removeAllChildren().
| auto meshlib::ObjectPointsHolder::remove_tag | ( | tag:& | str | ) | -> bool |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ObjectPointsHolder::removeTag.
Calls MR_ObjectPointsHolder_removeTag().
| auto meshlib::ObjectPointsHolder::render | ( | _1:&meshlib::ModelRenderParams | ) | const -> bool |
draws this object for visualization Returns true if something was drawn. Generated from method MR::ObjectPointsHolder::render.
Calls MR_ObjectPointsHolder_render().
| void meshlib::ObjectPointsHolder::render_for_picker | ( | _1:&meshlib::ModelBaseRenderParams | , |
| _2:core::ffi::c_uint | ) const |
draws this object for picking Generated from method MR::ObjectPointsHolder::renderForPicker.
Calls MR_ObjectPointsHolder_renderForPicker().
| void meshlib::ObjectPointsHolder::render_ui | ( | params:&meshlib::UiRenderParams | ) | const |
draws this object for 2d UI Generated from method MR::ObjectPointsHolder::renderUi.
Calls MR_ObjectPointsHolder_renderUi().
| void meshlib::ObjectPointsHolder::reset_colors | ( | ) |
reset all object colors to their default values from the current theme Generated from method MR::ObjectPointsHolder::resetColors.
Calls MR_ObjectPointsHolder_resetColors().
| void meshlib::ObjectPointsHolder::reset_dirty | ( | ) | const |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::ObjectPointsHolder::resetDirty.
Calls MR_ObjectPointsHolder_resetDirty().
| void meshlib::ObjectPointsHolder::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::ObjectPointsHolder::resetDirtyExceptMask.
Calls MR_ObjectPointsHolder_resetDirtyExceptMask().
| void meshlib::ObjectPointsHolder::reset_front_color | ( | ) |
reset basic object colors to their default values from the current theme Generated from method MR::ObjectPointsHolder::resetFrontColor.
Calls MR_ObjectPointsHolder_resetFrontColor().
| void meshlib::ObjectPointsHolder::reset_redraw_flag | ( | ) | const |
Generated from method MR::ObjectPointsHolder::resetRedrawFlag.
Calls MR_ObjectPointsHolder_resetRedrawFlag().
| void meshlib::ObjectPointsHolder::reset_xf | ( | id:Option<&meshlib::ViewportId > | ) |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectPointsHolder::resetXf.
Calls MR_ObjectPointsHolder_resetXf().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::sameModels.
Calls MR_ObjectPointsHolder_sameModels().
| auto meshlib::ObjectPointsHolder::select | ( | on:bool | ) | -> bool |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::ObjectPointsHolder::select.
Calls MR_ObjectPointsHolder_select().
| void meshlib::ObjectPointsHolder::select_points | ( | newSelection:&meshlib::VertBitSet | ) |
sets current selected points Generated from method MR::ObjectPointsHolder::selectPoints.
Calls MR_ObjectPointsHolder_selectPoints().
| auto meshlib::ObjectPointsHolder::serialize_format | ( | ) | const -> Option<&core::ffi::c_char > |
returns overriden file extension used to serialize point cloud inside this object, nullptr means SceneSettings::get( SceneSettings::StringType::PointsSerializeFormat ) Generated from method MR::ObjectPointsHolder::serializeFormat.
Calls MR_ObjectPointsHolder_serializeFormat().
| void meshlib::ObjectPointsHolder::set_all_visualize_properties | ( | properties:&meshlib::std_vector_MR_ViewportMask | ) |
set all visualize properties masks Generated from method MR::ObjectPointsHolder::setAllVisualizeProperties.
Calls MR_ObjectPointsHolder_setAllVisualizeProperties().
| void meshlib::ObjectPointsHolder::set_ambient_strength | ( | ambientStrength:f32 | ) |
sets intensity of non-directional light Generated from method MR::ObjectPointsHolder::setAmbientStrength.
Calls MR_ObjectPointsHolder_setAmbientStrength().
| void meshlib::ObjectPointsHolder::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::ObjectPointsHolder::setAncillary.
Calls MR_ObjectPointsHolder_setAncillary().
| void meshlib::ObjectPointsHolder::set_back_color | ( | color:&meshlib::Color | , |
| viewportId:Option<&meshlib::ViewportId > | ) |
sets backward color of object in given viewport Generated from method MR::ObjectPointsHolder::setBackColor.
Calls MR_ObjectPointsHolder_setBackColor().
| void meshlib::ObjectPointsHolder::set_back_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
sets backward color of object in all viewports Generated from method MR::ObjectPointsHolder::setBackColorsForAllViewports.
Calls MR_ObjectPointsHolder_setBackColorsForAllViewports().
| void meshlib::ObjectPointsHolder::set_coloring_type | ( | coloringType:meshlib::ColoringType | ) |
sets coloring mode of the object with given argument Generated from method MR::ObjectPointsHolder::setColoringType.
Calls MR_ObjectPointsHolder_setColoringType().
| void meshlib::ObjectPointsHolder::set_dirty_flags | ( | mask:core::ffi::c_uint | , |
| invalidateCaches:Option< bool > | ) |
Generated from method MR::ObjectPointsHolder::setDirtyFlags.
Calls MR_ObjectPointsHolder_setDirtyFlags().
| void meshlib::ObjectPointsHolder::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::ObjectPointsHolder::setFrontColor.
Calls MR_ObjectPointsHolder_setFrontColor().
| void meshlib::ObjectPointsHolder::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::ObjectPointsHolder::setFrontColorsForAllViewports.
Calls MR_ObjectPointsHolder_setFrontColorsForAllViewports().
| void meshlib::ObjectPointsHolder::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::ObjectPointsHolder::setGlobalAlpha.
Calls MR_ObjectPointsHolder_setGlobalAlpha().
| void meshlib::ObjectPointsHolder::set_global_alpha_for_all_viewports | ( | val:&meshlib::ViewportProperty_unsigned_char | ) |
sets global transparency alpha of object in all viewports Generated from method MR::ObjectPointsHolder::setGlobalAlphaForAllViewports.
Calls MR_ObjectPointsHolder_setGlobalAlphaForAllViewports().
| void meshlib::ObjectPointsHolder::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::ObjectPointsHolder::setGlobalClippedByPlane.
Calls MR_ObjectPointsHolder_setGlobalClippedByPlane().
| void meshlib::ObjectPointsHolder::set_global_visibility | ( | on:bool | , |
| viewportMask:Option<&meshlib::ViewportMask > | ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectPointsHolder::setGlobalVisibility.
Calls MR_ObjectPointsHolder_setGlobalVisibility().
| void meshlib::ObjectPointsHolder::set_locked | ( | on:bool | ) |
Generated from method MR::ObjectPointsHolder::setLocked.
Calls MR_ObjectPointsHolder_setLocked().
| void meshlib::ObjectPointsHolder::set_max_rendering_points | ( | val:core::ffi::c_int | ) |
sets maximal number of points that will be rendered
Calls MR_ObjectPointsHolder_setMaxRenderingPoints().
| void meshlib::ObjectPointsHolder::set_name | ( | name:& | str | ) |
Generated from method MR::ObjectPointsHolder::setName.
Calls MR_ObjectPointsHolder_setName().
| void meshlib::ObjectPointsHolder::set_parent_locked | ( | lock:bool | ) |
Generated from method MR::ObjectPointsHolder::setParentLocked.
Calls MR_ObjectPointsHolder_setParentLocked().
| void meshlib::ObjectPointsHolder::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::ObjectPointsHolder::setPickable.
Calls MR_ObjectPointsHolder_setPickable().
| void meshlib::ObjectPointsHolder::set_point_size | ( | size:f32 | ) |
sets size of points on screen in pixels Generated from method MR::ObjectPointsHolder::setPointSize.
Calls MR_ObjectPointsHolder_setPointSize().
| void meshlib::ObjectPointsHolder::set_selected_vertices_color | ( | color:&meshlib::Color | , |
| id:Option<&meshlib::ViewportId > | ) |
sets colors of selected vertices Generated from method MR::ObjectPointsHolder::setSelectedVerticesColor.
Calls MR_ObjectPointsHolder_setSelectedVerticesColor().
| void meshlib::ObjectPointsHolder::set_selected_vertices_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
Generated from method MR::ObjectPointsHolder::setSelectedVerticesColorsForAllViewports.
Calls MR_ObjectPointsHolder_setSelectedVerticesColorsForAllViewports().
| void meshlib::ObjectPointsHolder::set_serialize_format | ( | newFormat:Option<&core::ffi::c_char > | ) |
overrides file extension used to serialize point cloud inside this object: must start from '.', nullptr means serialize in SceneSettings::get( SceneSettings::StringType::PointsSerializeFormat ) Generated from method MR::ObjectPointsHolder::setSerializeFormat.
Calls MR_ObjectPointsHolder_setSerializeFormat().
| void meshlib::ObjectPointsHolder::set_shininess | ( | shininess:f32 | ) |
sets shininess visual value of the object with given argument Generated from method MR::ObjectPointsHolder::setShininess.
Calls MR_ObjectPointsHolder_setShininess().
| void meshlib::ObjectPointsHolder::set_specular_strength | ( | specularStrength:f32 | ) |
sets intensity of reflections Generated from method MR::ObjectPointsHolder::setSpecularStrength.
Calls MR_ObjectPointsHolder_setSpecularStrength().
| void meshlib::ObjectPointsHolder::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::ObjectPointsHolder::setUseDefaultScenePropertiesOnDeserialization.
Calls MR_ObjectPointsHolder_setUseDefaultScenePropertiesOnDeserialization().
| void meshlib::ObjectPointsHolder::set_verts_color_map | ( | vertsColorMap:&meshlib::VertColors | ) |
sets per-point colors of the object Generated from method MR::ObjectPointsHolder::setVertsColorMap.
Calls MR_ObjectPointsHolder_setVertsColorMap().
| void meshlib::ObjectPointsHolder::set_visibility_mask | ( | viewportMask:&meshlib::ViewportMask | ) |
specifies object visibility as bitmask of viewports Generated from method MR::ObjectPointsHolder::setVisibilityMask.
Calls MR_ObjectPointsHolder_setVisibilityMask().
| void meshlib::ObjectPointsHolder::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::ObjectPointsHolder::setVisible.
Calls MR_ObjectPointsHolder_setVisible().
| void meshlib::ObjectPointsHolder::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::ObjectPointsHolder::setVisualizeProperty.
Calls MR_ObjectPointsHolder_setVisualizeProperty().
| void meshlib::ObjectPointsHolder::set_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
set visual property mask Generated from method MR::ObjectPointsHolder::setVisualizePropertyMask.
Calls MR_ObjectPointsHolder_setVisualizePropertyMask().
| void meshlib::ObjectPointsHolder::set_world_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectPointsHolder::setWorldXf.
Calls MR_ObjectPointsHolder_setWorldXf().
| void meshlib::ObjectPointsHolder::set_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectPointsHolder::setXf.
Calls MR_ObjectPointsHolder_setXf().
| void meshlib::ObjectPointsHolder::set_xfs_for_all_viewports | ( | xf:&meshlib::ViewportProperty_MR_AffineXf3f | ) |
modifies xfs for all viewports at once Generated from method MR::ObjectPointsHolder::setXfsForAllViewports.
Calls MR_ObjectPointsHolder_setXfsForAllViewports().
| auto meshlib::ObjectPointsHolder::shallow_clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::ObjectPointsHolder::shallowClone.
Calls MR_ObjectPointsHolder_shallowClone().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::shallowCloneTree.
Calls MR_ObjectPointsHolder_shallowCloneTree().
| void meshlib::ObjectPointsHolder::sort_children | ( | ) |
sort recognized children by name Generated from method MR::ObjectPointsHolder::sortChildren.
Calls MR_ObjectPointsHolder_sortChildren().
|
static |
Generated from method MR::ObjectPointsHolder::StaticClassName.
Calls MR_ObjectPointsHolder_StaticClassName().
|
static |
Generated from method MR::ObjectPointsHolder::StaticClassNameInPlural.
Calls MR_ObjectPointsHolder_StaticClassNameInPlural().
|
static |
Static downcast from the base class MR::Object.
Calls MR_ObjectPointsHolder_StaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a ObjectPointsHolder.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_ObjectPointsHolder_StaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a ObjectPointsHolder.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_ObjectPointsHolder_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a ObjectPointsHolder.
|
static |
Static downcast from the base class MR::Object.
Calls MR_ObjectPointsHolder_MutableStaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a ObjectPointsHolder.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_ObjectPointsHolder_StaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a ObjectPointsHolder.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_ObjectPointsHolder_MutableStaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a ObjectPointsHolder.
|
static |
Generated from method MR::ObjectPointsHolder::StaticTypeName.
Calls MR_ObjectPointsHolder_StaticTypeName().
| auto meshlib::ObjectPointsHolder::supports_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> bool |
Generated from method MR::ObjectPointsHolder::supportsVisualizeProperty.
Calls MR_ObjectPointsHolder_supportsVisualizeProperty().
| void meshlib::ObjectPointsHolder::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::ObjectPointsHolder::swap.
Calls MR_ObjectPointsHolder_swap().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::tags.
Calls MR_ObjectPointsHolder_tags().
| void meshlib::ObjectPointsHolder::toggle_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
toggle visual property in all viewports specified by the mask Generated from method MR::ObjectPointsHolder::toggleVisualizeProperty.
Calls MR_ObjectPointsHolder_toggleVisualizeProperty().
| auto meshlib::ObjectPointsHolder::type_name | ( | ) | const -> Option<&core::ffi::c_char > |
Generated from method MR::ObjectPointsHolder::typeName.
Calls MR_ObjectPointsHolder_typeName().
| auto meshlib::ObjectPointsHolder::upcast_to_object | ( | ) | const -> &meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_ObjectPointsHolder_UpcastTo_MR_Object().
| auto meshlib::ObjectPointsHolder::upcast_to_object_children_holder | ( | ) | const -> &meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_ObjectPointsHolder_UpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::ObjectPointsHolder::upcast_to_object_children_holder_mut | ( | ) | -> &mut meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_ObjectPointsHolder_MutableUpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::ObjectPointsHolder::upcast_to_object_mut | ( | ) | -> &mut meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_ObjectPointsHolder_MutableUpcastTo_MR_Object().
| auto meshlib::ObjectPointsHolder::upcast_to_visual_object | ( | ) | const -> &meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_ObjectPointsHolder_UpcastTo_MR_VisualObject().
| auto meshlib::ObjectPointsHolder::upcast_to_visual_object_mut | ( | ) | -> &mut meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_ObjectPointsHolder_MutableUpcastTo_MR_VisualObject().
| void meshlib::ObjectPointsHolder::update_selected_points | ( | selection:&mut meshlib::VertBitSet | ) |
swaps current selected points with the argument Generated from method MR::ObjectPointsHolder::updateSelectedPoints.
Calls MR_ObjectPointsHolder_updateSelectedPoints().
| void meshlib::ObjectPointsHolder::update_verts_color_map | ( | vertsColorMap:&mut meshlib::VertColors | ) |
swaps per-point colors of the object with given argument Generated from method MR::ObjectPointsHolder::updateVertsColorMap.
Calls MR_ObjectPointsHolder_updateVertsColorMap().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::useDefaultScenePropertiesOnDeserialization.
Calls MR_ObjectPointsHolder_useDefaultScenePropertiesOnDeserialization().
| auto meshlib::ObjectPointsHolder::var_point_cloud_ptr | ( | ) | -> Option<&mut meshlib::PointCloud > |
returns the point cloud of this object for modification, or nullptr if it is not set Generated from method MR::ObjectPointsHolder::varPointCloudPtr.
Calls MR_ObjectPointsHolder_varPointCloudPtr().
| auto meshlib::ObjectPointsHolder::visibility_mask | ( | ) | const -> meshlib::Owned< meshlib::ViewportMask > |
gets object visibility as bitmask of viewports Generated from method MR::ObjectPointsHolder::visibilityMask.
Calls MR_ObjectPointsHolder_visibilityMask().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::worldXf. |
Calls MR_ObjectPointsHolder_worldXf().
| auto meshlib::ObjectPointsHolder::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::ObjectPointsHolder::xf. |
Calls MR_ObjectPointsHolder_xf().
| auto meshlib::ObjectPointsHolder::xfs_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_AffineXf3f |
returns xfs for all viewports, combined into a single object Generated from method MR::ObjectPointsHolder::xfsForAllViewports.
Calls MR_ObjectPointsHolder_xfsForAllViewports().