Classes | |
| struct | DistanceVolumeCreationParams |
| struct | ParametersBase |
| struct | ParametersMetric |
| struct | ParametersRegions |
| struct | ParametersRegions_Region |
| auto meshlib::weighted_shell::calculate_shell_weights_from_regions | ( | mesh:&meshlib::Mesh | , |
| regions:&meshlib::std_vector_MR_WeightedShell_ParametersRegions_Region | , | ||
| interpolationDist:f32 | ) -> meshlib::Owned< meshlib::VertScalars > |
interpolate set of regions and assign weight to each vertex of the mesh Generated from function MR::WeightedShell::calculateShellWeightsFromRegions.
Calls MR_WeightedShell_calculateShellWeightsFromRegions().
| auto meshlib::weighted_shell::mesh_shell | ( | mesh:&meshlib::Mesh | , |
| vertWeights:&meshlib::VertScalars | , | ||
| params:&meshlib::weighted_shell::ParametersMetric | ) -> meshlib::Owned< meshlib::expected_MR_Mesh_std_string > |
consider a mesh where each vertex has additive weight (taken from vertWeights and not from params), and this weight is linearly interpolated in mesh triangles, and the distance to a point is considered equal to (euclidean distance - weight), constructs iso-surface of such distance field corresponding to params.offset value using marching cubes Generated from function MR::WeightedShell::meshShell.
Calls MR_WeightedShell_meshShell().
| auto meshlib::weighted_shell::mesh_shell_regions | ( | mesh:&meshlib::Mesh | , |
| params:&meshlib::weighted_shell::ParametersRegions | ) -> meshlib::Owned< meshlib::expected_MR_Mesh_std_string > |
this overload supports linear interpolation between the regions with different weight Generated from function MR::WeightedShell::meshShell.
Calls MR_WeightedShell_meshShell_regions().
| auto meshlib::weighted_shell::mesh_shell_regions_builder | ( | mesh:&meshlib::Mesh | , |
| params:&meshlib::weighted_shell::ParametersRegions | , | ||
| volumeBuilder:&meshlib::std_function_MR_FunctionVolume_from_const_MR_Mesh_ref_const_MR_WeightedShell_DistanceVolumeCreationParams_ref | ) -> meshlib::Owned< meshlib::expected_MR_Mesh_std_string > |
this overload allows to control how distance volume is build during the offset Generated from function MR::WeightedShell::meshShell.
Calls MR_WeightedShell_meshShell_regionsBuilder().
| auto meshlib::weighted_shell::mesh_to_distance_volume | ( | mesh:&meshlib::Mesh | , |
| params:&meshlib::weighted_shell::DistanceVolumeCreationParams | ) -> meshlib::Owned< meshlib::FunctionVolume > |
makes FunctionVolume representing minimal distance to mesh with weighted vertices Generated from function MR::WeightedShell::meshToDistanceVolume.
Calls MR_WeightedShell_meshToDistanceVolume().
| auto meshlib::weighted_shell::points_shell | ( | cloud:&meshlib::PointCloud | , |
| pointWeights:&meshlib::VertScalars | , | ||
| params:&meshlib::weighted_shell::ParametersMetric | ) -> meshlib::Owned< meshlib::expected_MR_Mesh_std_string > |
consider a point cloud where each point has additive weight (taken from pointWeights and not from params), and the distance to a point is considered equal to (euclidean distance - weight), constructs iso-surface of such distance field corresponding to params.offset value using marching cubes Generated from function MR::WeightedShell::pointsShell.
Calls MR_WeightedShell_pointsShell().
| auto meshlib::weighted_shell::points_to_distance_volume | ( | cloud:&meshlib::PointCloud | , |
| params:&meshlib::weighted_shell::DistanceVolumeCreationParams | ) -> meshlib::Owned< meshlib::FunctionVolume > |
makes FunctionVolume representing minimal distance to weighted points Generated from function MR::WeightedShell::pointsToDistanceVolume.
Calls MR_WeightedShell_pointsToDistanceVolume().