renderExplodDockTab.h 915 Bytes
Newer Older
untereiner's avatar
untereiner committed
1 2
#ifndef _RENDER_EXPLOD_DOCK_TAB_H_
#define _RENDER_EXPLOD_DOCK_TAB_H_
3 4 5 6 7 8 9 10 11 12 13

#include "ui_renderExplod.h"

namespace CGoGN
{

namespace SCHNApps
{

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

class RenderExplodDockTab : public QWidget, public Ui::RenderExplodDockWidget
{
	Q_OBJECT

public:
	RenderExplodDockTab(Window* w, RenderExplodPlugin* p);

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

public slots:
	void refreshUI(ParameterSet* params);

	void selectedMapChanged();
untereiner's avatar
untereiner committed
33 34
	void positionAttributeChanged(int index);
	void colorAttributeChanged(int index);
35 36 37 38
	void renderEdgesChanged(bool b);
	void renderFacesChanged(bool b);
	void facesScaleFactorChanged(int i);
	void volumesScaleFactorChanged(int i);
39 40

	void addAttributeToList(unsigned int orbit, const QString& nameAttr);
41 42 43 44 45 46 47
};

} // namespace SCHNApps

} // namespace CGoGN

#endif