BALL 1.5.0
Loading...
Searching...
No Matches
clippingDialog.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4
5#ifndef BALL_VIEW_DIALOGS_CLIPPINGDIALOG_H
6#define BALL_VIEW_DIALOGS_CLIPPINGDIALOG_H
7
8#ifndef BALL_COMMON_GLOBAL_H
9# include <BALL/COMMON/global.h>
10#endif
11
12#ifndef BALL_VIEW_KERNEL_CLIPPING_PLANE_H
14#endif
15
16#include <BALL/VIEW/UIC/ui_clippingDialog.h>
17
18#include <QtWidgets/QDialog>
19
20namespace BALL
21{
22 namespace VIEW
23 {
28 : public QDialog,
29 public Ui_ClippingDialogData
30 {
31 Q_OBJECT
32
33 public:
34
38
41 ClippingDialog(QWidget *parent = NULL, const char *name = "ClippingDialog" );
42
44
47
50 virtual ~ClippingDialog();
51
53 void setClippingPlane(ClippingPlane* plane) { clipping_plane_ = plane;}
54
56 const ClippingPlane* getClippingPlane() const { return clipping_plane_;}
57
59
60 public Q_SLOTS:
61
65
68 int exec();
69
71 void accept();
72
74
77
78 protected:
79
81 };
82
83} } // namespaces
84
85#endif // BALL_VIEW_DIALOGS_CLIPPINGDIALOG_H
void setClippingPlane(ClippingPlane *plane)
const ClippingPlane * getClippingPlane() const
ClippingPlane * clipping_plane_
ClippingDialog(QWidget *parent=NULL, const char *name="ClippingDialog")
#define BALL_VIEW_EXPORT