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

Public Member Functions

auto assign_from_another (_other:meshlib::Owned< meshlib::ObjectVoxels >) -> &mut meshlib::ObjectVoxels
auto type_name () const -> Option<&core::ffi::c_char >
auto class_name () const -> meshlib::Owned< meshlib::std_string >
auto class_name_in_plural () const -> meshlib::Owned< meshlib::std_string >
void apply_scale (scaleFactor:f32)
auto surface () const -> &meshlib::std_shared_ptr_MR_Mesh
auto vdb_volume () const -> &meshlib::VdbVolume
auto var_vdb_volume () -> &mut meshlib::VdbVolume
auto grid () const -> &meshlib::FloatGrid
auto has_model () const -> bool
auto dimensions () const -> &meshlib::Vector3i
auto get_iso_value () const -> f32
auto histogram () const -> &meshlib::Histogram
auto voxel_size () const -> &meshlib::Vector3f
auto get_info_lines () const -> meshlib::Owned< meshlib::std_vector_std_string >
void construct_4 (simpleVolume:&meshlib::SimpleVolume, minmax:Option<&meshlib::std_optional_MR_Vector2f >, cb:Option<&meshlib::std_function_bool_from_float >, normalPlusGrad:Option< bool >)
void construct_3_mr_simple_volume_min_max (simpleVolumeMinMax:&meshlib::SimpleVolumeMinMax, cb:Option<&meshlib::std_function_bool_from_float >, normalPlusGrad:Option< bool >)
void construct_3_mr_float_grid (grid:&meshlib::FloatGrid, voxelSize:&meshlib::Vector3f, minmax:Option<&meshlib::std_optional_MR_Vector2f >)
void construct_1 (vdbVolume:&meshlib::VdbVolume)
void update_histogram_and_surface (cb:Option<&meshlib::std_function_bool_from_float >)
auto set_iso_value (iso:f32, cb:Option<&meshlib::std_function_bool_from_float >, updateSurface:Option< bool >) -> meshlib::Owned< meshlib::expected_bool_std_string >
auto update_iso_surface (mesh:&meshlib::std_shared_ptr_MR_Mesh) -> meshlib::Owned< meshlib::std_shared_ptr_MR_Mesh >
auto update_vdb_volume (vdbVolume:&meshlib::VdbVolume) -> meshlib::Owned< meshlib::VdbVolume >
auto update_histogram (histogram:&meshlib::Histogram) -> meshlib::Owned< meshlib::Histogram >
auto recalculate_iso_surface_2 (iso:f32, cb:Option<&meshlib::std_function_bool_from_float >) const -> meshlib::Owned< meshlib::expected_std_shared_ptr_MR_Mesh_std_string >
auto recalculate_iso_surface_3 (volume:&meshlib::VdbVolume, iso:f32, cb:Option<&meshlib::std_function_bool_from_float >) const -> meshlib::Owned< meshlib::expected_std_shared_ptr_MR_Mesh_std_string >
auto recalculate_histogram (minmax:Option<&meshlib::Vector2f >, cb:Option<&meshlib::std_function_bool_from_float >) const -> meshlib::Owned< meshlib::Histogram >
auto get_dual_marching_cubes () const -> bool
void set_dual_marching_cubes (on:bool, updateSurface:Option< bool >, cb:Option<&meshlib::std_function_bool_from_float >)
void set_voxel_point_positioner (positioner:&meshlib::std_function_MR_Vector3f_from_const_MR_Vector3f_ref_const_MR_Vector3f_ref_float_float_float)
void set_active_bounds (activeBox:&meshlib::Box3i, cb:Option<&meshlib::std_function_bool_from_float >, updateSurface:Option< bool >)
auto get_active_bounds () const -> &meshlib::Box3i
void invalidate_active_bounds_caches ()
auto get_selected_voxels () const -> &meshlib::VoxelBitSet
void select_voxels (selectedVoxels:&meshlib::VoxelBitSet)
auto get_volume_render_active_voxels () const -> &meshlib::VoxelBitSet
void set_volume_render_active_voxels (activeVoxels:&meshlib::VoxelBitSet)
auto get_voxel_id_by_coordinate (coord:&meshlib::Vector3i) const -> meshlib::VoxelId
auto get_voxel_id_by_point (point:&meshlib::Vector3f) const -> meshlib::VoxelId
auto get_coordinate_by_voxel_id (id:meshlib::VoxelId) const -> meshlib::Vector3i
auto get_volume_indexer () const -> &meshlib::VolumeIndexer
auto prepare_data_for_volume_rendering (cb:Option<&meshlib::std_function_bool_from_float >) const -> bool
auto is_volume_rendering_enabled () const -> bool
void enable_volume_rendering (on:bool)
auto get_volume_rendering_data () const -> meshlib::Owned< meshlib::SimpleVolume >
auto get_volume_rendering_params () const -> &meshlib::ObjectVoxels_VolumeRenderingParams
void set_volume_rendering_params (params:&meshlib::ObjectVoxels_VolumeRenderingParams)
auto has_visual_representation () const -> bool
void set_max_surface_vertices (maxVerts:core::ffi::c_int)
auto get_max_surface_vertices () const -> core::ffi::c_int
auto clone () const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >
auto shallow_clone () const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >
void set_dirty_flags (mask:core::ffi::c_uint, invalidateCaches:Option< bool >)
auto active_voxels () const -> usize
auto heap_bytes () const -> usize
auto serialize_format () const -> Option<&core::ffi::c_char >
void set_serialize_format (newFormat:Option<&core::ffi::c_char >)
void reset_front_color ()
auto var_mesh_ptr () -> Option<&mut meshlib::Mesh >
auto mesh_ptr () const -> Option<&meshlib::Mesh >
auto mesh () const -> &meshlib::std_shared_ptr_const_MR_Mesh
auto mesh_part () const -> meshlib::Owned< meshlib::MeshPart >
void set_dirty_flags_fast (mask:core::ffi::c_uint)
void invalidate_metrics_cache (mask:core::ffi::c_uint)
auto get_selected_faces () const -> &meshlib::FaceBitSet
void select_faces (newSelection:&meshlib::FaceBitSet)
auto get_selected_faces_color (id:Option<&meshlib::ViewportId >) const -> &meshlib::Color
void set_selected_faces_color (color:&meshlib::Color, id:Option<&meshlib::ViewportId >)
auto get_selected_edges () const -> &meshlib::UndirectedEdgeBitSet
void select_edges (newSelection:&meshlib::UndirectedEdgeBitSet)
auto get_selected_edges_color (id:Option<&meshlib::ViewportId >) const -> &meshlib::Color
void set_selected_edges_color (color:&meshlib::Color, id:Option<&meshlib::ViewportId >)
auto get_selected_edges_colors_for_all_viewports () const -> &meshlib::ViewportProperty_MR_Color
void set_selected_edges_colors_for_all_viewports (val:&meshlib::ViewportProperty_MR_Color)
auto get_selected_faces_colors_for_all_viewports () const -> &meshlib::ViewportProperty_MR_Color
void set_selected_faces_colors_for_all_viewports (val:&meshlib::ViewportProperty_MR_Color)
auto get_edges_colors_for_all_viewports () const -> &meshlib::ViewportProperty_MR_Color
void set_edges_colors_for_all_viewports (val:&meshlib::ViewportProperty_MR_Color)
auto get_points_colors_for_all_viewports () const -> &meshlib::ViewportProperty_MR_Color
void set_points_colors_for_all_viewports (val:&meshlib::ViewportProperty_MR_Color)
auto get_borders_colors_for_all_viewports () const -> &meshlib::ViewportProperty_MR_Color
void set_borders_colors_for_all_viewports (val:&meshlib::ViewportProperty_MR_Color)
void copy_all_solid_colors (other:&meshlib::ObjectMeshHolder)
auto creases () const -> &meshlib::UndirectedEdgeBitSet
void set_creases (creases:&meshlib::UndirectedEdgeBitSet)
void set_flat_shading (on:bool)
auto flat_shading () const -> bool
auto supports_visualize_property (type:&meshlib::AnyVisualizeMaskEnum) const -> bool
auto get_all_visualize_properties () const -> meshlib::Owned< meshlib::std_vector_MR_ViewportMask >
auto get_visualize_property_mask (type:&meshlib::AnyVisualizeMaskEnum) const -> &meshlib::ViewportMask
auto data () const -> &meshlib::ObjectMeshData
void set_data (data:&mut meshlib::ObjectMeshData)
void update_data (data:&mut meshlib::ObjectMeshData)
auto get_verts_color_map () const -> &meshlib::VertColors
void set_verts_color_map (vertsColorMap:&meshlib::VertColors)
void update_verts_color_map (vertsColorMap:&mut meshlib::VertColors)
auto get_faces_color_map () const -> &meshlib::FaceColors
void set_faces_color_map (facesColorMap:&meshlib::FaceColors)
void update_faces_color_map (updated:&mut meshlib::FaceColors)
void set_edge_width (edgeWidth:f32)
auto get_edge_width () const -> f32
void set_point_size (size:f32)
auto get_point_size () const -> f32
auto get_edges_color (id:Option<&meshlib::ViewportId >) const -> &meshlib::Color
void set_edges_color (color:&meshlib::Color, id:Option<&meshlib::ViewportId >)
auto get_points_color (id:Option<&meshlib::ViewportId >) const -> &meshlib::Color
void set_points_color (color:&meshlib::Color, id:Option<&meshlib::ViewportId >)
auto get_borders_color (id:Option<&meshlib::ViewportId >) const -> &meshlib::Color
void set_borders_color (color:&meshlib::Color, id:Option<&meshlib::ViewportId >)
auto get_texture () const -> &meshlib::MeshTexture
auto get_textures () const -> &meshlib::Vector_MR_MeshTexture_MR_TextureId
void set_textures (texture:&meshlib::Vector_MR_MeshTexture_MR_TextureId)
void update_textures (updated:&mut meshlib::Vector_MR_MeshTexture_MR_TextureId)
void set_texture_per_face (texturePerFace:&meshlib::TexturePerFace)
void update_texture_per_face (texturePerFace:&mut meshlib::TexturePerFace)
void add_texture (texture:&meshlib::MeshTexture)
auto get_texture_per_face () const -> &meshlib::TexturePerFace
auto get_uv_coords () const -> &meshlib::VertCoords2
void set_uv_coords (uvCoordinates:&meshlib::VertCoords2)
void update_uv_coords (updated:&mut meshlib::VertCoords2)
void copy_texture_and_colors (src:&meshlib::ObjectMeshHolder, thisToSrc:&meshlib::VertMap, thisToSrcFaces:Option<&meshlib::FaceMap >)
void copy_colors (src:&meshlib::ObjectMeshHolder, thisToSrc:&meshlib::VertMap, thisToSrcFaces:Option<&meshlib::FaceMap >)
auto get_ancillary_texture () const -> &meshlib::MeshTexture
void set_ancillary_texture (texture:&meshlib::MeshTexture)
auto get_ancillary_uv_coords () const -> &meshlib::VertCoords2
void set_ancillary_uv_coords (uvCoordinates:&meshlib::VertCoords2)
void update_ancillary_uv_coords (updated:&mut meshlib::VertCoords2)
auto has_ancillary_texture () const -> bool
void clear_ancillary_texture ()
auto get_redraw_flag (viewportMask:&meshlib::ViewportMask) const -> bool
auto is_mesh_closed () const -> bool
auto get_world_box (_1:Option<&meshlib::ViewportId >) const -> meshlib::Box3f
auto num_selected_faces () const -> usize
auto num_selected_edges () const -> usize
auto num_crease_edges () const -> usize
auto total_area () const -> f64
auto selected_area () const -> f64
auto volume () const -> f64
auto avg_edge_len () const -> f32
auto num_undirected_edges () const -> usize
auto num_holes () const -> usize
auto num_components () const -> usize
auto num_handles () const -> usize
auto actual_serialize_format () const -> Option<&core::ffi::c_char >
void reset_colors ()
auto get_model_hash () const -> usize
auto same_models (other:&meshlib::Object) const -> bool
void set_visualize_property (value:bool, type:&meshlib::AnyVisualizeMaskEnum, viewportMask:&meshlib::ViewportMask)
void set_visualize_property_mask (type:&meshlib::AnyVisualizeMaskEnum, viewportMask:&meshlib::ViewportMask)
auto get_visualize_property (type:&meshlib::AnyVisualizeMaskEnum, viewportMask:&meshlib::ViewportMask) const -> bool
void toggle_visualize_property (type:&meshlib::AnyVisualizeMaskEnum, viewportMask:&meshlib::ViewportMask)
void set_all_visualize_properties (properties:&meshlib::std_vector_MR_ViewportMask)
auto global_clipped_by_plane_mask () const -> meshlib::Owned< meshlib::ViewportMask >
auto global_clipped_by_plane (viewportMask:Option<&meshlib::ViewportMask >) const -> bool
void set_global_clipped_by_plane (on:bool, viewportMask:Option<&meshlib::ViewportMask >)
auto get_front_color (selected:Option< bool >, viewportId:Option<&meshlib::ViewportId >) const -> &meshlib::Color
void set_front_color (color:&meshlib::Color, selected:bool, viewportId:Option<&meshlib::ViewportId >)
auto get_front_colors_for_all_viewports (selected:Option< bool >) const -> &meshlib::ViewportProperty_MR_Color
void set_front_colors_for_all_viewports (val:&meshlib::ViewportProperty_MR_Color, selected:Option< bool >)
auto get_back_colors_for_all_viewports () const -> &meshlib::ViewportProperty_MR_Color
void set_back_colors_for_all_viewports (val:&meshlib::ViewportProperty_MR_Color)
auto get_back_color (viewportId:Option<&meshlib::ViewportId >) const -> &meshlib::Color
void set_back_color (color:&meshlib::Color, viewportId:Option<&meshlib::ViewportId >)
auto get_global_alpha (viewportId:Option<&meshlib::ViewportId >) const -> &core::ffi::c_uchar
void set_global_alpha (alpha:core::ffi::c_uchar, viewportId:Option<&meshlib::ViewportId >)
auto get_global_alpha_for_all_viewports () const -> &meshlib::ViewportProperty_unsigned_char
void set_global_alpha_for_all_viewports (val:&meshlib::ViewportProperty_unsigned_char)
auto get_dirty_flags () const -> core::ffi::c_uint
void reset_dirty () const
void reset_dirty_except_mask (mask:core::ffi::c_uint) const
auto get_bounding_box () const -> meshlib::Box3f
auto is_pickable (viewportMask:Option<&meshlib::ViewportMask >) const -> bool
void set_pickable (on:bool, viewportMask:Option<&meshlib::ViewportMask >)
auto get_coloring_type () const -> meshlib::ColoringType
void set_coloring_type (coloringType:meshlib::ColoringType)
auto get_shininess () const -> f32
void set_shininess (shininess:f32)
auto get_specular_strength () const -> f32
void set_specular_strength (specularStrength:f32)
auto get_ambient_strength () const -> f32
void set_ambient_strength (ambientStrength:f32)
auto render (_1:&meshlib::ModelRenderParams) const -> bool
void render_for_picker (_1:&meshlib::ModelBaseRenderParams, _2:core::ffi::c_uint) const
void render_ui (params:&meshlib::UiRenderParams) const
auto use_default_scene_properties_on_deserialization () const -> bool
void set_use_default_scene_properties_on_deserialization (useDefaultScenePropertiesOnDeserialization:bool)
auto name () const -> &meshlib::std_string
void set_name (name:&str)
auto xf (id:Option<&meshlib::ViewportId >, isDef:Option<&mut bool >) const -> &meshlib::AffineXf3f
void set_xf (xf:&meshlib::AffineXf3f, id:Option<&meshlib::ViewportId >)
void reset_xf (id:Option<&meshlib::ViewportId >)
auto xfs_for_all_viewports () const -> &meshlib::ViewportProperty_MR_AffineXf3f
void set_xfs_for_all_viewports (xf:&meshlib::ViewportProperty_MR_AffineXf3f)
auto world_xf (id:Option<&meshlib::ViewportId >, isDef:Option<&mut bool >) const -> meshlib::AffineXf3f
void set_world_xf (xf:&meshlib::AffineXf3f, id:Option<&meshlib::ViewportId >)
auto global_visibility_mask () const -> meshlib::Owned< meshlib::ViewportMask >
auto global_visibility (viewportMask:Option<&meshlib::ViewportMask >) const -> bool
void set_global_visibility (on:bool, viewportMask:Option<&meshlib::ViewportMask >)
auto is_locked () const -> bool
void set_locked (on:bool)
auto is_parent_locked () const -> bool
void set_parent_locked (lock:bool)
auto is_ancestor (ancestor:Option<&meshlib::Object >) const -> bool
auto detach_from_parent () -> bool
auto const_children () const -> meshlib::Owned< meshlib::ConstChildren >
auto add_child (child:&meshlib::std_shared_ptr_MR_Object, recognizedChild:Option< bool >) -> bool
auto add_child_before (newChild:&meshlib::std_shared_ptr_MR_Object, existingChild:&meshlib::std_shared_ptr_MR_Object) -> bool
void remove_all_children ()
void sort_children ()
auto select (on:bool) -> bool
auto is_selected () const -> bool
void set_ancillary (ancillary:bool)
auto is_ancillary () const -> bool
auto is_global_ancillary () const -> bool
void set_visible (on:bool, viewportMask:Option<&meshlib::ViewportMask >)
auto is_visible (viewportMask:Option<&meshlib::ViewportMask >) const -> bool
void set_visibility_mask (viewportMask:&meshlib::ViewportMask)
auto visibility_mask () const -> meshlib::Owned< meshlib::ViewportMask >
void reset_redraw_flag () const
auto clone_tree () const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >
auto shallow_clone_tree () const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >
void swap (other:&mut meshlib::Object)
auto get_world_tree_box (_1:Option<&meshlib::ViewportId >) const -> meshlib::Box3f
auto tags () const -> &meshlib::std_set_std_string
auto add_tag (tag:&str) -> bool
auto remove_tag (tag:&str) -> bool
auto get_shared_ptr () const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >
auto upcast_to_object_children_holder () const -> &meshlib::ObjectChildrenHolder
auto upcast_to_object_children_holder_mut () -> &mut meshlib::ObjectChildrenHolder
auto upcast_to_object () const -> &meshlib::Object
auto upcast_to_object_mut () -> &mut meshlib::Object
auto upcast_to_visual_object () const -> &meshlib::VisualObject
auto upcast_to_visual_object_mut () -> &mut meshlib::VisualObject
auto upcast_to_object_mesh_holder () const -> &meshlib::ObjectMeshHolder
auto upcast_to_object_mesh_holder_mut () -> &mut meshlib::ObjectMeshHolder

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::ObjectVoxels >
static auto construct_from_another (_other:meshlib::Owned< meshlib::ObjectVoxels >) -> meshlib::Owned< meshlib::ObjectVoxels >
static auto static_type_name () -> *const core::ffi::c_char
static auto static_class_name () -> *const core::ffi::c_char
static auto static_class_name_in_plural () -> *const core::ffi::c_char
static auto static_downcast_from_object_children_holder (object:&meshlib::ObjectChildrenHolder) -> &Self
static auto static_downcast_from_object_children_holder_mut (object:&mut meshlib::ObjectChildrenHolder) -> &mut Self
static auto static_downcast_from_object (object:&meshlib::Object) -> &Self
static auto static_downcast_from_object_mut (object:&mut meshlib::Object) -> &mut Self
static auto dynamic_downcast_from_object (object:&meshlib::Object) -> Option<&Self >
static auto dynamic_downcast_from_object_mut (object:&mut meshlib::Object) -> Option<&mut Self >
static auto static_downcast_from_visual_object (object:&meshlib::VisualObject) -> &Self
static auto static_downcast_from_visual_object_mut (object:&mut meshlib::VisualObject) -> &mut Self
static auto dynamic_downcast_from_visual_object (object:&meshlib::VisualObject) -> Option<&Self >
static auto dynamic_downcast_from_visual_object_mut (object:&mut meshlib::VisualObject) -> Option<&mut Self >
static auto static_downcast_from_object_mesh_holder (object:&meshlib::ObjectMeshHolder) -> &Self
static auto static_downcast_from_object_mesh_holder_mut (object:&mut meshlib::ObjectMeshHolder) -> &mut Self
static auto dynamic_downcast_from_object_mesh_holder (object:&meshlib::ObjectMeshHolder) -> Option<&Self >
static auto dynamic_downcast_from_object_mesh_holder_mut (object:&mut meshlib::ObjectMeshHolder) -> Option<&mut Self >
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)

