OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Surface.hpp File Reference
#include "Polygon.hpp"
#include "Point.hpp"
#include "ExPolygon.hpp"
#include <utility>
#include <vector>
#include <cstddef>
#include <algorithm>
#include <iterator>
#include "BoundingBox.hpp"
Include dependency graph for Surface.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Slic3r::Surface

Namespaces

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

Typedefs

typedef std::vector< Surface > Slic3r::Surfaces
typedef std::vector< const Surface * > Slic3r::SurfacesPtr

Enumerations

enum  Slic3r::SurfaceType {
  Slic3r::stTop , Slic3r::stBottom , Slic3r::stBottomBridge , Slic3r::stInternalAfterExternalBridge ,
  Slic3r::stInternal , Slic3r::stInternalSolid , Slic3r::stInternalBridge , Slic3r::stSecondInternalBridge ,
  Slic3r::stInternalVoid , Slic3r::stPerimeter , Slic3r::stCount
}

Functions

Polygons Slic3r::to_polygons (const Surface &surface)
Polygons Slic3r::to_polygons (Surface &&surface)
Polygons Slic3r::to_polygons (const Surfaces &src)
Polygons Slic3r::to_polygons (const SurfacesPtr &src)
ExPolygons Slic3r::to_expolygons (const Surfaces &src)
ExPolygons Slic3r::to_expolygons (Surfaces &&src)
ExPolygons Slic3r::to_expolygons (const SurfacesPtr &src)
size_t Slic3r::number_polygons (const Surfaces &surfaces)
size_t Slic3r::number_polygons (const SurfacesPtr &surfaces)
void Slic3r::polygons_append (Polygons &dst, const Surfaces &src)
void Slic3r::polygons_append (Polygons &dst, Surfaces &&src)
void Slic3r::polygons_append (Polygons &dst, const SurfacesPtr &src)
void Slic3r::surfaces_append (Surfaces &dst, const ExPolygons &src, SurfaceType surfaceType)
void Slic3r::surfaces_append (Surfaces &dst, const ExPolygons &src, const Surface &surfaceTempl)
void Slic3r::surfaces_append (Surfaces &dst, const Surfaces &src)
void Slic3r::surfaces_append (Surfaces &dst, ExPolygons &&src, SurfaceType surfaceType)
void Slic3r::surfaces_append (Surfaces &dst, ExPolygons &&src, const Surface &surfaceTempl)
void Slic3r::surfaces_append (Surfaces &dst, Surfaces &&src)
BoundingBox Slic3r::get_extents (const Surface &surface)
BoundingBox Slic3r::get_extents (const Surfaces &surfaces)
BoundingBox Slic3r::get_extents (const SurfacesPtr &surfaces)
bool Slic3r::surfaces_could_merge (const Surface &s1, const Surface &s2)
const char * Slic3r::surface_type_to_color_name (const SurfaceType surface_type)
void Slic3r::export_surface_type_legend_to_svg (SVG &svg, const Point &pos)
Point Slic3r::export_surface_type_legend_to_svg_box_size ()
bool Slic3r::export_to_svg (const char *path, const Surfaces &surfaces, const float transparency)