]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbmaracasvisuPlotterView.h
1495 BUG
[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_DECLARE_INPUT(InY2, std::vector<double> );
19   BBTK_PROCESS(Process);
20   void Process();
21   BBTK_CREATE_WIDGET(CreateWidget);
22   void CreateWidget(wxWindow*);
23
24 private:
25         pPlotterWindow *mwxwidget;
26         bool firsttime;
27
28 };
29
30 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PlotterView,bbtk::WxBlackBox);
31 BBTK_NAME("PlotterView");
32 BBTK_AUTHOR("eduardo.davila [at] creatis.insa-lyon.fr");
33 BBTK_DESCRIPTION("Plotter Window");
34 BBTK_CATEGORY("viewer");
35   BBTK_INPUT(PlotterView,InX,"x vector",std::vector<double>,"");
36   BBTK_INPUT(PlotterView,InY,"y vector",std::vector<double>,"");
37         BBTK_INPUT(PlotterView,InY2,"y2 vector",std::vector<double>,"");
38 BBTK_END_DESCRIBE_BLACK_BOX(PlotterView);
39 }
40 // EO namespace bbcreaMaracasVisu
41
42 #endif // __bbcreaMaracasVisuPlotterView_h_INCLUDED__
43 #endif // _USE_WXWIDGETS_
44