PrusaSlicer-NonPlainar/xs/src/TriangleMesh.hpp

26 lines
465 B
C++
Raw Normal View History

2013-07-06 13:26:32 +00:00
#ifndef slic3r_TriangleMesh_hpp_
#define slic3r_TriangleMesh_hpp_
#include <myinit.h>
2013-06-24 17:35:49 +00:00
#include <admesh/stl.h>
namespace Slic3r {
2013-06-24 17:35:49 +00:00
class TriangleMesh
{
public:
TriangleMesh();
~TriangleMesh();
void ReadSTLFile(char* input_file);
2013-07-03 09:38:01 +00:00
void ReadFromPerl(SV* vertices, SV* facets);
2013-06-24 17:35:49 +00:00
void Repair();
void WriteOBJFile(char* output_file);
2013-08-04 19:34:26 +00:00
void scale(float factor);
void translate(float x, float y, float z);
2013-06-24 17:35:49 +00:00
stl_file stl;
};
}
2013-07-06 13:26:32 +00:00
#endif