renderDockTab.h 819 Bytes
Newer Older
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
#ifndef _RENDER_DOCK_TAB_H_
#define _RENDER_DOCK_TAB_H_

#include "ui_render.h"

namespace CGoGN
{

namespace SCHNApps
{

class Window;
class RenderPlugin;
class ParameterSet;

class RenderDockTab : public QWidget, public Ui::RenderDockWidget
{
	Q_OBJECT

public:
	RenderDockTab(Window* w, RenderPlugin* p);

private:
	Window* m_window;
	RenderPlugin* m_plugin;
	ParameterSet* m_currentParams;
	bool b_refreshingUI;

public slots:
	void refreshUI(ParameterSet* params);

	void selectedMapChanged();
	void positionVBOChanged(int index);
	void normalVBOChanged(int index);
	void renderVerticesChanged(bool b);
	void verticesScaleFactorChanged(int i);
	void renderEdgesChanged(bool b);
	void renderFacesChanged(bool b);
	void faceStyleChanged(QAbstractButton* b);
};

} // namespace SCHNApps

} // namespace CGoGN

#endif