MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::ObjectPoints:

Public Member Functions

auto assign_from_another (_other:meshlib::Owned< meshlib::ObjectPoints >) -> &mut meshlib::ObjectPoints
auto type_name () const -> Option<&core::ffi::c_char >
auto class_name () const -> meshlib::Owned< meshlib::std_string >
auto class_name_in_plural () const -> meshlib::Owned< meshlib::std_string >
auto var_point_cloud () -> &meshlib::std_shared_ptr_MR_PointCloud
auto clone () const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >
auto shallow_clone () const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >
void set_point_cloud (pointCloud:&meshlib::std_shared_ptr_MR_PointCloud)
void swap_point_cloud (points:&mut meshlib::std_shared_ptr_MR_PointCloud)
auto get_info_lines () const -> meshlib::Owned< meshlib::std_vector_std_string >
void apply_scale (scaleFactor:f32)
auto has_visual_representation () const -> bool
auto has_model () const -> bool
auto var_point_cloud_ptr () -> Option<&mut meshlib::PointCloud >
auto point_cloud_ptr () const -> Option<&meshlib::PointCloud >
auto point_cloud () const -> &meshlib::std_shared_ptr_const_MR_PointCloud
auto point_cloud_part () const -> meshlib::Owned< meshlib::PointCloudPart >
void set_dirty_flags (mask:core::ffi::c_uint, invalidateCaches:Option< bool >)
auto get_selected_points () const -> &meshlib::VertBitSet
void select_points (newSelection:&meshlib::VertBitSet)
void update_selected_points (selection:&mut meshlib::VertBitSet)
auto get_selected_points_or_all () const -> &meshlib::VertBitSet
auto get_selected_vertices_color (id:Option<&meshlib::ViewportId >) const -> &meshlib::Color
void set_selected_vertices_color (color:&meshlib::Color, id:Option<&meshlib::ViewportId >)
auto get_selected_vertices_colors_for_all_viewports () const -> &meshlib::ViewportProperty_MR_Color
void set_selected_vertices_colors_for_all_viewports (val:&meshlib::ViewportProperty_MR_Color)
void copy_all_solid_colors (other:&meshlib::ObjectPointsHolder)
auto supports_visualize_property (type:&meshlib::AnyVisualizeMaskEnum) const -> bool
auto get_verts_color_map () const -> &meshlib::VertColors
void set_verts_color_map (vertsColorMap:&meshlib::VertColors)
void update_verts_color_map (vertsColorMap:&mut meshlib::VertColors)
void copy_colors (src:&meshlib::ObjectPointsHolder, thisToSrc:&meshlib::VertMap, thisToSrcFaces:Option<&meshlib::FaceMap >)
auto get_all_visualize_properties () const -> meshlib::Owned< meshlib::std_vector_MR_ViewportMask >
auto get_visualize_property_mask (type:&meshlib::AnyVisualizeMaskEnum) const -> &meshlib::ViewportMask
void set_point_size (size:f32)
auto get_point_size () const -> f32
auto get_world_box (_1:Option<&meshlib::ViewportId >) const -> meshlib::Box3f
auto num_valid_points () const -> usize
auto num_selected_points () const -> usize
auto heap_bytes () const -> usize
auto get_render_discretization () const -> core::ffi::c_int
auto num_rendering_valid_points () const -> usize
auto get_max_rendering_points () const -> core::ffi::c_int
void set_max_rendering_points (val:core::ffi::c_int)
auto serialize_format () const -> Option<&core::ffi::c_char >
void set_serialize_format (newFormat:Option<&core::ffi::c_char >)
void reset_front_color ()
void reset_colors ()
void set_visualize_property (value:bool, type:&meshlib::AnyVisualizeMaskEnum, viewportMask:&meshlib::ViewportMask)
void set_visualize_property_mask (type:&meshlib::AnyVisualizeMaskEnum, viewportMask:&meshlib::ViewportMask)
auto get_visualize_property (type:&meshlib::AnyVisualizeMaskEnum, viewportMask:&meshlib::ViewportMask) const -> bool
void toggle_visualize_property (type:&meshlib::AnyVisualizeMaskEnum, viewportMask:&meshlib::ViewportMask)
void set_all_visualize_properties (properties:&meshlib::std_vector_MR_ViewportMask)
auto global_clipped_by_plane_mask () const -> meshlib::Owned< meshlib::ViewportMask >
auto global_clipped_by_plane (viewportMask:Option<&meshlib::ViewportMask >) const -> bool
void set_global_clipped_by_plane (on:bool, viewportMask:Option<&meshlib::ViewportMask >)
auto get_front_color (selected:Option< bool >, viewportId:Option<&meshlib::ViewportId >) const -> &meshlib::Color
void set_front_color (color:&meshlib::Color, selected:bool, viewportId:Option<&meshlib::ViewportId >)
auto get_front_colors_for_all_viewports (selected:Option< bool >) const -> &meshlib::ViewportProperty_MR_Color
void set_front_colors_for_all_viewports (val:&meshlib::ViewportProperty_MR_Color, selected:Option< bool >)
auto get_back_colors_for_all_viewports () const -> &meshlib::ViewportProperty_MR_Color
void set_back_colors_for_all_viewports (val:&meshlib::ViewportProperty_MR_Color)
auto get_back_color (viewportId:Option<&meshlib::ViewportId >) const -> &meshlib::Color
void set_back_color (color:&meshlib::Color, viewportId:Option<&meshlib::ViewportId >)
auto get_global_alpha (viewportId:Option<&meshlib::ViewportId >) const -> &core::ffi::c_uchar
void set_global_alpha (alpha:core::ffi::c_uchar, viewportId:Option<&meshlib::ViewportId >)
auto get_global_alpha_for_all_viewports () const -> &meshlib::ViewportProperty_unsigned_char
void set_global_alpha_for_all_viewports (val:&meshlib::ViewportProperty_unsigned_char)
auto get_dirty_flags () const -> core::ffi::c_uint
void reset_dirty () const
void reset_dirty_except_mask (mask:core::ffi::c_uint) const
auto get_bounding_box () const -> meshlib::Box3f
auto get_redraw_flag (viewportMask:&meshlib::ViewportMask) const -> bool
auto is_pickable (viewportMask:Option<&meshlib::ViewportMask >) const -> bool
void set_pickable (on:bool, viewportMask:Option<&meshlib::ViewportMask >)
auto get_coloring_type () const -> meshlib::ColoringType
void set_coloring_type (coloringType:meshlib::ColoringType)
auto get_shininess () const -> f32
void set_shininess (shininess:f32)
auto get_specular_strength () const -> f32
void set_specular_strength (specularStrength:f32)
auto get_ambient_strength () const -> f32
void set_ambient_strength (ambientStrength:f32)
auto render (_1:&meshlib::ModelRenderParams) const -> bool
void render_for_picker (_1:&meshlib::ModelBaseRenderParams, _2:core::ffi::c_uint) const
void render_ui (params:&meshlib::UiRenderParams) const
auto use_default_scene_properties_on_deserialization () const -> bool
void set_use_default_scene_properties_on_deserialization (useDefaultScenePropertiesOnDeserialization:bool)
auto name () const -> &meshlib::std_string
void set_name (name:&str)
auto xf (id:Option<&meshlib::ViewportId >, isDef:Option<&mut bool >) const -> &meshlib::AffineXf3f
void set_xf (xf:&meshlib::AffineXf3f, id:Option<&meshlib::ViewportId >)
void reset_xf (id:Option<&meshlib::ViewportId >)
auto xfs_for_all_viewports () const -> &meshlib::ViewportProperty_MR_AffineXf3f
void set_xfs_for_all_viewports (xf:&meshlib::ViewportProperty_MR_AffineXf3f)
auto world_xf (id:Option<&meshlib::ViewportId >, isDef:Option<&mut bool >) const -> meshlib::AffineXf3f
void set_world_xf (xf:&meshlib::AffineXf3f, id:Option<&meshlib::ViewportId >)
auto global_visibility_mask () const -> meshlib::Owned< meshlib::ViewportMask >
auto global_visibility (viewportMask:Option<&meshlib::ViewportMask >) const -> bool
void set_global_visibility (on:bool, viewportMask:Option<&meshlib::ViewportMask >)
auto is_locked () const -> bool
void set_locked (on:bool)
auto is_parent_locked () const -> bool
void set_parent_locked (lock:bool)
auto is_ancestor (ancestor:Option<&meshlib::Object >) const -> bool
auto detach_from_parent () -> bool
auto const_children () const -> meshlib::Owned< meshlib::ConstChildren >
auto add_child (child:&meshlib::std_shared_ptr_MR_Object, recognizedChild:Option< bool >) -> bool
auto add_child_before (newChild:&meshlib::std_shared_ptr_MR_Object, existingChild:&meshlib::std_shared_ptr_MR_Object) -> bool
void remove_all_children ()
void sort_children ()
auto select (on:bool) -> bool
auto is_selected () const -> bool
void set_ancillary (ancillary:bool)
auto is_ancillary () const -> bool
auto is_global_ancillary () const -> bool
void set_visible (on:bool, viewportMask:Option<&meshlib::ViewportMask >)
auto is_visible (viewportMask:Option<&meshlib::ViewportMask >) const -> bool
void set_visibility_mask (viewportMask:&meshlib::ViewportMask)
auto visibility_mask () const -> meshlib::Owned< meshlib::ViewportMask >
void reset_redraw_flag () const
auto clone_tree () const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >
auto shallow_clone_tree () const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >
void swap (other:&mut meshlib::Object)
auto get_world_tree_box (_1:Option<&meshlib::ViewportId >) const -> meshlib::Box3f
auto tags () const -> &meshlib::std_set_std_string
auto add_tag (tag:&str) -> bool
auto remove_tag (tag:&str) -> bool
auto same_models (other:&meshlib::Object) const -> bool
auto get_model_hash () const -> usize
auto get_shared_ptr () const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >
auto upcast_to_object_children_holder () const -> &meshlib::ObjectChildrenHolder
auto upcast_to_object_children_holder_mut () -> &mut meshlib::ObjectChildrenHolder
auto upcast_to_object () const -> &meshlib::Object
auto upcast_to_object_mut () -> &mut meshlib::Object
auto upcast_to_visual_object () const -> &meshlib::VisualObject
auto upcast_to_visual_object_mut () -> &mut meshlib::VisualObject
auto upcast_to_object_points_holder () const -> &meshlib::ObjectPointsHolder
auto upcast_to_object_points_holder_mut () -> &mut meshlib::ObjectPointsHolder

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::ObjectPoints >
static auto construct_from_another (_other:meshlib::Owned< meshlib::ObjectPoints >) -> meshlib::Owned< meshlib::ObjectPoints >
static auto construct (objMesh:&meshlib::ObjectMesh, normals:Option< meshlib::VertNormalsMode >) -> meshlib::Owned< meshlib::ObjectPoints >
static auto static_type_name () -> *const core::ffi::c_char
static auto static_class_name () -> *const core::ffi::c_char
static auto static_class_name_in_plural () -> *const core::ffi::c_char
static auto max_rendering_points_default () -> *const core::ffi::c_int
static auto max_rendering_points_unlimited () -> *const core::ffi::c_int
static auto static_downcast_from_object_children_holder (object:&meshlib::ObjectChildrenHolder) -> &Self
static auto static_downcast_from_object_children_holder_mut (object:&mut meshlib::ObjectChildrenHolder) -> &mut Self
static auto static_downcast_from_object (object:&meshlib::Object) -> &Self
static auto static_downcast_from_object_mut (object:&mut meshlib::Object) -> &mut Self
static auto dynamic_downcast_from_object (object:&meshlib::Object) -> Option<&Self >
static auto dynamic_downcast_from_object_mut (object:&mut meshlib::Object) -> Option<&mut Self >
static auto static_downcast_from_visual_object (object:&meshlib::VisualObject) -> &Self
static auto static_downcast_from_visual_object_mut (object:&mut meshlib::VisualObject) -> &mut Self
static auto dynamic_downcast_from_visual_object (object:&meshlib::VisualObject) -> Option<&Self >
static auto dynamic_downcast_from_visual_object_mut (object:&mut meshlib::VisualObject) -> Option<&mut Self >
static auto static_downcast_from_object_points_holder (object:&meshlib::ObjectPointsHolder) -> &Self
static auto static_downcast_from_object_points_holder_mut (object:&mut meshlib::ObjectPointsHolder) -> &mut Self
static auto dynamic_downcast_from_object_points_holder (object:&meshlib::ObjectPointsHolder) -> Option<&Self >
static auto dynamic_downcast_from_object_points_holder_mut (object:&mut meshlib::ObjectPointsHolder) -> Option<&mut Self >
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)

