Performance optimizations and some cleanup.

Optional heavy parallelism which is disabled by default. Would like to test it further in a next release cycle.
This commit is contained in:
tamasmeszaros
2019-07-30 17:57:07 +02:00
parent ca1f3dc6af
commit 1ab3268d55
2 changed files with 320 additions and 245 deletions

View File

@@ -171,9 +171,9 @@ public:
const EigenMesh3D& em,
const SupportConfig& cfg = {},
const Controller& ctl = {});
SLASupportTree(const SLASupportTree&);
SLASupportTree& operator=(const SLASupportTree&);
SLASupportTree(const SLASupportTree&) = delete;
SLASupportTree& operator=(const SLASupportTree&) = delete;
~SLASupportTree();
@@ -183,9 +183,6 @@ public:
void merged_mesh_with_pad(TriangleMesh&) const;
/// Get the sliced 2d layers of the support geometry.
std::vector<ExPolygons> slice(float layerh, float init_layerh = -1.0) const;
std::vector<ExPolygons> slice(const std::vector<float> &,
float closing_radius) const;