diff options
Diffstat (limited to 'src/export.h')
-rw-r--r-- | src/export.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/export.h b/src/export.h index 619d9e0..cba0b23 100644 --- a/src/export.h +++ b/src/export.h @@ -2,10 +2,13 @@ #define EXPORT_H_ #ifdef ENABLE_CGAL -void cgal_nef3_to_polyset(PolySet *ps, CGAL_Nef_polyhedron *root_N); -void export_stl(class CGAL_Nef_polyhedron *root_N, QString filename, class QProgressDialog *pd); -void export_off(CGAL_Nef_polyhedron *root_N, QString filename, QProgressDialog *pd); -void export_dxf(CGAL_Nef_polyhedron *root_N, QString filename, QProgressDialog *pd); + +#include <iostream> + +void cgal_nef3_to_polyset(class PolySet *ps, class CGAL_Nef_polyhedron *root_N); +void export_stl(CGAL_Nef_polyhedron *root_N, std::ostream &output, class QProgressDialog *pd); +void export_off(CGAL_Nef_polyhedron *root_N, std::ostream &output, QProgressDialog *pd); +void export_dxf(CGAL_Nef_polyhedron *root_N, std::ostream &output, QProgressDialog *pd); #endif #endif |