Detailed Description

This class stores information about voxels object Generated from class MR::ObjectVoxels. Base classes: Direct: (non-virtual) MR::ObjectMeshHolder Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object MR::VisualObject

Generated from class MR::ObjectVoxels. Heap-allocated instances are held in Owned<ObjectVoxels>.

Member Function Documentation

◆ active_voxels()

auto meshlib::ObjectVoxels::active_voxels ( ) const -> usize

returns cached information about the number of active voxels Generated from method MR::ObjectVoxels::activeVoxels.

Calls MR_ObjectVoxels_activeVoxels().

◆ actual_serialize_format()

auto meshlib::ObjectVoxels::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::ObjectVoxels::actualSerializeFormat.

Calls MR_ObjectVoxels_actualSerializeFormat().

◆ add_child()

auto meshlib::ObjectVoxels::add_child ( child:&meshlib::std_shared_ptr_MR_Object ,
recognizedChild:Option< bool >  ) -> bool

adds given object at the end of children (recognized or not); returns false if it was already child of this, of if given pointer is empty; child object will always report this as parent after the call;

Parameters
recognizedChildif set to false then child object will be excluded from children() and it will be stored by weak_ptr Generated from method MR::ObjectVoxels::addChild.

Calls MR_ObjectVoxels_addChild().

◆ add_child_before()

auto meshlib::ObjectVoxels::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::ObjectVoxels::addChildBefore.

Calls MR_ObjectVoxels_addChildBefore().

◆ add_tag()

auto meshlib::ObjectVoxels::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::ObjectVoxels::addTag.

Calls MR_ObjectVoxels_addTag().

◆ add_texture()

void meshlib::ObjectVoxels::add_texture ( texture:&meshlib::MeshTexture )

Generated from method MR::ObjectVoxels::addTexture.

Calls MR_ObjectVoxels_addTexture().

◆ apply_scale()

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

Generated from method MR::ObjectVoxels::applyScale.

Calls MR_ObjectVoxels_applyScale().

◆ assign_from_another()

