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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libslic3r/SLA/Rotfinder.hpp')
-rw-r--r--src/libslic3r/SLA/Rotfinder.hpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/libslic3r/SLA/Rotfinder.hpp b/src/libslic3r/SLA/Rotfinder.hpp
index 4469f9731..96561a890 100644
--- a/src/libslic3r/SLA/Rotfinder.hpp
+++ b/src/libslic3r/SLA/Rotfinder.hpp
@@ -4,9 +4,11 @@
#include <functional>
#include <array>
+#include <libslic3r/Point.hpp>
+
namespace Slic3r {
-class ModelObject;
+class SLAPrintObject;
namespace sla {
@@ -25,14 +27,17 @@ namespace sla {
*
* @return Returns the rotations around each axis (x, y, z)
*/
-std::array<double, 3> find_best_rotation(
- const ModelObject& modelobj,
+Vec2d find_best_rotation(
+ const SLAPrintObject& modelobj,
float accuracy = 1.0f,
std::function<void(unsigned)> statuscb = [] (unsigned) {},
std::function<bool()> stopcond = [] () { return false; }
);
-}
-}
+double get_model_supportedness(const SLAPrintObject &mesh,
+ const Transform3d & tr);
+
+} // namespace sla
+} // namespace Slic3r
#endif // SLAROTFINDER_HPP