Loading...
Searching...
No Matches
clippingDialog.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_VIEW_DIALOGS_CLIPPINGDIALOG_H
#define BALL_VIEW_DIALOGS_CLIPPINGDIALOG_H
#ifndef BALL_COMMON_GLOBAL_H
# include <BALL/COMMON/global.h>
#endif
#ifndef BALL_VIEW_KERNEL_CLIPPING_PLANE_H
# include <BALL/VIEW/KERNEL/clippingPlane.h>
#endif
#include <BALL/VIEW/UIC/ui_clippingDialog.h>
#include <QtWidgets/QDialog>
namespace BALL
{
namespace VIEW
{
class BALL_VIEW_EXPORT ClippingDialog
: public QDialog,
public Ui_ClippingDialogData
{
Q_OBJECT
public:
ClippingDialog(QWidget *parent = NULL, const char *name = "ClippingDialog" );
virtual ~ClippingDialog();
void setClippingPlane(ClippingPlane* plane) { clipping_plane_ = plane;}
const ClippingPlane* getClippingPlane() const { return clipping_plane_;}
public Q_SLOTS:
int exec();
void accept();
protected:
ClippingPlane* clipping_plane_;
};
} } // namespaces
#endif // BALL_VIEW_DIALOGS_CLIPPINGDIALOG_H
global.h
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition COMMON/global.h:52
BALL::VIEW::ClippingDialog::setClippingPlane
void setClippingPlane(ClippingPlane *plane)
Definition clippingDialog.h:53
BALL::VIEW::ClippingDialog::~ClippingDialog
virtual ~ClippingDialog()
BALL::VIEW::ClippingDialog::accept
void accept()
BALL::VIEW::ClippingDialog::getClippingPlane
const ClippingPlane * getClippingPlane() const
Definition clippingDialog.h:56
BALL::VIEW::ClippingDialog::exec
int exec()
BALL::VIEW::ClippingDialog::clipping_plane_
ClippingPlane * clipping_plane_
Definition clippingDialog.h:80
BALL::VIEW::ClippingDialog::ClippingDialog
ClippingDialog(QWidget *parent=NULL, const char *name="ClippingDialog")
BALL::VIEW::ClippingPlane
Definition clippingPlane.h:26
QDialog
QWidget
clippingPlane.h
BALL::VIEW
Definition constraints.h:35
BALL
Definition constants.h:13