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
+22
View File
@@ -1,3 +1,5 @@
#include "Point.hpp"
#include "TriangleMesh.hpp"
#include "libslic3r/libslic3r.h"
#include "Measure.hpp"
#include "MeasureUtils.hpp"
@@ -6,8 +8,28 @@
#include "libslic3r/SurfaceMesh.hpp"
#include <cstdlib>
#include <limits>
#include <array>
#include <cstddef>
#include <algorithm>
#include <cassert>
#include <boost/container/small_vector.hpp>
#include <Eigen/Geometry>
#include <cmath>
#include <math.h>
#include <iterator>
#include <memory>
#include <iostream>
#include <Eigen/Core>
#include <cstdint>
#include <numeric>
#include <optional>
#include <set>
#include <tbb/parallel_for.h>
#include <tuple>
#include <vector>
#include <utility>
#define DEBUG_EXTRACT_ALL_FEATURES_AT_ONCE 0