PrusaSlicer-NonPlainar/xs/src/TriangleMesh.hpp

24 lines
346 B
C++
Raw Normal View History

2013-06-24 17:35:49 +00:00
#include <admesh/stl.h>
extern "C" {
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include "ppport.h"
}
2013-06-24 17:35:49 +00:00
class TriangleMesh
{
public:
TriangleMesh();
~TriangleMesh();
void ReadSTLFile(char* input_file);
void Repair();
void WriteOBJFile(char* output_file);
AV* ToPerl();
2013-06-24 17:35:49 +00:00
private:
stl_file stl;
};