mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00

Instead, it stores a pointer to extern TriangleMesh (which must not be destroyed before the EigenMesh3D object)
27 lines
565 B
C++
27 lines
565 B
C++
#ifndef SLA_COMMON_HPP
|
|
#define SLA_COMMON_HPP
|
|
|
|
#include <memory>
|
|
#include <vector>
|
|
#include <numeric>
|
|
#include <functional>
|
|
#include <Eigen/Geometry>
|
|
|
|
|
|
namespace Slic3r {
|
|
|
|
// Typedefs from Point.hpp
|
|
typedef Eigen::Matrix<float, 3, 1, Eigen::DontAlign> Vec3f;
|
|
typedef Eigen::Matrix<double, 3, 1, Eigen::DontAlign> Vec3d;
|
|
typedef Eigen::Matrix<int, 3, 1, Eigen::DontAlign> Vec3i;
|
|
typedef Eigen::Matrix<int, 4, 1, Eigen::DontAlign> Vec4i;
|
|
|
|
namespace sla {
|
|
|
|
using PointSet = Eigen::MatrixXd;
|
|
|
|
} // namespace sla
|
|
} // namespace Slic3r
|
|
|
|
|
|
#endif // SLASUPPORTTREE_HPP
|