]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbmaracasvisuHistogramView.h
Changed bbtk package name to comply to coding style
[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
8 namespace bbcreaMaracasVisu
9 {
10
11 class /*BBTK_EXPORT*/ HistogramView
12  : 
13    public bbtk::WxBlackBox
14 {
15   BBTK_BLACK_BOX_INTERFACE(HistogramView,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();
21 /// User callback called in the box destructor
22 virtual void bbUserDestructor();
23 //==================================================================
24         BBTK_DECLARE_INPUT(In, vtkImageData *);
25   BBTK_PROCESS(Process);
26   void Process();
27   BBTK_CREATE_WIDGET(CreateWidget);
28   void CreateWidget();
29 };
30
31 BBTK_BEGIN_DESCRIBE_BLACK_BOX(HistogramView,bbtk::WxBlackBox);
32 BBTK_NAME("HistogramView");
33 BBTK_AUTHOR("eduardo.davila [at] creatis.insa-lyon.fr");
34 BBTK_DESCRIPTION("Histogram window");
35 BBTK_CATEGORY("viewer");
36   BBTK_INPUT(HistogramView,In,"Input image",vtkImageData*,"");
37 BBTK_END_DESCRIBE_BLACK_BOX(HistogramView);
38 }
39 // EO namespace bbcreaMaracasVisu
40
41 #endif // __bbcreaMaracasVisuHistogramView_h_INCLUDED__
42 #endif // _USE_WXWIDGETS_
43