diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2020-06-25 14:58:51 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2020-08-03 20:05:30 +0300 |
commit | 1eec6c473c660196dbe7ca421d0abefbf4ea8739 (patch) | |
tree | 92b23edcc26c62fd3a02aa9ba29eeca03ee8e875 /src/libslic3r/SLA/ReprojectPointsOnMesh.hpp | |
parent | 645fbed88bb94d3addf32691e08f0e9453978120 (diff) |
Rename EigenMesh3D to IndexedMesh and SupportConfig to SupportTreeConfig
Diffstat (limited to 'src/libslic3r/SLA/ReprojectPointsOnMesh.hpp')
-rw-r--r-- | src/libslic3r/SLA/ReprojectPointsOnMesh.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libslic3r/SLA/ReprojectPointsOnMesh.hpp b/src/libslic3r/SLA/ReprojectPointsOnMesh.hpp index 702d1bce1..4737a6c21 100644 --- a/src/libslic3r/SLA/ReprojectPointsOnMesh.hpp +++ b/src/libslic3r/SLA/ReprojectPointsOnMesh.hpp @@ -4,7 +4,7 @@ #include "libslic3r/Point.hpp" #include "SupportPoint.hpp" #include "Hollowing.hpp" -#include "EigenMesh3D.hpp" +#include "IndexedMesh.hpp" #include "libslic3r/Model.hpp" #include <tbb/parallel_for.h> @@ -15,7 +15,7 @@ template<class Pt> Vec3d pos(const Pt &p) { return p.pos.template cast<double>() template<class Pt> void pos(Pt &p, const Vec3d &pp) { p.pos = pp.cast<float>(); } template<class PointType> -void reproject_support_points(const EigenMesh3D &mesh, std::vector<PointType> &pts) +void reproject_support_points(const IndexedMesh &mesh, std::vector<PointType> &pts) { tbb::parallel_for(size_t(0), pts.size(), [&mesh, &pts](size_t idx) { int junk; @@ -40,7 +40,7 @@ inline void reproject_points_and_holes(ModelObject *object) TriangleMesh rmsh = object->raw_mesh(); rmsh.require_shared_vertices(); - EigenMesh3D emesh{rmsh}; + IndexedMesh emesh{rmsh}; if (has_sppoints) reproject_support_points(emesh, object->sla_support_points); |