X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbcreaMaracasVisuColorLayerImageView.h;h=7abb52f075c90123308407dd79087ace627f6bb2;hb=56eb704bce4e7a4206ffa16c84f3000b8b8f93eb;hp=9147260064babbe5815d3250a0890624416105dd;hpb=e4ef2b5df5aac431ff3b806f83b7dd5e55e89d86;p=creaMaracasVisu.git diff --git a/bbtk/src/bbcreaMaracasVisuColorLayerImageView.h b/bbtk/src/bbcreaMaracasVisuColorLayerImageView.h index 9147260..7abb52f 100644 --- a/bbtk/src/bbcreaMaracasVisuColorLayerImageView.h +++ b/bbtk/src/bbcreaMaracasVisuColorLayerImageView.h @@ -45,33 +45,61 @@ class bbcreaMaracasVisu_EXPORT ColorLayerImageView //===== // Don't edit this file. This file is generated from xml description.. //===== - BBTK_DECLARE_INPUT(WxVtkBaseView,wxVtkBaseView *); BBTK_DECLARE_INPUT(In,vtkImageData*); + BBTK_DECLARE_INPUT(Active,bool); + BBTK_DECLARE_INPUT(Opacity,int); + BBTK_DECLARE_INPUT(TypeControlsInterface,int); + BBTK_DECLARE_INPUT(WxVtkBaseView,wxVtkBaseView *); + BBTK_DECLARE_INPUT(WxVtkBaseView1,wxVtkBaseView *); + BBTK_DECLARE_INPUT(WxVtkBaseView2,wxVtkBaseView *); BBTK_DECLARE_INPUT(lstBaseColor,std::vector); BBTK_DECLARE_INPUT(lstGreyLevelBoundaries,std::vector); + BBTK_DECLARE_INPUT(lstTransparenceBoundaries,std::vector); + BBTK_DECLARE_INPUT(lstRangeForColorBar,std::vector); BBTK_DECLARE_INPUT(PlainOrGradientColor,bool); BBTK_DECLARE_INPUT(FittingMode,int); + BBTK_DECLARE_INPUT(ColorBarPosition,std::vector); + BBTK_DECLARE_OUTPUT(NewImage,vtkImageData*); BBTK_PROCESS(Process); void Process(); BBTK_CREATE_WIDGET(CreateWidget); void CreateWidget(wxWindow*); + bool firsttime; + //===== // Don't edit this file. This file is generated from xml description.. //===== }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(ColorLayerImageView,bbtk::WxBlackBox); -BBTK_NAME("ColorLayerImageView"); -BBTK_AUTHOR("Eduardo DAVILA (Creatis)"); -BBTK_DESCRIPTION("Color Layer Image View"); -BBTK_CATEGORY("__CategoryBlackBox__"); -BBTK_INPUT(ColorLayerImageView,WxVtkBaseView,"creaMaracasVisuViewer viewer",wxVtkBaseView*,""); -BBTK_INPUT(ColorLayerImageView,In,"Input Image",vtkImageData*,""); -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,""); -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,""); -BBTK_INPUT(ColorLayerImageView,PlainOrGradientColor,"Choose between Plain (true) or Gradient (false) colors. Default is false.",bool,""); -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,""); + BBTK_NAME("ColorLayerImageView"); + BBTK_AUTHOR("Eduardo DAVILA (Creatis)"); + BBTK_DESCRIPTION("Color Layer Image View"); + BBTK_CATEGORY("__CategoryBlackBox__"); + BBTK_INPUT(ColorLayerImageView,In,"Input Image",vtkImageData*,""); + BBTK_INPUT(ColorLayerImageView,Active,"Active True/False (default True)",bool,""); + BBTK_INPUT(ColorLayerImageView,Opacity,"(default 100) 0..100",int,""); + BBTK_INPUT(ColorLayerImageView,TypeControlsInterface,"1 (default) All controls, 2 just transparency",int,""); + BBTK_INPUT(ColorLayerImageView,WxVtkBaseView," 0 creaMaracasVisuViewer viewer XY,YZ ou XZ",wxVtkBaseView*,""); + BBTK_INPUT(ColorLayerImageView,WxVtkBaseView1," 1 creaMaracasVisuViewer viewer XY,YZ ou XZ",wxVtkBaseView*,""); + BBTK_INPUT(ColorLayerImageView,WxVtkBaseView2," 2 creaMaracasVisuViewer viewer XY,YZ ou XZ",wxVtkBaseView*,""); + BBTK_INPUT(ColorLayerImageView,lstBaseColor,"???EED 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,""); + BBTK_INPUT(ColorLayerImageView,lstTransparenceBoundaries,"Transparence vector. (The same size of color lst).",std::vector,""); + + BBTK_INPUT(ColorLayerImageView,lstGreyLevelBoundaries,"???EED 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,""); + + BBTK_INPUT(ColorLayerImageView,lstRangeForColorBar,"??? EED ",std::vector,""); + + + BBTK_INPUT(ColorLayerImageView,PlainOrGradientColor,"true=Plane false=Gradient (Default false)",bool,""); + 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,""); + + BBTK_INPUT(ColorLayerImageView,ColorBarPosition,"default (10,105)",std::vector,""); + + BBTK_OUTPUT(ColorLayerImageView,NewImage,"Image with correct Spacing",vtkImageData*,""); + + BBTK_END_DESCRIBE_BLACK_BOX(ColorLayerImageView); //===== // Don't edit this file. This file is generated from xml description..