]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbmaracasvisuTransferFunctionView.h
Changed bbtk package name to comply to coding style
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuTransferFunctionView.h
1 #ifdef _USE_WXWIDGETS_
2 #ifndef __bbcreaMaracasVisuTransferFunctionView_h_INCLUDED__
3 #define __bbcreaMaracasVisuTransferFunctionView_h_INCLUDED__
4 #include "bbtkWxBlackBox.h"
5
6 #include "vtkImageData.h"
7 #include "HistogramWidget.h"
8
9 namespace bbcreaMaracasVisu
10 {
11
12 class /*BBTK_EXPORT*/ TransferFunctionView
13  : 
14    public bbtk::WxBlackBox
15 {
16   BBTK_BLACK_BOX_INTERFACE(TransferFunctionView,bbtk::WxBlackBox);
17 //==================================================================
18 /// User callback called in the box contructor
19 virtual void bbUserConstructor();
20 /// User callback called in the box copy constructor
21 virtual void bbUserCopyConstructor();
22 /// User callback called in the box destructor
23 virtual void bbUserDestructor();
24 //==================================================================
25         BBTK_DECLARE_INPUT(In, vtkImageData*);
26   BBTK_PROCESS(Process);
27   void Process();
28   BBTK_CREATE_WIDGET(CreateWidget);
29   void CreateWidget();
30
31   private:
32         HistogramWidget *mwxwidget;
33 };
34
35 BBTK_BEGIN_DESCRIBE_BLACK_BOX(TransferFunctionView,bbtk::WxBlackBox);
36 BBTK_NAME("TransferFunctionView");
37 BBTK_AUTHOR("eduardo.davila [at] creatis.insa-lyon.fr");
38 BBTK_DESCRIPTION("Transfer Function Window");
39 //BBTK_CATEGORY("__CategoryBlackBox__");
40   BBTK_INPUT(TransferFunctionView,In,"Input image",vtkImageData*,"");
41 BBTK_END_DESCRIBE_BLACK_BOX(TransferFunctionView);
42 }
43 // EO namespace bbcreaMaracasVisu
44
45 #endif // __bbcreaMaracasVisuTransferFunctionView_h_INCLUDED__
46 #endif // _USE_WXWIDGETS_
47