Add Missing Includes Across src/libslic3r

Every libslic3r source and header now directly includes the headers declaring what it uses, rather than relying on the precompiled header or transitive includes. Generated with clang-tidy misc-include-cleaner, with libslic3r headers spelled libslic3r/... so they resolve outside the library's private include paths. MultiMaterialSegmentation.hpp, Support/SupportParameters.hpp and Format/STEP.hpp are made self-contained by hand.
This commit is contained in:
Hanif Koh
2026-10-03 13:46:08 +08:00
parent 84657ff11e
commit 893cb6fd9d
448 changed files with 3831 additions and 0 deletions
+24
View File
@@ -1,20 +1,44 @@
#include "Flow.hpp"
#include "Config.hpp"
#include "ExPolygon.hpp"
#include "ExtrusionEntity.hpp"
#include "Exception.hpp"
#include "Layer.hpp"
#include "BridgeDetector.hpp"
#include "ClipperUtils.hpp"
#include "Geometry.hpp"
#include "Line.hpp"
#include "PerimeterGenerator.hpp"
#include "Point.hpp"
#include "Polygon.hpp"
#include "Polyline.hpp"
#include "Print.hpp"
#include "PrintConfig.hpp"
#include "Surface.hpp"
#include "BoundingBox.hpp"
#include "SVG.hpp"
#include "Algorithm/RegionExpansion.hpp"
#include "libslic3r.h"
#include "Utils.hpp"
#include <cmath>
#include <array>
#include <cstddef>
#include <initializer_list>
#include <algorithm>
#include <cstdint>
#include <optional>
#include <iterator>
#include <stdexcept>
#include <math.h>
#include <cassert>
#include <string>
#include <map>
#include <boost/log/trivial.hpp>
#include <boost/algorithm/clamp.hpp>
#include <utility>
#include <vector>
namespace Slic3r {