]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbmaracasvisuHistogramView.h
554f62ea800a1d68708d9d4c1d9e45bad7d003f2
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuHistogramView.h
1 #ifdef _USE_WXWIDGETS_
2 #ifndef __bbcreaMaracasVisuHistogramView_h_INCLUDED__
3 #define __bbcreaMaracasVisuHistogramView_h_INCLUDED__
4 #include "bbtkWxBlackBox.h"
5
6 #include "vtkImageData.h"
7 #include "Histogram.h"
8
9
10 namespace bbcreaMaracasVisu
11 {
12
13 class /*BBTK_EXPORT*/ HistogramView
14  : 
15    public bbtk::WxBlackBox
16 {
17   BBTK_BLACK_BOX_INTERFACE(HistogramView,bbtk::WxBlackBox);
18         BBTK_DECLARE_INPUT(In, vtkImageData *);
19   BBTK_PROCESS(Process);
20   void Process();
21   BBTK_CREATE_WIDGET(CreateWidget);
22   void CreateWidget(wxWindow*);
23         
24 private:
25         bool            firsttime;
26         Histogram       *histogram_wxwidget;
27         wxPanel         *wxpanel;
28 };
29
30 BBTK_BEGIN_DESCRIBE_BLACK_BOX(HistogramView,bbtk::WxBlackBox);
31 BBTK_NAME("HistogramView");
32 BBTK_AUTHOR("eduardo.davila [at] creatis.insa-lyon.fr");
33 BBTK_DESCRIPTION("Histogram window");
34 BBTK_CATEGORY("viewer");
35   BBTK_INPUT(HistogramView,In,"Input image",vtkImageData*,"");
36 BBTK_END_DESCRIBE_BLACK_BOX(HistogramView);
37 }
38 // EO namespace bbcreaMaracasVisu
39
40 #endif // __bbcreaMaracasVisuHistogramView_h_INCLUDED__
41 #endif // _USE_WXWIDGETS_
42