-
-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathrenderingdialog.h
53 lines (40 loc) · 1.21 KB
/
renderingdialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/******************************************************************************
This source file is part of the Avogadro project.
This source code is released under the 3-Clause BSD License, (see "LICENSE").
******************************************************************************/
#ifndef AVOGADRO_RENDERINGDIALOG_H
#define AVOGADRO_RENDERINGDIALOG_H
#include <QtWidgets/QDialog>
#include <avogadro/rendering/solidpipeline.h>
namespace Ui {
class RenderingDialog;
}
namespace Avogadro {
using Rendering::SolidPipeline;
class RenderingDialog : public QDialog
{
Q_OBJECT
public:
RenderingDialog(QWidget *parent, SolidPipeline &pipeline);
~RenderingDialog() override;
bool aoEnabled();
float fogPosition();
float aoStrength();
float fogStrength();
bool fogEnabled();
bool dofEnabled();
float dofStrength();
float dofPosition();
bool edEnabled();
protected slots:
void aoEnableCheckBoxChanged(int state);
void fogEnableCheckBoxChanged(int state);
void dofEnableCheckBoxChanged(int state);
void saveButtonClicked();
void closeButtonClicked();
private:
Ui::RenderingDialog *m_ui;
SolidPipeline &m_solidPipeline;
};
} // End namespace Avogadro
#endif // AVOGADRO_RENDERINGDIALOG_H