exportGeometryDialog.h

Go to the documentation of this file.
00001 #ifndef BALL_VIEW_DIALOGS_EXPORTGEOMETRYDIALOG_H
00002 #define BALL_VIEW_DIALOGS_EXPORTGEOMETRYDIALOG_H
00003 
00004 #ifndef BALL_COMMON_GLOBAL_H
00005 # include <BALL/COMMON/global.h>
00006 #endif
00007 
00008 #ifndef  BALL_VIEW_KERNEL_CLIPPING_PLANE_H
00009 # include <BALL/VIEW/KERNEL/clippingPlane.h>
00010 #endif
00011 
00012 #include <BALL/VIEW/UIC/ui_exportGeometryDialog.h>
00013 
00014 #include <QtGui/QDialog>
00015 
00016 namespace BALL
00017 {
00018   namespace VIEW
00019   {
00020 
00021     class BALL_VIEW_EXPORT ExportGeometryDialog
00022       : public QDialog,
00023         public Ui_ExportGeometryDialogData
00024     {
00025       Q_OBJECT
00026 
00027       public:
00028 
00029       //Constructor
00030       ExportGeometryDialog(QWidget *parent = NULL, const char *name = "ExportGeometryDialog" );
00031 
00032       //Destructor
00033       virtual ~ExportGeometryDialog();
00034 
00038       void setFilename(QString filename)  {filename_ = filename;}
00039 
00040       QString getFilename() { return filename_; }
00041 
00044       bool export_vrml();
00045 
00048       bool export_stl();
00049 
00052       bool split();
00053 
00056 //      bool* reps() {return reps;}
00057 
00060 //      bool* basestats() {return basestats;}
00061 
00062       bool reps[100];
00063 
00064       bool basestats[100];
00065 
00066       public slots:
00067 
00070       void exec();
00071 
00073       void accept();
00074 
00076 
00079 
00080       protected slots:
00081 
00084       void browseFiles();
00085 
00088       void protomode();
00089 
00092       void viewmode();
00093 
00094 
00095       private:
00098       QString filename_;
00099 
00100       bool vrml_;
00101 
00102       bool stl_;
00103 
00104       bool split_;
00105 
00106     };
00107 
00108 } } // namespaces
00109 
00110 #endif // BALL_VIEW_DIALOGS_EXPORTGEOMETRYDIALOG_H