auto meshlib::ObjectVoxels::assign_from_another ( _other:meshlib::Owned< meshlib::ObjectVoxels > ) -> &mut meshlib::ObjectVoxels

Generated from method MR::ObjectVoxels::operator=.

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

◆ avg_edge_len()

auto meshlib::ObjectVoxels::avg_edge_len ( ) const -> f32

returns cached average edge length Generated from method MR::ObjectVoxels::avgEdgeLen.

Calls MR_ObjectVoxels_avgEdgeLen().

◆ class_name()

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

Generated from method MR::ObjectVoxels::className.

Calls MR_ObjectVoxels_className().

◆ class_name_in_plural()

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

Generated from method MR::ObjectVoxels::classNameInPlural.

Calls MR_ObjectVoxels_classNameInPlural().

◆ clear_ancillary_texture()

void meshlib::ObjectVoxels::clear_ancillary_texture ( )

Generated from method MR::ObjectVoxels::clearAncillaryTexture.

Calls MR_ObjectVoxels_clearAncillaryTexture().

◆ clone()

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

Generated from method MR::ObjectVoxels::clone.

Calls MR_ObjectVoxels_clone().

◆ clone_tree()

auto meshlib::ObjectVoxels::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::ObjectVoxels::cloneTree.

Calls MR_ObjectVoxels_cloneTree().

◆ const_children()

auto meshlib::ObjectVoxels::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::ObjectVoxels::constChildren.

Calls MR_ObjectVoxels_constChildren().

◆ construct_1()

void meshlib::ObjectVoxels::construct_1 ( vdbVolume:&meshlib::VdbVolume )

Clears all internal data and then creates grid and calculates histogram (surface is not built, call updateHistogramAndSurface) Generated from method MR::ObjectVoxels::construct.

Calls MR_ObjectVoxels_construct_1().

◆ construct_3_mr_float_grid()

void meshlib::ObjectVoxels::construct_3_mr_float_grid ( grid:&meshlib::FloatGrid ,
voxelSize:&meshlib::Vector3f ,
minmax:Option<&meshlib::std_optional_MR_Vector2f >  )

Clears all internal data and then remembers grid and calculates histogram (surface is not built, call updateHistogramAndSurface)

Parameters
minmaxoptional data about known min and max values Generated from method MR::ObjectVoxels::construct.

Calls MR_ObjectVoxels_construct_3_MR_FloatGrid().

◆ construct_3_mr_simple_volume_min_max()

void meshlib::ObjectVoxels::construct_3_mr_simple_volume_min_max ( simpleVolumeMinMax:&meshlib::SimpleVolumeMinMax ,
cb:Option<&meshlib::std_function_bool_from_float > ,
normalPlusGrad:Option< bool >  )

Clears all internal data and then creates grid and calculates histogram (surface is not built, call updateHistogramAndSurface)

Parameters
normalPlusGradtrue means that iso-surface normals will be along gradient, false means opposite direction set a new background for the VdbVolume, if normalPlusGrad = true, use the maximum value, otherwise the minimum value Generated from method MR::ObjectVoxels::construct.

Calls MR_ObjectVoxels_construct_3_MR_SimpleVolumeMinMax().

◆ construct_4()

void meshlib::ObjectVoxels::construct_4 ( simpleVolume:&meshlib::SimpleVolume ,
minmax:Option<&meshlib::std_optional_MR_Vector2f > ,
cb:Option<&meshlib::std_function_bool_from_float > ,
normalPlusGrad:Option< bool >  )

Clears all internal data and then creates grid and calculates histogram (surface is not built, call updateHistogramAndSurface)

Parameters
normalPlusGradtrue means that iso-surface normals will be along gradient, false means opposite direction
minmaxoptional data about known min and max values set a new background for the VdbVolume, if normalPlusGrad = true, use the maximum value, otherwise the minimum value Generated from method MR::ObjectVoxels::construct.

Calls MR_ObjectVoxels_construct_4().

◆ construct_from_another()

auto meshlib::ObjectVoxels::construct_from_another ( _other:meshlib::Owned< meshlib::ObjectVoxels > ) -> meshlib::Owned< meshlib::ObjectVoxels >
static

Generated from constructor MR::ObjectVoxels::ObjectVoxels.

Calls MR_ObjectVoxels_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ copy_all_solid_colors()

void meshlib::ObjectVoxels::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::ObjectVoxels::copyAllSolidColors.

Calls MR_ObjectVoxels_copyAllSolidColors().

◆ copy_colors()

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

copies vertex colors from given source object

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

Calls MR_ObjectVoxels_copyColors().

◆ copy_texture_and_colors()

void meshlib::ObjectVoxels::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

Parameters
srcusing given map
thisToSrcGenerated from method MR::ObjectVoxels::copyTextureAndColors.

Calls MR_ObjectVoxels_copyTextureAndColors().

◆ creases()

auto meshlib::ObjectVoxels::creases ( ) const -> &meshlib::UndirectedEdgeBitSet

Edges on mesh, that will have sharp visualization even with smooth shading Generated from method MR::ObjectVoxels::creases.

Calls MR_ObjectVoxels_creases().

◆ data()

auto meshlib::ObjectVoxels::data ( ) const -> &meshlib::ObjectMeshData

provides read-only access to whole ObjectMeshData Generated from method MR::ObjectVoxels::data.

Calls MR_ObjectVoxels_data().

◆ detach_from_parent()

auto meshlib::ObjectVoxels::detach_from_parent ( ) -> bool

removes this from its parent children list returns false if it was already orphan Generated from method MR::ObjectVoxels::detachFromParent.

Calls MR_ObjectVoxels_detachFromParent().

◆ dimensions()

auto meshlib::ObjectVoxels::dimensions ( ) const -> &meshlib::Vector3i

Returns dimensions of voxel objects Generated from method MR::ObjectVoxels::dimensions.

Calls MR_ObjectVoxels_dimensions().

◆ dynamic_downcast_from_object()

auto meshlib::ObjectVoxels::dynamic_downcast_from_object ( object:&meshlib::Object ) -> Option<&Self >
static

Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a ObjectVoxels.

Calls MR_ObjectVoxels_DynamicDowncastFrom_MR_Object().

◆ dynamic_downcast_from_object_mesh_holder()

auto meshlib::ObjectVoxels::dynamic_downcast_from_object_mesh_holder ( object:&meshlib::ObjectMeshHolder ) -> Option<&Self >
static

Dynamic downcast from the base class MR::ObjectMeshHolder. Returns None if the object isn't actually a ObjectVoxels.

Calls MR_ObjectVoxels_DynamicDowncastFrom_MR_ObjectMeshHolder().

◆ dynamic_downcast_from_object_mesh_holder_mut()

auto meshlib::ObjectVoxels::dynamic_downcast_from_object_mesh_holder_mut ( object:&mut meshlib::ObjectMeshHolder ) -> Option<&mut Self >
static

Dynamic downcast from the base class MR::ObjectMeshHolder. Returns None if the object isn't actually a ObjectVoxels.

Calls MR_ObjectVoxels_MutableDynamicDowncastFrom_MR_ObjectMeshHolder().

◆ dynamic_downcast_from_object_mut()

auto meshlib::ObjectVoxels::dynamic_downcast_from_object_mut ( object:&mut meshlib::Object ) -> Option<&mut Self >
static

Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a ObjectVoxels.

Calls MR_ObjectVoxels_MutableDynamicDowncastFrom_MR_Object().

◆ dynamic_downcast_from_visual_object()

auto meshlib::ObjectVoxels::dynamic_downcast_from_visual_object ( object:&meshlib::VisualObject ) -> Option<&Self >
static

Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a ObjectVoxels.

Calls MR_ObjectVoxels_DynamicDowncastFrom_MR_VisualObject().

◆ dynamic_downcast_from_visual_object_mut()

auto meshlib::ObjectVoxels::dynamic_downcast_from_visual_object_mut ( object:&mut meshlib::VisualObject ) -> Option<&mut Self >
static

Dynamic downcast from the base class MR::VisualObject. Returns None if the object isn't actually a ObjectVoxels.

Calls MR_ObjectVoxels_MutableDynamicDowncastFrom_MR_VisualObject().

◆ enable_volume_rendering()

void meshlib::ObjectVoxels::enable_volume_rendering ( on:bool )

this function should only be called from GUI thread because it changes rendering object, it can take some time to prepare data, so you can prepare data with progress callback by calling prepareDataForVolumeRendering(cb) function before calling this one Generated from method MR::ObjectVoxels::enableVolumeRendering.

Calls MR_ObjectVoxels_enableVolumeRendering().

◆ flat_shading()

auto meshlib::ObjectVoxels::flat_shading ( ) const -> bool

Generated from method MR::ObjectVoxels::flatShading.

Calls MR_ObjectVoxels_flatShading().

◆ get_active_bounds()

auto meshlib::ObjectVoxels::get_active_bounds ( ) const -> &meshlib::Box3i

Returns active bounds (max excluded) active bounds is box in voxel coordinates, note that voxels under (0,0,0) and voxels over (dimensions) are empty Generated from method MR::ObjectVoxels::getActiveBounds.

Calls MR_ObjectVoxels_getActiveBounds().

◆ get_all_visualize_properties()

auto meshlib::ObjectVoxels::get_all_visualize_properties ( ) const -> meshlib::Owned< meshlib::std_vector_MR_ViewportMask >

get all visualize properties masks Generated from method MR::ObjectVoxels::getAllVisualizeProperties.

Calls MR_ObjectVoxels_getAllVisualizeProperties().

◆ get_ambient_strength()

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

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

Calls MR_ObjectVoxels_getAmbientStrength().

◆ get_ancillary_texture()

auto meshlib::ObjectVoxels::get_ancillary_texture ( ) const -> &meshlib::MeshTexture

ancillary texture can be used to have custom features visualization without affecting real one Generated from method MR::ObjectVoxels::getAncillaryTexture.

Calls MR_ObjectVoxels_getAncillaryTexture().

◆ get_ancillary_uv_coords()

auto meshlib::ObjectVoxels::get_ancillary_uv_coords ( ) const -> &meshlib::VertCoords2

Generated from method MR::ObjectVoxels::getAncillaryUVCoords.

Calls MR_ObjectVoxels_getAncillaryUVCoords().

◆ get_back_color()

auto meshlib::ObjectVoxels::get_back_color ( viewportId:Option<&meshlib::ViewportId > ) const -> &meshlib::Color

returns backward color of object in given viewport Generated from method MR::ObjectVoxels::getBackColor.

Calls MR_ObjectVoxels_getBackColor().

◆ get_back_colors_for_all_viewports()

auto meshlib::ObjectVoxels::get_back_colors_for_all_viewports ( ) const -> &meshlib::ViewportProperty_MR_Color

returns backward color of object in all viewports Generated from method MR::ObjectVoxels::getBackColorsForAllViewports.

Calls MR_ObjectVoxels_getBackColorsForAllViewports().

◆ get_borders_color()

auto meshlib::ObjectVoxels::get_borders_color ( id:Option<&meshlib::ViewportId > ) const -> &meshlib::Color

Generated from method MR::ObjectVoxels::getBordersColor.

Calls MR_ObjectVoxels_getBordersColor().

◆ get_borders_colors_for_all_viewports()

auto meshlib::ObjectVoxels::get_borders_colors_for_all_viewports ( ) const -> &meshlib::ViewportProperty_MR_Color

Generated from method MR::ObjectVoxels::getBordersColorsForAllViewports.

