Loading...
Searching...
No Matches
contourSurfaceDialog.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_VIEW_DIALOGS_CONTOURSURFACEDIALOG_H
#define BALL_VIEW_DIALOGS_CONTOURSURFACEDIALOG_H
#ifndef BALL_COMMON_GLOBAL_H
# include <BALL/COMMON/global.h>
#endif
#ifndef BALL_VIEW_DATATYPE_COLORRGBA_H
# include <BALL/VIEW/DATATYPE/colorRGBA.h>
#endif
#include <BALL/VIEW/UIC/ui_contourSurfaceDialog.h>
namespace BALL
{
namespace VIEW
{
class DatasetController;
class Dataset;
class BALL_VIEW_EXPORT ContourSurfaceDialog
: public QDialog,
public Ui_ContourSurfaceDialogData
{
Q_OBJECT
public:
ContourSurfaceDialog( QWidget* parent = 0, const char* name = "ContourSurfaceDialog");
~ContourSurfaceDialog();
void setGrid(Dataset* grid);
Dataset* getGrid();
double getThreshold() const;
void setController(DatasetController* controller) {controller_ = controller;}
ColorRGBA getColor();
public Q_SLOTS:
virtual int exec();
protected Q_SLOTS:
virtual void valuesChanged();
virtual void chooseColor();
private:
Dataset* grid_;
DatasetController* controller_;
};
} } // namespaces
#endif // CONTOURSURFACEDIALOG_H
global.h
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition COMMON/global.h:52
BALL::VIEW::ColorRGBA
Definition colorRGBA.h:32
BALL::VIEW::ContourSurfaceDialog::~ContourSurfaceDialog
~ContourSurfaceDialog()
BALL::VIEW::ContourSurfaceDialog::getThreshold
double getThreshold() const
BALL::VIEW::ContourSurfaceDialog::valuesChanged
virtual void valuesChanged()
BALL::VIEW::ContourSurfaceDialog::setGrid
void setGrid(Dataset *grid)
BALL::VIEW::ContourSurfaceDialog::exec
virtual int exec()
BALL::VIEW::ContourSurfaceDialog::chooseColor
virtual void chooseColor()
BALL::VIEW::ContourSurfaceDialog::getColor
ColorRGBA getColor()
BALL::VIEW::ContourSurfaceDialog::setController
void setController(DatasetController *controller)
Definition contourSurfaceDialog.h:40
BALL::VIEW::ContourSurfaceDialog::getGrid
Dataset * getGrid()
BALL::VIEW::ContourSurfaceDialog::ContourSurfaceDialog
ContourSurfaceDialog(QWidget *parent=0, const char *name="ContourSurfaceDialog")
BALL::VIEW::DatasetController
Definition dataset.h:193
BALL::VIEW::Dataset
Definition dataset.h:61
QDialog
QWidget
colorRGBA.h
BALL::VIEW
Definition constraints.h:35
BALL
Definition constants.h:13