]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuColorLayerImageView.h
128e6ea8f561e8f750bcafdded9859faa9aba60e
[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_DECLARE_INPUT(FittingMode,int);
29   BBTK_PROCESS(Process);
30   void Process();
31   BBTK_CREATE_WIDGET(CreateWidget);
32   void CreateWidget(wxWindow*);
33
34 //=====
35 // Don't edit this file. This file is generated from xml description..
36 //=====
37 };
38
39 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ColorLayerImageView,bbtk::WxBlackBox);
40 BBTK_NAME("ColorLayerImageView");
41 BBTK_AUTHOR("Eduardo DAVILA (Creatis)");
42 BBTK_DESCRIPTION("Color Layer Image View");
43 BBTK_CATEGORY("__CategoryBlackBox__");
44 BBTK_INPUT(ColorLayerImageView,WxVtkBaseView,"creaMaracasVisuViewer viewer",wxVtkBaseView*,"");
45 BBTK_INPUT(ColorLayerImageView,In,"Input Image",vtkImageData*,"");
46 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>,"");
47 BBTK_INPUT(ColorLayerImageView,lstGreyLevelBoundaries,"List of the Grey Level Boundaries to define the color map (grey level outside the color boundaries will not be disayed). 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>,"");
48 BBTK_INPUT(ColorLayerImageView,PlainOrGradientColor,"Choose between Plain (true) or Gradient (false) colors. Default is false.",bool,"");
49 BBTK_INPUT(ColorLayerImageView,FittingMode,"Choose the fitting mode between the images, the transformation can be either by Dimension (1), by Spacing (2) or by Pixel (3). If you want to make the choice through a dialog box, choose (-1). Default is by Pixel (3).",int,"");
50 BBTK_END_DESCRIBE_BLACK_BOX(ColorLayerImageView);
51 //=====
52 // Don't edit this file. This file is generated from xml description..
53 //=====
54 }
55 // EO namespace bbcreaMaracasVisu
56
57 #endif // __bbcreaMaracasVisuColorLayerImageView_h_INCLUDED__
58 #endif // _USE_WXWIDGETS_
59