Detailed Description

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>.

Member Function Documentation

◆ add_child()

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;

Parameters
recognizedChildif 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().

◆ add_child_before()

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().

◆ add_tag()

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().

◆ apply_scale()

void meshlib::ObjectPoints::apply_scale ( scaleFactor:f32 )

Generated from method MR::ObjectPoints::applyScale.

Calls MR_ObjectPoints_applyScale().

◆ assign_from_another()

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.

◆ class_name()

auto meshlib::ObjectPoints::class_name ( ) const -> meshlib::Owned< meshlib::std_string >

Generated from method MR::ObjectPoints::className.

Calls MR_ObjectPoints_className().

◆ class_name_in_plural()

auto meshlib::ObjectPoints::class_name_in_plural ( ) const -> meshlib::Owned< meshlib::std_string >

Generated from method MR::ObjectPoints::classNameInPlural.

Calls MR_ObjectPoints_classNameInPlural().

◆ clone()

auto meshlib::ObjectPoints::clone ( ) const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >

Generated from method MR::ObjectPoints::clone.

Calls MR_ObjectPoints_clone().

◆ clone_tree()

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().

◆ const_children()

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().

◆ construct()

auto meshlib::ObjectPoints::construct ( objMesh:&meshlib::ObjectMesh ,
normals:Option< meshlib::VertNormalsMode >  ) -> meshlib::Owned< meshlib::ObjectPoints >
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.

