libslic3r
Library for generating gcode from 3d models
|
#include <SurfaceCollection.hpp>
Public Member Functions | |
SurfaceCollection () | |
SurfaceCollection (const Surfaces &_surfaces) | |
operator Polygons () const | |
operator ExPolygons () const | |
void | simplify (double tolerance) |
void | group (std::vector< SurfacesConstPtr > *retval) const |
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 (SurfaceType type) |
SurfacesPtr | filter_by_type (std::initializer_list< SurfaceType > types) |
void | filter_by_type (SurfaceType type, Polygons *polygons) |
void | remove_type (const SurfaceType type) |
deletes all surfaces that match the supplied type. More... | |
void | remove_types (std::initializer_list< SurfaceType > types) |
template<int N> | |
void | remove_types (std::array< SurfaceType, N > types) |
void | group (std::vector< SurfacesPtr > *retval) |
group surfaces by common properties More... | |
void | keep_type (const SurfaceType type) |
Deletes every surface other than the ones that match the provided type. More... | |
void | keep_types (std::initializer_list< SurfaceType > types) |
Deletes every surface other than the ones that match the provided types. More... | |
void | keep_types (const SurfaceType *types, size_t ntypes) |
Deletes every surface other than the ones that match the provided types. More... | |
void | remove_types (const SurfaceType *types, size_t ntypes) |
deletes all surfaces that match the supplied aggregate of types. More... | |
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 (const Surfaces &surfaces) |
void | append (const ExPolygons &src, const Surface &templ) |
void | append (const ExPolygons &src, SurfaceType surfaceType) |
size_t | polygons_count () const |
bool | empty () const |
size_t | size () const |
void | clear () |
void | erase (size_t i) |
Surfaces::iterator | begin () |
Surfaces::iterator | end () |
Surfaces::const_iterator | cbegin () const |
Surfaces::const_iterator | cend () const |
Public Attributes | |
Surfaces | surfaces |
|
inline |
|
inline |
template bool Slic3r::SurfaceCollection::any_bottom_contains< Polyline > | ( | const T & | item | ) | const |
template bool Slic3r::SurfaceCollection::any_internal_contains< Polyline > | ( | const T & | item | ) | const |
void Slic3r::SurfaceCollection::append | ( | const SurfaceCollection & | coll | ) |
void Slic3r::SurfaceCollection::append | ( | const Surfaces & | surfaces | ) |
void Slic3r::SurfaceCollection::append | ( | const ExPolygons & | src, |
const Surface & | templ | ||
) |
void Slic3r::SurfaceCollection::append | ( | const ExPolygons & | src, |
SurfaceType | surfaceType | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
SurfacesPtr Slic3r::SurfaceCollection::filter_by_type | ( | SurfaceType | type | ) |
SurfacesPtr Slic3r::SurfaceCollection::filter_by_type | ( | std::initializer_list< SurfaceType > | types | ) |
void Slic3r::SurfaceCollection::filter_by_type | ( | SurfaceType | type, |
Polygons * | polygons | ||
) |
void Slic3r::SurfaceCollection::group | ( | std::vector< SurfacesConstPtr > * | retval | ) | const |
void Slic3r::SurfaceCollection::group | ( | std::vector< SurfacesPtr > * | retval | ) |
group surfaces by common properties
void Slic3r::SurfaceCollection::keep_type | ( | const SurfaceType | type | ) |
Deletes every surface other than the ones that match the provided type.
void Slic3r::SurfaceCollection::keep_types | ( | std::initializer_list< SurfaceType > | types | ) |
Deletes every surface other than the ones that match the provided types.
void Slic3r::SurfaceCollection::keep_types | ( | const SurfaceType * | types, |
size_t | ntypes | ||
) |
Deletes every surface other than the ones that match the provided types.
Slic3r::SurfaceCollection::operator ExPolygons | ( | ) | const |
Slic3r::SurfaceCollection::operator Polygons | ( | ) | const |
size_t Slic3r::SurfaceCollection::polygons_count | ( | ) | const |
void Slic3r::SurfaceCollection::remove_type | ( | const SurfaceType | type | ) |
deletes all surfaces that match the supplied type.
void Slic3r::SurfaceCollection::remove_types | ( | std::initializer_list< SurfaceType > | types | ) |
|
inline |
void Slic3r::SurfaceCollection::remove_types | ( | const SurfaceType * | types, |
size_t | ntypes | ||
) |
deletes all surfaces that match the supplied aggregate of types.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void Slic3r::SurfaceCollection::simplify | ( | double | tolerance | ) |
|
inline |
Surfaces Slic3r::SurfaceCollection::surfaces |