]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbmaracasvisuPlotterView.h
ff4657bed9e81d0b90f640c6229202c960ad5015
[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 //==================================================================
17 /// User callback called in the box contructor
18 virtual void bbUserConstructor();
19 /// User callback called in the box copy constructor
20 virtual void bbUserCopyConstructor(bbtk::BlackBox::Pointer);
21 /// User callback called in the box destructor
22 virtual void bbUserDestructor();
23 //==================================================================
24         BBTK_DECLARE_INPUT(InX, std::vector<double> );
25         BBTK_DECLARE_INPUT(InY, std::vector<double> );
26   BBTK_PROCESS(Process);
27   void Process();
28   BBTK_CREATE_WIDGET(CreateWidget);
29   void CreateWidget(wxWindow*);
30
31 private:
32         pPlotterWindow *mwxwidget;
33
34 };
35
36 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PlotterView,bbtk::WxBlackBox);
37 BBTK_NAME("PlotterView");
38 BBTK_AUTHOR("eduardo.davila [at] creatis.insa-lyon.fr");
39 BBTK_DESCRIPTION("Plotter Window");
40 BBTK_CATEGORY("viewer");
41   BBTK_INPUT(PlotterView,InX,"x vector",std::vector<double>,"");
42   BBTK_INPUT(PlotterView,InY,"y vector",std::vector<double>,"");
43 BBTK_END_DESCRIBE_BLACK_BOX(PlotterView);
44 }
45 // EO namespace bbcreaMaracasVisu
46
47 #endif // __bbcreaMaracasVisuPlotterView_h_INCLUDED__
48 #endif // _USE_WXWIDGETS_
49