◆ construct_from_another()

auto meshlib::ObjectPoints::construct_from_another ( _other:meshlib::Owned< meshlib::ObjectPoints > ) -> meshlib::Owned< meshlib::ObjectPoints >
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.

◆ copy_all_solid_colors()

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().

◆ copy_colors()

void meshlib::ObjectPoints::copy_colors ( src:&meshlib::ObjectPointsHolder ,
thisToSrc:&meshlib::VertMap ,
thisToSrcFaces:Option<&meshlib::FaceMap >  )

copies point colors from given source object

Parameters
srcusing given map
thisToSrcGenerated from method MR::ObjectPoints::copyColors.

Calls MR_ObjectPoints_copyColors().

◆ detach_from_parent()

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().

◆ dynamic_downcast_from_object()

auto meshlib::ObjectPoints::dynamic_downcast_from_object ( object:&meshlib::Object ) -> Option<&Self >
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().

◆ dynamic_downcast_from_object_mut()

auto meshlib::ObjectPoints::dynamic_downcast_from_object_mut ( object:&mut meshlib::Object ) -> Option<&mut Self >
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().

◆ dynamic_downcast_from_object_points_holder()

auto meshlib::ObjectPoints::dynamic_downcast_from_object_points_holder ( object:&meshlib::ObjectPointsHolder ) -> Option<&Self >
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().

