renderScalarDockTab.h 810 Bytes
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
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
#ifndef _RENDERSCALAR_DOCK_TAB_H_
#define _RENDERSCALAR_DOCK_TAB_H_

#include "ui_renderScalar.h"
#include "Utils/vbo.h"

namespace CGoGN
{

namespace SCHNApps
{

class Window;
class RenderScalarPlugin;
struct ParameterSet;

class RenderScalarDockTab : public QWidget, public Ui::RenderScalarDockWidget
{
	Q_OBJECT

public:
	RenderScalarDockTab(Window* w, RenderScalarPlugin* p);

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

public slots:
	void refreshUI(ParameterSet* params);

	void selectedMapChanged();

	void positionVBOChanged(int index);
36
	void selectedScalarVBOChanged();
37
	void colorMapChanged(int index);
38
	void expansionChanged(int i);
Pierre Kraemer's avatar
Pierre Kraemer committed
39 40 41 42 43 44 45 46 47

	void addVBOToList(Utils::VBO* vbo);
};

} // namespace SCHNApps

} // namespace CGoGN

#endif