This class stores information about distance map object Generated from class MR::ObjectDistanceMap. Base classes: Direct: (non-virtual) MR::ObjectMeshHolder Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object MR::VisualObject
Generated from class MR::ObjectDistanceMap. Heap-allocated instances are held in Owned<ObjectDistanceMap>.
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::actualSerializeFormat.
Calls MR_ObjectDistanceMap_actualSerializeFormat().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::addChild. |
Calls MR_ObjectDistanceMap_addChild().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::addChildBefore.
Calls MR_ObjectDistanceMap_addChildBefore().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::addTag.
Calls MR_ObjectDistanceMap_addTag().
| void meshlib::ObjectDistanceMap::add_texture | ( | texture:&meshlib::MeshTexture | ) |
Generated from method MR::ObjectDistanceMap::addTexture.
Calls MR_ObjectDistanceMap_addTexture().
| void meshlib::ObjectDistanceMap::apply_scale | ( | scaleFactor:f32 | ) |
Generated from method MR::ObjectDistanceMap::applyScale.
Calls MR_ObjectDistanceMap_applyScale().
| auto meshlib::ObjectDistanceMap::assign_from_another | ( | _other:meshlib::Owned< meshlib::ObjectDistanceMap > | ) | -> &mut meshlib::ObjectDistanceMap |
Generated from method MR::ObjectDistanceMap::operator=.
Calls MR_ObjectDistanceMap_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::ObjectDistanceMap::avg_edge_len | ( | ) | const -> f32 |
returns cached average edge length Generated from method MR::ObjectDistanceMap::avgEdgeLen.
Calls MR_ObjectDistanceMap_avgEdgeLen().
| auto meshlib::ObjectDistanceMap::calculate_mesh | ( | cb:Option<&meshlib::std_function_bool_from_float > | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Mesh > |
creates a grid for this object Generated from method MR::ObjectDistanceMap::calculateMesh.
Calls MR_ObjectDistanceMap_calculateMesh().
| auto meshlib::ObjectDistanceMap::class_name | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::ObjectDistanceMap::className.
Calls MR_ObjectDistanceMap_className().
| auto meshlib::ObjectDistanceMap::class_name_in_plural | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::ObjectDistanceMap::classNameInPlural.
Calls MR_ObjectDistanceMap_classNameInPlural().
| void meshlib::ObjectDistanceMap::clear_ancillary_texture | ( | ) |
Generated from method MR::ObjectDistanceMap::clearAncillaryTexture.
Calls MR_ObjectDistanceMap_clearAncillaryTexture().
| auto meshlib::ObjectDistanceMap::clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::ObjectDistanceMap::clone.
Calls MR_ObjectDistanceMap_clone().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::cloneTree.
Calls MR_ObjectDistanceMap_cloneTree().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::constChildren.
Calls MR_ObjectDistanceMap_constChildren().
|
static |
Generated from constructor MR::ObjectDistanceMap::ObjectDistanceMap.
Calls MR_ObjectDistanceMap_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| void meshlib::ObjectDistanceMap::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::ObjectDistanceMap::copyAllSolidColors.
Calls MR_ObjectDistanceMap_copyAllSolidColors().
| void meshlib::ObjectDistanceMap::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::ObjectDistanceMap::copyColors. |
Calls MR_ObjectDistanceMap_copyColors().
| void meshlib::ObjectDistanceMap::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::ObjectDistanceMap::copyTextureAndColors. |
Calls MR_ObjectDistanceMap_copyTextureAndColors().
| auto meshlib::ObjectDistanceMap::creases | ( | ) | const -> &meshlib::UndirectedEdgeBitSet |
Edges on mesh, that will have sharp visualization even with smooth shading Generated from method MR::ObjectDistanceMap::creases.
Calls MR_ObjectDistanceMap_creases().
| auto meshlib::ObjectDistanceMap::data | ( | ) | const -> &meshlib::ObjectMeshData |
provides read-only access to whole ObjectMeshData Generated from method MR::ObjectDistanceMap::data.
Calls MR_ObjectDistanceMap_data().
| auto meshlib::ObjectDistanceMap::detach_from_parent | ( | ) | -> bool |
removes this from its parent children list returns false if it was already orphan Generated from method MR::ObjectDistanceMap::detachFromParent.
Calls MR_ObjectDistanceMap_detachFromParent().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a ObjectDistanceMap.
Calls MR_ObjectDistanceMap_DynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::ObjectMeshHolder. Returns None if the object isn't actually a ObjectDistanceMap.
Calls MR_ObjectDistanceMap_DynamicDowncastFrom_MR_ObjectMeshHolder().
|
static |
Dynamic downcast from the base class MR::ObjectMeshHolder. Returns None if the object isn't actually a ObjectDistanceMap.
Calls MR_ObjectDistanceMap_MutableDynamicDowncastFrom_MR_ObjectMeshHolder().
|
static |
Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a ObjectDistanceMap.
Calls MR_ObjectDistanceMap_MutableDynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a ObjectDistanceMap.
Calls MR_ObjectDistanceMap_DynamicDowncastFrom_MR_VisualObject().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a ObjectDistanceMap.
Calls MR_ObjectDistanceMap_MutableDynamicDowncastFrom_MR_VisualObject().
| auto meshlib::ObjectDistanceMap::flat_shading | ( | ) | const -> bool |
Generated from method MR::ObjectDistanceMap::flatShading.
Calls MR_ObjectDistanceMap_flatShading().
| auto meshlib::ObjectDistanceMap::get_all_visualize_properties | ( | ) | const -> meshlib::Owned< meshlib::std_vector_MR_ViewportMask > |
get all visualize properties masks Generated from method MR::ObjectDistanceMap::getAllVisualizeProperties.
Calls MR_ObjectDistanceMap_getAllVisualizeProperties().
| auto meshlib::ObjectDistanceMap::get_ambient_strength | ( | ) | const -> f32 |
returns intensity of non-directional light Generated from method MR::ObjectDistanceMap::getAmbientStrength.
Calls MR_ObjectDistanceMap_getAmbientStrength().
| auto meshlib::ObjectDistanceMap::get_ancillary_texture | ( | ) | const -> &meshlib::MeshTexture |
ancillary texture can be used to have custom features visualization without affecting real one Generated from method MR::ObjectDistanceMap::getAncillaryTexture.
Calls MR_ObjectDistanceMap_getAncillaryTexture().
| auto meshlib::ObjectDistanceMap::get_ancillary_uv_coords | ( | ) | const -> &meshlib::VertCoords2 |
Generated from method MR::ObjectDistanceMap::getAncillaryUVCoords.
Calls MR_ObjectDistanceMap_getAncillaryUVCoords().
| auto meshlib::ObjectDistanceMap::get_back_color | ( | viewportId:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns backward color of object in given viewport Generated from method MR::ObjectDistanceMap::getBackColor.
Calls MR_ObjectDistanceMap_getBackColor().
| auto meshlib::ObjectDistanceMap::get_back_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
returns backward color of object in all viewports Generated from method MR::ObjectDistanceMap::getBackColorsForAllViewports.
Calls MR_ObjectDistanceMap_getBackColorsForAllViewports().
| auto meshlib::ObjectDistanceMap::get_borders_color | ( | id:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
Generated from method MR::ObjectDistanceMap::getBordersColor.
Calls MR_ObjectDistanceMap_getBordersColor().
| auto meshlib::ObjectDistanceMap::get_borders_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::ObjectDistanceMap::getBordersColorsForAllViewports.
Calls MR_ObjectDistanceMap_getBordersColorsForAllViewports().
| auto meshlib::ObjectDistanceMap::get_bounding_box | ( | ) | const -> meshlib::Box3f |
returns cached bounding box of this object in local coordinates Generated from method MR::ObjectDistanceMap::getBoundingBox.
Calls MR_ObjectDistanceMap_getBoundingBox().
| auto meshlib::ObjectDistanceMap::get_coloring_type | ( | ) | const -> meshlib::ColoringType |
returns the current coloring mode of the object Generated from method MR::ObjectDistanceMap::getColoringType.
Calls MR_ObjectDistanceMap_getColoringType().
| auto meshlib::ObjectDistanceMap::get_dirty_flags | ( | ) | const -> core::ffi::c_uint |
returns current dirty flags for the object Generated from method MR::ObjectDistanceMap::getDirtyFlags.
Calls MR_ObjectDistanceMap_getDirtyFlags().
| auto meshlib::ObjectDistanceMap::get_distance_map | ( | ) | const -> &meshlib::std_shared_ptr_MR_DistanceMap |
Generated from method MR::ObjectDistanceMap::getDistanceMap.
Calls MR_ObjectDistanceMap_getDistanceMap().
| auto meshlib::ObjectDistanceMap::get_edge_width | ( | ) | const -> f32 |
Generated from method MR::ObjectDistanceMap::getEdgeWidth.
Calls MR_ObjectDistanceMap_getEdgeWidth().
| auto meshlib::ObjectDistanceMap::get_edges_color | ( | id:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
Generated from method MR::ObjectDistanceMap::getEdgesColor.
Calls MR_ObjectDistanceMap_getEdgesColor().
| auto meshlib::ObjectDistanceMap::get_edges_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::ObjectDistanceMap::getEdgesColorsForAllViewports.
Calls MR_ObjectDistanceMap_getEdgesColorsForAllViewports().
| auto meshlib::ObjectDistanceMap::get_faces_color_map | ( | ) | const -> &meshlib::FaceColors |
Generated from method MR::ObjectDistanceMap::getFacesColorMap.
Calls MR_ObjectDistanceMap_getFacesColorMap().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::getFrontColor.
Calls MR_ObjectDistanceMap_getFrontColor().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::getFrontColorsForAllViewports.
Calls MR_ObjectDistanceMap_getFrontColorsForAllViewports().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::getGlobalAlpha.
Calls MR_ObjectDistanceMap_getGlobalAlpha().
| auto meshlib::ObjectDistanceMap::get_global_alpha_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_unsigned_char |
returns global transparency alpha of object in all viewports Generated from method MR::ObjectDistanceMap::getGlobalAlphaForAllViewports.
Calls MR_ObjectDistanceMap_getGlobalAlphaForAllViewports().
| auto meshlib::ObjectDistanceMap::get_info_lines | ( | ) | const -> meshlib::Owned< meshlib::std_vector_std_string > |
Generated from method MR::ObjectDistanceMap::getInfoLines.
Calls MR_ObjectDistanceMap_getInfoLines().
| auto meshlib::ObjectDistanceMap::get_model_hash | ( | ) | const -> usize |
Generated from method MR::ObjectDistanceMap::getModelHash.
Calls MR_ObjectDistanceMap_getModelHash().
| auto meshlib::ObjectDistanceMap::get_point_size | ( | ) | const -> f32 |
Generated from method MR::ObjectDistanceMap::getPointSize.
Calls MR_ObjectDistanceMap_getPointSize().
| auto meshlib::ObjectDistanceMap::get_points_color | ( | id:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
Generated from method MR::ObjectDistanceMap::getPointsColor.
Calls MR_ObjectDistanceMap_getPointsColor().
| auto meshlib::ObjectDistanceMap::get_points_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::ObjectDistanceMap::getPointsColorsForAllViewports.
Calls MR_ObjectDistanceMap_getPointsColorsForAllViewports().
| auto meshlib::ObjectDistanceMap::get_redraw_flag | ( | viewportMask:&meshlib::ViewportMask | ) | const -> bool |
Generated from method MR::ObjectDistanceMap::getRedrawFlag.
Calls MR_ObjectDistanceMap_getRedrawFlag().
| auto meshlib::ObjectDistanceMap::get_selected_edges | ( | ) | const -> &meshlib::UndirectedEdgeBitSet |
Generated from method MR::ObjectDistanceMap::getSelectedEdges.
Calls MR_ObjectDistanceMap_getSelectedEdges().
| auto meshlib::ObjectDistanceMap::get_selected_edges_color | ( | id:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns colors of selected edges Generated from method MR::ObjectDistanceMap::getSelectedEdgesColor.
Calls MR_ObjectDistanceMap_getSelectedEdgesColor().
| auto meshlib::ObjectDistanceMap::get_selected_edges_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::ObjectDistanceMap::getSelectedEdgesColorsForAllViewports.
Calls MR_ObjectDistanceMap_getSelectedEdgesColorsForAllViewports().
| auto meshlib::ObjectDistanceMap::get_selected_faces | ( | ) | const -> &meshlib::FaceBitSet |
Generated from method MR::ObjectDistanceMap::getSelectedFaces.
Calls MR_ObjectDistanceMap_getSelectedFaces().
| auto meshlib::ObjectDistanceMap::get_selected_faces_color | ( | id:Option<&meshlib::ViewportId > | ) | const -> &meshlib::Color |
returns colors of selected triangles Generated from method MR::ObjectDistanceMap::getSelectedFacesColor.
Calls MR_ObjectDistanceMap_getSelectedFacesColor().
| auto meshlib::ObjectDistanceMap::get_selected_faces_colors_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_Color |
Generated from method MR::ObjectDistanceMap::getSelectedFacesColorsForAllViewports.
Calls MR_ObjectDistanceMap_getSelectedFacesColorsForAllViewports().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::getSharedPtr.
Calls MR_ObjectDistanceMap_getSharedPtr().
| auto meshlib::ObjectDistanceMap::get_shininess | ( | ) | const -> f32 |
returns the current shininess visual value Generated from method MR::ObjectDistanceMap::getShininess.
Calls MR_ObjectDistanceMap_getShininess().
| auto meshlib::ObjectDistanceMap::get_specular_strength | ( | ) | const -> f32 |
returns intensity of reflections Generated from method MR::ObjectDistanceMap::getSpecularStrength.
Calls MR_ObjectDistanceMap_getSpecularStrength().
| auto meshlib::ObjectDistanceMap::get_texture | ( | ) | const -> &meshlib::MeshTexture |
returns first texture in the vector. If there is no textures, returns empty texture Generated from method MR::ObjectDistanceMap::getTexture.
Calls MR_ObjectDistanceMap_getTexture().
| auto meshlib::ObjectDistanceMap::get_texture_per_face | ( | ) | const -> &meshlib::TexturePerFace |
Generated from method MR::ObjectDistanceMap::getTexturePerFace.
Calls MR_ObjectDistanceMap_getTexturePerFace().
| auto meshlib::ObjectDistanceMap::get_textures | ( | ) | const -> &meshlib::Vector_MR_MeshTexture_MR_TextureId |
Generated from method MR::ObjectDistanceMap::getTextures.
Calls MR_ObjectDistanceMap_getTextures().
| auto meshlib::ObjectDistanceMap::get_to_world_parameters | ( | ) | const -> &meshlib::AffineXf3f |
unlike the name, actually it is the transformation from distance map in local space Generated from method MR::ObjectDistanceMap::getToWorldParameters.
Calls MR_ObjectDistanceMap_getToWorldParameters().
| auto meshlib::ObjectDistanceMap::get_uv_coords | ( | ) | const -> &meshlib::VertCoords2 |
Generated from method MR::ObjectDistanceMap::getUVCoords.
Calls MR_ObjectDistanceMap_getUVCoords().
| auto meshlib::ObjectDistanceMap::get_verts_color_map | ( | ) | const -> &meshlib::VertColors |
returns per-vertex colors of the object Generated from method MR::ObjectDistanceMap::getVertsColorMap.
Calls MR_ObjectDistanceMap_getVertsColorMap().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::getVisualizeProperty.
Calls MR_ObjectDistanceMap_getVisualizeProperty().
| auto meshlib::ObjectDistanceMap::get_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> &meshlib::ViewportMask |
returns mask of viewports where given property is set Generated from method MR::ObjectDistanceMap::getVisualizePropertyMask.
Calls MR_ObjectDistanceMap_getVisualizePropertyMask().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::getWorldBox.
Calls MR_ObjectDistanceMap_getWorldBox().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::getWorldTreeBox.
Calls MR_ObjectDistanceMap_getWorldTreeBox().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::globalClippedByPlane.
Calls MR_ObjectDistanceMap_globalClippedByPlane().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::globalClippedByPlaneMask.
Calls MR_ObjectDistanceMap_globalClippedByPlaneMask().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::globalVisibility.
Calls MR_ObjectDistanceMap_globalVisibility().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::globalVisibilityMask.
Calls MR_ObjectDistanceMap_globalVisibilityMask().
| auto meshlib::ObjectDistanceMap::has_ancillary_texture | ( | ) | const -> bool |
Generated from method MR::ObjectDistanceMap::hasAncillaryTexture.
Calls MR_ObjectDistanceMap_hasAncillaryTexture().
| auto meshlib::ObjectDistanceMap::has_model | ( | ) | const -> bool |
Generated from method MR::ObjectDistanceMap::hasModel.
Calls MR_ObjectDistanceMap_hasModel().
| auto meshlib::ObjectDistanceMap::has_visual_representation | ( | ) | const -> bool |
mesh object can be seen if the mesh has at least one edge Generated from method MR::ObjectDistanceMap::hasVisualRepresentation.
Calls MR_ObjectDistanceMap_hasVisualRepresentation().
| auto meshlib::ObjectDistanceMap::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::ObjectDistanceMap::heapBytes.
Calls MR_ObjectDistanceMap_heapBytes().
| void meshlib::ObjectDistanceMap::invalidate_metrics_cache | ( | mask:core::ffi::c_uint | ) |
invalidates same caches with mesh metrics (area, volume, ...) as by setDirtyFlags( mask ) Generated from method MR::ObjectDistanceMap::invalidateMetricsCache.
Calls MR_ObjectDistanceMap_invalidateMetricsCache().
| auto meshlib::ObjectDistanceMap::is_ancestor | ( | ancestor:Option<&meshlib::Object > | ) | const -> bool |
return true if given object is ancestor of this one, false otherwise Generated from method MR::ObjectDistanceMap::isAncestor.
Calls MR_ObjectDistanceMap_isAncestor().
| auto meshlib::ObjectDistanceMap::is_ancillary | ( | ) | const -> bool |
Generated from method MR::ObjectDistanceMap::isAncillary.
Calls MR_ObjectDistanceMap_isAncillary().
| auto meshlib::ObjectDistanceMap::is_global_ancillary | ( | ) | const -> bool |
returns true if the object or any of its ancestors are ancillary Generated from method MR::ObjectDistanceMap::isGlobalAncillary.
Calls MR_ObjectDistanceMap_isGlobalAncillary().
| auto meshlib::ObjectDistanceMap::is_locked | ( | ) | const -> bool |
object properties lock for UI Generated from method MR::ObjectDistanceMap::isLocked.
Calls MR_ObjectDistanceMap_isLocked().
| auto meshlib::ObjectDistanceMap::is_mesh_closed | ( | ) | const -> bool |
returns cached information whether the mesh is closed Generated from method MR::ObjectDistanceMap::isMeshClosed.
Calls MR_ObjectDistanceMap_isMeshClosed().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::isParentLocked.
Calls MR_ObjectDistanceMap_isParentLocked().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::isPickable.
Calls MR_ObjectDistanceMap_isPickable().
| auto meshlib::ObjectDistanceMap::is_selected | ( | ) | const -> bool |
Generated from method MR::ObjectDistanceMap::isSelected.
Calls MR_ObjectDistanceMap_isSelected().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::isVisible.
Calls MR_ObjectDistanceMap_isVisible().
| auto meshlib::ObjectDistanceMap::mesh | ( | ) | const -> &meshlib::std_shared_ptr_const_MR_Mesh |
Calls MR_ObjectDistanceMap_mesh().
| auto meshlib::ObjectDistanceMap::mesh_part | ( | ) | const -> meshlib::Owned< meshlib::MeshPart > |
Calls MR_ObjectDistanceMap_meshPart().
| auto meshlib::ObjectDistanceMap::mesh_ptr | ( | ) | const -> Option<&meshlib::Mesh > |
returns the mesh of this object, or nullptr if it is not set Generated from method MR::ObjectDistanceMap::meshPtr.
Calls MR_ObjectDistanceMap_meshPtr().
| auto meshlib::ObjectDistanceMap::name | ( | ) | const -> &meshlib::std_string |
Generated from method MR::ObjectDistanceMap::name.
Calls MR_ObjectDistanceMap_name().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_ObjectDistanceMap_DefaultConstruct().
| auto meshlib::ObjectDistanceMap::num_components | ( | ) | const -> usize |
returns cached information about the number of components in the mesh Generated from method MR::ObjectDistanceMap::numComponents.
Calls MR_ObjectDistanceMap_numComponents().
| auto meshlib::ObjectDistanceMap::num_crease_edges | ( | ) | const -> usize |
returns cached information about the number of crease undirected edges in the mesh Generated from method MR::ObjectDistanceMap::numCreaseEdges.
Calls MR_ObjectDistanceMap_numCreaseEdges().
| auto meshlib::ObjectDistanceMap::num_handles | ( | ) | const -> usize |
returns cached information about the number of handles in the mesh Generated from method MR::ObjectDistanceMap::numHandles.
Calls MR_ObjectDistanceMap_numHandles().
| auto meshlib::ObjectDistanceMap::num_holes | ( | ) | const -> usize |
returns cached information about the number of holes in the mesh Generated from method MR::ObjectDistanceMap::numHoles.
Calls MR_ObjectDistanceMap_numHoles().
| auto meshlib::ObjectDistanceMap::num_selected_edges | ( | ) | const -> usize |
returns cached information about the number of selected undirected edges in the mesh Generated from method MR::ObjectDistanceMap::numSelectedEdges.
Calls MR_ObjectDistanceMap_numSelectedEdges().
| auto meshlib::ObjectDistanceMap::num_selected_faces | ( | ) | const -> usize |
returns cached information about the number of selected faces in the mesh Generated from method MR::ObjectDistanceMap::numSelectedFaces.
Calls MR_ObjectDistanceMap_numSelectedFaces().
| auto meshlib::ObjectDistanceMap::num_undirected_edges | ( | ) | const -> usize |
returns cached information about the number of undirected edges in the mesh Generated from method MR::ObjectDistanceMap::numUndirectedEdges.
Calls MR_ObjectDistanceMap_numUndirectedEdges().
| void meshlib::ObjectDistanceMap::remove_all_children | ( | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::ObjectDistanceMap::removeAllChildren.
Calls MR_ObjectDistanceMap_removeAllChildren().
| auto meshlib::ObjectDistanceMap::remove_tag | ( | tag:& | str | ) | -> bool |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ObjectDistanceMap::removeTag.
Calls MR_ObjectDistanceMap_removeTag().
| auto meshlib::ObjectDistanceMap::render | ( | _1:&meshlib::ModelRenderParams | ) | const -> bool |
draws this object for visualization Returns true if something was drawn. Generated from method MR::ObjectDistanceMap::render.
Calls MR_ObjectDistanceMap_render().
| void meshlib::ObjectDistanceMap::render_for_picker | ( | _1:&meshlib::ModelBaseRenderParams | , |
| _2:core::ffi::c_uint | ) const |
draws this object for picking Generated from method MR::ObjectDistanceMap::renderForPicker.
Calls MR_ObjectDistanceMap_renderForPicker().
| void meshlib::ObjectDistanceMap::render_ui | ( | params:&meshlib::UiRenderParams | ) | const |
draws this object for 2d UI Generated from method MR::ObjectDistanceMap::renderUi.
Calls MR_ObjectDistanceMap_renderUi().
| void meshlib::ObjectDistanceMap::reset_colors | ( | ) |
reset all object colors to their default values from the current theme Generated from method MR::ObjectDistanceMap::resetColors.
Calls MR_ObjectDistanceMap_resetColors().
| void meshlib::ObjectDistanceMap::reset_dirty | ( | ) | const |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::ObjectDistanceMap::resetDirty.
Calls MR_ObjectDistanceMap_resetDirty().
| void meshlib::ObjectDistanceMap::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::ObjectDistanceMap::resetDirtyExceptMask.
Calls MR_ObjectDistanceMap_resetDirtyExceptMask().
| void meshlib::ObjectDistanceMap::reset_front_color | ( | ) |
reset basic object colors to their default values from the current theme Generated from method MR::ObjectDistanceMap::resetFrontColor.
Calls MR_ObjectDistanceMap_resetFrontColor().
| void meshlib::ObjectDistanceMap::reset_redraw_flag | ( | ) | const |
Generated from method MR::ObjectDistanceMap::resetRedrawFlag.
Calls MR_ObjectDistanceMap_resetRedrawFlag().
| void meshlib::ObjectDistanceMap::reset_xf | ( | id:Option<&meshlib::ViewportId > | ) |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectDistanceMap::resetXf.
Calls MR_ObjectDistanceMap_resetXf().
| auto meshlib::ObjectDistanceMap::same_models | ( | other:&meshlib::Object | ) | const -> bool |
Generated from method MR::ObjectDistanceMap::sameModels.
Calls MR_ObjectDistanceMap_sameModels().
| auto meshlib::ObjectDistanceMap::select | ( | on:bool | ) | -> bool |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::ObjectDistanceMap::select.
Calls MR_ObjectDistanceMap_select().
| void meshlib::ObjectDistanceMap::select_edges | ( | newSelection:&meshlib::UndirectedEdgeBitSet | ) |
Generated from method MR::ObjectDistanceMap::selectEdges.
Calls MR_ObjectDistanceMap_selectEdges().
| void meshlib::ObjectDistanceMap::select_faces | ( | newSelection:&meshlib::FaceBitSet | ) |
Generated from method MR::ObjectDistanceMap::selectFaces.
Calls MR_ObjectDistanceMap_selectFaces().
| auto meshlib::ObjectDistanceMap::selected_area | ( | ) | const -> f64 |
returns cached area of selected triangles Generated from method MR::ObjectDistanceMap::selectedArea.
Calls MR_ObjectDistanceMap_selectedArea().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::serializeFormat.
Calls MR_ObjectDistanceMap_serializeFormat().
| void meshlib::ObjectDistanceMap::set_all_visualize_properties | ( | properties:&meshlib::std_vector_MR_ViewportMask | ) |
set all visualize properties masks Generated from method MR::ObjectDistanceMap::setAllVisualizeProperties.
Calls MR_ObjectDistanceMap_setAllVisualizeProperties().
| void meshlib::ObjectDistanceMap::set_ambient_strength | ( | ambientStrength:f32 | ) |
sets intensity of non-directional light Generated from method MR::ObjectDistanceMap::setAmbientStrength.
Calls MR_ObjectDistanceMap_setAmbientStrength().
| void meshlib::ObjectDistanceMap::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::ObjectDistanceMap::setAncillary.
Calls MR_ObjectDistanceMap_setAncillary().
| void meshlib::ObjectDistanceMap::set_ancillary_texture | ( | texture:&meshlib::MeshTexture | ) |
Generated from method MR::ObjectDistanceMap::setAncillaryTexture.
Calls MR_ObjectDistanceMap_setAncillaryTexture().
| void meshlib::ObjectDistanceMap::set_ancillary_uv_coords | ( | uvCoordinates:&meshlib::VertCoords2 | ) |
Generated from method MR::ObjectDistanceMap::setAncillaryUVCoords.
Calls MR_ObjectDistanceMap_setAncillaryUVCoords().
| void meshlib::ObjectDistanceMap::set_back_color | ( | color:&meshlib::Color | , |
| viewportId:Option<&meshlib::ViewportId > | ) |
sets backward color of object in given viewport Generated from method MR::ObjectDistanceMap::setBackColor.
Calls MR_ObjectDistanceMap_setBackColor().
| void meshlib::ObjectDistanceMap::set_back_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
sets backward color of object in all viewports Generated from method MR::ObjectDistanceMap::setBackColorsForAllViewports.
Calls MR_ObjectDistanceMap_setBackColorsForAllViewports().
| void meshlib::ObjectDistanceMap::set_borders_color | ( | color:&meshlib::Color | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectDistanceMap::setBordersColor.
Calls MR_ObjectDistanceMap_setBordersColor().
| void meshlib::ObjectDistanceMap::set_borders_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
Generated from method MR::ObjectDistanceMap::setBordersColorsForAllViewports.
Calls MR_ObjectDistanceMap_setBordersColorsForAllViewports().
| void meshlib::ObjectDistanceMap::set_coloring_type | ( | coloringType:meshlib::ColoringType | ) |
sets coloring mode of the object with given argument Generated from method MR::ObjectDistanceMap::setColoringType.
Calls MR_ObjectDistanceMap_setColoringType().
| void meshlib::ObjectDistanceMap::set_creases | ( | creases:&meshlib::UndirectedEdgeBitSet | ) |
Generated from method MR::ObjectDistanceMap::setCreases.
Calls MR_ObjectDistanceMap_setCreases().
| void meshlib::ObjectDistanceMap::set_data | ( | data:&mut meshlib::ObjectMeshData | ) |
sets whole new ObjectMeshData Generated from method MR::ObjectDistanceMap::setData.
Calls MR_ObjectDistanceMap_setData().
| void meshlib::ObjectDistanceMap::set_dirty_flags | ( | mask:core::ffi::c_uint | , |
| invalidateCaches:Option< bool > | ) |
Generated from method MR::ObjectDistanceMap::setDirtyFlags.
Calls MR_ObjectDistanceMap_setDirtyFlags().
| void meshlib::ObjectDistanceMap::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::ObjectDistanceMap::setDirtyFlagsFast.
Calls MR_ObjectDistanceMap_setDirtyFlagsFast().
| auto meshlib::ObjectDistanceMap::set_distance_map | ( | dmap:&meshlib::std_shared_ptr_MR_DistanceMap | , |
| dmap2local:&meshlib::AffineXf3f | , | ||
| needUpdateMesh:Option< bool > | , | ||
| cb:Option<&meshlib::std_function_bool_from_float > | ) -> bool |
rebuilds the mesh; if it is executed in the rendering stream then you can set the needUpdateMesh = true otherwise you should set the needUpdateMesh = false and call the function calculateMesh and after finishing in the rendering stream, call the function updateMesh Generated from method MR::ObjectDistanceMap::setDistanceMap.
Calls MR_ObjectDistanceMap_setDistanceMap().
| void meshlib::ObjectDistanceMap::set_edge_width | ( | edgeWidth:f32 | ) |
Generated from method MR::ObjectDistanceMap::setEdgeWidth.
Calls MR_ObjectDistanceMap_setEdgeWidth().
| void meshlib::ObjectDistanceMap::set_edges_color | ( | color:&meshlib::Color | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectDistanceMap::setEdgesColor.
Calls MR_ObjectDistanceMap_setEdgesColor().
| void meshlib::ObjectDistanceMap::set_edges_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
Generated from method MR::ObjectDistanceMap::setEdgesColorsForAllViewports.
Calls MR_ObjectDistanceMap_setEdgesColorsForAllViewports().
| void meshlib::ObjectDistanceMap::set_faces_color_map | ( | facesColorMap:&meshlib::FaceColors | ) |
Generated from method MR::ObjectDistanceMap::setFacesColorMap.
Calls MR_ObjectDistanceMap_setFacesColorMap().
| void meshlib::ObjectDistanceMap::set_flat_shading | ( | on:bool | ) |
sets flat (true) or smooth (false) shading Generated from method MR::ObjectDistanceMap::setFlatShading.
Calls MR_ObjectDistanceMap_setFlatShading().
| void meshlib::ObjectDistanceMap::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::ObjectDistanceMap::setFrontColor.
Calls MR_ObjectDistanceMap_setFrontColor().
| void meshlib::ObjectDistanceMap::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::ObjectDistanceMap::setFrontColorsForAllViewports.
Calls MR_ObjectDistanceMap_setFrontColorsForAllViewports().
| void meshlib::ObjectDistanceMap::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::ObjectDistanceMap::setGlobalAlpha.
Calls MR_ObjectDistanceMap_setGlobalAlpha().
| void meshlib::ObjectDistanceMap::set_global_alpha_for_all_viewports | ( | val:&meshlib::ViewportProperty_unsigned_char | ) |
sets global transparency alpha of object in all viewports Generated from method MR::ObjectDistanceMap::setGlobalAlphaForAllViewports.
Calls MR_ObjectDistanceMap_setGlobalAlphaForAllViewports().
| void meshlib::ObjectDistanceMap::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::ObjectDistanceMap::setGlobalClippedByPlane.
Calls MR_ObjectDistanceMap_setGlobalClippedByPlane().
| void meshlib::ObjectDistanceMap::set_global_visibility | ( | on:bool | , |
| viewportMask:Option<&meshlib::ViewportMask > | ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectDistanceMap::setGlobalVisibility.
Calls MR_ObjectDistanceMap_setGlobalVisibility().
| void meshlib::ObjectDistanceMap::set_locked | ( | on:bool | ) |
Generated from method MR::ObjectDistanceMap::setLocked.
Calls MR_ObjectDistanceMap_setLocked().
| void meshlib::ObjectDistanceMap::set_name | ( | name:& | str | ) |
Generated from method MR::ObjectDistanceMap::setName.
Calls MR_ObjectDistanceMap_setName().
| void meshlib::ObjectDistanceMap::set_parent_locked | ( | lock:bool | ) |
Generated from method MR::ObjectDistanceMap::setParentLocked.
Calls MR_ObjectDistanceMap_setParentLocked().
| void meshlib::ObjectDistanceMap::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::ObjectDistanceMap::setPickable.
Calls MR_ObjectDistanceMap_setPickable().
| void meshlib::ObjectDistanceMap::set_point_size | ( | size:f32 | ) |
Generated from method MR::ObjectDistanceMap::setPointSize.
Calls MR_ObjectDistanceMap_setPointSize().
| void meshlib::ObjectDistanceMap::set_points_color | ( | color:&meshlib::Color | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectDistanceMap::setPointsColor.
Calls MR_ObjectDistanceMap_setPointsColor().
| void meshlib::ObjectDistanceMap::set_points_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
Generated from method MR::ObjectDistanceMap::setPointsColorsForAllViewports.
Calls MR_ObjectDistanceMap_setPointsColorsForAllViewports().
| void meshlib::ObjectDistanceMap::set_selected_edges_color | ( | color:&meshlib::Color | , |
| id:Option<&meshlib::ViewportId > | ) |
sets colors of selected edges Generated from method MR::ObjectDistanceMap::setSelectedEdgesColor.
Calls MR_ObjectDistanceMap_setSelectedEdgesColor().
| void meshlib::ObjectDistanceMap::set_selected_edges_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
Generated from method MR::ObjectDistanceMap::setSelectedEdgesColorsForAllViewports.
Calls MR_ObjectDistanceMap_setSelectedEdgesColorsForAllViewports().
| void meshlib::ObjectDistanceMap::set_selected_faces_color | ( | color:&meshlib::Color | , |
| id:Option<&meshlib::ViewportId > | ) |
sets colors of selected triangles Generated from method MR::ObjectDistanceMap::setSelectedFacesColor.
Calls MR_ObjectDistanceMap_setSelectedFacesColor().
| void meshlib::ObjectDistanceMap::set_selected_faces_colors_for_all_viewports | ( | val:&meshlib::ViewportProperty_MR_Color | ) |
Generated from method MR::ObjectDistanceMap::setSelectedFacesColorsForAllViewports.
Calls MR_ObjectDistanceMap_setSelectedFacesColorsForAllViewports().
| void meshlib::ObjectDistanceMap::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::ObjectDistanceMap::setSerializeFormat.
Calls MR_ObjectDistanceMap_setSerializeFormat().
| void meshlib::ObjectDistanceMap::set_shininess | ( | shininess:f32 | ) |
sets shininess visual value of the object with given argument Generated from method MR::ObjectDistanceMap::setShininess.
Calls MR_ObjectDistanceMap_setShininess().
| void meshlib::ObjectDistanceMap::set_specular_strength | ( | specularStrength:f32 | ) |
sets intensity of reflections Generated from method MR::ObjectDistanceMap::setSpecularStrength.
Calls MR_ObjectDistanceMap_setSpecularStrength().
| void meshlib::ObjectDistanceMap::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::ObjectDistanceMap::setTexturePerFace.
Calls MR_ObjectDistanceMap_setTexturePerFace().
| void meshlib::ObjectDistanceMap::set_textures | ( | texture:&meshlib::Vector_MR_MeshTexture_MR_TextureId | ) |
Generated from method MR::ObjectDistanceMap::setTextures.
Calls MR_ObjectDistanceMap_setTextures().
| void meshlib::ObjectDistanceMap::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::ObjectDistanceMap::setUseDefaultScenePropertiesOnDeserialization.
Calls MR_ObjectDistanceMap_setUseDefaultScenePropertiesOnDeserialization().
| void meshlib::ObjectDistanceMap::set_uv_coords | ( | uvCoordinates:&meshlib::VertCoords2 | ) |
Generated from method MR::ObjectDistanceMap::setUVCoords.
Calls MR_ObjectDistanceMap_setUVCoords().
| void meshlib::ObjectDistanceMap::set_verts_color_map | ( | vertsColorMap:&meshlib::VertColors | ) |
sets per-vertex colors of the object Generated from method MR::ObjectDistanceMap::setVertsColorMap.
Calls MR_ObjectDistanceMap_setVertsColorMap().
| void meshlib::ObjectDistanceMap::set_visibility_mask | ( | viewportMask:&meshlib::ViewportMask | ) |
specifies object visibility as bitmask of viewports Generated from method MR::ObjectDistanceMap::setVisibilityMask.
Calls MR_ObjectDistanceMap_setVisibilityMask().
| void meshlib::ObjectDistanceMap::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::ObjectDistanceMap::setVisible.
Calls MR_ObjectDistanceMap_setVisible().
| void meshlib::ObjectDistanceMap::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::ObjectDistanceMap::setVisualizeProperty.
Calls MR_ObjectDistanceMap_setVisualizeProperty().
| void meshlib::ObjectDistanceMap::set_visualize_property_mask | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
set visual property mask Generated from method MR::ObjectDistanceMap::setVisualizePropertyMask.
Calls MR_ObjectDistanceMap_setVisualizePropertyMask().
| void meshlib::ObjectDistanceMap::set_world_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectDistanceMap::setWorldXf.
Calls MR_ObjectDistanceMap_setWorldXf().
| void meshlib::ObjectDistanceMap::set_xf | ( | xf:&meshlib::AffineXf3f | , |
| id:Option<&meshlib::ViewportId > | ) |
Generated from method MR::ObjectDistanceMap::setXf.
Calls MR_ObjectDistanceMap_setXf().
| void meshlib::ObjectDistanceMap::set_xfs_for_all_viewports | ( | xf:&meshlib::ViewportProperty_MR_AffineXf3f | ) |
modifies xfs for all viewports at once Generated from method MR::ObjectDistanceMap::setXfsForAllViewports.
Calls MR_ObjectDistanceMap_setXfsForAllViewports().
| auto meshlib::ObjectDistanceMap::shallow_clone | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
Generated from method MR::ObjectDistanceMap::shallowClone.
Calls MR_ObjectDistanceMap_shallowClone().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::shallowCloneTree.
Calls MR_ObjectDistanceMap_shallowCloneTree().
| void meshlib::ObjectDistanceMap::sort_children | ( | ) |
sort recognized children by name Generated from method MR::ObjectDistanceMap::sortChildren.
Calls MR_ObjectDistanceMap_sortChildren().
|
static |
Generated from method MR::ObjectDistanceMap::StaticClassName.
Calls MR_ObjectDistanceMap_StaticClassName().
|
static |
Generated from method MR::ObjectDistanceMap::StaticClassNameInPlural.
Calls MR_ObjectDistanceMap_StaticClassNameInPlural().
|
static |
Static downcast from the base class MR::Object.
Calls MR_ObjectDistanceMap_StaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a ObjectDistanceMap.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_ObjectDistanceMap_StaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a ObjectDistanceMap.
|
static |
Static downcast from the base class MR::ObjectChildrenHolder.
Calls MR_ObjectDistanceMap_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a ObjectDistanceMap.
|
static |
Static downcast from the base class MR::ObjectMeshHolder.
Calls MR_ObjectDistanceMap_StaticDowncastFrom_MR_ObjectMeshHolder(). Undefined behavior if the object isn't actually a ObjectDistanceMap.
|
static |
Static downcast from the base class MR::ObjectMeshHolder.
Calls MR_ObjectDistanceMap_MutableStaticDowncastFrom_MR_ObjectMeshHolder(). Undefined behavior if the object isn't actually a ObjectDistanceMap.
|
static |
Static downcast from the base class MR::Object.
Calls MR_ObjectDistanceMap_MutableStaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a ObjectDistanceMap.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_ObjectDistanceMap_StaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a ObjectDistanceMap.
|
static |
Static downcast from the base class MR::VisualObject.
Calls MR_ObjectDistanceMap_MutableStaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a ObjectDistanceMap.
|
static |
Generated from method MR::ObjectDistanceMap::StaticTypeName.
Calls MR_ObjectDistanceMap_StaticTypeName().
| auto meshlib::ObjectDistanceMap::supports_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | ) | const -> bool |
Generated from method MR::ObjectDistanceMap::supportsVisualizeProperty.
Calls MR_ObjectDistanceMap_supportsVisualizeProperty().
| void meshlib::ObjectDistanceMap::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::ObjectDistanceMap::swap.
Calls MR_ObjectDistanceMap_swap().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::tags.
Calls MR_ObjectDistanceMap_tags().
| void meshlib::ObjectDistanceMap::toggle_visualize_property | ( | type:&meshlib::AnyVisualizeMaskEnum | , |
| viewportMask:&meshlib::ViewportMask | ) |
toggle visual property in all viewports specified by the mask Generated from method MR::ObjectDistanceMap::toggleVisualizeProperty.
Calls MR_ObjectDistanceMap_toggleVisualizeProperty().
| auto meshlib::ObjectDistanceMap::total_area | ( | ) | const -> f64 |
returns cached summed area of mesh triangles Generated from method MR::ObjectDistanceMap::totalArea.
Calls MR_ObjectDistanceMap_totalArea().
| auto meshlib::ObjectDistanceMap::type_name | ( | ) | const -> Option<&core::ffi::c_char > |
Generated from method MR::ObjectDistanceMap::typeName.
Calls MR_ObjectDistanceMap_typeName().
| auto meshlib::ObjectDistanceMap::upcast_to_object | ( | ) | const -> &meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_ObjectDistanceMap_UpcastTo_MR_Object().
| auto meshlib::ObjectDistanceMap::upcast_to_object_children_holder | ( | ) | const -> &meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_ObjectDistanceMap_UpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::ObjectDistanceMap::upcast_to_object_children_holder_mut | ( | ) | -> &mut meshlib::ObjectChildrenHolder |
Upcasts to the base class MR::ObjectChildrenHolder.
Calls MR_ObjectDistanceMap_MutableUpcastTo_MR_ObjectChildrenHolder().
| auto meshlib::ObjectDistanceMap::upcast_to_object_mesh_holder | ( | ) | const -> &meshlib::ObjectMeshHolder |
Upcasts to the base class MR::ObjectMeshHolder.
Calls MR_ObjectDistanceMap_UpcastTo_MR_ObjectMeshHolder().
| auto meshlib::ObjectDistanceMap::upcast_to_object_mesh_holder_mut | ( | ) | -> &mut meshlib::ObjectMeshHolder |
Upcasts to the base class MR::ObjectMeshHolder.
Calls MR_ObjectDistanceMap_MutableUpcastTo_MR_ObjectMeshHolder().
| auto meshlib::ObjectDistanceMap::upcast_to_object_mut | ( | ) | -> &mut meshlib::Object |
Upcasts to the base class MR::Object.
Calls MR_ObjectDistanceMap_MutableUpcastTo_MR_Object().
| auto meshlib::ObjectDistanceMap::upcast_to_visual_object | ( | ) | const -> &meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_ObjectDistanceMap_UpcastTo_MR_VisualObject().
| auto meshlib::ObjectDistanceMap::upcast_to_visual_object_mut | ( | ) | -> &mut meshlib::VisualObject |
Upcasts to the base class MR::VisualObject.
Calls MR_ObjectDistanceMap_MutableUpcastTo_MR_VisualObject().
| void meshlib::ObjectDistanceMap::update_ancillary_uv_coords | ( | updated:&mut meshlib::VertCoords2 | ) |
Generated from method MR::ObjectDistanceMap::updateAncillaryUVCoords.
Calls MR_ObjectDistanceMap_updateAncillaryUVCoords().
| void meshlib::ObjectDistanceMap::update_data | ( | data:&mut meshlib::ObjectMeshData | ) |
swaps whole ObjectMeshData with given argument Generated from method MR::ObjectDistanceMap::updateData.
Calls MR_ObjectDistanceMap_updateData().
| void meshlib::ObjectDistanceMap::update_faces_color_map | ( | updated:&mut meshlib::FaceColors | ) |
Generated from method MR::ObjectDistanceMap::updateFacesColorMap.
Calls MR_ObjectDistanceMap_updateFacesColorMap().
| void meshlib::ObjectDistanceMap::update_mesh | ( | mesh:&meshlib::std_shared_ptr_MR_Mesh | ) |
updates the grid to the current one Generated from method MR::ObjectDistanceMap::updateMesh.
Calls MR_ObjectDistanceMap_updateMesh().
| void meshlib::ObjectDistanceMap::update_texture_per_face | ( | texturePerFace:&mut meshlib::TexturePerFace | ) |
Generated from method MR::ObjectDistanceMap::updateTexturePerFace.
Calls MR_ObjectDistanceMap_updateTexturePerFace().
| void meshlib::ObjectDistanceMap::update_textures | ( | updated:&mut meshlib::Vector_MR_MeshTexture_MR_TextureId | ) |
Generated from method MR::ObjectDistanceMap::updateTextures.
Calls MR_ObjectDistanceMap_updateTextures().
| void meshlib::ObjectDistanceMap::update_uv_coords | ( | updated:&mut meshlib::VertCoords2 | ) |
Generated from method MR::ObjectDistanceMap::updateUVCoords.
Calls MR_ObjectDistanceMap_updateUVCoords().
| void meshlib::ObjectDistanceMap::update_verts_color_map | ( | vertsColorMap:&mut meshlib::VertColors | ) |
swaps per-vertex colors of the object with given argument Generated from method MR::ObjectDistanceMap::updateVertsColorMap.
Calls MR_ObjectDistanceMap_updateVertsColorMap().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::useDefaultScenePropertiesOnDeserialization.
Calls MR_ObjectDistanceMap_useDefaultScenePropertiesOnDeserialization().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::varMeshPtr.
Calls MR_ObjectDistanceMap_varMeshPtr().
| auto meshlib::ObjectDistanceMap::visibility_mask | ( | ) | const -> meshlib::Owned< meshlib::ViewportMask > |
gets object visibility as bitmask of viewports Generated from method MR::ObjectDistanceMap::visibilityMask.
Calls MR_ObjectDistanceMap_visibilityMask().
| auto meshlib::ObjectDistanceMap::volume | ( | ) | const -> f64 |
returns cached volume of space surrounded by the mesh, which is valid only if mesh is closed Generated from method MR::ObjectDistanceMap::volume.
Calls MR_ObjectDistanceMap_volume().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::worldXf. |
Calls MR_ObjectDistanceMap_worldXf().
| auto meshlib::ObjectDistanceMap::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::ObjectDistanceMap::xf. |
Calls MR_ObjectDistanceMap_xf().
| auto meshlib::ObjectDistanceMap::xfs_for_all_viewports | ( | ) | const -> &meshlib::ViewportProperty_MR_AffineXf3f |
returns xfs for all viewports, combined into a single object Generated from method MR::ObjectDistanceMap::xfsForAllViewports.
Calls MR_ObjectDistanceMap_xfsForAllViewports().