00001
00002
00003 #ifndef BALL_VIEW_DIALOGS_EXPORTGEOMETRYDIALOG_H
00004 #define BALL_VIEW_DIALOGS_EXPORTGEOMETRYDIALOG_H
00005
00006 #ifndef BALL_COMMON_GLOBAL_H
00007 # include <BALL/COMMON/global.h>
00008 #endif
00009
00010 #ifdef BALL_COMPILER_MSVC
00011 # include <BALL/VIEW/UIC/ui_exportGeometryDialog.h>
00012 #else
00013 # include <BALL/VIEW/UIC/exportGeometryDialogData.h>
00014 #endif
00015
00016 #ifndef BALL_VIEW_KERNEL_CLIPPING_PLANE_H
00017 # include <BALL/VIEW/KERNEL/clippingPlane.h>
00018 #endif
00019
00020 #include <QtGui/QDialog>
00021
00022 namespace BALL
00023 {
00024 namespace VIEW
00025 {
00026
00027 class BALL_VIEW_EXPORT ExportGeometryDialog
00028 : public QDialog,
00029 public Ui_ExportGeometryDialogData
00030 {
00031 Q_OBJECT
00032
00033 public:
00034
00035
00036 ExportGeometryDialog(QWidget *parent = NULL, const char *name = "ExportGeometryDialog" );
00037
00038
00039 virtual ~ExportGeometryDialog();
00040
00044 void setFilename(QString filename) {filename_ = filename;}
00045
00046 QString getFilename() { return filename_; }
00047
00050 bool export_vrml();
00051
00054 bool export_stl();
00055
00058 bool split();
00059
00062
00063
00066
00067
00068 bool reps[100];
00069
00070 bool basestats[100];
00071
00072 public slots:
00073
00076 void exec();
00077
00079 void accept();
00080
00082
00085
00086 protected slots:
00087
00090 void browseFiles();
00091
00094 void protomode();
00095
00098 void viewmode();
00099
00100
00101 private:
00104 QString filename_;
00105
00106 bool vrml_;
00107
00108 bool stl_;
00109
00110 bool split_;
00111
00112 };
00113
00114 } }
00115
00116 #endif // BALL_VIEW_DIALOGS_EXPORTGEOMETRYDIALOG_H