]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbmaracasvisuPlotterView.h
1495 PlotterViewer , Refresh data
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuPlotterView.h
1 #ifdef _USE_WXWIDGETS_
2 #ifndef __bbcreaMaracasVisuPlotterView_h_INCLUDED__
3 #define __bbcreaMaracasVisuPlotterView_h_INCLUDED__
4 #include "bbtkWxBlackBox.h"
5
6 #include "pPlotterWindow.h"
7
8 namespace bbcreaMaracasVisu
9 {
10
11 class /*BBTK_EXPORT*/ PlotterView
12  : 
13    public bbtk::WxBlackBox
14 {
15   BBTK_BLACK_BOX_INTERFACE(PlotterView,bbtk::WxBlackBox);
16         BBTK_DECLARE_INPUT(InX, std::vector<double> );
17         BBTK_DECLARE_INPUT(InY, std::vector<double> );
18   BBTK_PROCESS(Process);
19   void Process();
20   BBTK_CREATE_WIDGET(CreateWidget);
21   void CreateWidget(wxWindow*);
22
23 private:
24         pPlotterWindow *mwxwidget;
25         bool firsttime;
26
27 };
28
29 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PlotterView,bbtk::WxBlackBox);
30 BBTK_NAME("PlotterView");
31 BBTK_AUTHOR("eduardo.davila [at] creatis.insa-lyon.fr");
32 BBTK_DESCRIPTION("Plotter Window");
33 BBTK_CATEGORY("viewer");
34   BBTK_INPUT(PlotterView,InX,"x vector",std::vector<double>,"");
35   BBTK_INPUT(PlotterView,InY,"y vector",std::vector<double>,"");
36 BBTK_END_DESCRIBE_BLACK_BOX(PlotterView);
37 }
38 // EO namespace bbcreaMaracasVisu
39
40 #endif // __bbcreaMaracasVisuPlotterView_h_INCLUDED__
41 #endif // _USE_WXWIDGETS_
42