◆ dynamic_downcast_from_object_points_holder_mut()

auto meshlib::ObjectPoints::dynamic_downcast_from_object_points_holder_mut ( object:&mut meshlib::ObjectPointsHolder ) -> Option<&mut Self >
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().

◆ dynamic_downcast_from_visual_object()

auto meshlib::ObjectPoints::dynamic_downcast_from_visual_object ( object:&meshlib::VisualObject ) -> Option<&Self >
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().

◆ dynamic_downcast_from_visual_object_mut()

auto meshlib::ObjectPoints::dynamic_downcast_from_visual_object_mut ( object:&mut meshlib::VisualObject ) -> Option<&mut Self >
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().

◆ get_all_visualize_properties()

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().

◆ get_ambient_strength()

auto meshlib::ObjectPoints::get_ambient_strength ( ) const -> f32

returns intensity of non-directional light Generated from method MR::ObjectPoints::getAmbientStrength.

Calls MR_ObjectPoints_getAmbientStrength().

◆ get_back_color()

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().

◆ get_back_colors_for_all_viewports()

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().

◆ get_bounding_box()

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().

◆ get_coloring_type()

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().

◆ get_dirty_flags()

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().

◆ get_front_color()

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().

◆ get_front_colors_for_all_viewports()

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().

◆ get_global_alpha()

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().

