an object that stores a points Generated from class MR::ObjectPoints. Base classes: Direct: (non-virtual) MR::ObjectPointsHolder Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object MR::VisualObject
Generated from class MR::ObjectPoints. Heap-allocated instances are held in Owned<ObjectPoints>.
| auto meshlib::ObjectPoints::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::ObjectPoints::addChild. |
Calls MR_ObjectPoints_addChild().
| auto meshlib::ObjectPoints::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::ObjectPoints::addChildBefore.
Calls MR_ObjectPoints_addChildBefore().
| auto meshlib::ObjectPoints::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::ObjectPoints::addTag.
Calls MR_ObjectPoints_addTag().
| void meshlib::ObjectPoints::apply_scale | ( | scaleFactor:f32 | ) |
Generated from method MR::ObjectPoints::applyScale.
Calls MR_ObjectPoints_applyScale().
| auto meshlib::ObjectPoints::assign_from_another | ( | _other:meshlib::Owned< meshlib::ObjectPoints > | ) | -> &mut meshlib::ObjectPoints |
Generated from method MR::ObjectPoints::operator=.
Calls MR_ObjectPoints_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::ObjectPoints::class_name | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::ObjectPoints::className.
Calls MR_ObjectPoints_className().
| auto meshlib::ObjectPoints::class_name_in_plural | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::ObjectPoints::classNameInPlural.
Calls MR_ObjectPoints_classNameInPlural().
| auto meshlib::ObjectPoints::clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::ObjectPoints::clone.
Calls MR_ObjectPoints_clone().
| auto meshlib::ObjectPoints::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::ObjectPoints::cloneTree.
Calls MR_ObjectPoints_cloneTree().
| auto meshlib::ObjectPoints::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::ObjectPoints::constChildren.
Calls MR_ObjectPoints_constChildren().
|
static |
makes the point cloud from the mesh vertices; if some triangles are selected, then only from the vertices with all incident triangles selected Generated from constructor MR::ObjectPoints::ObjectPoints.
Calls MR_ObjectPoints_Construct(). The reference to the parameter objMesh might be preserved in the constructed object. The reference to the parameter normals might be preserved in the constructed object.
|
static |
Generated from constructor MR::ObjectPoints::ObjectPoints.
Calls MR_ObjectPoints_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| void meshlib::ObjectPoints::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::ObjectPoints::copyAllSolidColors.
Calls MR_ObjectPoints_copyAllSolidColors().
| void meshlib::ObjectPoints::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::ObjectPoints::copyColors. |
Calls MR_ObjectPoints_copyColors().
| auto meshlib::ObjectPoints::detach_from_parent | ( | ) | -> bool |
removes this from its parent children list returns false if it was already orphan Generated from method MR::ObjectPoints::detachFromParent.
Calls MR_ObjectPoints_detachFromParent().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a ObjectPoints.
Calls MR_ObjectPoints_DynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a ObjectPoints.
Calls MR_ObjectPoints_MutableDynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::ObjectPointsHolder. Returns None if the object isn't actually a ObjectPoints.
Calls MR_ObjectPoints_DynamicDowncastFrom_MR_ObjectPointsHolder().
|
static |
Dynamic downcast from the base class MR::ObjectPointsHolder. Returns None if the object isn't actually a ObjectPoints.
Calls MR_ObjectPoints_MutableDynamicDowncastFrom_MR_ObjectPointsHolder().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a ObjectPoints.
Calls MR_ObjectPoints_DynamicDowncastFrom_MR_VisualObject().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a ObjectPoints.
Calls MR_ObjectPoints_MutableDynamicDowncastFrom_MR_VisualObject().
| auto meshlib::ObjectPoints::get_all_visualize_properties | ( | ) | const -> meshlib::Owned< meshlib::std_vector_MR_ViewportMask > |
get all visualize properties masks Generated from method MR::ObjectPoints::getAllVisualizeProperties.
Calls MR_ObjectPoints_getAllVisualizeProperties().
| auto meshlib::ObjectPoints::get_ambient_strength | ( | ) | const -> f32 |
returns intensity of non-directional light Generated from method MR::ObjectPoints::getAmbientStrength.
Calls MR_ObjectPoints_getAmbientStrength().
| auto meshlib::ObjectPoints::get_back_color | ( | viewportId:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns backward color of object in given viewport Generated from method MR::ObjectPoints::getBackColor.
Calls MR_ObjectPoints_getBackColor().
| auto meshlib::ObjectPoints::get_back_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
returns backward color of object in all viewports Generated from method MR::ObjectPoints::getBackColorsForAllViewports.
Calls MR_ObjectPoints_getBackColorsForAllViewports().
| auto meshlib::ObjectPoints::get_bounding_box | ( | ) | const -> meshlib::Box3f |
returns cached bounding box of this object in local coordinates Generated from method MR::ObjectPoints::getBoundingBox.
Calls MR_ObjectPoints_getBoundingBox().
| auto meshlib::ObjectPoints::get_coloring_type | ( | ) | const -> meshlib::ColoringType |
returns the current coloring mode of the object Generated from method MR::ObjectPoints::getColoringType.
Calls MR_ObjectPoints_getColoringType().
| auto meshlib::ObjectPoints::get_dirty_flags | ( | ) | const -> core::ffi::c_uint |
returns current dirty flags for the object Generated from method MR::ObjectPoints::getDirtyFlags.
Calls MR_ObjectPoints_getDirtyFlags().
| auto meshlib::ObjectPoints::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::ObjectPoints::getFrontColor.
Calls MR_ObjectPoints_getFrontColor().
| auto meshlib::ObjectPoints::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::ObjectPoints::getFrontColorsForAllViewports.
Calls MR_ObjectPoints_getFrontColorsForAllViewports().
| auto meshlib::ObjectPoints::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::ObjectPoints::getGlobalAlpha.
Calls MR_ObjectPoints_getGlobalAlpha().
| auto meshlib::ObjectPoints::get_global_alpha_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_unsigned_char |
returns global transparency alpha of object in all viewports Generated from method MR::ObjectPoints::getGlobalAlphaForAllViewports.
Calls MR_ObjectPoints_getGlobalAlphaForAllViewports().
| auto meshlib::ObjectPoints::get_info_lines | ( | ) | const -> meshlib::Owned< meshlib::std_vector_std_string > |
Generated from method MR::ObjectPoints::getInfoLines.
Calls MR_ObjectPoints_getInfoLines().
| auto meshlib::ObjectPoints::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::ObjectPoints::getMaxRenderingPoints.
Calls MR_ObjectPoints_getMaxRenderingPoints().
| auto meshlib::ObjectPoints::get_model_hash | ( | ) | const -> usize |
return hash of model (or hash object pointer if object has no model) Generated from method MR::ObjectPoints::getModelHash.
Calls MR_ObjectPoints_getModelHash().
| auto meshlib::ObjectPoints::get_point_size | ( | ) | const -> f32 |
returns size of points on screen in pixels Generated from method MR::ObjectPoints::getPointSize.
Calls MR_ObjectPoints_getPointSize().
| auto meshlib::ObjectPoints::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::ObjectPoints::getRedrawFlag.
Calls MR_ObjectPoints_getRedrawFlag().
| auto meshlib::ObjectPoints::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::ObjectPoints::getRenderDiscretization.
Calls MR_ObjectPoints_getRenderDiscretization().
| auto meshlib::ObjectPoints::get_selected_points | ( | ) | const -> &meshlib::VertBitSet |
gets current selected points Generated from method MR::ObjectPoints::getSelectedPoints.
Calls MR_ObjectPoints_getSelectedPoints().
| auto meshlib::ObjectPoints::get_selected_points_or_all | ( | ) | const -> &meshlib::VertBitSet |
returns selected points if any, otherwise returns all valid points Generated from method MR::ObjectPoints::getSelectedPointsOrAll.
Calls MR_ObjectPoints_getSelectedPointsOrAll().
| auto meshlib::ObjectPoints::get_selected_vertices_color | ( | id:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns colors of selected vertices Generated from method MR::ObjectPoints::getSelectedVerticesColor.
Calls MR_ObjectPoints_getSelectedVerticesColor().
| auto meshlib::ObjectPoints::get_selected_vertices_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::ObjectPoints::getSelectedVerticesColorsForAllViewports.
Calls MR_ObjectPoints_getSelectedVerticesColorsForAllViewports().
| auto meshlib::ObjectPoints::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::ObjectPoints::getSharedPtr.
Calls MR_ObjectPoints_getSharedPtr().
| auto meshlib::ObjectPoints::get_shininess | ( | ) | const -> f32 |
returns the current shininess visual value Generated from method MR::ObjectPoints::getShininess.
Calls MR_ObjectPoints_getShininess().
| auto meshlib::ObjectPoints::get_specular_strength | ( | ) | const -> f32 |
returns intensity of reflections Generated from method MR::ObjectPoints::getSpecularStrength.
Calls MR_ObjectPoints_getSpecularStrength().
| auto meshlib::ObjectPoints::get_verts_color_map | ( | ) | const -> &meshlib::VertColors |
returns per-point colors of the object Generated from method MR::ObjectPoints::getVertsColorMap.
Calls MR_ObjectPoints_getVertsColorMap().
| auto meshlib::ObjectPoints::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::ObjectPoints::getVisualizeProperty.
Calls MR_ObjectPoints_getVisualizeProperty().
| auto meshlib::ObjectPoints::get_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> &meshlib::ViewportMask |
returns mask of viewports where given property is set Generated from method MR::ObjectPoints::getVisualizePropertyMask.
Calls MR_ObjectPoints_getVisualizePropertyMask().
| auto meshlib::ObjectPoints::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::ObjectPoints::getWorldBox.
Calls MR_ObjectPoints_getWorldBox().
| auto meshlib::ObjectPoints::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::ObjectPoints::getWorldTreeBox.
Calls MR_ObjectPoints_getWorldTreeBox().
| auto meshlib::ObjectPoints::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::ObjectPoints::globalClippedByPlane.
Calls MR_ObjectPoints_globalClippedByPlane().
| auto meshlib::ObjectPoints::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::ObjectPoints::globalClippedByPlaneMask.
Calls MR_ObjectPoints_globalClippedByPlaneMask().
| auto meshlib::ObjectPoints::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::ObjectPoints::globalVisibility.
Calls MR_ObjectPoints_globalVisibility().
| auto meshlib::ObjectPoints::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::ObjectPoints::globalVisibilityMask.
Calls MR_ObjectPoints_globalVisibilityMask().
| auto meshlib::ObjectPoints::has_model | ( | ) | const -> bool |
Generated from method MR::ObjectPoints::hasModel.
Calls MR_ObjectPoints_hasModel().
| auto meshlib::ObjectPoints::has_visual_representation | ( | ) | const -> bool |
Generated from method MR::ObjectPoints::hasVisualRepresentation.
Calls MR_ObjectPoints_hasVisualRepresentation().
| auto meshlib::ObjectPoints::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::ObjectPoints::heapBytes.
Calls MR_ObjectPoints_heapBytes().
| auto meshlib::ObjectPoints::is_ancestor | ( | ancestor:Option<&meshlib::Object > | ) | const -> bool |
return true if given object is ancestor of this one, false otherwise Generated from method MR::ObjectPoints::isAncestor.
Calls MR_ObjectPoints_isAncestor().
| auto meshlib::ObjectPoints::is_ancillary | ( | ) | const -> bool |
Generated from method MR::ObjectPoints::isAncillary.
Calls MR_ObjectPoints_isAncillary().
| auto meshlib::ObjectPoints::is_global_ancillary | ( | ) | const -> bool |
returns true if the object or any of its ancestors are ancillary Generated from method MR::ObjectPoints::isGlobalAncillary.
Calls MR_ObjectPoints_isGlobalAncillary().
| auto meshlib::ObjectPoints::is_locked | ( | ) | const -> bool |
object properties lock for UI Generated from method MR::ObjectPoints::isLocked.
Calls MR_ObjectPoints_isLocked().
| auto meshlib::ObjectPoints::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::ObjectPoints::isParentLocked.
Calls MR_ObjectPoints_isParentLocked().
| auto meshlib::ObjectPoints::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::ObjectPoints::isPickable.
Calls MR_ObjectPoints_isPickable().
| auto meshlib::ObjectPoints::is_selected | ( | ) | const -> bool |
Generated from method MR::ObjectPoints::isSelected.
Calls MR_ObjectPoints_isSelected().
| auto meshlib::ObjectPoints::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::ObjectPoints::isVisible.
Calls MR_ObjectPoints_isVisible().
|
static |
default value for maximum rendered points number Returns a pointer to a member variable of class MR::ObjectPoints named MaxRenderingPointsDefault.
Calls MR_ObjectPoints_Get_MaxRenderingPointsDefault().
|
static |
recommended value for maximum rendered points number to disable discretization Returns a pointer to a member variable of class MR::ObjectPoints named MaxRenderingPointsUnlimited.
Calls MR_ObjectPoints_Get_MaxRenderingPointsUnlimited().
| auto meshlib::ObjectPoints::name | ( | ) | const -> &meshlib::std_string |
Generated from method MR::ObjectPoints::name.
Calls MR_ObjectPoints_name().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_ObjectPoints_DefaultConstruct().
| auto meshlib::ObjectPoints::num_rendering_valid_points | ( | ) | const -> usize |
returns count of valid points that will be rendered Generated from method MR::ObjectPoints::numRenderingValidPoints.
Calls MR_ObjectPoints_numRenderingValidPoints().
| auto meshlib::ObjectPoints::num_selected_points | ( | ) | const -> usize |
returns cached information about the number of selected points Generated from method MR::ObjectPoints::numSelectedPoints.
Calls MR_ObjectPoints_numSelectedPoints().
| auto meshlib::ObjectPoints::num_valid_points | ( | ) | const -> usize |
returns cached information about the number of valid points Generated from method MR::ObjectPoints::numValidPoints.
Calls MR_ObjectPoints_numValidPoints().
| auto meshlib::ObjectPoints::point_cloud | ( | ) | const -> &meshlib::std_shared_ptr_const_MR_PointCloud |
Calls MR_ObjectPoints_pointCloud().
| auto meshlib::ObjectPoints::point_cloud_part | ( | ) | const -> meshlib::Owned< meshlib::PointCloudPart > |
Calls MR_ObjectPoints_pointCloudPart().
| auto meshlib::ObjectPoints::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::ObjectPoints::pointCloudPtr.
Calls MR_ObjectPoints_pointCloudPtr().
| void meshlib::ObjectPoints::remove_all_children | ( | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::ObjectPoints::removeAllChildren.
Calls MR_ObjectPoints_removeAllChildren().
| auto meshlib::ObjectPoints::remove_tag | ( | tag:& | str | ) | -> bool |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ObjectPoints::removeTag.
Calls MR_ObjectPoints_removeTag().
| auto meshlib::ObjectPoints::render | ( | _1:&meshlib::ModelRenderParams | ) | const -> bool |
draws this object for visualization Returns true if something was drawn. Generated from method MR::ObjectPoints::render.
Calls MR_ObjectPoints_render().
| void meshlib::ObjectPoints::render_for_picker | ( | _1:&meshlib::ModelBaseRenderParams | , |
| _2:core::ffi::c_uint | ) const |
draws this object for picking Generated from method MR::ObjectPoints::renderForPicker.
Calls MR_ObjectPoints_renderForPicker().
| void meshlib::ObjectPoints::render_ui | ( | params:&meshlib::UiRenderParams | ) | const |
draws this object for 2d UI Generated from method MR::ObjectPoints::renderUi.
Calls MR_ObjectPoints_renderUi().
| void meshlib::ObjectPoints::reset_colors | ( | ) |
reset all object colors to their default values from the current theme Generated from method MR::ObjectPoints::resetColors.
Calls MR_ObjectPoints_resetColors().
| void meshlib::ObjectPoints::reset_dirty | ( | ) | const |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::ObjectPoints::resetDirty.
Calls MR_ObjectPoints_resetDirty().
| void meshlib::ObjectPoints::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::ObjectPoints::resetDirtyExceptMask.
Calls MR_ObjectPoints_resetDirtyExceptMask().
| void meshlib::ObjectPoints::reset_front_color | ( | ) |
reset basic object colors to their default values from the current theme Generated from method MR::ObjectPoints::resetFrontColor.
Calls MR_ObjectPoints_resetFrontColor().
| void meshlib::ObjectPoints::reset_redraw_flag | ( | ) | const |
Generated from method MR::ObjectPoints::resetRedrawFlag.
Calls MR_ObjectPoints_resetRedrawFlag().
| void meshlib::ObjectPoints::reset_xf | ( | id:Option<&meshlib::ViewportId > | ) |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectPoints::resetXf.
Calls MR_ObjectPoints_resetXf().
| auto meshlib::ObjectPoints::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::ObjectPoints::sameModels.
Calls MR_ObjectPoints_sameModels().
| auto meshlib::ObjectPoints::select | ( | on:bool | ) | -> bool |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::ObjectPoints::select.
Calls MR_ObjectPoints_select().
| void meshlib::ObjectPoints::select_points | ( | newSelection:&meshlib::VertBitSet | ) |
sets current selected points Generated from method MR::ObjectPoints::selectPoints.
Calls MR_ObjectPoints_selectPoints().
| auto meshlib::ObjectPoints::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::ObjectPoints::serializeFormat.
Calls MR_ObjectPoints_serializeFormat().
| void meshlib::ObjectPoints::set_all_visualize_properties | ( | properties:&meshlib::std_vector_MR_ViewportMask | ) |
set all visualize properties masks Generated from method MR::ObjectPoints::setAllVisualizeProperties.
Calls MR_ObjectPoints_setAllVisualizeProperties().
| void meshlib::ObjectPoints::set_ambient_strength | ( | ambientStrength:f32 | ) |
sets intensity of non-directional light Generated from method MR::ObjectPoints::setAmbientStrength.
Calls MR_ObjectPoints_setAmbientStrength().
| void meshlib::ObjectPoints::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::ObjectPoints::setAncillary.
Calls MR_ObjectPoints_setAncillary().
| void meshlib::ObjectPoints::set_back_color | ( | color:&meshlib::Color | , |
| viewportId:Option<&meshlib::ViewportId > | ) |
sets backward color of object in given viewport Generated from method MR::ObjectPoints::setBackColor.
Calls MR_ObjectPoints_setBackColor().
| void meshlib::ObjectPoints::set_back_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
sets backward color of object in all viewports Generated from method MR::ObjectPoints::setBackColorsForAllViewports.
Calls MR_ObjectPoints_setBackColorsForAllViewports().
| void meshlib::ObjectPoints::set_coloring_type | ( | coloringType:meshlib::ColoringType | ) |
sets coloring mode of the object with given argument Generated from method MR::ObjectPoints::setColoringType.
Calls MR_ObjectPoints_setColoringType().
| void meshlib::ObjectPoints::set_dirty_flags | ( | mask:core::ffi::c_uint | , |
| invalidateCaches:Option< bool > | ) |
Generated from method MR::ObjectPoints::setDirtyFlags.
Calls MR_ObjectPoints_setDirtyFlags().
| void meshlib::ObjectPoints::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::ObjectPoints::setFrontColor.
Calls MR_ObjectPoints_setFrontColor().
| void meshlib::ObjectPoints::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::ObjectPoints::setFrontColorsForAllViewports.
Calls MR_ObjectPoints_setFrontColorsForAllViewports().
| void meshlib::ObjectPoints::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::ObjectPoints::setGlobalAlpha.
Calls MR_ObjectPoints_setGlobalAlpha().
| void meshlib::ObjectPoints::set_global_alpha_for_all_viewports | ( | val:&meshlib::ViewportProperty_unsigned_char | ) |
sets global transparency alpha of object in all viewports Generated from method MR::ObjectPoints::setGlobalAlphaForAllViewports.
Calls MR_ObjectPoints_setGlobalAlphaForAllViewports().
| void meshlib::ObjectPoints::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::ObjectPoints::setGlobalClippedByPlane.
Calls MR_ObjectPoints_setGlobalClippedByPlane().
| void meshlib::ObjectPoints::set_global_visibility | ( | on:bool | , |
| viewportMask:Option<&meshlib::ViewportMask > | ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectPoints::setGlobalVisibility.
Calls MR_ObjectPoints_setGlobalVisibility().
| void meshlib::ObjectPoints::set_locked | ( | on:bool | ) |
Generated from method MR::ObjectPoints::setLocked.
Calls MR_ObjectPoints_setLocked().
| void meshlib::ObjectPoints::set_max_rendering_points | ( | val:core::ffi::c_int | ) |
sets maximal number of points that will be rendered
Calls MR_ObjectPoints_setMaxRenderingPoints().
| void meshlib::ObjectPoints::set_name | ( | name:& | str | ) |
Generated from method MR::ObjectPoints::setName.
Calls MR_ObjectPoints_setName().
| void meshlib::ObjectPoints::set_parent_locked | ( | lock:bool | ) |
Generated from method MR::ObjectPoints::setParentLocked.
Calls MR_ObjectPoints_setParentLocked().
| void meshlib::ObjectPoints::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::ObjectPoints::setPickable.
Calls MR_ObjectPoints_setPickable().
| void meshlib::ObjectPoints::set_point_cloud | ( | pointCloud:&meshlib::std_shared_ptr_MR_PointCloud | ) |
Generated from method MR::ObjectPoints::setPointCloud.
Calls MR_ObjectPoints_setPointCloud().
| void meshlib::ObjectPoints::set_point_size | ( | size:f32 | ) |
sets size of points on screen in pixels Generated from method MR::ObjectPoints::setPointSize.
Calls MR_ObjectPoints_setPointSize().
| void meshlib::ObjectPoints::set_selected_vertices_color | ( | color:&meshlib::Color | , |
| id:Option<&meshlib::ViewportId > | ) |
sets colors of selected vertices Generated from method MR::ObjectPoints::setSelectedVerticesColor.
Calls MR_ObjectPoints_setSelectedVerticesColor().
| void meshlib::ObjectPoints::set_selected_vertices_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
Generated from method MR::ObjectPoints::setSelectedVerticesColorsForAllViewports.
Calls MR_ObjectPoints_setSelectedVerticesColorsForAllViewports().
| void meshlib::ObjectPoints::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::ObjectPoints::setSerializeFormat.
Calls MR_ObjectPoints_setSerializeFormat().
| void meshlib::ObjectPoints::set_shininess | ( | shininess:f32 | ) |
sets shininess visual value of the object with given argument Generated from method MR::ObjectPoints::setShininess.
Calls MR_ObjectPoints_setShininess().
| void meshlib::ObjectPoints::set_specular_strength | ( | specularStrength:f32 | ) |
sets intensity of reflections Generated from method MR::ObjectPoints::setSpecularStrength.
Calls MR_ObjectPoints_setSpecularStrength().
| void meshlib::ObjectPoints::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::ObjectPoints::setUseDefaultScenePropertiesOnDeserialization.
Calls MR_ObjectPoints_setUseDefaultScenePropertiesOnDeserialization().
| void meshlib::ObjectPoints::set_verts_color_map | ( | vertsColorMap:&meshlib::VertColors | ) |
sets per-point colors of the object Generated from method MR::ObjectPoints::setVertsColorMap.
Calls MR_ObjectPoints_setVertsColorMap().
| void meshlib::ObjectPoints::set_visibility_mask | ( | viewportMask:&meshlib::ViewportMask | ) |
specifies object visibility as bitmask of viewports Generated from method MR::ObjectPoints::setVisibilityMask.
Calls MR_ObjectPoints_setVisibilityMask().
| void meshlib::ObjectPoints::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::ObjectPoints::setVisible.
Calls MR_ObjectPoints_setVisible().
| void meshlib::ObjectPoints::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::ObjectPoints::setVisualizeProperty.
Calls MR_ObjectPoints_setVisualizeProperty().
| void meshlib::ObjectPoints::set_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
set visual property mask Generated from method MR::ObjectPoints::setVisualizePropertyMask.
Calls MR_ObjectPoints_setVisualizePropertyMask().
| void meshlib::ObjectPoints::set_world_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectPoints::setWorldXf.
Calls MR_ObjectPoints_setWorldXf().
| void meshlib::ObjectPoints::set_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectPoints::setXf.
Calls MR_ObjectPoints_setXf().
| void meshlib::ObjectPoints::set_xfs_for_all_viewports | ( | xf:&meshlib::ViewportProperty_MR_AffineXf3f | ) |
modifies xfs for all viewports at once Generated from method MR::ObjectPoints::setXfsForAllViewports.
Calls MR_ObjectPoints_setXfsForAllViewports().
| auto meshlib::ObjectPoints::shallow_clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::ObjectPoints::shallowClone.
Calls MR_ObjectPoints_shallowClone().
| auto meshlib::ObjectPoints::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::ObjectPoints::shallowCloneTree.
Calls MR_ObjectPoints_shallowCloneTree().
| void meshlib::ObjectPoints::sort_children | ( | ) |
sort recognized children by name Generated from method MR::ObjectPoints::sortChildren.
Calls MR_ObjectPoints_sortChildren().
|
static |
Generated from method MR::ObjectPoints::StaticClassName.
Calls MR_ObjectPoints_StaticClassName().
|
static |
Generated from method MR::ObjectPoints::StaticClassNameInPlural.
Calls MR_ObjectPoints_StaticClassNameInPlural().
|
static |
Static downcast from the base class MR::Object.
Calls MR_ObjectPoints_StaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a ObjectPoints.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_ObjectPoints_StaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a ObjectPoints.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_ObjectPoints_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a ObjectPoints.
|
static |
Static downcast from the base class MR::Object.
Calls MR_ObjectPoints_MutableStaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a ObjectPoints.
|
static |
Static downcast from the base class MR::ObjectPointsHolder.
Calls MR_ObjectPoints_StaticDowncastFrom_MR_ObjectPointsHolder(). Undefined behavior if the object isn't actually a ObjectPoints.
|
static |
Static downcast from the base class MR::ObjectPointsHolder.
Calls MR_ObjectPoints_MutableStaticDowncastFrom_MR_ObjectPointsHolder(). Undefined behavior if the object isn't actually a ObjectPoints.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_ObjectPoints_StaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a ObjectPoints.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_ObjectPoints_MutableStaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a ObjectPoints.
|
static |
Generated from method MR::ObjectPoints::StaticTypeName.
Calls MR_ObjectPoints_StaticTypeName().
| auto meshlib::ObjectPoints::supports_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> bool |
Generated from method MR::ObjectPoints::supportsVisualizeProperty.
Calls MR_ObjectPoints_supportsVisualizeProperty().
| void meshlib::ObjectPoints::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::ObjectPoints::swap.
Calls MR_ObjectPoints_swap().
| void meshlib::ObjectPoints::swap_point_cloud | ( | points:&mut meshlib::std_shared_ptr_MR_PointCloud | ) |
sets given point cloud to this, and returns back previous mesh of this; does not touch selection Generated from method MR::ObjectPoints::swapPointCloud.
Calls MR_ObjectPoints_swapPointCloud().
| auto meshlib::ObjectPoints::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::ObjectPoints::tags.
Calls MR_ObjectPoints_tags().
| void meshlib::ObjectPoints::toggle_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
toggle visual property in all viewports specified by the mask Generated from method MR::ObjectPoints::toggleVisualizeProperty.
Calls MR_ObjectPoints_toggleVisualizeProperty().
| auto meshlib::ObjectPoints::type_name | ( | ) | const -> Option<&core::ffi::c_char > |
Generated from method MR::ObjectPoints::typeName.
Calls MR_ObjectPoints_typeName().
| auto meshlib::ObjectPoints::upcast_to_object | ( | ) | const -> &meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_ObjectPoints_UpcastTo_MR_Object().
| auto meshlib::ObjectPoints::upcast_to_object_children_holder | ( | ) | const -> &meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_ObjectPoints_UpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::ObjectPoints::upcast_to_object_children_holder_mut | ( | ) | -> &mut meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_ObjectPoints_MutableUpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::ObjectPoints::upcast_to_object_mut | ( | ) | -> &mut meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_ObjectPoints_MutableUpcastTo_MR_Object().
| auto meshlib::ObjectPoints::upcast_to_object_points_holder | ( | ) | const -> &meshlib::ObjectPointsHolder |
Upcasts to the base class MR::ObjectPointsHolder.
Calls MR_ObjectPoints_UpcastTo_MR_ObjectPointsHolder().
| auto meshlib::ObjectPoints::upcast_to_object_points_holder_mut | ( | ) | -> &mut meshlib::ObjectPointsHolder |
Upcasts to the base class MR::ObjectPointsHolder.
Calls MR_ObjectPoints_MutableUpcastTo_MR_ObjectPointsHolder().
| auto meshlib::ObjectPoints::upcast_to_visual_object | ( | ) | const -> &meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_ObjectPoints_UpcastTo_MR_VisualObject().
| auto meshlib::ObjectPoints::upcast_to_visual_object_mut | ( | ) | -> &mut meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_ObjectPoints_MutableUpcastTo_MR_VisualObject().
| void meshlib::ObjectPoints::update_selected_points | ( | selection:&mut meshlib::VertBitSet | ) |
swaps current selected points with the argument Generated from method MR::ObjectPoints::updateSelectedPoints.
Calls MR_ObjectPoints_updateSelectedPoints().
| void meshlib::ObjectPoints::update_verts_color_map | ( | vertsColorMap:&mut meshlib::VertColors | ) |
swaps per-point colors of the object with given argument Generated from method MR::ObjectPoints::updateVertsColorMap.
Calls MR_ObjectPoints_updateVertsColorMap().
| auto meshlib::ObjectPoints::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::ObjectPoints::useDefaultScenePropertiesOnDeserialization.
Calls MR_ObjectPoints_useDefaultScenePropertiesOnDeserialization().
| auto meshlib::ObjectPoints::var_point_cloud | ( | ) | -> &meshlib::std_shared_ptr_MR_PointCloud |
returns variable point cloud, if const point cloud is needed use pointCloudPtr() instead Generated from method MR::ObjectPoints::varPointCloud.
Calls MR_ObjectPoints_varPointCloud().
| auto meshlib::ObjectPoints::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::ObjectPoints::varPointCloudPtr.
Calls MR_ObjectPoints_varPointCloudPtr().
| auto meshlib::ObjectPoints::visibility_mask | ( | ) | const -> meshlib::Owned< meshlib::ViewportMask > |
gets object visibility as bitmask of viewports Generated from method MR::ObjectPoints::visibilityMask.
Calls MR_ObjectPoints_visibilityMask().
| auto meshlib::ObjectPoints::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::ObjectPoints::worldXf. |
Calls MR_ObjectPoints_worldXf().
| auto meshlib::ObjectPoints::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::ObjectPoints::xf. |
Calls MR_ObjectPoints_xf().
| auto meshlib::ObjectPoints::xfs_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_AffineXf3f |
returns xfs for all viewports, combined into a single object Generated from method MR::ObjectPoints::xfsForAllViewports.
Calls MR_ObjectPoints_xfsForAllViewports().