Calls MR_ObjectVoxels_getBordersColorsForAllViewports().

◆ get_bounding_box()

auto meshlib::ObjectVoxels::get_bounding_box ( ) const -> meshlib::Box3f

returns cached bounding box of this object in local coordinates Generated from method MR::ObjectVoxels::getBoundingBox.

Calls MR_ObjectVoxels_getBoundingBox().

◆ get_coloring_type()

auto meshlib::ObjectVoxels::get_coloring_type ( ) const -> meshlib::ColoringType

returns the current coloring mode of the object Generated from method MR::ObjectVoxels::getColoringType.

Calls MR_ObjectVoxels_getColoringType().

◆ get_coordinate_by_voxel_id()

auto meshlib::ObjectVoxels::get_coordinate_by_voxel_id ( id:meshlib::VoxelId ) const -> meshlib::Vector3i

Generated from method MR::ObjectVoxels::getCoordinateByVoxelId.

Calls MR_ObjectVoxels_getCoordinateByVoxelId().

◆ get_dirty_flags()

auto meshlib::ObjectVoxels::get_dirty_flags ( ) const -> core::ffi::c_uint

returns current dirty flags for the object Generated from method MR::ObjectVoxels::getDirtyFlags.

Calls MR_ObjectVoxels_getDirtyFlags().

◆ get_dual_marching_cubes()

auto meshlib::ObjectVoxels::get_dual_marching_cubes ( ) const -> bool

returns true if the iso-surface is built using Dual Marching Cubes algorithm or false if using Standard Marching Cubes Generated from method MR::ObjectVoxels::getDualMarchingCubes.

Calls MR_ObjectVoxels_getDualMarchingCubes().

◆ get_edge_width()

auto meshlib::ObjectVoxels::get_edge_width ( ) const -> f32

Generated from method MR::ObjectVoxels::getEdgeWidth.

Calls MR_ObjectVoxels_getEdgeWidth().

◆ get_edges_color()

auto meshlib::ObjectVoxels::get_edges_color ( id:Option<&meshlib::ViewportId > ) const -> &meshlib::Color

Generated from method MR::ObjectVoxels::getEdgesColor.

Calls MR_ObjectVoxels_getEdgesColor().

◆ get_edges_colors_for_all_viewports()

auto meshlib::ObjectVoxels::get_edges_colors_for_all_viewports ( ) const -> &meshlib::ViewportProperty_MR_Color

Generated from method MR::ObjectVoxels::getEdgesColorsForAllViewports.

Calls MR_ObjectVoxels_getEdgesColorsForAllViewports().

◆ get_faces_color_map()

auto meshlib::ObjectVoxels::get_faces_color_map ( ) const -> &meshlib::FaceColors

Generated from method MR::ObjectVoxels::getFacesColorMap.

Calls MR_ObjectVoxels_getFacesColorMap().

◆ get_front_color()

auto meshlib::ObjectVoxels::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::ObjectVoxels::getFrontColor.

Calls MR_ObjectVoxels_getFrontColor().

◆ get_front_colors_for_all_viewports()

auto meshlib::ObjectVoxels::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::ObjectVoxels::getFrontColorsForAllViewports.

Calls MR_ObjectVoxels_getFrontColorsForAllViewports().

◆ get_global_alpha()

auto meshlib::ObjectVoxels::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::ObjectVoxels::getGlobalAlpha.

Calls MR_ObjectVoxels_getGlobalAlpha().

◆ get_global_alpha_for_all_viewports()

auto meshlib::ObjectVoxels::get_global_alpha_for_all_viewports ( ) const -> &meshlib::ViewportProperty_unsigned_char

returns global transparency alpha of object in all viewports Generated from method MR::ObjectVoxels::getGlobalAlphaForAllViewports.

Calls MR_ObjectVoxels_getGlobalAlphaForAllViewports().

◆ get_info_lines()

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

Generated from method MR::ObjectVoxels::getInfoLines.

Calls MR_ObjectVoxels_getInfoLines().

◆ get_iso_value()

auto meshlib::ObjectVoxels::get_iso_value ( ) const -> f32

Returns current iso value Generated from method MR::ObjectVoxels::getIsoValue.

Calls MR_ObjectVoxels_getIsoValue().

◆ get_max_surface_vertices()

auto meshlib::ObjectVoxels::get_max_surface_vertices ( ) const -> core::ffi::c_int

gets top limit on the number of vertices in the iso-surface Generated from method MR::ObjectVoxels::getMaxSurfaceVertices.

Calls MR_ObjectVoxels_getMaxSurfaceVertices().

◆ get_model_hash()

auto meshlib::ObjectVoxels::get_model_hash ( ) const -> usize

Generated from method MR::ObjectVoxels::getModelHash.

Calls MR_ObjectVoxels_getModelHash().

◆ get_point_size()

auto meshlib::ObjectVoxels::get_point_size ( ) const -> f32

Generated from method MR::ObjectVoxels::getPointSize.

Calls MR_ObjectVoxels_getPointSize().

◆ get_points_color()

auto meshlib::ObjectVoxels::get_points_color ( id:Option<&meshlib::ViewportId > ) const -> &meshlib::Color

Generated from method MR::ObjectVoxels::getPointsColor.

Calls MR_ObjectVoxels_getPointsColor().

◆ get_points_colors_for_all_viewports()

auto meshlib::ObjectVoxels::get_points_colors_for_all_viewports ( ) const -> &meshlib::ViewportProperty_MR_Color

Generated from method MR::ObjectVoxels::getPointsColorsForAllViewports.

Calls MR_ObjectVoxels_getPointsColorsForAllViewports().

◆ get_redraw_flag()

auto meshlib::ObjectVoxels::get_redraw_flag ( viewportMask:&meshlib::ViewportMask ) const -> bool

Generated from method MR::ObjectVoxels::getRedrawFlag.

Calls MR_ObjectVoxels_getRedrawFlag().

◆ get_selected_edges()

auto meshlib::ObjectVoxels::get_selected_edges ( ) const -> &meshlib::UndirectedEdgeBitSet

Generated from method MR::ObjectVoxels::getSelectedEdges.

Calls MR_ObjectVoxels_getSelectedEdges().

◆ get_selected_edges_color()

auto meshlib::ObjectVoxels::get_selected_edges_color ( id:Option<&meshlib::ViewportId > ) const -> &meshlib::Color

returns colors of selected edges Generated from method MR::ObjectVoxels::getSelectedEdgesColor.

Calls MR_ObjectVoxels_getSelectedEdgesColor().

◆ get_selected_edges_colors_for_all_viewports()

auto meshlib::ObjectVoxels::get_selected_edges_colors_for_all_viewports ( ) const -> &meshlib::ViewportProperty_MR_Color

Generated from method MR::ObjectVoxels::getSelectedEdgesColorsForAllViewports.

Calls MR_ObjectVoxels_getSelectedEdgesColorsForAllViewports().

◆ get_selected_faces()

auto meshlib::ObjectVoxels::get_selected_faces ( ) const -> &meshlib::FaceBitSet

Generated from method MR::ObjectVoxels::getSelectedFaces.

Calls MR_ObjectVoxels_getSelectedFaces().

◆ get_selected_faces_color()

auto meshlib::ObjectVoxels::get_selected_faces_color ( id:Option<&meshlib::ViewportId > ) const -> &meshlib::Color

returns colors of selected triangles Generated from method MR::ObjectVoxels::getSelectedFacesColor.

Calls MR_ObjectVoxels_getSelectedFacesColor().

◆ get_selected_faces_colors_for_all_viewports()

auto meshlib::ObjectVoxels::get_selected_faces_colors_for_all_viewports ( ) const -> &meshlib::ViewportProperty_MR_Color

Generated from method MR::ObjectVoxels::getSelectedFacesColorsForAllViewports.

Calls MR_ObjectVoxels_getSelectedFacesColorsForAllViewports().

◆ get_selected_voxels()

auto meshlib::ObjectVoxels::get_selected_voxels ( ) const -> &meshlib::VoxelBitSet

Generated from method MR::ObjectVoxels::getSelectedVoxels.

Calls MR_ObjectVoxels_getSelectedVoxels().

◆ get_shared_ptr()

auto meshlib::ObjectVoxels::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::ObjectVoxels::getSharedPtr.

Calls MR_ObjectVoxels_getSharedPtr().

◆ get_shininess()

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

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

Calls MR_ObjectVoxels_getShininess().

◆ get_specular_strength()

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

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

Calls MR_ObjectVoxels_getSpecularStrength().

◆ get_texture()

auto meshlib::ObjectVoxels::get_texture ( ) const -> &meshlib::MeshTexture

returns first texture in the vector. If there is no textures, returns empty texture Generated from method MR::ObjectVoxels::getTexture.

Calls MR_ObjectVoxels_getTexture().

◆ get_texture_per_face()

auto meshlib::ObjectVoxels::get_texture_per_face ( ) const -> &meshlib::TexturePerFace

Generated from method MR::ObjectVoxels::getTexturePerFace.

Calls MR_ObjectVoxels_getTexturePerFace().

◆ get_textures()

auto meshlib::ObjectVoxels::get_textures ( ) const -> &meshlib::Vector_MR_MeshTexture_MR_TextureId

Generated from method MR::ObjectVoxels::getTextures.

Calls MR_ObjectVoxels_getTextures().

◆ get_uv_coords()

auto meshlib::ObjectVoxels::get_uv_coords ( ) const -> &meshlib::VertCoords2

Generated from method MR::ObjectVoxels::getUVCoords.

Calls MR_ObjectVoxels_getUVCoords().

◆ get_verts_color_map()

auto meshlib::ObjectVoxels::get_verts_color_map ( ) const -> &meshlib::VertColors

returns per-vertex colors of the object Generated from method MR::ObjectVoxels::getVertsColorMap.

Calls MR_ObjectVoxels_getVertsColorMap().

◆ get_visualize_property()

auto meshlib::ObjectVoxels::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::ObjectVoxels::getVisualizeProperty.

Calls MR_ObjectVoxels_getVisualizeProperty().

◆ get_visualize_property_mask()

auto meshlib::ObjectVoxels::get_visualize_property_mask ( type:&meshlib::AnyVisualizeMaskEnum ) const -> &meshlib::ViewportMask

returns mask of viewports where given property is set Generated from method MR::ObjectVoxels::getVisualizePropertyMask.

Calls MR_ObjectVoxels_getVisualizePropertyMask().

◆ get_volume_indexer()

auto meshlib::ObjectVoxels::get_volume_indexer ( ) const -> &meshlib::VolumeIndexer

Returns indexer with more options Generated from method MR::ObjectVoxels::getVolumeIndexer.

Calls MR_ObjectVoxels_getVolumeIndexer().

◆ get_volume_render_active_voxels()

auto meshlib::ObjectVoxels::get_volume_render_active_voxels ( ) const -> &meshlib::VoxelBitSet

get active (visible) voxels Generated from method MR::ObjectVoxels::getVolumeRenderActiveVoxels.

Calls MR_ObjectVoxels_getVolumeRenderActiveVoxels().

◆ get_volume_rendering_data()

auto meshlib::ObjectVoxels::get_volume_rendering_data ( ) const -> meshlib::Owned< meshlib::SimpleVolume >

move volume rendering data to caller: basically used in RenderVolumeObject Generated from method MR::ObjectVoxels::getVolumeRenderingData.

