PrusaSlicer-NonPlainar/src/libslic3r/MultiMaterialSegmentation.hpp
Vojtech Bubnik 4f950343c8 MMU segmentation refactoring: Most of the MMU segmentation code
was extracted to its own file.
2021-04-20 15:07:05 +02:00

19 lines
462 B
C++

#ifndef slic3r_MultiMaterialSegmentation_hpp_
#define slic3r_MultiMaterialSegmentation_hpp_
#include <utility>
#include <vector>
namespace Slic3r {
class PrintObject;
class ExPolygon;
// Returns MMU segmentation based on painting in MMU segmentation gizmo
std::vector<std::vector<std::pair<ExPolygon, size_t>>> multi_material_segmentation_by_painting(const PrintObject &print_object);
} // namespace Slic3r
#endif // slic3r_MultiMaterialSegmentation_hpp_