#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/SurfaceCollection.hpp>
Public Member Functions | |
| SurfaceCollection ()=default | |
| SurfaceCollection (const Surfaces &surfaces) | |
| SurfaceCollection (Surfaces &&surfaces) | |
| void | simplify (double tolerance) |
| void | group (std::vector< SurfacesPtr > *retval) |
| template<class T> | |
| bool | any_internal_contains (const T &item) const |
| template<class T> | |
| bool | any_bottom_contains (const T &item) const |
| SurfacesPtr | filter_by_type (const SurfaceType type) const |
| SurfacesPtr | filter_by_types (std::initializer_list< SurfaceType > types) const |
| void | keep_type (const SurfaceType type) |
| void | keep_types (std::initializer_list< SurfaceType > types) |
| void | remove_type (const SurfaceType type) |
| void | remove_types (std::initializer_list< SurfaceType > types) |
| void | filter_by_type (SurfaceType type, Polygons *polygons) const |
| void | remove_type (const SurfaceType type, ExPolygons *polygons) |
| void | set_type (SurfaceType type) |
| void | change_to_new_type (SurfaceType old_type, SurfaceType new_type) |
| void | clear () |
| bool | empty () const |
| size_t | size () const |
| bool | has (SurfaceType type) const |
| Surfaces::const_iterator | cbegin () const |
| Surfaces::const_iterator | cend () const |
| Surfaces::const_iterator | begin () const |
| Surfaces::const_iterator | end () const |
| Surfaces::iterator | begin () |
| Surfaces::iterator | end () |
| void | set (const SurfaceCollection &coll) |
| void | set (SurfaceCollection &&coll) |
| void | set (const ExPolygons &src, SurfaceType surfaceType) |
| void | set (const ExPolygons &src, const Surface &surfaceTempl) |
| void | set (const Surfaces &src) |
| void | set (ExPolygons &&src, SurfaceType surfaceType) |
| void | set (ExPolygons &&src, const Surface &surfaceTempl) |
| void | set (Surfaces &&src) |
| void | append (const SurfaceCollection &coll) |
| void | append (SurfaceCollection &&coll) |
| void | append (const ExPolygons &src, SurfaceType surfaceType) |
| void | append (const ExPolygons &src, const Surface &surfaceTempl) |
| void | append (const Surfaces &src) |
| void | append (ExPolygons &&src, SurfaceType surfaceType) |
| void | append (ExPolygons &&src, const Surface &surfaceTempl) |
| void | append (Surfaces &&src) |
| void | export_to_svg (const char *path, bool show_labels) |
Public Attributes | |
| Surfaces | surfaces |
|
default |
|
inline |
References surfaces.
|
inline |
|
inline |
|
inline |
|
inline |
References Slic3r::surfaces_append().
|
inline |
|
inline |
References SurfaceCollection(), append(), and surfaces.
Referenced by append(), Slic3r::PrintObject::clip_fill_surfaces(), Slic3r::PrintObject::discover_horizontal_shells(), Slic3r::PrintObject::discover_vertical_shells(), Slic3r::Layer::make_perimeters(), set(), set(), set(), set(), set(), and set().
|
inline |
|
inline |
|
inline |
|
inline |
References SurfaceCollection(), and append().
Referenced by append().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void Slic3r::SurfaceCollection::export_to_svg | ( | const char * | path, |
| bool | show_labels ) |
References Slic3r::SVG::Close(), Slic3r::SVG::draw(), Slic3r::SVG::draw_text(), Slic3r::export_surface_type_legend_to_svg(), Slic3r::export_surface_type_legend_to_svg_box_size(), Slic3r::get_extents(), Slic3r::BoundingBoxBase< PointType, APointsType >::max, Slic3r::BoundingBoxBase< PointType, APointsType >::merge(), Slic3r::BoundingBoxBase< PointType, APointsType >::min, Slic3r::surface_type_to_color_name(), and surfaces.
Referenced by Slic3r::LayerRegion::process_external_surfaces().
| SurfacesPtr Slic3r::SurfaceCollection::filter_by_type | ( | const SurfaceType | type | ) | const |
References surfaces.
Referenced by Slic3r::PrintObject::discover_horizontal_shells(), and Slic3r::PrintObject::discover_vertical_shells().
| void Slic3r::SurfaceCollection::filter_by_type | ( | SurfaceType | type, |
| Polygons * | polygons ) const |
References Slic3r::polygons_append(), surfaces, and Slic3r::to_polygons().
| SurfacesPtr Slic3r::SurfaceCollection::filter_by_types | ( | std::initializer_list< SurfaceType > | types | ) | const |
References surfaces.
Referenced by Slic3r::PrintObject::discover_vertical_shells().
| void Slic3r::SurfaceCollection::group | ( | std::vector< SurfacesPtr > * | retval | ) |
References group(), surfaces, and Slic3r::surfaces_could_merge().
Referenced by Slic3r::PrintObject::discover_horizontal_shells(), and group().
|
inline |
| void Slic3r::SurfaceCollection::keep_type | ( | const SurfaceType | type | ) |
| void Slic3r::SurfaceCollection::keep_types | ( | std::initializer_list< SurfaceType > | types | ) |
References surfaces.
Referenced by Slic3r::PrintObject::discover_horizontal_shells(), and Slic3r::PrintObject::discover_vertical_shells().
| void Slic3r::SurfaceCollection::remove_type | ( | const SurfaceType | type | ) |
References surfaces.
| void Slic3r::SurfaceCollection::remove_type | ( | const SurfaceType | type, |
| ExPolygons * | polygons ) |
References surfaces.
| void Slic3r::SurfaceCollection::remove_types | ( | std::initializer_list< SurfaceType > | types | ) |
References surfaces.
Referenced by Slic3r::PrintObject::clip_fill_surfaces().
|
inline |
|
inline |
|
inline |
References SurfaceCollection(), and surfaces.
Referenced by Slic3r::PrintObject::discover_horizontal_shells(), and Slic3r::Layer::restore_untyped_slices_no_extra_perimeters().
|
inline |
|
inline |
|
inline |
|
inline |
References SurfaceCollection(), and surfaces.
|
inline |
|
inline |
| void Slic3r::SurfaceCollection::simplify | ( | double | tolerance | ) |
References Slic3r::Surface::expolygon, and surfaces.
|
inline |
References surfaces.
Referenced by Slic3r::group_fills().
| Surfaces Slic3r::SurfaceCollection::surfaces |
Referenced by SurfaceCollection(), SurfaceCollection(), append(), Slic3r::PerimeterGenerator::apply_extra_perimeters(), Slic3r::Feature::FuzzySkin::apply_fuzzy_skin(), Slic3r::Feature::FuzzySkin::apply_fuzzy_skin(), clear(), Slic3r::PrintObject::clip_fill_surfaces(), Slic3r::convert_layer_region_from_json(), Slic3r::detect_contacts(), Slic3r::PrintObject::discover_horizontal_shells(), Slic3r::PrintObject::discover_vertical_shells(), empty(), export_to_svg(), filter_by_type(), filter_by_type(), filter_by_types(), Slic3r::get_extents(), group(), Slic3r::group_fills(), keep_type(), keep_types(), Slic3r::Layer::make_perimeters(), Slic3r::LayerRegion::process_external_surfaces(), Slic3r::SupportMaterialInternal::remove_bridges_from_contacts(), remove_type(), remove_type(), remove_types(), set(), set(), simplify(), size(), and Slic3r::to_json().