0558b53493
The XS was left only for the unit / integration tests, and it links libslic3r only. No wxWidgets are allowed to be used from Perl starting from now.
37 lines
667 B
C++
37 lines
667 B
C++
#ifndef slic3r_Fill_hpp_
|
|
#define slic3r_Fill_hpp_
|
|
|
|
#include <memory.h>
|
|
#include <float.h>
|
|
#include <stdint.h>
|
|
|
|
#include "../libslic3r.h"
|
|
#include "../BoundingBox.hpp"
|
|
#include "../PrintConfig.hpp"
|
|
|
|
#include "FillBase.hpp"
|
|
|
|
namespace Slic3r {
|
|
|
|
class ExtrusionEntityCollection;
|
|
class LayerRegion;
|
|
|
|
// An interface class to Perl, aggregating an instance of a Fill and a FillData.
|
|
class Filler
|
|
{
|
|
public:
|
|
Filler() : fill(NULL) {}
|
|
~Filler() {
|
|
delete fill;
|
|
fill = NULL;
|
|
}
|
|
Fill *fill;
|
|
FillParams params;
|
|
};
|
|
|
|
void make_fill(LayerRegion &layerm, ExtrusionEntityCollection &out);
|
|
|
|
} // namespace Slic3r
|
|
|
|
#endif // slic3r_Fill_hpp_
|