]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbmaracasvisuPlotterView.h
d3d0dfe6e918137a790f0c9fade759141502e671
[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
26 };
27
28 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PlotterView,bbtk::WxBlackBox);
29 BBTK_NAME("PlotterView");
30 BBTK_AUTHOR("eduardo.davila [at] creatis.insa-lyon.fr");
31 BBTK_DESCRIPTION("Plotter Window");
32 BBTK_CATEGORY("viewer");
33   BBTK_INPUT(PlotterView,InX,"x vector",std::vector<double>,"");
34   BBTK_INPUT(PlotterView,InY,"y vector",std::vector<double>,"");
35 BBTK_END_DESCRIBE_BLACK_BOX(PlotterView);
36 }
37 // EO namespace bbcreaMaracasVisu
38
39 #endif // __bbcreaMaracasVisuPlotterView_h_INCLUDED__
40 #endif // _USE_WXWIDGETS_
41