Calls MR_ObjectVoxels_getVolumeRenderingData().

◆ get_volume_rendering_params()

auto meshlib::ObjectVoxels::get_volume_rendering_params ( ) const -> &meshlib::ObjectVoxels_VolumeRenderingParams

Generated from method MR::ObjectVoxels::getVolumeRenderingParams.

Calls MR_ObjectVoxels_getVolumeRenderingParams().

◆ get_voxel_id_by_coordinate()

auto meshlib::ObjectVoxels::get_voxel_id_by_coordinate ( coord:&meshlib::Vector3i ) const -> meshlib::VoxelId

VoxelId is numerical representation of voxel Coordinate is {x,y,z} indices of voxels in box (base dimensions space, NOT active dimensions) Point is local space coordinate of point in scene Generated from method MR::ObjectVoxels::getVoxelIdByCoordinate.

Calls MR_ObjectVoxels_getVoxelIdByCoordinate().

◆ get_voxel_id_by_point()

auto meshlib::ObjectVoxels::get_voxel_id_by_point ( point:&meshlib::Vector3f ) const -> meshlib::VoxelId

Generated from method MR::ObjectVoxels::getVoxelIdByPoint.

Calls MR_ObjectVoxels_getVoxelIdByPoint().

◆ get_world_box()

auto meshlib::ObjectVoxels::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::ObjectVoxels::getWorldBox.

Calls MR_ObjectVoxels_getWorldBox().

◆ get_world_tree_box()

auto meshlib::ObjectVoxels::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::ObjectVoxels::getWorldTreeBox.

Calls MR_ObjectVoxels_getWorldTreeBox().

◆ global_clipped_by_plane()

auto meshlib::ObjectVoxels::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::ObjectVoxels::globalClippedByPlane.

Calls MR_ObjectVoxels_globalClippedByPlane().

◆ global_clipped_by_plane_mask()

auto meshlib::ObjectVoxels::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::ObjectVoxels::globalClippedByPlaneMask.

Calls MR_ObjectVoxels_globalClippedByPlaneMask().

◆ global_visibility()

auto meshlib::ObjectVoxels::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::ObjectVoxels::globalVisibility.

Calls MR_ObjectVoxels_globalVisibility().

◆ global_visibility_mask()

auto meshlib::ObjectVoxels::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::ObjectVoxels::globalVisibilityMask.

Calls MR_ObjectVoxels_globalVisibilityMask().

◆ grid()

auto meshlib::ObjectVoxels::grid ( ) const -> &meshlib::FloatGrid

Returns Float grid which contains voxels data, see more on openvdb::FloatGrid Generated from method MR::ObjectVoxels::grid.

Calls MR_ObjectVoxels_grid().

◆ has_ancillary_texture()

auto meshlib::ObjectVoxels::has_ancillary_texture ( ) const -> bool

Generated from method MR::ObjectVoxels::hasAncillaryTexture.

Calls MR_ObjectVoxels_hasAncillaryTexture().

◆ has_model()

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

Generated from method MR::ObjectVoxels::hasModel.

Calls MR_ObjectVoxels_hasModel().

◆ has_visual_representation()

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

Generated from method MR::ObjectVoxels::hasVisualRepresentation.

Calls MR_ObjectVoxels_hasVisualRepresentation().

◆ heap_bytes()

auto meshlib::ObjectVoxels::heap_bytes ( ) const -> usize

returns the amount of memory this object occupies on heap Generated from method MR::ObjectVoxels::heapBytes.

Calls MR_ObjectVoxels_heapBytes().

◆ histogram()

auto meshlib::ObjectVoxels::histogram ( ) const -> &meshlib::Histogram

Returns histogram Generated from method MR::ObjectVoxels::histogram.

Calls MR_ObjectVoxels_histogram().

◆ invalidate_active_bounds_caches()

void meshlib::ObjectVoxels::invalidate_active_bounds_caches ( )

Call this function in main thread post processing if you call setActiveBounds from progress bar thread Generated from method MR::ObjectVoxels::invalidateActiveBoundsCaches.

Calls MR_ObjectVoxels_invalidateActiveBoundsCaches().

◆ invalidate_metrics_cache()

void meshlib::ObjectVoxels::invalidate_metrics_cache ( mask:core::ffi::c_uint )

invalidates same caches with mesh metrics (area, volume, ...) as by setDirtyFlags( mask ) Generated from method MR::ObjectVoxels::invalidateMetricsCache.

Calls MR_ObjectVoxels_invalidateMetricsCache().

◆ is_ancestor()

auto meshlib::ObjectVoxels::is_ancestor ( ancestor:Option<&meshlib::Object > ) const -> bool

return true if given object is ancestor of this one, false otherwise Generated from method MR::ObjectVoxels::isAncestor.

Calls MR_ObjectVoxels_isAncestor().

◆ is_ancillary()

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

Generated from method MR::ObjectVoxels::isAncillary.

Calls MR_ObjectVoxels_isAncillary().

◆ is_global_ancillary()

auto meshlib::ObjectVoxels::is_global_ancillary ( ) const -> bool

returns true if the object or any of its ancestors are ancillary Generated from method MR::ObjectVoxels::isGlobalAncillary.

Calls MR_ObjectVoxels_isGlobalAncillary().

◆ is_locked()

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

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

Calls MR_ObjectVoxels_isLocked().

◆ is_mesh_closed()

auto meshlib::ObjectVoxels::is_mesh_closed ( ) const -> bool

returns cached information whether the mesh is closed Generated from method MR::ObjectVoxels::isMeshClosed.

Calls MR_ObjectVoxels_isMeshClosed().

◆ is_parent_locked()

auto meshlib::ObjectVoxels::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::ObjectVoxels::isParentLocked.

Calls MR_ObjectVoxels_isParentLocked().

◆ is_pickable()

auto meshlib::ObjectVoxels::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::ObjectVoxels::isPickable.

Calls MR_ObjectVoxels_isPickable().

◆ is_selected()

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

Generated from method MR::ObjectVoxels::isSelected.

Calls MR_ObjectVoxels_isSelected().

◆ is_visible()

auto meshlib::ObjectVoxels::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::ObjectVoxels::isVisible.

Calls MR_ObjectVoxels_isVisible().

◆ is_volume_rendering_enabled()

auto meshlib::ObjectVoxels::is_volume_rendering_enabled ( ) const -> bool

Generated from method MR::ObjectVoxels::isVolumeRenderingEnabled.

Calls MR_ObjectVoxels_isVolumeRenderingEnabled().

◆ mesh()

auto meshlib::ObjectVoxels::mesh ( ) const -> &meshlib::std_shared_ptr_const_MR_Mesh
Deprecated
the cast inside is undefined behaviour, use meshPtr() instead Generated from method MR::ObjectVoxels::mesh.

Calls MR_ObjectVoxels_mesh().

Deprecated
use meshPtr() instead

◆ mesh_part()

auto meshlib::ObjectVoxels::mesh_part ( ) const -> meshlib::Owned< meshlib::MeshPart >
Returns
the pair ( mesh, selected triangles ) if any triangle is selected or whole mesh otherwise Generated from method MR::ObjectVoxels::meshPart.

Calls MR_ObjectVoxels_meshPart().

◆ mesh_ptr()

auto meshlib::ObjectVoxels::mesh_ptr ( ) const -> Option<&meshlib::Mesh >

returns the mesh of this object, or nullptr if it is not set Generated from method MR::ObjectVoxels::meshPtr.

Calls MR_ObjectVoxels_meshPtr().

◆ name()

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

Generated from method MR::ObjectVoxels::name.

Calls MR_ObjectVoxels_name().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_ObjectVoxels_DefaultConstruct().

◆ num_components()

auto meshlib::ObjectVoxels::num_components ( ) const -> usize

returns cached information about the number of components in the mesh Generated from method MR::ObjectVoxels::numComponents.

Calls MR_ObjectVoxels_numComponents().

◆ num_crease_edges()

auto meshlib::ObjectVoxels::num_crease_edges ( ) const -> usize

returns cached information about the number of crease undirected edges in the mesh Generated from method MR::ObjectVoxels::numCreaseEdges.

Calls MR_ObjectVoxels_numCreaseEdges().

◆ num_handles()

auto meshlib::ObjectVoxels::num_handles ( ) const -> usize

returns cached information about the number of handles in the mesh Generated from method MR::ObjectVoxels::numHandles.

Calls MR_ObjectVoxels_numHandles().

◆ num_holes()

auto meshlib::ObjectVoxels::num_holes ( ) const -> usize

returns cached information about the number of holes in the mesh Generated from method MR::ObjectVoxels::numHoles.

Calls MR_ObjectVoxels_numHoles().

◆ num_selected_edges()

auto meshlib::ObjectVoxels::num_selected_edges ( ) const -> usize

returns cached information about the number of selected undirected edges in the mesh Generated from method MR::ObjectVoxels::numSelectedEdges.

Calls MR_ObjectVoxels_numSelectedEdges().

◆ num_selected_faces()

auto meshlib::ObjectVoxels::num_selected_faces ( ) const -> usize

returns cached information about the number of selected faces in the mesh Generated from method MR::ObjectVoxels::numSelectedFaces.

Calls MR_ObjectVoxels_numSelectedFaces().

◆ num_undirected_edges()

auto meshlib::ObjectVoxels::num_undirected_edges ( ) const -> usize

returns cached information about the number of undirected edges in the mesh Generated from method MR::ObjectVoxels::numUndirectedEdges.

Calls MR_ObjectVoxels_numUndirectedEdges().

◆ prepare_data_for_volume_rendering()

auto meshlib::ObjectVoxels::prepare_data_for_volume_rendering ( cb:Option<&meshlib::std_function_bool_from_float > ) const -> bool

prepare data for volume rendering returns false if canceled or voxel data is empty Generated from method MR::ObjectVoxels::prepareDataForVolumeRendering.

Calls MR_ObjectVoxels_prepareDataForVolumeRendering().

◆ recalculate_histogram()

auto meshlib::ObjectVoxels::recalculate_histogram ( minmax:Option<&meshlib::Vector2f > ,
cb:Option<&meshlib::std_function_bool_from_float >  ) const -> meshlib::Owned< meshlib::Histogram >

Calculates and returns new histogram Generated from method MR::ObjectVoxels::recalculateHistogram.

Calls MR_ObjectVoxels_recalculateHistogram().

◆ recalculate_iso_surface_2()

auto meshlib::ObjectVoxels::recalculate_iso_surface_2 ( iso:f32 ,
cb:Option<&meshlib::std_function_bool_from_float >  ) const -> meshlib::Owned< meshlib::expected_std_shared_ptr_MR_Mesh_std_string >

Calculates and return new mesh or error message Generated from method MR::ObjectVoxels::recalculateIsoSurface.

Calls MR_ObjectVoxels_recalculateIsoSurface_2().

◆ recalculate_iso_surface_3()

auto meshlib::ObjectVoxels::recalculate_iso_surface_3 ( volume:&meshlib::VdbVolume ,
iso:f32 ,
cb:Option<&meshlib::std_function_bool_from_float >  ) const -> meshlib::Owned< meshlib::expected_std_shared_ptr_MR_Mesh_std_string >

Same as above, but takes external volume Generated from method MR::ObjectVoxels::recalculateIsoSurface.

Calls MR_ObjectVoxels_recalculateIsoSurface_3().

◆ remove_all_children()

void meshlib::ObjectVoxels::remove_all_children ( )

detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::ObjectVoxels::removeAllChildren.

Calls MR_ObjectVoxels_removeAllChildren().

◆ remove_tag()

auto meshlib::ObjectVoxels::remove_tag ( tag:& str) -> bool

removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ObjectVoxels::removeTag.

Calls MR_ObjectVoxels_removeTag().

◆ render()

auto meshlib::ObjectVoxels::render ( _1:&meshlib::ModelRenderParams ) const -> bool

draws this object for visualization Returns true if something was drawn. Generated from method MR::ObjectVoxels::render.

Calls MR_ObjectVoxels_render().

◆ render_for_picker()

void meshlib::ObjectVoxels::render_for_picker ( _1:&meshlib::ModelBaseRenderParams ,
_2:core::ffi::c_uint  ) const

draws this object for picking Generated from method MR::ObjectVoxels::renderForPicker.

Calls MR_ObjectVoxels_renderForPicker().

◆ render_ui()

void meshlib::ObjectVoxels::render_ui ( params:&meshlib::UiRenderParams ) const

draws this object for 2d UI Generated from method MR::ObjectVoxels::renderUi.

Calls MR_ObjectVoxels_renderUi().

◆ reset_colors()

void meshlib::ObjectVoxels::reset_colors ( )

reset all object colors to their default values from the current theme Generated from method MR::ObjectVoxels::resetColors.

Calls MR_ObjectVoxels_resetColors().

◆ reset_dirty()

void meshlib::ObjectVoxels::reset_dirty ( ) const

resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::ObjectVoxels::resetDirty.

Calls MR_ObjectVoxels_resetDirty().

◆ reset_dirty_except_mask()

void meshlib::ObjectVoxels::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::ObjectVoxels::resetDirtyExceptMask.

Calls MR_ObjectVoxels_resetDirtyExceptMask().

◆ reset_front_color()

void meshlib::ObjectVoxels::reset_front_color ( )

reset basic object colors to their default values from the current theme Generated from method MR::ObjectVoxels::resetFrontColor.

Calls MR_ObjectVoxels_resetFrontColor().

◆ reset_redraw_flag()

void meshlib::ObjectVoxels::reset_redraw_flag ( ) const

Generated from method MR::ObjectVoxels::resetRedrawFlag.

Calls MR_ObjectVoxels_resetRedrawFlag().

◆ reset_xf()

void meshlib::ObjectVoxels::reset_xf ( id:Option<&meshlib::ViewportId > )

forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectVoxels::resetXf.

Calls MR_ObjectVoxels_resetXf().

◆ same_models()

auto meshlib::ObjectVoxels::same_models ( other:&meshlib::Object ) const -> bool

Generated from method MR::ObjectVoxels::sameModels.

Calls MR_ObjectVoxels_sameModels().

◆ select()

auto meshlib::ObjectVoxels::select ( on:bool ) -> bool

selects the object, returns true if value changed, otherwise returns false Generated from method MR::ObjectVoxels::select.

Calls MR_ObjectVoxels_select().

◆ select_edges()

void meshlib::ObjectVoxels::select_edges ( newSelection:&meshlib::UndirectedEdgeBitSet )

Generated from method MR::ObjectVoxels::selectEdges.

Calls MR_ObjectVoxels_selectEdges().

◆ select_faces()

void meshlib::ObjectVoxels::select_faces ( newSelection:&meshlib::FaceBitSet )

Generated from method MR::ObjectVoxels::selectFaces.

Calls MR_ObjectVoxels_selectFaces().

◆ select_voxels()

void meshlib::ObjectVoxels::select_voxels ( selectedVoxels:&meshlib::VoxelBitSet )

Generated from method MR::ObjectVoxels::selectVoxels.

Calls MR_ObjectVoxels_selectVoxels().

◆ selected_area()

auto meshlib::ObjectVoxels::selected_area ( ) const -> f64

returns cached area of selected triangles Generated from method MR::ObjectVoxels::selectedArea.

Calls MR_ObjectVoxels_selectedArea().

◆ serialize_format()

auto meshlib::ObjectVoxels::serialize_format ( ) const -> Option<&core::ffi::c_char >

returns overriden file extension used to serialize voxels inside this object, nullptr means SceneSettings::get( SceneSettings::StringType::VoxelsSerializeFormat ) Generated from method MR::ObjectVoxels::serializeFormat.

Calls MR_ObjectVoxels_serializeFormat().

◆ set_active_bounds()

void meshlib::ObjectVoxels::set_active_bounds ( activeBox:&meshlib::Box3i ,
cb:Option<&meshlib::std_function_bool_from_float > ,
updateSurface:Option< bool >  )

Sets active bounds for some simplifications (max excluded) active bounds is box in voxel coordinates, note that voxels under (0,0,0) and voxels over (dimensions) are empty NOTE: don't forget to call invalidateActiveBoundsCaches if you call this function from progress bar thread Generated from method MR::ObjectVoxels::setActiveBounds.

Calls MR_ObjectVoxels_setActiveBounds().

◆ set_all_visualize_properties()

void meshlib::ObjectVoxels::set_all_visualize_properties ( properties:&meshlib::std_vector_MR_ViewportMask )

set all visualize properties masks Generated from method MR::ObjectVoxels::setAllVisualizeProperties.

Calls MR_ObjectVoxels_setAllVisualizeProperties().

◆ set_ambient_strength()

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

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

Calls MR_ObjectVoxels_setAmbientStrength().

◆ set_ancillary()

void meshlib::ObjectVoxels::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::ObjectVoxels::setAncillary.

Calls MR_ObjectVoxels_setAncillary().

◆ set_ancillary_texture()

void meshlib::ObjectVoxels::set_ancillary_texture ( texture:&meshlib::MeshTexture )

Generated from method MR::ObjectVoxels::setAncillaryTexture.

Calls MR_ObjectVoxels_setAncillaryTexture().

◆ set_ancillary_uv_coords()

void meshlib::ObjectVoxels::set_ancillary_uv_coords ( uvCoordinates:&meshlib::VertCoords2 )

Generated from method MR::ObjectVoxels::setAncillaryUVCoords.

Calls MR_ObjectVoxels_setAncillaryUVCoords().

◆ set_back_color()

void meshlib::ObjectVoxels::set_back_color ( color:&meshlib::Color ,
viewportId:Option<&meshlib::ViewportId >  )

sets backward color of object in given viewport Generated from method MR::ObjectVoxels::setBackColor.

Calls MR_ObjectVoxels_setBackColor().

◆ set_back_colors_for_all_viewports()

void meshlib::ObjectVoxels::set_back_colors_for_all_viewports ( val:&meshlib::ViewportProperty_MR_Color )

sets backward color of object in all viewports Generated from method MR::ObjectVoxels::setBackColorsForAllViewports.

Calls MR_ObjectVoxels_setBackColorsForAllViewports().

◆ set_borders_color()

void meshlib::ObjectVoxels::set_borders_color ( color:&meshlib::Color ,
id:Option<&meshlib::ViewportId >  )

Generated from method MR::ObjectVoxels::setBordersColor.

Calls MR_ObjectVoxels_setBordersColor().

◆ set_borders_colors_for_all_viewports()

void meshlib::ObjectVoxels::set_borders_colors_for_all_viewports ( val:&meshlib::ViewportProperty_MR_Color )

Generated from method MR::ObjectVoxels::setBordersColorsForAllViewports.

Calls MR_ObjectVoxels_setBordersColorsForAllViewports().

◆ set_coloring_type()

void meshlib::ObjectVoxels::set_coloring_type ( coloringType:meshlib::ColoringType )

sets coloring mode of the object with given argument Generated from method MR::ObjectVoxels::setColoringType.

Calls MR_ObjectVoxels_setColoringType().

◆ set_creases()

void meshlib::ObjectVoxels::set_creases ( creases:&meshlib::UndirectedEdgeBitSet )

Generated from method MR::ObjectVoxels::setCreases.

Calls MR_ObjectVoxels_setCreases().

◆ set_data()

void meshlib::ObjectVoxels::set_data ( data:&mut meshlib::ObjectMeshData )

sets whole new ObjectMeshData Generated from method MR::ObjectVoxels::setData.

Calls MR_ObjectVoxels_setData().

◆ set_dirty_flags()

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

Generated from method MR::ObjectVoxels::setDirtyFlags.

Calls MR_ObjectVoxels_setDirtyFlags().

◆ set_dirty_flags_fast()

void meshlib::ObjectVoxels::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::ObjectVoxels::setDirtyFlagsFast.

Calls MR_ObjectVoxels_setDirtyFlagsFast().

◆ set_dual_marching_cubes()

void meshlib::ObjectVoxels::set_dual_marching_cubes ( on:bool ,
updateSurface:Option< bool > ,
cb:Option<&meshlib::std_function_bool_from_float >  )

sets whether to use Dual Marching Cubes algorithm for visualization (true) or Standard Marching Cubes (false);

Parameters
updateSurfaceforces immediate update Generated from method MR::ObjectVoxels::setDualMarchingCubes.

Calls MR_ObjectVoxels_setDualMarchingCubes().

◆ set_edge_width()

void meshlib::ObjectVoxels::set_edge_width ( edgeWidth:f32 )

Generated from method MR::ObjectVoxels::setEdgeWidth.

Calls MR_ObjectVoxels_setEdgeWidth().

◆ set_edges_color()

void meshlib::ObjectVoxels::set_edges_color ( color:&meshlib::Color ,
id:Option<&meshlib::ViewportId >  )

Generated from method MR::ObjectVoxels::setEdgesColor.

Calls MR_ObjectVoxels_setEdgesColor().

◆ set_edges_colors_for_all_viewports()

void meshlib::ObjectVoxels::set_edges_colors_for_all_viewports ( val:&meshlib::ViewportProperty_MR_Color )

Generated from method MR::ObjectVoxels::setEdgesColorsForAllViewports.

Calls MR_ObjectVoxels_setEdgesColorsForAllViewports().

◆ set_faces_color_map()

void meshlib::ObjectVoxels::set_faces_color_map ( facesColorMap:&meshlib::FaceColors )

Generated from method MR::ObjectVoxels::setFacesColorMap.

Calls MR_ObjectVoxels_setFacesColorMap().

◆ set_flat_shading()

void meshlib::ObjectVoxels::set_flat_shading ( on:bool )

sets flat (true) or smooth (false) shading Generated from method MR::ObjectVoxels::setFlatShading.

Calls MR_ObjectVoxels_setFlatShading().

◆ set_front_color()

void meshlib::ObjectVoxels::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::ObjectVoxels::setFrontColor.

Calls MR_ObjectVoxels_setFrontColor().

◆ set_front_colors_for_all_viewports()

void meshlib::ObjectVoxels::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::ObjectVoxels::setFrontColorsForAllViewports.

Calls MR_ObjectVoxels_setFrontColorsForAllViewports().

◆ set_global_alpha()

void meshlib::ObjectVoxels::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::ObjectVoxels::setGlobalAlpha.

Calls MR_ObjectVoxels_setGlobalAlpha().

◆ set_global_alpha_for_all_viewports()

void meshlib::ObjectVoxels::set_global_alpha_for_all_viewports ( val:&meshlib::ViewportProperty_unsigned_char )

sets global transparency alpha of object in all viewports Generated from method MR::ObjectVoxels::setGlobalAlphaForAllViewports.

Calls MR_ObjectVoxels_setGlobalAlphaForAllViewports().