◆ get_global_alpha_for_all_viewports()

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().

◆ get_info_lines()

auto meshlib::ObjectPoints::get_info_lines ( ) const -> meshlib::Owned< meshlib::std_vector_std_string >

Generated from method MR::ObjectPoints::getInfoLines.

Calls MR_ObjectPoints_getInfoLines().

◆ get_max_rendering_points()

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().

◆ get_model_hash()

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().

◆ get_point_size()

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().

◆ get_redraw_flag()

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().

◆ get_render_discretization()

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().

◆ get_selected_points()

auto meshlib::ObjectPoints::get_selected_points ( ) const -> &meshlib::VertBitSet

gets current selected points Generated from method MR::ObjectPoints::getSelectedPoints.

Calls MR_ObjectPoints_getSelectedPoints().

◆ get_selected_points_or_all()

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().

◆ get_selected_vertices_color()

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().

◆ get_selected_vertices_colors_for_all_viewports()

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().

◆ get_shared_ptr()

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().

◆ get_shininess()

auto meshlib::ObjectPoints::get_shininess ( ) const -> f32

returns the current shininess visual value Generated from method MR::ObjectPoints::getShininess.

Calls MR_ObjectPoints_getShininess().

◆ get_specular_strength()

auto meshlib::ObjectPoints::get_specular_strength ( ) const -> f32

returns intensity of reflections Generated from method MR::ObjectPoints::getSpecularStrength.

Calls MR_ObjectPoints_getSpecularStrength().

◆ get_verts_color_map()

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().

◆ get_visualize_property()

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().

◆ get_visualize_property_mask()

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().

◆ get_world_box()

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().

◆ get_world_tree_box()

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().

◆ global_clipped_by_plane()

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().

◆ global_clipped_by_plane_mask()

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().

◆ global_visibility()

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().

◆ global_visibility_mask()

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().

◆ has_model()

auto meshlib::ObjectPoints::has_model ( ) const -> bool

Generated from method MR::ObjectPoints::hasModel.

Calls MR_ObjectPoints_hasModel().

◆ has_visual_representation()

auto meshlib::ObjectPoints::has_visual_representation ( ) const -> bool

Generated from method MR::ObjectPoints::hasVisualRepresentation.

Calls MR_ObjectPoints_hasVisualRepresentation().

◆ heap_bytes()

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().

◆ is_ancestor()

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().

◆ is_ancillary()

auto meshlib::ObjectPoints::is_ancillary ( ) const -> bool

Generated from method MR::ObjectPoints::isAncillary.

Calls MR_ObjectPoints_isAncillary().

◆ is_global_ancillary()

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().

◆ is_locked()

auto meshlib::ObjectPoints::is_locked ( ) const -> bool

object properties lock for UI Generated from method MR::ObjectPoints::isLocked.

Calls MR_ObjectPoints_isLocked().

◆ is_parent_locked()

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().

◆ is_pickable()

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().

◆ is_selected()

auto meshlib::ObjectPoints::is_selected ( ) const -> bool

Generated from method MR::ObjectPoints::isSelected.

Calls MR_ObjectPoints_isSelected().

◆ is_visible()

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().

◆ max_rendering_points_default()

auto meshlib::ObjectPoints::max_rendering_points_default ( ) -> *const core::ffi::c_int
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().

◆ max_rendering_points_unlimited()

auto meshlib::ObjectPoints::max_rendering_points_unlimited ( ) -> *const core::ffi::c_int
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().

