]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuColorLayerImageView.h
Improved the image superposition, adding optional base colors, grey level boundaries...
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuColorLayerImageView.h
1 //=====
2 // Don't edit this file. This file is generated from xml description..
3 //=====
4 #ifdef _USE_WXWIDGETS_
5 #ifndef __bbcreaMaracasVisuColorLayerImageView_h_INCLUDED__
6 #define __bbcreaMaracasVisuColorLayerImageView_h_INCLUDED__
7 #include "bbcreaMaracasVisu_EXPORT.h"
8 #include "bbtkWxBlackBox.h"
9
10 #include "wxVtkBaseView.h"
11
12 namespace bbcreaMaracasVisu
13 {
14
15 class bbcreaMaracasVisu_EXPORT ColorLayerImageView
16  :
17    public bbtk::WxBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(ColorLayerImageView,bbtk::WxBlackBox);
20 //=====
21 // Don't edit this file. This file is generated from xml description..
22 //=====
23   BBTK_DECLARE_INPUT(WxVtkBaseView,wxVtkBaseView *);
24   BBTK_DECLARE_INPUT(In,vtkImageData*);
25   BBTK_DECLARE_INPUT(lstBaseColor,std::vector<double>);
26   BBTK_DECLARE_INPUT(lstGreyLevelBoundaries,std::vector<double>);
27   BBTK_DECLARE_INPUT(PlainOrGradientColor,bool);
28   BBTK_PROCESS(Process);
29   void Process();
30   BBTK_CREATE_WIDGET(CreateWidget);
31   void CreateWidget(wxWindow*);
32
33 //=====
34 // Don't edit this file. This file is generated from xml description..
35 //=====
36 };
37
38 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ColorLayerImageView,bbtk::WxBlackBox);
39 BBTK_NAME("ColorLayerImageView");
40 BBTK_AUTHOR("Eduardo DAVILA (Creatis)");
41 BBTK_DESCRIPTION("Color Layer Image View");
42 BBTK_CATEGORY("__CategoryBlackBox__");
43 BBTK_INPUT(ColorLayerImageView,WxVtkBaseView,"creaMaracasVisuViewer viewer",wxVtkBaseView*,"");
44 BBTK_INPUT(ColorLayerImageView,In,"Input Image",vtkImageData*,"");
45 BBTK_INPUT(ColorLayerImageView,lstBaseColor,"List of Base Colors in RGB format to define the color map. Requirement: must be of a size being a multiple of 3, with values between 0 and 1. For example, for 2 colors: \"1 0 0 0 0 1\". If not provided as required, the histogram is equally split into three areas, blue, yellow and red.",std::vector<double>,"");
46 BBTK_INPUT(ColorLayerImageView,lstGreyLevelBoundaries,"List of the Grey Level Boundaries to define the color map. Requirement: Must have one more element than the number of colours. For example, for 2 colors: \"50 150 250\". If not provided as required, the histogram is equally split into areas, which number corresponds to the number of colors provided (3 by default).",std::vector<double>,"");
47 BBTK_INPUT(ColorLayerImageView,PlainOrGradientColor,"Choose between Plain (true) or Gradient (false) colors. Default is false.",bool,"");
48 BBTK_END_DESCRIBE_BLACK_BOX(ColorLayerImageView);
49 //=====
50 // Don't edit this file. This file is generated from xml description..
51 //=====
52 }
53 // EO namespace bbcreaMaracasVisu
54
55 #endif // __bbcreaMaracasVisuColorLayerImageView_h_INCLUDED__
56 #endif // _USE_WXWIDGETS_
57