◆ set_global_clipped_by_plane()

void meshlib::ObjectVoxels::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::ObjectVoxels::setGlobalClippedByPlane.

Calls MR_ObjectVoxels_setGlobalClippedByPlane().

◆ set_global_visibility()

void meshlib::ObjectVoxels::set_global_visibility ( on:bool ,
viewportMask:Option<&meshlib::ViewportMask >  )

if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectVoxels::setGlobalVisibility.

Calls MR_ObjectVoxels_setGlobalVisibility().

◆ set_iso_value()

auto meshlib::ObjectVoxels::set_iso_value ( iso:f32 ,
cb:Option<&meshlib::std_function_bool_from_float > ,
updateSurface:Option< bool >  ) -> meshlib::Owned< meshlib::expected_bool_std_string >

Sets iso value and updates iso-surfaces if needed: Returns true if iso-value was updated, false - otherwise Generated from method MR::ObjectVoxels::setIsoValue.

Calls MR_ObjectVoxels_setIsoValue().

◆ set_locked()

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

Generated from method MR::ObjectVoxels::setLocked.

Calls MR_ObjectVoxels_setLocked().

◆ set_max_surface_vertices()

void meshlib::ObjectVoxels::set_max_surface_vertices ( maxVerts:core::ffi::c_int )

sets top limit on the number of vertices in the iso-surface Generated from method MR::ObjectVoxels::setMaxSurfaceVertices.

Calls MR_ObjectVoxels_setMaxSurfaceVertices().

◆ set_name()

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

Generated from method MR::ObjectVoxels::setName.

Calls MR_ObjectVoxels_setName().

◆ set_parent_locked()

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

Generated from method MR::ObjectVoxels::setParentLocked.

Calls MR_ObjectVoxels_setParentLocked().

◆ set_pickable()

void meshlib::ObjectVoxels::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::ObjectVoxels::setPickable.

Calls MR_ObjectVoxels_setPickable().

◆ set_point_size()

void meshlib::ObjectVoxels::set_point_size ( size:f32 )

Generated from method MR::ObjectVoxels::setPointSize.

Calls MR_ObjectVoxels_setPointSize().

◆ set_points_color()

void meshlib::ObjectVoxels::set_points_color ( color:&meshlib::Color ,
id:Option<&meshlib::ViewportId >  )

Generated from method MR::ObjectVoxels::setPointsColor.

Calls MR_ObjectVoxels_setPointsColor().

◆ set_points_colors_for_all_viewports()

void meshlib::ObjectVoxels::set_points_colors_for_all_viewports ( val:&meshlib::ViewportProperty_MR_Color )

Generated from method MR::ObjectVoxels::setPointsColorsForAllViewports.

Calls MR_ObjectVoxels_setPointsColorsForAllViewports().

◆ set_selected_edges_color()

void meshlib::ObjectVoxels::set_selected_edges_color ( color:&meshlib::Color ,
id:Option<&meshlib::ViewportId >  )

sets colors of selected edges Generated from method MR::ObjectVoxels::setSelectedEdgesColor.

Calls MR_ObjectVoxels_setSelectedEdgesColor().

◆ set_selected_edges_colors_for_all_viewports()

void meshlib::ObjectVoxels::set_selected_edges_colors_for_all_viewports ( val:&meshlib::ViewportProperty_MR_Color )

Generated from method MR::ObjectVoxels::setSelectedEdgesColorsForAllViewports.

Calls MR_ObjectVoxels_setSelectedEdgesColorsForAllViewports().

◆ set_selected_faces_color()

void meshlib::ObjectVoxels::set_selected_faces_color ( color:&meshlib::Color ,
id:Option<&meshlib::ViewportId >  )

sets colors of selected triangles Generated from method MR::ObjectVoxels::setSelectedFacesColor.

Calls MR_ObjectVoxels_setSelectedFacesColor().

◆ set_selected_faces_colors_for_all_viewports()

void meshlib::ObjectVoxels::set_selected_faces_colors_for_all_viewports ( val:&meshlib::ViewportProperty_MR_Color )

Generated from method MR::ObjectVoxels::setSelectedFacesColorsForAllViewports.

Calls MR_ObjectVoxels_setSelectedFacesColorsForAllViewports().

◆ set_serialize_format()

void meshlib::ObjectVoxels::set_serialize_format ( newFormat:Option<&core::ffi::c_char > )

overrides file extension used to serialize voxels inside this object: must start from '.', nullptr means serialize in SceneSettings::get( SceneSettings::StringType::VoxelsSerializeFormat ) Generated from method MR::ObjectVoxels::setSerializeFormat.

Calls MR_ObjectVoxels_setSerializeFormat().

◆ set_shininess()

void meshlib::ObjectVoxels::set_shininess ( shininess:f32 )

sets shininess visual value of the object with given argument Generated from method MR::ObjectVoxels::setShininess.

Calls MR_ObjectVoxels_setShininess().

◆ set_specular_strength()

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

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

Calls MR_ObjectVoxels_setSpecularStrength().

◆ set_texture_per_face()

void meshlib::ObjectVoxels::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::ObjectVoxels::setTexturePerFace.

Calls MR_ObjectVoxels_setTexturePerFace().

◆ set_textures()

void meshlib::ObjectVoxels::set_textures ( texture:&meshlib::Vector_MR_MeshTexture_MR_TextureId )

Generated from method MR::ObjectVoxels::setTextures.

Calls MR_ObjectVoxels_setTextures().

◆ set_use_default_scene_properties_on_deserialization()

void meshlib::ObjectVoxels::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::ObjectVoxels::setUseDefaultScenePropertiesOnDeserialization.

Calls MR_ObjectVoxels_setUseDefaultScenePropertiesOnDeserialization().

◆ set_uv_coords()

void meshlib::ObjectVoxels::set_uv_coords ( uvCoordinates:&meshlib::VertCoords2 )

Generated from method MR::ObjectVoxels::setUVCoords.

Calls MR_ObjectVoxels_setUVCoords().

◆ set_verts_color_map()

void meshlib::ObjectVoxels::set_verts_color_map ( vertsColorMap:&meshlib::VertColors )

sets per-vertex colors of the object Generated from method MR::ObjectVoxels::setVertsColorMap.

Calls MR_ObjectVoxels_setVertsColorMap().

◆ set_visibility_mask()

void meshlib::ObjectVoxels::set_visibility_mask ( viewportMask:&meshlib::ViewportMask )

specifies object visibility as bitmask of viewports Generated from method MR::ObjectVoxels::setVisibilityMask.

Calls MR_ObjectVoxels_setVisibilityMask().

◆ set_visible()

void meshlib::ObjectVoxels::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::ObjectVoxels::setVisible.

Calls MR_ObjectVoxels_setVisible().

◆ set_visualize_property()

void meshlib::ObjectVoxels::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::ObjectVoxels::setVisualizeProperty.

Calls MR_ObjectVoxels_setVisualizeProperty().

◆ set_visualize_property_mask()

void meshlib::ObjectVoxels::set_visualize_property_mask ( type:&meshlib::AnyVisualizeMaskEnum ,
viewportMask:&meshlib::ViewportMask  )

set visual property mask Generated from method MR::ObjectVoxels::setVisualizePropertyMask.

Calls MR_ObjectVoxels_setVisualizePropertyMask().

◆ set_volume_render_active_voxels()

void meshlib::ObjectVoxels::set_volume_render_active_voxels ( activeVoxels:&meshlib::VoxelBitSet )

set active (visible) voxels (using only in Volume Rendering mode) Generated from method MR::ObjectVoxels::setVolumeRenderActiveVoxels.

Calls MR_ObjectVoxels_setVolumeRenderActiveVoxels().

◆ set_volume_rendering_params()

void meshlib::ObjectVoxels::set_volume_rendering_params ( params:&meshlib::ObjectVoxels_VolumeRenderingParams )

Generated from method MR::ObjectVoxels::setVolumeRenderingParams.

Calls MR_ObjectVoxels_setVolumeRenderingParams().

◆ set_voxel_point_positioner()

void meshlib::ObjectVoxels::set_voxel_point_positioner ( positioner:&meshlib::std_function_MR_Vector3f_from_const_MR_Vector3f_ref_const_MR_Vector3f_ref_float_float_float )

set voxel point positioner for Marching Cubes (only for Standard Marching Cubes) Generated from method MR::ObjectVoxels::setVoxelPointPositioner.

Calls MR_ObjectVoxels_setVoxelPointPositioner().

◆ set_world_xf()

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

Generated from method MR::ObjectVoxels::setWorldXf.

Calls MR_ObjectVoxels_setWorldXf().

◆ set_xf()

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

Generated from method MR::ObjectVoxels::setXf.

Calls MR_ObjectVoxels_setXf().

◆ set_xfs_for_all_viewports()

void meshlib::ObjectVoxels::set_xfs_for_all_viewports ( xf:&meshlib::ViewportProperty_MR_AffineXf3f )

modifies xfs for all viewports at once Generated from method MR::ObjectVoxels::setXfsForAllViewports.

Calls MR_ObjectVoxels_setXfsForAllViewports().

◆ shallow_clone()

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

Generated from method MR::ObjectVoxels::shallowClone.

Calls MR_ObjectVoxels_shallowClone().

◆ shallow_clone_tree()

auto meshlib::ObjectVoxels::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::ObjectVoxels::shallowCloneTree.

Calls MR_ObjectVoxels_shallowCloneTree().

◆ sort_children()

void meshlib::ObjectVoxels::sort_children ( )

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

Calls MR_ObjectVoxels_sortChildren().

◆ static_class_name()

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

Generated from method MR::ObjectVoxels::StaticClassName.

Calls MR_ObjectVoxels_StaticClassName().

◆ static_class_name_in_plural()

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

Generated from method MR::ObjectVoxels::StaticClassNameInPlural.

Calls MR_ObjectVoxels_StaticClassNameInPlural().

◆ static_downcast_from_object()

auto meshlib::ObjectVoxels::static_downcast_from_object ( object:&meshlib::Object ) -> &Self
static

Static downcast from the base class MR::Object.

Calls MR_ObjectVoxels_StaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a ObjectVoxels.

Note
This function is unsafe.

◆ static_downcast_from_object_children_holder()

auto meshlib::ObjectVoxels::static_downcast_from_object_children_holder ( object:&meshlib::ObjectChildrenHolder ) -> &Self
static

Static downcast from the base class MR::ObjectChildrenHolder.

Calls MR_ObjectVoxels_StaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a ObjectVoxels.

Note
This function is unsafe.

◆ static_downcast_from_object_children_holder_mut()

auto meshlib::ObjectVoxels::static_downcast_from_object_children_holder_mut ( object:&mut meshlib::ObjectChildrenHolder ) -> &mut Self
static

Static downcast from the base class MR::ObjectChildrenHolder.

Calls MR_ObjectVoxels_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a ObjectVoxels.

Note
This function is unsafe.

◆ static_downcast_from_object_mesh_holder()

auto meshlib::ObjectVoxels::static_downcast_from_object_mesh_holder ( object:&meshlib::ObjectMeshHolder ) -> &Self
static

Static downcast from the base class MR::ObjectMeshHolder.

Calls MR_ObjectVoxels_StaticDowncastFrom_MR_ObjectMeshHolder(). Undefined behavior if the object isn't actually a ObjectVoxels.

Note
This function is unsafe.