◆ name()

auto meshlib::ObjectPoints::name ( ) const -> &meshlib::std_string

Generated from method MR::ObjectPoints::name.

Calls MR_ObjectPoints_name().

◆ new()

auto meshlib::ObjectPoints::new ( ) -> meshlib::Owned< meshlib::ObjectPoints >
static

Constructs an empty (default-constructed) instance.

Calls MR_ObjectPoints_DefaultConstruct().

◆ num_rendering_valid_points()

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().

◆ num_selected_points()

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().

◆ num_valid_points()

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().

◆ point_cloud()

auto meshlib::ObjectPoints::point_cloud ( ) const -> &meshlib::std_shared_ptr_const_MR_PointCloud
Deprecated
the cast inside is undefined behaviour, use pointCloudPtr() instead Generated from method MR::ObjectPoints::pointCloud.

Calls MR_ObjectPoints_pointCloud().

Deprecated
use pointCloudPtr() instead

◆ point_cloud_part()

auto meshlib::ObjectPoints::point_cloud_part ( ) const -> meshlib::Owned< meshlib::PointCloudPart >
Returns
the pair ( point cloud, selected points ) if any point is selected or full point cloud otherwise Generated from method MR::ObjectPoints::pointCloudPart.

Calls MR_ObjectPoints_pointCloudPart().

◆ point_cloud_ptr()

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().

◆ remove_all_children()

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().

◆ remove_tag()

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().

◆ render()

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().

◆ render_for_picker()

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().

◆ render_ui()

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().

◆ reset_colors()

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().

◆ reset_dirty()

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().

◆ reset_dirty_except_mask()

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().

◆ reset_front_color()

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().

◆ reset_redraw_flag()

void meshlib::ObjectPoints::reset_redraw_flag ( ) const

Generated from method MR::ObjectPoints::resetRedrawFlag.

Calls MR_ObjectPoints_resetRedrawFlag().

◆ reset_xf()

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().

◆ same_models()

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().

◆ select()

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().

◆ select_points()

void meshlib::ObjectPoints::select_points ( newSelection:&meshlib::VertBitSet )

sets current selected points Generated from method MR::ObjectPoints::selectPoints.

Calls MR_ObjectPoints_selectPoints().

◆ serialize_format()

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().

◆ set_all_visualize_properties()

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().

◆ set_ambient_strength()

void meshlib::ObjectPoints::set_ambient_strength ( ambientStrength:f32 )

sets intensity of non-directional light Generated from method MR::ObjectPoints::setAmbientStrength.

Calls MR_ObjectPoints_setAmbientStrength().

◆ set_ancillary()

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().

◆ set_back_color()

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().

◆ set_back_colors_for_all_viewports()

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().

◆ set_coloring_type()

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().

◆ set_dirty_flags()

void meshlib::ObjectPoints::set_dirty_flags ( mask:core::ffi::c_uint ,
invalidateCaches:Option< bool >  )

Generated from method MR::ObjectPoints::setDirtyFlags.

Calls MR_ObjectPoints_setDirtyFlags().

◆ set_front_color()

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().

◆ set_front_colors_for_all_viewports()

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().

◆ set_global_alpha()

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().

◆ set_global_alpha_for_all_viewports()

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().

◆ set_global_clipped_by_plane()

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().

◆ set_global_visibility()

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().

◆ set_locked()

void meshlib::ObjectPoints::set_locked ( on:bool )

Generated from method MR::ObjectPoints::setLocked.

Calls MR_ObjectPoints_setLocked().

◆ set_max_rendering_points()

void meshlib::ObjectPoints::set_max_rendering_points ( val:core::ffi::c_int )

sets maximal number of points that will be rendered

See also
getRenderDiscretization, MaxRenderingPointsDefault, MaxRenderingPointsUnlimited Generated from method MR::ObjectPoints::setMaxRenderingPoints.

Calls MR_ObjectPoints_setMaxRenderingPoints().

◆ set_name()

void meshlib::ObjectPoints::set_name ( name:& str)

Generated from method MR::ObjectPoints::setName.

Calls MR_ObjectPoints_setName().

