renderVectorDockTab.h 786 Bytes
Newer Older
1 2 3 4
#ifndef _RENDERVECTOR_DOCK_TAB_H_
#define _RENDERVECTOR_DOCK_TAB_H_

#include "ui_renderVector.h"
5
#include "Utils/vbo.h"
6 7 8 9 10 11 12 13 14

namespace CGoGN
{

namespace SCHNApps
{

class Window;
class RenderVectorPlugin;
15
struct ParameterSet;
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33

class RenderVectorDockTab : public QWidget, public Ui::RenderVectorDockWidget
{
	Q_OBJECT

public:
	RenderVectorDockTab(Window* w, RenderVectorPlugin* p);

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

public slots:
	void refreshUI(ParameterSet* params);

	void selectedMapChanged();
34

35 36 37
	void positionVBOChanged(int index);
	void selectedVectorsVBOChanged();
	void vectorsScaleFactorChanged(int i);
38 39

	void addVBOToList(Utils::VBO* vbo);
40 41 42 43 44 45 46
};

} // namespace SCHNApps

} // namespace CGoGN

#endif