MeshLib Rust Docs
Loading...
Searching...
No Matches
MRFillContourByGraphCut.rs File Reference

Namespaces

namespace  meshlib

Functions

auto meshlib::fill_contour_left_by_graph_cut_std_vector_mr_edge_id (topology:&meshlib::MeshTopology, contour:&meshlib::std_vector_MR_EdgeId, metric:&meshlib::std_function_float_from_MR_EdgeId, progress:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::FaceBitSet >
 Fills region located to the left from given contour, by minimizing the sum of metric over the boundary If the computations are terminated by progress, then returns the best approximation found by the moment of termination.
auto meshlib::fill_contour_left_by_graph_cut_std_vector_std_vector_mr_edge_id (topology:&meshlib::MeshTopology, contours:&meshlib::std_vector_std_vector_MR_EdgeId, metric:&meshlib::std_function_float_from_MR_EdgeId, progress:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::FaceBitSet >
 Fills region located to the left from given contours, by minimizing the sum of metric over the boundary If the computations are terminated by progress, then returns the best approximation found by the moment of termination.
auto meshlib::segment_by_graph_cut (topology:&meshlib::MeshTopology, source:&meshlib::FaceBitSet, sink:&meshlib::FaceBitSet, metric:&meshlib::std_function_float_from_MR_EdgeId, progress:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::FaceBitSet >
 Finds segment that divide mesh on source and sink (source included, sink excluded), by minimizing the sum of metric over the boundary If the computations are terminated by progress, then returns the best approximation found by the moment of termination.