◆ set_parent_locked()

void meshlib::ObjectPoints::set_parent_locked ( lock:bool )

Generated from method MR::ObjectPoints::setParentLocked.

Calls MR_ObjectPoints_setParentLocked().

◆ set_pickable()

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().

◆ set_point_cloud()

void meshlib::ObjectPoints::set_point_cloud ( pointCloud:&meshlib::std_shared_ptr_MR_PointCloud )

Generated from method MR::ObjectPoints::setPointCloud.

Calls MR_ObjectPoints_setPointCloud().

◆ set_point_size()

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().

◆ set_selected_vertices_color()

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().

◆ set_selected_vertices_colors_for_all_viewports()

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().

◆ set_serialize_format()

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().

◆ set_shininess()

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().

◆ set_specular_strength()

void meshlib::ObjectPoints::set_specular_strength ( specularStrength:f32 )

sets intensity of reflections Generated from method MR::ObjectPoints::setSpecularStrength.

Calls MR_ObjectPoints_setSpecularStrength().

◆ set_use_default_scene_properties_on_deserialization()

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().

◆ set_verts_color_map()

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().

◆ set_visibility_mask()

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().

◆ set_visible()

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().

◆ set_visualize_property()

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().

◆ set_visualize_property_mask()

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().

◆ set_world_xf()

void meshlib::ObjectPoints::set_world_xf ( xf:&meshlib::AffineXf3f ,
id:Option<&meshlib::ViewportId >  )

Generated from method MR::ObjectPoints::setWorldXf.

Calls MR_ObjectPoints_setWorldXf().

◆ set_xf()

void meshlib::ObjectPoints::set_xf ( xf:&meshlib::AffineXf3f ,
id:Option<&meshlib::ViewportId >  )

Generated from method MR::ObjectPoints::setXf.

Calls MR_ObjectPoints_setXf().

◆ set_xfs_for_all_viewports()

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().

◆ shallow_clone()

auto meshlib::ObjectPoints::shallow_clone ( ) const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >

Generated from method MR::ObjectPoints::shallowClone.

Calls MR_ObjectPoints_shallowClone().

◆ shallow_clone_tree()

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().

◆ sort_children()

void meshlib::ObjectPoints::sort_children ( )

sort recognized children by name Generated from method MR::ObjectPoints::sortChildren.

Calls MR_ObjectPoints_sortChildren().

◆ static_class_name()

auto meshlib::ObjectPoints::static_class_name ( ) -> *const core::ffi::c_char
static

Generated from method MR::ObjectPoints::StaticClassName.

Calls MR_ObjectPoints_StaticClassName().

◆ static_class_name_in_plural()

auto meshlib::ObjectPoints::static_class_name_in_plural ( ) -> *const core::ffi::c_char
static

Generated from method MR::ObjectPoints::StaticClassNameInPlural.

Calls MR_ObjectPoints_StaticClassNameInPlural().

◆ static_downcast_from_object()

auto meshlib::ObjectPoints::static_downcast_from_object ( object:&meshlib::Object ) -> &Self
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.

Note
This function is unsafe.

◆ static_downcast_from_object_children_holder()

auto meshlib::ObjectPoints::static_downcast_from_object_children_holder ( object:&meshlib::ObjectChildrenHolder ) -> &Self
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.

Note
This function is unsafe.

◆ static_downcast_from_object_children_holder_mut()

auto meshlib::ObjectPoints::static_downcast_from_object_children_holder_mut ( object:&mut meshlib::ObjectChildrenHolder ) -> &mut Self
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.

Note
This function is unsafe.

◆ static_downcast_from_object_mut()

auto meshlib::ObjectPoints::static_downcast_from_object_mut ( object:&mut meshlib::Object ) -> &mut Self
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.

Note
This function is unsafe.

◆ static_downcast_from_object_points_holder()

auto meshlib::ObjectPoints::static_downcast_from_object_points_holder ( object:&meshlib::ObjectPointsHolder ) -> &Self
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.

Note
This function is unsafe.

◆ static_downcast_from_object_points_holder_mut()

