2019-11-11 11:41:14 +01:00
|
|
|
#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;
|
2020-05-23 13:54:41 +02:00
|
|
|
typedef Eigen::Matrix<int, 3, 1, Eigen::DontAlign> Vec3i;
|
2019-11-11 11:41:14 +01:00
|
|
|
typedef Eigen::Matrix<int, 4, 1, Eigen::DontAlign> Vec4i;
|
|
|
|
|
|
|
|
|
|
namespace sla {
|
|
|
|
|
|
|
|
|
|
using PointSet = Eigen::MatrixXd;
|
|
|
|
|
|
|
|
|
|
} // namespace sla
|
|
|
|
|
} // namespace Slic3r
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // SLASUPPORTTREE_HPP
|