OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
MultiMaterialSegmentation.hpp File Reference
#include <cstddef>
#include <functional>
#include <utility>
#include <vector>
#include <boost/polygon/polygon.hpp>
#include "Line.hpp"
#include "Point.hpp"
#include "libslic3r.h"
Include dependency graph for MultiMaterialSegmentation.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Slic3r::ColoredLine
struct  Slic3r::ModelVolumeFacetsInfo
struct  boost::polygon::geometry_concept< Slic3r::ColoredLine >
struct  boost::polygon::segment_traits< Slic3r::ColoredLine >

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  boost
namespace  boost::polygon

Typedefs

using Slic3r::ColoredLines = std::vector<ColoredLine>

Enumerations

enum class  Slic3r::IncludeTopAndBottomLayers { Slic3r::Yes , Slic3r::No }

Functions

std::vector< std::vector< ExPolygons > > Slic3r::segmentation_by_painting (const PrintObject &print_object, const std::function< ModelVolumeFacetsInfo(const ModelVolume &)> &extract_facets_info, const size_t num_facets_states, const float segmentation_max_width, const float segmentation_interlocking_depth, const bool segmentation_interlocking_beam, const IncludeTopAndBottomLayers include_top_and_bottom_layers, const std::function< void()> &throw_on_cancel_callback)
std::vector< std::vector< ExPolygons > > Slic3r::multi_material_segmentation_by_painting (const PrintObject &print_object, const std::function< void()> &throw_on_cancel_callback)
std::vector< std::vector< ExPolygons > > Slic3r::fuzzy_skin_segmentation_by_painting (const PrintObject &print_object, const std::function< void()> &throw_on_cancel_callback)
double Slic3r::resolve_outer_wall_line_width (const PrintRegionConfig &region_config, const PrintObjectConfig &object_config, const PrintConfig &print_config)

Class Documentation

◆ Slic3r::ColoredLine

struct Slic3r::ColoredLine
Collaboration diagram for Slic3r::ColoredLine:
Class Members
int color
Line line
int local_line_idx = -1
int poly_idx = -1

◆ Slic3r::ModelVolumeFacetsInfo

struct Slic3r::ModelVolumeFacetsInfo
Collaboration diagram for Slic3r::ModelVolumeFacetsInfo:
Class Members
const FacetsAnnotation & facets_annotation
const bool is_painted
const bool replace_default_extruder

◆ boost::polygon::geometry_concept< Slic3r::ColoredLine >

struct boost::polygon::geometry_concept< Slic3r::ColoredLine >
Class Members
typedef segment_concept type