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-02 14:57:37 +08:00
parent dbbf26443b
commit c48f36e5f4
456 changed files with 3917 additions and 0 deletions
+25
View File
@@ -1,3 +1,13 @@
#include <array>
#include <string>
#include <cstddef>
#include <cassert>
#include <algorithm>
#include <cstdint>
#include <cstdlib>
#include <cmath>
#include <mutex>
#include <numeric>
#include <unordered_set>
#include <libslic3r/Exception.hpp>
@@ -18,8 +28,23 @@
#include <libslic3r/ClipperUtils.hpp>
#include <boost/log/trivial.hpp>
#include <vector>
#include <utility>
#include "ExPolygon.hpp"
#include "Execution/ExecutionTBB.hpp"
#include "I18N.hpp"
#include "SLAPrint.hpp"
#include "Point.hpp"
#include "libslic3r.h"
#include "SLA/Hollowing.hpp"
#include "TriangleMesh.hpp"
#include "Line.hpp"
#include "Model.hpp"
#include "SLA/SupportPoint.hpp"
#include "SLA/JobController.hpp"
#include "SLA/SupportTree.hpp"
#include "SLA/RasterBase.hpp"
//! macro used to mark string used at localization,
//! return same string