an object that stores a mesh Generated from class MR::ObjectMeshHolder. Base classes: Direct: (non-virtual) MR::VisualObject Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object Derived classes: Direct: (non-virtual) MR::ObjectDistanceMap MR::ObjectMesh MR::ObjectVoxels
Generated from class MR::ObjectMeshHolder. Heap-allocated instances are held in Owned<ObjectMeshHolder>.
| auto meshlib::ObjectMeshHolder::actual_serialize_format | ( | ) | const -> Option<&core::ffi::c_char > |
returns overriden file extension used to serialize mesh inside this object if set, or SceneSettings::get( SceneSettings::StringType::MeshSerializeFormat ) otherwise; never returns nullptr Generated from method MR::ObjectMeshHolder::actualSerializeFormat.
Calls MR_ObjectMeshHolder_actualSerializeFormat().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::addChild. |
Calls MR_ObjectMeshHolder_addChild().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::addChildBefore.
Calls MR_ObjectMeshHolder_addChildBefore().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::addTag.
Calls MR_ObjectMeshHolder_addTag().
| void meshlib::ObjectMeshHolder::add_texture | ( | texture:&meshlib::MeshTexture | ) |
Generated from method MR::ObjectMeshHolder::addTexture.
Calls MR_ObjectMeshHolder_addTexture().
| void meshlib::ObjectMeshHolder::apply_scale | ( | scaleFactor:f32 | ) |
Generated from method MR::ObjectMeshHolder::applyScale.
Calls MR_ObjectMeshHolder_applyScale().
| auto meshlib::ObjectMeshHolder::assign_from_another | ( | _other:meshlib::Owned< meshlib::ObjectMeshHolder > | ) | -> &mut meshlib::ObjectMeshHolder |
Generated from method MR::ObjectMeshHolder::operator=.
Calls MR_ObjectMeshHolder_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::ObjectMeshHolder::avg_edge_len | ( | ) | const -> f32 |
returns cached average edge length Generated from method MR::ObjectMeshHolder::avgEdgeLen.
Calls MR_ObjectMeshHolder_avgEdgeLen().
| auto meshlib::ObjectMeshHolder::class_name | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::ObjectMeshHolder::className.
Calls MR_ObjectMeshHolder_className().
| auto meshlib::ObjectMeshHolder::class_name_in_plural | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::ObjectMeshHolder::classNameInPlural.
Calls MR_ObjectMeshHolder_classNameInPlural().
| void meshlib::ObjectMeshHolder::clear_ancillary_texture | ( | ) |
Generated from method MR::ObjectMeshHolder::clearAncillaryTexture.
Calls MR_ObjectMeshHolder_clearAncillaryTexture().
| auto meshlib::ObjectMeshHolder::clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::ObjectMeshHolder::clone.
Calls MR_ObjectMeshHolder_clone().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::cloneTree.
Calls MR_ObjectMeshHolder_cloneTree().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::constChildren.
Calls MR_ObjectMeshHolder_constChildren().
|
static |
Generated from constructor MR::ObjectMeshHolder::ObjectMeshHolder.
Calls MR_ObjectMeshHolder_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| void meshlib::ObjectMeshHolder::copy_all_solid_colors | ( | other:&meshlib::ObjectMeshHolder | ) |
set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR::ObjectMeshHolder::copyAllSolidColors.
Calls MR_ObjectMeshHolder_copyAllSolidColors().
| void meshlib::ObjectMeshHolder::copy_colors | ( | src:&meshlib::ObjectMeshHolder | , |
| thisToSrc:&meshlib::VertMap | , | ||
| thisToSrcFaces:Option<&meshlib::FaceMap > | ) |
copies vertex colors from given source object
| src | using given map |
| thisToSrc | Generated from method MR::ObjectMeshHolder::copyColors. |
Calls MR_ObjectMeshHolder_copyColors().
| void meshlib::ObjectMeshHolder::copy_texture_and_colors | ( | src:&meshlib::ObjectMeshHolder | , |
| thisToSrc:&meshlib::VertMap | , | ||
| thisToSrcFaces:Option<&meshlib::FaceMap > | ) |
copies texture, UV-coordinates and vertex colors from given source object
| src | using given map |
| thisToSrc | Generated from method MR::ObjectMeshHolder::copyTextureAndColors. |
Calls MR_ObjectMeshHolder_copyTextureAndColors().
| auto meshlib::ObjectMeshHolder::creases | ( | ) | const -> &meshlib::UndirectedEdgeBitSet |
Edges on mesh, that will have sharp visualization even with smooth shading Generated from method MR::ObjectMeshHolder::creases.
Calls MR_ObjectMeshHolder_creases().
| auto meshlib::ObjectMeshHolder::data | ( | ) | const -> &meshlib::ObjectMeshData |
provides read-only access to whole ObjectMeshData Generated from method MR::ObjectMeshHolder::data.
Calls MR_ObjectMeshHolder_data().
| auto meshlib::ObjectMeshHolder::detach_from_parent | ( | ) | -> bool |
removes this from its parent children list returns false if it was already orphan Generated from method MR::ObjectMeshHolder::detachFromParent.
Calls MR_ObjectMeshHolder_detachFromParent().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a ObjectMeshHolder.
Calls MR_ObjectMeshHolder_DynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a ObjectMeshHolder.
Calls MR_ObjectMeshHolder_MutableDynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a ObjectMeshHolder.
Calls MR_ObjectMeshHolder_DynamicDowncastFrom_MR_VisualObject().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a ObjectMeshHolder.
Calls MR_ObjectMeshHolder_MutableDynamicDowncastFrom_MR_VisualObject().
| auto meshlib::ObjectMeshHolder::flat_shading | ( | ) | const -> bool |
Generated from method MR::ObjectMeshHolder::flatShading.
Calls MR_ObjectMeshHolder_flatShading().
| auto meshlib::ObjectMeshHolder::get_all_visualize_properties | ( | ) | const -> meshlib::Owned< meshlib::std_vector_MR_ViewportMask > |
get all visualize properties masks Generated from method MR::ObjectMeshHolder::getAllVisualizeProperties.
Calls MR_ObjectMeshHolder_getAllVisualizeProperties().
| auto meshlib::ObjectMeshHolder::get_ambient_strength | ( | ) | const -> f32 |
returns intensity of non-directional light Generated from method MR::ObjectMeshHolder::getAmbientStrength.
Calls MR_ObjectMeshHolder_getAmbientStrength().
| auto meshlib::ObjectMeshHolder::get_ancillary_texture | ( | ) | const -> &meshlib::MeshTexture |
ancillary texture can be used to have custom features visualization without affecting real one Generated from method MR::ObjectMeshHolder::getAncillaryTexture.
Calls MR_ObjectMeshHolder_getAncillaryTexture().
| auto meshlib::ObjectMeshHolder::get_ancillary_uv_coords | ( | ) | const -> &meshlib::VertCoords2 |
Generated from method MR::ObjectMeshHolder::getAncillaryUVCoords.
Calls MR_ObjectMeshHolder_getAncillaryUVCoords().
| auto meshlib::ObjectMeshHolder::get_back_color | ( | viewportId:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns backward color of object in given viewport Generated from method MR::ObjectMeshHolder::getBackColor.
Calls MR_ObjectMeshHolder_getBackColor().
| auto meshlib::ObjectMeshHolder::get_back_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
returns backward color of object in all viewports Generated from method MR::ObjectMeshHolder::getBackColorsForAllViewports.
Calls MR_ObjectMeshHolder_getBackColorsForAllViewports().
| auto meshlib::ObjectMeshHolder::get_borders_color | ( | id:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
Generated from method MR::ObjectMeshHolder::getBordersColor.
Calls MR_ObjectMeshHolder_getBordersColor().
| auto meshlib::ObjectMeshHolder::get_borders_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::ObjectMeshHolder::getBordersColorsForAllViewports.
Calls MR_ObjectMeshHolder_getBordersColorsForAllViewports().
| auto meshlib::ObjectMeshHolder::get_bounding_box | ( | ) | const -> meshlib::Box3f |
returns cached bounding box of this object in local coordinates Generated from method MR::ObjectMeshHolder::getBoundingBox.
Calls MR_ObjectMeshHolder_getBoundingBox().
| auto meshlib::ObjectMeshHolder::get_coloring_type | ( | ) | const -> meshlib::ColoringType |
returns the current coloring mode of the object Generated from method MR::ObjectMeshHolder::getColoringType.
Calls MR_ObjectMeshHolder_getColoringType().
| auto meshlib::ObjectMeshHolder::get_dirty_flags | ( | ) | const -> core::ffi::c_uint |
returns current dirty flags for the object Generated from method MR::ObjectMeshHolder::getDirtyFlags.
Calls MR_ObjectMeshHolder_getDirtyFlags().
| auto meshlib::ObjectMeshHolder::get_edge_width | ( | ) | const -> f32 |
Generated from method MR::ObjectMeshHolder::getEdgeWidth.
Calls MR_ObjectMeshHolder_getEdgeWidth().
| auto meshlib::ObjectMeshHolder::get_edges_color | ( | id:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
Generated from method MR::ObjectMeshHolder::getEdgesColor.
Calls MR_ObjectMeshHolder_getEdgesColor().
| auto meshlib::ObjectMeshHolder::get_edges_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::ObjectMeshHolder::getEdgesColorsForAllViewports.
Calls MR_ObjectMeshHolder_getEdgesColorsForAllViewports().
| auto meshlib::ObjectMeshHolder::get_faces_color_map | ( | ) | const -> &meshlib::FaceColors |
Generated from method MR::ObjectMeshHolder::getFacesColorMap.
Calls MR_ObjectMeshHolder_getFacesColorMap().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::getFrontColor.
Calls MR_ObjectMeshHolder_getFrontColor().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::getFrontColorsForAllViewports.
Calls MR_ObjectMeshHolder_getFrontColorsForAllViewports().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::getGlobalAlpha.
Calls MR_ObjectMeshHolder_getGlobalAlpha().
| auto meshlib::ObjectMeshHolder::get_global_alpha_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_unsigned_char |
returns global transparency alpha of object in all viewports Generated from method MR::ObjectMeshHolder::getGlobalAlphaForAllViewports.
Calls MR_ObjectMeshHolder_getGlobalAlphaForAllViewports().
| auto meshlib::ObjectMeshHolder::get_info_lines | ( | ) | const -> meshlib::Owned< meshlib::std_vector_std_string > |
return several info lines that can better describe the object in the UI Generated from method MR::ObjectMeshHolder::getInfoLines.
Calls MR_ObjectMeshHolder_getInfoLines().
| auto meshlib::ObjectMeshHolder::get_model_hash | ( | ) | const -> usize |
Generated from method MR::ObjectMeshHolder::getModelHash.
Calls MR_ObjectMeshHolder_getModelHash().
| auto meshlib::ObjectMeshHolder::get_point_size | ( | ) | const -> f32 |
Generated from method MR::ObjectMeshHolder::getPointSize.
Calls MR_ObjectMeshHolder_getPointSize().
| auto meshlib::ObjectMeshHolder::get_points_color | ( | id:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
Generated from method MR::ObjectMeshHolder::getPointsColor.
Calls MR_ObjectMeshHolder_getPointsColor().
| auto meshlib::ObjectMeshHolder::get_points_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::ObjectMeshHolder::getPointsColorsForAllViewports.
Calls MR_ObjectMeshHolder_getPointsColorsForAllViewports().
| auto meshlib::ObjectMeshHolder::get_redraw_flag | ( | viewportMask:&meshlib::ViewportMask | ) | const -> bool |
Generated from method MR::ObjectMeshHolder::getRedrawFlag.
Calls MR_ObjectMeshHolder_getRedrawFlag().
| auto meshlib::ObjectMeshHolder::get_selected_edges | ( | ) | const -> &meshlib::UndirectedEdgeBitSet |
Generated from method MR::ObjectMeshHolder::getSelectedEdges.
Calls MR_ObjectMeshHolder_getSelectedEdges().
| auto meshlib::ObjectMeshHolder::get_selected_edges_color | ( | id:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns colors of selected edges Generated from method MR::ObjectMeshHolder::getSelectedEdgesColor.
Calls MR_ObjectMeshHolder_getSelectedEdgesColor().
| auto meshlib::ObjectMeshHolder::get_selected_edges_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::ObjectMeshHolder::getSelectedEdgesColorsForAllViewports.
Calls MR_ObjectMeshHolder_getSelectedEdgesColorsForAllViewports().
| auto meshlib::ObjectMeshHolder::get_selected_faces | ( | ) | const -> &meshlib::FaceBitSet |
Generated from method MR::ObjectMeshHolder::getSelectedFaces.
Calls MR_ObjectMeshHolder_getSelectedFaces().
| auto meshlib::ObjectMeshHolder::get_selected_faces_color | ( | id:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns colors of selected triangles Generated from method MR::ObjectMeshHolder::getSelectedFacesColor.
Calls MR_ObjectMeshHolder_getSelectedFacesColor().
| auto meshlib::ObjectMeshHolder::get_selected_faces_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::ObjectMeshHolder::getSelectedFacesColorsForAllViewports.
Calls MR_ObjectMeshHolder_getSelectedFacesColorsForAllViewports().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::getSharedPtr.
Calls MR_ObjectMeshHolder_getSharedPtr().
| auto meshlib::ObjectMeshHolder::get_shininess | ( | ) | const -> f32 |
returns the current shininess visual value Generated from method MR::ObjectMeshHolder::getShininess.
Calls MR_ObjectMeshHolder_getShininess().
| auto meshlib::ObjectMeshHolder::get_specular_strength | ( | ) | const -> f32 |
returns intensity of reflections Generated from method MR::ObjectMeshHolder::getSpecularStrength.
Calls MR_ObjectMeshHolder_getSpecularStrength().
| auto meshlib::ObjectMeshHolder::get_texture | ( | ) | const -> &meshlib::MeshTexture |
returns first texture in the vector. If there is no textures, returns empty texture Generated from method MR::ObjectMeshHolder::getTexture.
Calls MR_ObjectMeshHolder_getTexture().
| auto meshlib::ObjectMeshHolder::get_texture_per_face | ( | ) | const -> &meshlib::TexturePerFace |
Generated from method MR::ObjectMeshHolder::getTexturePerFace.
Calls MR_ObjectMeshHolder_getTexturePerFace().
| auto meshlib::ObjectMeshHolder::get_textures | ( | ) | const -> &meshlib::Vector_MR_MeshTexture_MR_TextureId |
Generated from method MR::ObjectMeshHolder::getTextures.
Calls MR_ObjectMeshHolder_getTextures().
| auto meshlib::ObjectMeshHolder::get_uv_coords | ( | ) | const -> &meshlib::VertCoords2 |
Generated from method MR::ObjectMeshHolder::getUVCoords.
Calls MR_ObjectMeshHolder_getUVCoords().
| auto meshlib::ObjectMeshHolder::get_verts_color_map | ( | ) | const -> &meshlib::VertColors |
returns per-vertex colors of the object Generated from method MR::ObjectMeshHolder::getVertsColorMap.
Calls MR_ObjectMeshHolder_getVertsColorMap().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::getVisualizeProperty.
Calls MR_ObjectMeshHolder_getVisualizeProperty().
| auto meshlib::ObjectMeshHolder::get_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> &meshlib::ViewportMask |
returns mask of viewports where given property is set Generated from method MR::ObjectMeshHolder::getVisualizePropertyMask.
Calls MR_ObjectMeshHolder_getVisualizePropertyMask().
| auto meshlib::ObjectMeshHolder::get_world_box | ( | _1:Option<&meshlib::ViewportId > | ) | const -> meshlib::Box3f |
returns cached bounding box of this mesh object in world coordinates; if you need bounding box in local coordinates please call getBoundingBox() Generated from method MR::ObjectMeshHolder::getWorldBox.
Calls MR_ObjectMeshHolder_getWorldBox().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::getWorldTreeBox.
Calls MR_ObjectMeshHolder_getWorldTreeBox().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::globalClippedByPlane.
Calls MR_ObjectMeshHolder_globalClippedByPlane().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::globalClippedByPlaneMask.
Calls MR_ObjectMeshHolder_globalClippedByPlaneMask().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::globalVisibility.
Calls MR_ObjectMeshHolder_globalVisibility().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::globalVisibilityMask.
Calls MR_ObjectMeshHolder_globalVisibilityMask().
| auto meshlib::ObjectMeshHolder::has_ancillary_texture | ( | ) | const -> bool |
Generated from method MR::ObjectMeshHolder::hasAncillaryTexture.
Calls MR_ObjectMeshHolder_hasAncillaryTexture().
| auto meshlib::ObjectMeshHolder::has_model | ( | ) | const -> bool |
Generated from method MR::ObjectMeshHolder::hasModel.
Calls MR_ObjectMeshHolder_hasModel().
| auto meshlib::ObjectMeshHolder::has_visual_representation | ( | ) | const -> bool |
mesh object can be seen if the mesh has at least one edge Generated from method MR::ObjectMeshHolder::hasVisualRepresentation.
Calls MR_ObjectMeshHolder_hasVisualRepresentation().
| auto meshlib::ObjectMeshHolder::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::ObjectMeshHolder::heapBytes.
Calls MR_ObjectMeshHolder_heapBytes().
| void meshlib::ObjectMeshHolder::invalidate_metrics_cache | ( | mask:core::ffi::c_uint | ) |
invalidates same caches with mesh metrics (area, volume, ...) as by setDirtyFlags( mask ) Generated from method MR::ObjectMeshHolder::invalidateMetricsCache.
Calls MR_ObjectMeshHolder_invalidateMetricsCache().
| auto meshlib::ObjectMeshHolder::is_ancestor | ( | ancestor:Option<&meshlib::Object > | ) | const -> bool |
return true if given object is ancestor of this one, false otherwise Generated from method MR::ObjectMeshHolder::isAncestor.
Calls MR_ObjectMeshHolder_isAncestor().
| auto meshlib::ObjectMeshHolder::is_ancillary | ( | ) | const -> bool |
Generated from method MR::ObjectMeshHolder::isAncillary.
Calls MR_ObjectMeshHolder_isAncillary().
| auto meshlib::ObjectMeshHolder::is_global_ancillary | ( | ) | const -> bool |
returns true if the object or any of its ancestors are ancillary Generated from method MR::ObjectMeshHolder::isGlobalAncillary.
Calls MR_ObjectMeshHolder_isGlobalAncillary().
| auto meshlib::ObjectMeshHolder::is_locked | ( | ) | const -> bool |
object properties lock for UI Generated from method MR::ObjectMeshHolder::isLocked.
Calls MR_ObjectMeshHolder_isLocked().
| auto meshlib::ObjectMeshHolder::is_mesh_closed | ( | ) | const -> bool |
returns cached information whether the mesh is closed Generated from method MR::ObjectMeshHolder::isMeshClosed.
Calls MR_ObjectMeshHolder_isMeshClosed().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::isParentLocked.
Calls MR_ObjectMeshHolder_isParentLocked().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::isPickable.
Calls MR_ObjectMeshHolder_isPickable().
| auto meshlib::ObjectMeshHolder::is_selected | ( | ) | const -> bool |
Generated from method MR::ObjectMeshHolder::isSelected.
Calls MR_ObjectMeshHolder_isSelected().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::isVisible.
Calls MR_ObjectMeshHolder_isVisible().
| auto meshlib::ObjectMeshHolder::mesh | ( | ) | const -> &meshlib::std_shared_ptr_const_MR_Mesh |
Calls MR_ObjectMeshHolder_mesh().
| auto meshlib::ObjectMeshHolder::mesh_part | ( | ) | const -> meshlib::Owned< meshlib::MeshPart > |
Calls MR_ObjectMeshHolder_meshPart().
| auto meshlib::ObjectMeshHolder::mesh_ptr | ( | ) | const -> Option<&meshlib::Mesh > |
returns the mesh of this object, or nullptr if it is not set Generated from method MR::ObjectMeshHolder::meshPtr.
Calls MR_ObjectMeshHolder_meshPtr().
| auto meshlib::ObjectMeshHolder::name | ( | ) | const -> &meshlib::std_string |
Generated from method MR::ObjectMeshHolder::name.
Calls MR_ObjectMeshHolder_name().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_ObjectMeshHolder_DefaultConstruct().
| auto meshlib::ObjectMeshHolder::num_components | ( | ) | const -> usize |
returns cached information about the number of components in the mesh Generated from method MR::ObjectMeshHolder::numComponents.
Calls MR_ObjectMeshHolder_numComponents().
| auto meshlib::ObjectMeshHolder::num_crease_edges | ( | ) | const -> usize |
returns cached information about the number of crease undirected edges in the mesh Generated from method MR::ObjectMeshHolder::numCreaseEdges.
Calls MR_ObjectMeshHolder_numCreaseEdges().
| auto meshlib::ObjectMeshHolder::num_handles | ( | ) | const -> usize |
returns cached information about the number of handles in the mesh Generated from method MR::ObjectMeshHolder::numHandles.
Calls MR_ObjectMeshHolder_numHandles().
| auto meshlib::ObjectMeshHolder::num_holes | ( | ) | const -> usize |
returns cached information about the number of holes in the mesh Generated from method MR::ObjectMeshHolder::numHoles.
Calls MR_ObjectMeshHolder_numHoles().
| auto meshlib::ObjectMeshHolder::num_selected_edges | ( | ) | const -> usize |
returns cached information about the number of selected undirected edges in the mesh Generated from method MR::ObjectMeshHolder::numSelectedEdges.
Calls MR_ObjectMeshHolder_numSelectedEdges().
| auto meshlib::ObjectMeshHolder::num_selected_faces | ( | ) | const -> usize |
returns cached information about the number of selected faces in the mesh Generated from method MR::ObjectMeshHolder::numSelectedFaces.
Calls MR_ObjectMeshHolder_numSelectedFaces().
| auto meshlib::ObjectMeshHolder::num_undirected_edges | ( | ) | const -> usize |
returns cached information about the number of undirected edges in the mesh Generated from method MR::ObjectMeshHolder::numUndirectedEdges.
Calls MR_ObjectMeshHolder_numUndirectedEdges().
| void meshlib::ObjectMeshHolder::remove_all_children | ( | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::ObjectMeshHolder::removeAllChildren.
Calls MR_ObjectMeshHolder_removeAllChildren().
| auto meshlib::ObjectMeshHolder::remove_tag | ( | tag:& | str | ) | -> bool |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ObjectMeshHolder::removeTag.
Calls MR_ObjectMeshHolder_removeTag().
| auto meshlib::ObjectMeshHolder::render | ( | _1:&meshlib::ModelRenderParams | ) | const -> bool |
draws this object for visualization Returns true if something was drawn. Generated from method MR::ObjectMeshHolder::render.
Calls MR_ObjectMeshHolder_render().
| void meshlib::ObjectMeshHolder::render_for_picker | ( | _1:&meshlib::ModelBaseRenderParams | , |
| _2:core::ffi::c_uint | ) const |
draws this object for picking Generated from method MR::ObjectMeshHolder::renderForPicker.
Calls MR_ObjectMeshHolder_renderForPicker().
| void meshlib::ObjectMeshHolder::render_ui | ( | params:&meshlib::UiRenderParams | ) | const |
draws this object for 2d UI Generated from method MR::ObjectMeshHolder::renderUi.
Calls MR_ObjectMeshHolder_renderUi().
| void meshlib::ObjectMeshHolder::reset_colors | ( | ) |
reset all object colors to their default values from the current theme Generated from method MR::ObjectMeshHolder::resetColors.
Calls MR_ObjectMeshHolder_resetColors().
| void meshlib::ObjectMeshHolder::reset_dirty | ( | ) | const |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::ObjectMeshHolder::resetDirty.
Calls MR_ObjectMeshHolder_resetDirty().
| void meshlib::ObjectMeshHolder::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::ObjectMeshHolder::resetDirtyExceptMask.
Calls MR_ObjectMeshHolder_resetDirtyExceptMask().
| void meshlib::ObjectMeshHolder::reset_front_color | ( | ) |
reset basic object colors to their default values from the current theme Generated from method MR::ObjectMeshHolder::resetFrontColor.
Calls MR_ObjectMeshHolder_resetFrontColor().
| void meshlib::ObjectMeshHolder::reset_redraw_flag | ( | ) | const |
Generated from method MR::ObjectMeshHolder::resetRedrawFlag.
Calls MR_ObjectMeshHolder_resetRedrawFlag().
| void meshlib::ObjectMeshHolder::reset_xf | ( | id:Option<&meshlib::ViewportId > | ) |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectMeshHolder::resetXf.
Calls MR_ObjectMeshHolder_resetXf().
| auto meshlib::ObjectMeshHolder::same_models | ( | other:&meshlib::Object | ) | const -> bool |
Generated from method MR::ObjectMeshHolder::sameModels.
Calls MR_ObjectMeshHolder_sameModels().
| auto meshlib::ObjectMeshHolder::select | ( | on:bool | ) | -> bool |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::ObjectMeshHolder::select.
Calls MR_ObjectMeshHolder_select().
| void meshlib::ObjectMeshHolder::select_edges | ( | newSelection:&meshlib::UndirectedEdgeBitSet | ) |
Generated from method MR::ObjectMeshHolder::selectEdges.
Calls MR_ObjectMeshHolder_selectEdges().
| void meshlib::ObjectMeshHolder::select_faces | ( | newSelection:&meshlib::FaceBitSet | ) |
Generated from method MR::ObjectMeshHolder::selectFaces.
Calls MR_ObjectMeshHolder_selectFaces().
| auto meshlib::ObjectMeshHolder::selected_area | ( | ) | const -> f64 |
returns cached area of selected triangles Generated from method MR::ObjectMeshHolder::selectedArea.
Calls MR_ObjectMeshHolder_selectedArea().
| auto meshlib::ObjectMeshHolder::serialize_format | ( | ) | const -> Option<&core::ffi::c_char > |
returns overriden file extension used to serialize mesh inside this object, nullptr means SceneSettings::get( SceneSettings::StringType::MeshSerializeFormat ) Generated from method MR::ObjectMeshHolder::serializeFormat.
Calls MR_ObjectMeshHolder_serializeFormat().
| void meshlib::ObjectMeshHolder::set_all_visualize_properties | ( | properties:&meshlib::std_vector_MR_ViewportMask | ) |
set all visualize properties masks Generated from method MR::ObjectMeshHolder::setAllVisualizeProperties.
Calls MR_ObjectMeshHolder_setAllVisualizeProperties().
| void meshlib::ObjectMeshHolder::set_ambient_strength | ( | ambientStrength:f32 | ) |
sets intensity of non-directional light Generated from method MR::ObjectMeshHolder::setAmbientStrength.
Calls MR_ObjectMeshHolder_setAmbientStrength().
| void meshlib::ObjectMeshHolder::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::ObjectMeshHolder::setAncillary.
Calls MR_ObjectMeshHolder_setAncillary().
| void meshlib::ObjectMeshHolder::set_ancillary_texture | ( | texture:&meshlib::MeshTexture | ) |
Generated from method MR::ObjectMeshHolder::setAncillaryTexture.
Calls MR_ObjectMeshHolder_setAncillaryTexture().
| void meshlib::ObjectMeshHolder::set_ancillary_uv_coords | ( | uvCoordinates:&meshlib::VertCoords2 | ) |
Generated from method MR::ObjectMeshHolder::setAncillaryUVCoords.
Calls MR_ObjectMeshHolder_setAncillaryUVCoords().
| void meshlib::ObjectMeshHolder::set_back_color | ( | color:&meshlib::Color | , |
| viewportId:Option<&meshlib::ViewportId > | ) |
sets backward color of object in given viewport Generated from method MR::ObjectMeshHolder::setBackColor.
Calls MR_ObjectMeshHolder_setBackColor().
| void meshlib::ObjectMeshHolder::set_back_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
sets backward color of object in all viewports Generated from method MR::ObjectMeshHolder::setBackColorsForAllViewports.
Calls MR_ObjectMeshHolder_setBackColorsForAllViewports().
| void meshlib::ObjectMeshHolder::set_borders_color | ( | color:&meshlib::Color | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectMeshHolder::setBordersColor.
Calls MR_ObjectMeshHolder_setBordersColor().
| void meshlib::ObjectMeshHolder::set_borders_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
Generated from method MR::ObjectMeshHolder::setBordersColorsForAllViewports.
Calls MR_ObjectMeshHolder_setBordersColorsForAllViewports().
| void meshlib::ObjectMeshHolder::set_coloring_type | ( | coloringType:meshlib::ColoringType | ) |
sets coloring mode of the object with given argument Generated from method MR::ObjectMeshHolder::setColoringType.
Calls MR_ObjectMeshHolder_setColoringType().
| void meshlib::ObjectMeshHolder::set_creases | ( | creases:&meshlib::UndirectedEdgeBitSet | ) |
Generated from method MR::ObjectMeshHolder::setCreases.
Calls MR_ObjectMeshHolder_setCreases().
| void meshlib::ObjectMeshHolder::set_data | ( | data:&mut meshlib::ObjectMeshData | ) |
sets whole new ObjectMeshData Generated from method MR::ObjectMeshHolder::setData.
Calls MR_ObjectMeshHolder_setData().
| void meshlib::ObjectMeshHolder::set_dirty_flags | ( | mask:core::ffi::c_uint | , |
| invalidateCaches:Option< bool > | ) |
Generated from method MR::ObjectMeshHolder::setDirtyFlags.
Calls MR_ObjectMeshHolder_setDirtyFlags().
| void meshlib::ObjectMeshHolder::set_dirty_flags_fast | ( | mask:core::ffi::c_uint | ) |
this is a faster version of setDirtyFlags(), which does not invalidate metrics cache (area, volume, ...); the user is responsible for calling invalidateMetricsCache( mask ) or setDirtyFlags( mask ) at the end of mesh editing; DANGER: all cached values returned until then can be outdated Generated from method MR::ObjectMeshHolder::setDirtyFlagsFast.
Calls MR_ObjectMeshHolder_setDirtyFlagsFast().
| void meshlib::ObjectMeshHolder::set_edge_width | ( | edgeWidth:f32 | ) |
Generated from method MR::ObjectMeshHolder::setEdgeWidth.
Calls MR_ObjectMeshHolder_setEdgeWidth().
| void meshlib::ObjectMeshHolder::set_edges_color | ( | color:&meshlib::Color | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectMeshHolder::setEdgesColor.
Calls MR_ObjectMeshHolder_setEdgesColor().
| void meshlib::ObjectMeshHolder::set_edges_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
Generated from method MR::ObjectMeshHolder::setEdgesColorsForAllViewports.
Calls MR_ObjectMeshHolder_setEdgesColorsForAllViewports().
| void meshlib::ObjectMeshHolder::set_faces_color_map | ( | facesColorMap:&meshlib::FaceColors | ) |
Generated from method MR::ObjectMeshHolder::setFacesColorMap.
Calls MR_ObjectMeshHolder_setFacesColorMap().
| void meshlib::ObjectMeshHolder::set_flat_shading | ( | on:bool | ) |
sets flat (true) or smooth (false) shading Generated from method MR::ObjectMeshHolder::setFlatShading.
Calls MR_ObjectMeshHolder_setFlatShading().
| void meshlib::ObjectMeshHolder::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::ObjectMeshHolder::setFrontColor.
Calls MR_ObjectMeshHolder_setFrontColor().
| void meshlib::ObjectMeshHolder::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::ObjectMeshHolder::setFrontColorsForAllViewports.
Calls MR_ObjectMeshHolder_setFrontColorsForAllViewports().
| void meshlib::ObjectMeshHolder::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::ObjectMeshHolder::setGlobalAlpha.
Calls MR_ObjectMeshHolder_setGlobalAlpha().
| void meshlib::ObjectMeshHolder::set_global_alpha_for_all_viewports | ( | val:&meshlib::ViewportProperty_unsigned_char | ) |
sets global transparency alpha of object in all viewports Generated from method MR::ObjectMeshHolder::setGlobalAlphaForAllViewports.
Calls MR_ObjectMeshHolder_setGlobalAlphaForAllViewports().
| void meshlib::ObjectMeshHolder::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::ObjectMeshHolder::setGlobalClippedByPlane.
Calls MR_ObjectMeshHolder_setGlobalClippedByPlane().
| void meshlib::ObjectMeshHolder::set_global_visibility | ( | on:bool | , |
| viewportMask:Option<&meshlib::ViewportMask > | ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectMeshHolder::setGlobalVisibility.
Calls MR_ObjectMeshHolder_setGlobalVisibility().
| void meshlib::ObjectMeshHolder::set_locked | ( | on:bool | ) |
Generated from method MR::ObjectMeshHolder::setLocked.
Calls MR_ObjectMeshHolder_setLocked().
| void meshlib::ObjectMeshHolder::set_name | ( | name:& | str | ) |
Generated from method MR::ObjectMeshHolder::setName.
Calls MR_ObjectMeshHolder_setName().
| void meshlib::ObjectMeshHolder::set_parent_locked | ( | lock:bool | ) |
Generated from method MR::ObjectMeshHolder::setParentLocked.
Calls MR_ObjectMeshHolder_setParentLocked().
| void meshlib::ObjectMeshHolder::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::ObjectMeshHolder::setPickable.
Calls MR_ObjectMeshHolder_setPickable().
| void meshlib::ObjectMeshHolder::set_point_size | ( | size:f32 | ) |
Generated from method MR::ObjectMeshHolder::setPointSize.
Calls MR_ObjectMeshHolder_setPointSize().
| void meshlib::ObjectMeshHolder::set_points_color | ( | color:&meshlib::Color | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectMeshHolder::setPointsColor.
Calls MR_ObjectMeshHolder_setPointsColor().
| void meshlib::ObjectMeshHolder::set_points_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
Generated from method MR::ObjectMeshHolder::setPointsColorsForAllViewports.
Calls MR_ObjectMeshHolder_setPointsColorsForAllViewports().
| void meshlib::ObjectMeshHolder::set_selected_edges_color | ( | color:&meshlib::Color | , |
| id:Option<&meshlib::ViewportId > | ) |
sets colors of selected edges Generated from method MR::ObjectMeshHolder::setSelectedEdgesColor.
Calls MR_ObjectMeshHolder_setSelectedEdgesColor().
| void meshlib::ObjectMeshHolder::set_selected_edges_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
Generated from method MR::ObjectMeshHolder::setSelectedEdgesColorsForAllViewports.
Calls MR_ObjectMeshHolder_setSelectedEdgesColorsForAllViewports().
| void meshlib::ObjectMeshHolder::set_selected_faces_color | ( | color:&meshlib::Color | , |
| id:Option<&meshlib::ViewportId > | ) |
sets colors of selected triangles Generated from method MR::ObjectMeshHolder::setSelectedFacesColor.
Calls MR_ObjectMeshHolder_setSelectedFacesColor().
| void meshlib::ObjectMeshHolder::set_selected_faces_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
Generated from method MR::ObjectMeshHolder::setSelectedFacesColorsForAllViewports.
Calls MR_ObjectMeshHolder_setSelectedFacesColorsForAllViewports().
| void meshlib::ObjectMeshHolder::set_serialize_format | ( | newFormat:Option<&core::ffi::c_char > | ) |
overrides file extension used to serialize mesh inside this object: must start from '.', nullptr means serialize in SceneSettings::get( SceneSettings::StringType::MeshSerializeFormat ) Generated from method MR::ObjectMeshHolder::setSerializeFormat.
Calls MR_ObjectMeshHolder_setSerializeFormat().
| void meshlib::ObjectMeshHolder::set_shininess | ( | shininess:f32 | ) |
sets shininess visual value of the object with given argument Generated from method MR::ObjectMeshHolder::setShininess.
Calls MR_ObjectMeshHolder_setShininess().
| void meshlib::ObjectMeshHolder::set_specular_strength | ( | specularStrength:f32 | ) |
sets intensity of reflections Generated from method MR::ObjectMeshHolder::setSpecularStrength.
Calls MR_ObjectMeshHolder_setSpecularStrength().
| void meshlib::ObjectMeshHolder::set_texture_per_face | ( | texturePerFace:&meshlib::TexturePerFace | ) |
the texture ids for the faces if more than one texture is used to texture the object texture coordinates (data_.uvCoordinates) at a point can belong to different textures, depending on which face the point belongs to Generated from method MR::ObjectMeshHolder::setTexturePerFace.
Calls MR_ObjectMeshHolder_setTexturePerFace().
| void meshlib::ObjectMeshHolder::set_textures | ( | texture:&meshlib::Vector_MR_MeshTexture_MR_TextureId | ) |
Generated from method MR::ObjectMeshHolder::setTextures.
Calls MR_ObjectMeshHolder_setTextures().
| void meshlib::ObjectMeshHolder::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::ObjectMeshHolder::setUseDefaultScenePropertiesOnDeserialization.
Calls MR_ObjectMeshHolder_setUseDefaultScenePropertiesOnDeserialization().
| void meshlib::ObjectMeshHolder::set_uv_coords | ( | uvCoordinates:&meshlib::VertCoords2 | ) |
Generated from method MR::ObjectMeshHolder::setUVCoords.
Calls MR_ObjectMeshHolder_setUVCoords().
| void meshlib::ObjectMeshHolder::set_verts_color_map | ( | vertsColorMap:&meshlib::VertColors | ) |
sets per-vertex colors of the object Generated from method MR::ObjectMeshHolder::setVertsColorMap.
Calls MR_ObjectMeshHolder_setVertsColorMap().
| void meshlib::ObjectMeshHolder::set_visibility_mask | ( | viewportMask:&meshlib::ViewportMask | ) |
specifies object visibility as bitmask of viewports Generated from method MR::ObjectMeshHolder::setVisibilityMask.
Calls MR_ObjectMeshHolder_setVisibilityMask().
| void meshlib::ObjectMeshHolder::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::ObjectMeshHolder::setVisible.
Calls MR_ObjectMeshHolder_setVisible().
| void meshlib::ObjectMeshHolder::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::ObjectMeshHolder::setVisualizeProperty.
Calls MR_ObjectMeshHolder_setVisualizeProperty().
| void meshlib::ObjectMeshHolder::set_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
set visual property mask Generated from method MR::ObjectMeshHolder::setVisualizePropertyMask.
Calls MR_ObjectMeshHolder_setVisualizePropertyMask().
| void meshlib::ObjectMeshHolder::set_world_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectMeshHolder::setWorldXf.
Calls MR_ObjectMeshHolder_setWorldXf().
| void meshlib::ObjectMeshHolder::set_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectMeshHolder::setXf.
Calls MR_ObjectMeshHolder_setXf().
| void meshlib::ObjectMeshHolder::set_xfs_for_all_viewports | ( | xf:&meshlib::ViewportProperty_MR_AffineXf3f | ) |
modifies xfs for all viewports at once Generated from method MR::ObjectMeshHolder::setXfsForAllViewports.
Calls MR_ObjectMeshHolder_setXfsForAllViewports().
| auto meshlib::ObjectMeshHolder::shallow_clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::ObjectMeshHolder::shallowClone.
Calls MR_ObjectMeshHolder_shallowClone().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::shallowCloneTree.
Calls MR_ObjectMeshHolder_shallowCloneTree().
| void meshlib::ObjectMeshHolder::sort_children | ( | ) |
sort recognized children by name Generated from method MR::ObjectMeshHolder::sortChildren.
Calls MR_ObjectMeshHolder_sortChildren().
|
static |
Generated from method MR::ObjectMeshHolder::StaticClassName.
Calls MR_ObjectMeshHolder_StaticClassName().
|
static |
Generated from method MR::ObjectMeshHolder::StaticClassNameInPlural.
Calls MR_ObjectMeshHolder_StaticClassNameInPlural().
|
static |
Static downcast from the base class MR::Object.
Calls MR_ObjectMeshHolder_StaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a ObjectMeshHolder.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_ObjectMeshHolder_StaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a ObjectMeshHolder.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_ObjectMeshHolder_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a ObjectMeshHolder.
|
static |
Static downcast from the base class MR::Object.
Calls MR_ObjectMeshHolder_MutableStaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a ObjectMeshHolder.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_ObjectMeshHolder_StaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a ObjectMeshHolder.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_ObjectMeshHolder_MutableStaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a ObjectMeshHolder.
|
static |
Generated from method MR::ObjectMeshHolder::StaticTypeName.
Calls MR_ObjectMeshHolder_StaticTypeName().
| auto meshlib::ObjectMeshHolder::supports_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> bool |
Generated from method MR::ObjectMeshHolder::supportsVisualizeProperty.
Calls MR_ObjectMeshHolder_supportsVisualizeProperty().
| void meshlib::ObjectMeshHolder::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::ObjectMeshHolder::swap.
Calls MR_ObjectMeshHolder_swap().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::tags.
Calls MR_ObjectMeshHolder_tags().
| void meshlib::ObjectMeshHolder::toggle_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
toggle visual property in all viewports specified by the mask Generated from method MR::ObjectMeshHolder::toggleVisualizeProperty.
Calls MR_ObjectMeshHolder_toggleVisualizeProperty().
| auto meshlib::ObjectMeshHolder::total_area | ( | ) | const -> f64 |
returns cached summed area of mesh triangles Generated from method MR::ObjectMeshHolder::totalArea.
Calls MR_ObjectMeshHolder_totalArea().
| auto meshlib::ObjectMeshHolder::type_name | ( | ) | const -> Option<&core::ffi::c_char > |
Generated from method MR::ObjectMeshHolder::typeName.
Calls MR_ObjectMeshHolder_typeName().
| auto meshlib::ObjectMeshHolder::upcast_to_object | ( | ) | const -> &meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_ObjectMeshHolder_UpcastTo_MR_Object().
| auto meshlib::ObjectMeshHolder::upcast_to_object_children_holder | ( | ) | const -> &meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_ObjectMeshHolder_UpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::ObjectMeshHolder::upcast_to_object_children_holder_mut | ( | ) | -> &mut meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_ObjectMeshHolder_MutableUpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::ObjectMeshHolder::upcast_to_object_mut | ( | ) | -> &mut meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_ObjectMeshHolder_MutableUpcastTo_MR_Object().
| auto meshlib::ObjectMeshHolder::upcast_to_visual_object | ( | ) | const -> &meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_ObjectMeshHolder_UpcastTo_MR_VisualObject().
| auto meshlib::ObjectMeshHolder::upcast_to_visual_object_mut | ( | ) | -> &mut meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_ObjectMeshHolder_MutableUpcastTo_MR_VisualObject().
| void meshlib::ObjectMeshHolder::update_ancillary_uv_coords | ( | updated:&mut meshlib::VertCoords2 | ) |
Generated from method MR::ObjectMeshHolder::updateAncillaryUVCoords.
Calls MR_ObjectMeshHolder_updateAncillaryUVCoords().
| void meshlib::ObjectMeshHolder::update_data | ( | data:&mut meshlib::ObjectMeshData | ) |
swaps whole ObjectMeshData with given argument Generated from method MR::ObjectMeshHolder::updateData.
Calls MR_ObjectMeshHolder_updateData().
| void meshlib::ObjectMeshHolder::update_faces_color_map | ( | updated:&mut meshlib::FaceColors | ) |
Generated from method MR::ObjectMeshHolder::updateFacesColorMap.
Calls MR_ObjectMeshHolder_updateFacesColorMap().
| void meshlib::ObjectMeshHolder::update_texture_per_face | ( | texturePerFace:&mut meshlib::TexturePerFace | ) |
Generated from method MR::ObjectMeshHolder::updateTexturePerFace.
Calls MR_ObjectMeshHolder_updateTexturePerFace().
| void meshlib::ObjectMeshHolder::update_textures | ( | updated:&mut meshlib::Vector_MR_MeshTexture_MR_TextureId | ) |
Generated from method MR::ObjectMeshHolder::updateTextures.
Calls MR_ObjectMeshHolder_updateTextures().
| void meshlib::ObjectMeshHolder::update_uv_coords | ( | updated:&mut meshlib::VertCoords2 | ) |
Generated from method MR::ObjectMeshHolder::updateUVCoords.
Calls MR_ObjectMeshHolder_updateUVCoords().
| void meshlib::ObjectMeshHolder::update_verts_color_map | ( | vertsColorMap:&mut meshlib::VertColors | ) |
swaps per-vertex colors of the object with given argument Generated from method MR::ObjectMeshHolder::updateVertsColorMap.
Calls MR_ObjectMeshHolder_updateVertsColorMap().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::useDefaultScenePropertiesOnDeserialization.
Calls MR_ObjectMeshHolder_useDefaultScenePropertiesOnDeserialization().
| auto meshlib::ObjectMeshHolder::var_mesh_ptr | ( | ) | -> Option<&mut meshlib::Mesh > |
returns the mesh of this object for modification, or nullptr if it is not set Generated from method MR::ObjectMeshHolder::varMeshPtr.
Calls MR_ObjectMeshHolder_varMeshPtr().
| auto meshlib::ObjectMeshHolder::visibility_mask | ( | ) | const -> meshlib::Owned< meshlib::ViewportMask > |
gets object visibility as bitmask of viewports Generated from method MR::ObjectMeshHolder::visibilityMask.
Calls MR_ObjectMeshHolder_visibilityMask().
| auto meshlib::ObjectMeshHolder::volume | ( | ) | const -> f64 |
returns cached volume of space surrounded by the mesh, which is valid only if mesh is closed Generated from method MR::ObjectMeshHolder::volume.
Calls MR_ObjectMeshHolder_volume().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::worldXf. |
Calls MR_ObjectMeshHolder_worldXf().
| auto meshlib::ObjectMeshHolder::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::ObjectMeshHolder::xf. |
Calls MR_ObjectMeshHolder_xf().
| auto meshlib::ObjectMeshHolder::xfs_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_AffineXf3f |
returns xfs for all viewports, combined into a single object Generated from method MR::ObjectMeshHolder::xfsForAllViewports.
Calls MR_ObjectMeshHolder_xfsForAllViewports().