95ede7c4b8
Removed dependency on Perl Math::PlanePath module. Fixed compilation with Visual Studio and SLIC3R_DEBUG: Visual Studio older than 2015 does not support the prinf type specifier %zu. Use %Iu instead. C++11 move semantics enabled.
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_
|