mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-22 00:01:09 -06:00
28 lines
442 B
C++
28 lines
442 B
C++
#ifndef slic3r_ZTable_hpp_
|
|
#define slic3r_ZTable_hpp_
|
|
|
|
extern "C" {
|
|
#include "EXTERN.h"
|
|
#include "perl.h"
|
|
#include "XSUB.h"
|
|
#include "ppport.h"
|
|
}
|
|
|
|
namespace Slic3r {
|
|
|
|
class ZTable
|
|
{
|
|
public:
|
|
ZTable(std::vector<unsigned int>* z_array);
|
|
std::vector<unsigned int> get_range(unsigned int min_z, unsigned int max_z);
|
|
std::vector<unsigned int> z;
|
|
};
|
|
|
|
ZTable::ZTable(std::vector<unsigned int>* ztable) :
|
|
z(*ztable)
|
|
{
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|