Coupure prévue mardi 3 Août au matin pour maintenance du serveur. Nous faisons au mieux pour que celle-ci soit la plus brève possible.

surface_renderVector_dockTab.h 1.05 KB
Newer Older
1
2
#ifndef _SURFACE_RENDERVECTOR_DOCK_TAB_H_
#define _SURFACE_RENDERVECTOR_DOCK_TAB_H_
Pierre Kraemer's avatar
Pierre Kraemer committed
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

#include "ui_surface_renderVector.h"

namespace CGoGN
{

namespace SCHNApps
{

class SCHNApps;
class Surface_RenderVector_Plugin;
struct MapParameters;

class Surface_RenderVector_DockTab : public QWidget, public Ui::Surface_RenderVector_TabWidget
{
	Q_OBJECT

	friend class Surface_RenderVector_Plugin;

public:
	Surface_RenderVector_DockTab(SCHNApps* s, Surface_RenderVector_Plugin* p);

private:
	SCHNApps* m_schnapps;
	Surface_RenderVector_Plugin* m_plugin;
	bool b_updatingUI;
29
	int m_current_vbo;
Pierre Kraemer's avatar
Pierre Kraemer committed
30
31
32

private slots:
	void positionVBOChanged(int index);
33
34
	void selectedVectorVBOChanged(QListWidgetItem* item, QListWidgetItem* old);
	void vectorsVBOChecked(QListWidgetItem* item);
Pierre Kraemer's avatar
Pierre Kraemer committed
35
	void vectorsScaleFactorChanged(int i);
36
	void colorChanged(int i);
Pierre Kraemer's avatar
Pierre Kraemer committed
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51

private:
	void addPositionVBO(QString name);
	void removePositionVBO(QString name);
	void addVectorVBO(QString name);
	void removeVectorVBO(QString name);

	void updateMapParameters();
};

} // namespace SCHNApps

} // namespace CGoGN

#endif