Add dedicated tests for support point generation

This commit is contained in:
tamasmeszaros 2020-08-18 11:41:14 +02:00
parent 1172dfcb40
commit 4ef52af906
10 changed files with 285 additions and 21 deletions

View file

@ -185,4 +185,13 @@ long raster_pxsum(const sla::RasterGrayscaleAA &raster);
double predict_error(const ExPolygon &p, const sla::RasterBase::PixelDim &pd);
// Make a 3D pyramid
TriangleMesh make_pyramid(float base, float height);
TriangleMesh make_prism(double width, double length, double height);
sla::SupportPoints calc_support_pts(
const TriangleMesh & mesh,
const sla::SupportPointGenerator::Config &cfg = {});
#endif // SLA_TEST_UTILS_HPP