Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Common.hpp « SLA « libslic3r « src - github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e1c5930e2aabd363a3c245d3bf42020dca4ab0db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef SLA_COMMON_HPP
#define SLA_COMMON_HPP

#include <memory>
#include <vector>
#include <numeric>
#include <functional>
#include <Eigen/Geometry>

//#include "SLASpatIndex.hpp"

//#include <libslic3r/ExPolygon.hpp>
//#include <libslic3r/TriangleMesh.hpp>

// #define SLIC3R_SLA_NEEDS_WINDTREE

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, 4, 1, Eigen::DontAlign> Vec4i;

namespace sla {

using PointSet = Eigen::MatrixXd;

} // namespace sla
} // namespace Slic3r


#endif // SLASUPPORTTREE_HPP