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

ZTable.hpp « src « xs - github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 045722eec620c75b67a589cfce00698f978b6cd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef slic3r_ZTable_hpp_
#define slic3r_ZTable_hpp_

extern "C" {
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include "ppport.h"
}

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