00001 #ifndef _SMOOTHERGUI_H
00002 #define _SMOOTHERGUI_H
00003
00004 #include "AbstractGtkmmModuleGUI.h"
00005 #include "../modules/Smoother.h"
00006 #include "../util/Vector.h"
00007 #include "GraphWidget.h"
00008 #include <gtkmm/box.h>
00009 #include <gtkmm/label.h>
00010 #include <gtkmm/adjustment.h>
00011 #include <gtkmm/spinbutton.h>
00012
00015 class SmootherGUI : public AbstractGtkmmModuleGUI
00016 {
00017 public:
00021 SmootherGUI(Smoother *module);
00022
00026 virtual void init();
00030 virtual void destroy();
00031
00036 void addData(const Vector3d &v);
00037
00038 private:
00039 void setWindowSize();
00040
00041 GraphWidget m_graph;
00042
00043 Gtk::HBox m_spinnerBox;
00044 Gtk::VBox m_box;
00045 Gtk::Label m_lblWindowSize;
00046 Gtk::Adjustment m_adjWindowSize;
00047 Gtk::SpinButton m_spbWindowSize;
00048
00049 };
00050
00051 #endif