auto meshlib::ObjectPoints::static_downcast_from_object_points_holder_mut ( object:&mut meshlib::ObjectPointsHolder ) -> &mut Self
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.

Note
This function is unsafe.

◆ static_downcast_from_visual_object()

auto meshlib::ObjectPoints::static_downcast_from_visual_object ( object:&meshlib::VisualObject ) -> &Self
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.

Note
This function is unsafe.

◆ static_downcast_from_visual_object_mut()

auto meshlib::ObjectPoints::static_downcast_from_visual_object_mut ( object:&mut meshlib::VisualObject ) -> &mut Self
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.

Note
This function is unsafe.

◆ static_type_name()

auto meshlib::ObjectPoints::static_type_name ( ) -> *const core::ffi::c_char
static

Generated from method MR::ObjectPoints::StaticTypeName.

Calls MR_ObjectPoints_StaticTypeName().

◆ supports_visualize_property()

auto meshlib::ObjectPoints::supports_visualize_property ( type:&meshlib::AnyVisualizeMaskEnum ) const -> bool

Generated from method MR::ObjectPoints::supportsVisualizeProperty.

Calls MR_ObjectPoints_supportsVisualizeProperty().

◆ swap()

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().

◆ swap_point_cloud()

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().

◆ tags()

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().

◆ toggle_visualize_property()

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().

◆ type_name()

auto meshlib::ObjectPoints::type_name ( ) const -> Option<&core::ffi::c_char >

Generated from method MR::ObjectPoints::typeName.

Calls MR_ObjectPoints_typeName().

◆ upcast_to_object()

auto meshlib::ObjectPoints::upcast_to_object ( ) const -> &meshlib::Object

Upcasts to the base class MR::Object.

Calls MR_ObjectPoints_UpcastTo_MR_Object().

◆ upcast_to_object_children_holder()

auto meshlib::ObjectPoints::upcast_to_object_children_holder ( ) const -> &meshlib::ObjectChildrenHolder

Upcasts to the base class MR::ObjectChildrenHolder.

Calls MR_ObjectPoints_UpcastTo_MR_ObjectChildrenHolder().

◆ upcast_to_object_children_holder_mut()

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().

◆ upcast_to_object_mut()

auto meshlib::ObjectPoints::upcast_to_object_mut ( ) -> &mut meshlib::Object

Upcasts to the base class MR::Object.

Calls MR_ObjectPoints_MutableUpcastTo_MR_Object().

◆ upcast_to_object_points_holder()

auto meshlib::ObjectPoints::upcast_to_object_points_holder ( ) const -> &meshlib::ObjectPointsHolder

Upcasts to the base class MR::ObjectPointsHolder.

Calls MR_ObjectPoints_UpcastTo_MR_ObjectPointsHolder().

◆ upcast_to_object_points_holder_mut()

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().

◆ upcast_to_visual_object()

auto meshlib::ObjectPoints::upcast_to_visual_object ( ) const -> &meshlib::VisualObject

Upcasts to the base class MR::VisualObject.

Calls MR_ObjectPoints_UpcastTo_MR_VisualObject().

◆ upcast_to_visual_object_mut()

auto meshlib::ObjectPoints::upcast_to_visual_object_mut ( ) -> &mut meshlib::VisualObject

Upcasts to the base class MR::VisualObject.

Calls MR_ObjectPoints_MutableUpcastTo_MR_VisualObject().

◆ update_selected_points()

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().

◆ update_verts_color_map()

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().

◆ use_default_scene_properties_on_deserialization()

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().

◆ var_point_cloud()

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().

◆ var_point_cloud_ptr()

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().

◆ visibility_mask()

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().

◆ world_xf()

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

Parameters
isDefreceives true if the object has default transformation in this viewport (same as worldXf() returns) Generated from method MR::ObjectPoints::worldXf.

Calls MR_ObjectPoints_worldXf().

◆ xf()

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

Parameters
isDefreceives true if the object has default transformation in this viewport (same as xf() returns) Generated from method MR::ObjectPoints::xf.

Calls MR_ObjectPoints_xf().

◆ xfs_for_all_viewports()

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().


The documentation for this struct was generated from the following file: