mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-06 23:31:19 +00:00
Generated with include-what-you-use and applied conservatively. Only OrcaSlicer's own headers, the ones under src/ and tests/, are removed or forward-declared; standard-library and third-party includes are left alone. An include is removed only when both the Release and the Debug configuration leave it unused, never from inside a conditional block, and never from a file with platform-specific blocks, which only gain includes. Files whose only use of a header sits behind a feature or debug macro (libvgcode's OpenGL ES and marker code, the ARACHNE/TESTS_EXPORT_SVGS debug output) keep their includes. clonable_ptr.hpp gains #pragma once; it had no include guard and was only safe while Config.hpp was its sole includer.
43 lines
1.3 KiB
C++
43 lines
1.3 KiB
C++
#ifndef slic3r_FillSpiralInset_hpp_
|
|
#define slic3r_FillSpiralInset_hpp_
|
|
|
|
#include "libslic3r/ExPolygon.hpp"
|
|
#include "FillBase.hpp"
|
|
#include <utility>
|
|
#include "libslic3r/Polyline.hpp"
|
|
|
|
namespace Slic3r { class Point; }
|
|
|
|
namespace Slic3r {
|
|
|
|
class FillSpiralInset : public Fill
|
|
{
|
|
public:
|
|
~FillSpiralInset() override = default;
|
|
bool is_self_crossing() override { return false; }
|
|
|
|
protected:
|
|
Fill* clone() const override { return new FillSpiralInset(*this); };
|
|
void _fill_surface_single(
|
|
const FillParams ¶ms,
|
|
unsigned int thickness_layers,
|
|
const std::pair<float, Point> &direction,
|
|
ExPolygon expolygon,
|
|
Polylines &polylines_out) override;
|
|
|
|
// Orca: solid surfaces are filled with Arachne's variable width walls, which widen to take up
|
|
// whatever the fixed width loops above would have left over as gaps.
|
|
void _fill_surface_single(
|
|
const FillParams ¶ms,
|
|
unsigned int thickness_layers,
|
|
const std::pair<float, Point> &direction,
|
|
ExPolygon expolygon,
|
|
ThickPolylines &thick_polylines_out) override;
|
|
|
|
bool no_sort() const override { return true; }
|
|
};
|
|
|
|
} // namespace Slic3r
|
|
|
|
#endif // slic3r_FillSpiralInset_hpp_
|