◆ static_downcast_from_object_mesh_holder_mut()

auto meshlib::ObjectVoxels::static_downcast_from_object_mesh_holder_mut ( object:&mut meshlib::ObjectMeshHolder ) -> &mut Self
static

Static downcast from the base class MR::ObjectMeshHolder.

Calls MR_ObjectVoxels_MutableStaticDowncastFrom_MR_ObjectMeshHolder(). Undefined behavior if the object isn't actually a ObjectVoxels.

Note
This function is unsafe.

◆ static_downcast_from_object_mut()

auto meshlib::ObjectVoxels::static_downcast_from_object_mut ( object:&mut meshlib::Object ) -> &mut Self
static

Static downcast from the base class MR::Object.

Calls MR_ObjectVoxels_MutableStaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a ObjectVoxels.

Note
This function is unsafe.

◆ static_downcast_from_visual_object()

auto meshlib::ObjectVoxels::static_downcast_from_visual_object ( object:&meshlib::VisualObject ) -> &Self
static

Static downcast from the base class MR::VisualObject.

Calls MR_ObjectVoxels_StaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a ObjectVoxels.

Note
This function is unsafe.

◆ static_downcast_from_visual_object_mut()

auto meshlib::ObjectVoxels::static_downcast_from_visual_object_mut ( object:&mut meshlib::VisualObject ) -> &mut Self
static

Static downcast from the base class MR::VisualObject.

Calls MR_ObjectVoxels_MutableStaticDowncastFrom_MR_VisualObject(). Undefined behavior if the object isn't actually a ObjectVoxels.

Note
This function is unsafe.

◆ static_type_name()

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

Generated from method MR::ObjectVoxels::StaticTypeName.

Calls MR_ObjectVoxels_StaticTypeName().

◆ supports_visualize_property()

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

Generated from method MR::ObjectVoxels::supportsVisualizeProperty.

Calls MR_ObjectVoxels_supportsVisualizeProperty().

◆ surface()

auto meshlib::ObjectVoxels::surface ( ) const -> &meshlib::std_shared_ptr_MR_Mesh

Returns iso surface, empty if iso value is not set Generated from method MR::ObjectVoxels::surface.

Calls MR_ObjectVoxels_surface().

◆ swap()

void meshlib::ObjectVoxels::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::ObjectVoxels::swap.

Calls MR_ObjectVoxels_swap().

◆ tags()

auto meshlib::ObjectVoxels::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::ObjectVoxels::tags.

Calls MR_ObjectVoxels_tags().

◆ toggle_visualize_property()

void meshlib::ObjectVoxels::toggle_visualize_property ( type:&meshlib::AnyVisualizeMaskEnum ,
viewportMask:&meshlib::ViewportMask  )

toggle visual property in all viewports specified by the mask Generated from method MR::ObjectVoxels::toggleVisualizeProperty.

Calls MR_ObjectVoxels_toggleVisualizeProperty().

◆ total_area()

auto meshlib::ObjectVoxels::total_area ( ) const -> f64

returns cached summed area of mesh triangles Generated from method MR::ObjectVoxels::totalArea.

Calls MR_ObjectVoxels_totalArea().

◆ type_name()

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

Generated from method MR::ObjectVoxels::typeName.

Calls MR_ObjectVoxels_typeName().

◆ upcast_to_object()

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

Upcasts to the base class MR::Object.

Calls MR_ObjectVoxels_UpcastTo_MR_Object().

◆ upcast_to_object_children_holder()

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

Upcasts to the base class MR::ObjectChildrenHolder.

Calls MR_ObjectVoxels_UpcastTo_MR_ObjectChildrenHolder().

◆ upcast_to_object_children_holder_mut()

auto meshlib::ObjectVoxels::upcast_to_object_children_holder_mut ( ) -> &mut meshlib::ObjectChildrenHolder

Upcasts to the base class MR::ObjectChildrenHolder.

Calls MR_ObjectVoxels_MutableUpcastTo_MR_ObjectChildrenHolder().

◆ upcast_to_object_mesh_holder()

auto meshlib::ObjectVoxels::upcast_to_object_mesh_holder ( ) const -> &meshlib::ObjectMeshHolder

Upcasts to the base class MR::ObjectMeshHolder.

Calls MR_ObjectVoxels_UpcastTo_MR_ObjectMeshHolder().

◆ upcast_to_object_mesh_holder_mut()

auto meshlib::ObjectVoxels::upcast_to_object_mesh_holder_mut ( ) -> &mut meshlib::ObjectMeshHolder

Upcasts to the base class MR::ObjectMeshHolder.

Calls MR_ObjectVoxels_MutableUpcastTo_MR_ObjectMeshHolder().

◆ upcast_to_object_mut()

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

Upcasts to the base class MR::Object.

Calls MR_ObjectVoxels_MutableUpcastTo_MR_Object().

◆ upcast_to_visual_object()

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

Upcasts to the base class MR::VisualObject.

Calls MR_ObjectVoxels_UpcastTo_MR_VisualObject().

◆ upcast_to_visual_object_mut()

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

Upcasts to the base class MR::VisualObject.

Calls MR_ObjectVoxels_MutableUpcastTo_MR_VisualObject().

◆ update_ancillary_uv_coords()

void meshlib::ObjectVoxels::update_ancillary_uv_coords ( updated:&mut meshlib::VertCoords2 )

Generated from method MR::ObjectVoxels::updateAncillaryUVCoords.

Calls MR_ObjectVoxels_updateAncillaryUVCoords().

◆ update_data()

void meshlib::ObjectVoxels::update_data ( data:&mut meshlib::ObjectMeshData )

swaps whole ObjectMeshData with given argument Generated from method MR::ObjectVoxels::updateData.

Calls MR_ObjectVoxels_updateData().

◆ update_faces_color_map()

void meshlib::ObjectVoxels::update_faces_color_map ( updated:&mut meshlib::FaceColors )

Generated from method MR::ObjectVoxels::updateFacesColorMap.

Calls MR_ObjectVoxels_updateFacesColorMap().

◆ update_histogram()

auto meshlib::ObjectVoxels::update_histogram ( histogram:&meshlib::Histogram ) -> meshlib::Owned< meshlib::Histogram >

Sets external histogram for this object and returns back previous histogram of this Generated from method MR::ObjectVoxels::updateHistogram.

Calls MR_ObjectVoxels_updateHistogram().

◆ update_histogram_and_surface()

void meshlib::ObjectVoxels::update_histogram_and_surface ( cb:Option<&meshlib::std_function_bool_from_float > )

Updates histogram, by stored grid (evals min and max values from grid) rebuild iso surface if it is present Generated from method MR::ObjectVoxels::updateHistogramAndSurface.

Calls MR_ObjectVoxels_updateHistogramAndSurface().

◆ update_iso_surface()

auto meshlib::ObjectVoxels::update_iso_surface ( mesh:&meshlib::std_shared_ptr_MR_Mesh ) -> meshlib::Owned< meshlib::std_shared_ptr_MR_Mesh >

Sets external surface mesh for this object and returns back previous mesh of this Generated from method MR::ObjectVoxels::updateIsoSurface.

Calls MR_ObjectVoxels_updateIsoSurface().

◆ update_texture_per_face()

void meshlib::ObjectVoxels::update_texture_per_face ( texturePerFace:&mut meshlib::TexturePerFace )

Generated from method MR::ObjectVoxels::updateTexturePerFace.

Calls MR_ObjectVoxels_updateTexturePerFace().

◆ update_textures()

void meshlib::ObjectVoxels::update_textures ( updated:&mut meshlib::Vector_MR_MeshTexture_MR_TextureId )

Generated from method MR::ObjectVoxels::updateTextures.

Calls MR_ObjectVoxels_updateTextures().

◆ update_uv_coords()

void meshlib::ObjectVoxels::update_uv_coords ( updated:&mut meshlib::VertCoords2 )

Generated from method MR::ObjectVoxels::updateUVCoords.

Calls MR_ObjectVoxels_updateUVCoords().

◆ update_vdb_volume()

auto meshlib::ObjectVoxels::update_vdb_volume ( vdbVolume:&meshlib::VdbVolume ) -> meshlib::Owned< meshlib::VdbVolume >

Sets external vdb volume for this object and returns back previous vdb volume of this Generated from method MR::ObjectVoxels::updateVdbVolume.

Calls MR_ObjectVoxels_updateVdbVolume().

◆ update_verts_color_map()

void meshlib::ObjectVoxels::update_verts_color_map ( vertsColorMap:&mut meshlib::VertColors )

swaps per-vertex colors of the object with given argument Generated from method MR::ObjectVoxels::updateVertsColorMap.

Calls MR_ObjectVoxels_updateVertsColorMap().

◆ use_default_scene_properties_on_deserialization()

auto meshlib::ObjectVoxels::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::ObjectVoxels::useDefaultScenePropertiesOnDeserialization.

Calls MR_ObjectVoxels_useDefaultScenePropertiesOnDeserialization().

◆ var_mesh_ptr()

auto meshlib::ObjectVoxels::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::ObjectVoxels::varMeshPtr.

Calls MR_ObjectVoxels_varMeshPtr().

◆ var_vdb_volume()

auto meshlib::ObjectVoxels::var_vdb_volume ( ) -> &mut meshlib::VdbVolume

Generated from method MR::ObjectVoxels::varVdbVolume.

Calls MR_ObjectVoxels_varVdbVolume().

◆ vdb_volume()

auto meshlib::ObjectVoxels::vdb_volume ( ) const -> &meshlib::VdbVolume

Return VdbVolume Generated from method MR::ObjectVoxels::vdbVolume.

Calls MR_ObjectVoxels_vdbVolume().

◆ visibility_mask()

auto meshlib::ObjectVoxels::visibility_mask ( ) const -> meshlib::Owned< meshlib::ViewportMask >

gets object visibility as bitmask of viewports Generated from method MR::ObjectVoxels::visibilityMask.

Calls MR_ObjectVoxels_visibilityMask().

◆ volume()

auto meshlib::ObjectVoxels::volume ( ) const -> f64

returns cached volume of space surrounded by the mesh, which is valid only if mesh is closed Generated from method MR::ObjectVoxels::volume.

Calls MR_ObjectVoxels_volume().

◆ voxel_size()

auto meshlib::ObjectVoxels::voxel_size ( ) const -> &meshlib::Vector3f

Generated from method MR::ObjectVoxels::voxelSize.

Calls MR_ObjectVoxels_voxelSize().

◆ world_xf()

auto meshlib::ObjectVoxels::world_xf ( id:Option<&meshlib::ViewportId > ,
isDef:Option<&mut bool >  ) const -> meshlib::AffineXf3f

this space to world space transformation for default or specific viewport

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

Calls MR_ObjectVoxels_worldXf().

◆ xf()

auto meshlib::ObjectVoxels::xf ( id:Option<&meshlib::ViewportId > ,
isDef:Option<&mut bool >  ) const -> &meshlib::AffineXf3f

this space to parent space transformation (to world space if no parent) for default or given viewport

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

Calls MR_ObjectVoxels_xf().

◆ xfs_for_all_viewports()

auto meshlib::ObjectVoxels::xfs_for_all_viewports ( ) const -> &meshlib::ViewportProperty_MR_AffineXf3f

returns xfs for all viewports, combined into a single object Generated from method MR::ObjectVoxels::xfsForAllViewports.

Calls MR_ObjectVoxels_xfsForAllViewports().


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