00001
00002
00003
00004
00005
00006 #ifndef BALL_VIEW_DIALOGS_CLIPPINGDIALOG_H
00007 #define BALL_VIEW_DIALOGS_CLIPPINGDIALOG_H
00008
00009 #ifndef BALL_COMMON_GLOBAL_H
00010 # include <BALL/COMMON/global.h>
00011 #endif
00012
00013 #ifdef BALL_COMPILER_MSVC
00014 # include <BALL/VIEW/UIC/ui_clippingDialog.h>
00015 #else
00016 # include <BALL/VIEW/UIC/clippingDialogData.h>
00017 #endif
00018
00019
00020 #ifndef BALL_VIEW_KERNEL_CLIPPING_PLANE_H
00021 # include <BALL/VIEW/KERNEL/clippingPlane.h>
00022 #endif
00023
00024 #include <QtGui/QDialog>
00025
00026 namespace BALL
00027 {
00028 namespace VIEW
00029 {
00033 class BALL_VIEW_EXPORT ClippingDialog
00034 : public QDialog,
00035 public Ui_ClippingDialogData
00036 {
00037 Q_OBJECT
00038
00039 public:
00040
00044
00047 ClippingDialog(QWidget *parent = NULL, const char *name = "ClippingDialog" );
00048
00050
00053
00056 virtual ~ClippingDialog();
00057
00059 void setClippingPlane(ClippingPlane* plane) { clipping_plane_ = plane;}
00060
00062 const ClippingPlane* getClippingPlane() const { return clipping_plane_;}
00063
00065
00066 public slots:
00067
00071
00074 void exec();
00075
00077 void accept();
00078
00080
00083
00084 protected:
00085
00086 ClippingPlane* clipping_plane_;
00087 };
00088
00089 } }
00090
00091 #endif // BALL_VIEW_DIALOGS_CLIPPINGDIALOG_H