2 // Don't edit this file. This file is generated from xml description..
4 #ifndef __bbvtkRescaleSlopeIntercept_h_INCLUDED__
5 #define __bbvtkRescaleSlopeIntercept_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include "vtkImageData.h"
16 class bbvtk_EXPORT RescaleSlopeIntercept
18 public bbtk::AtomicBlackBox
20 BBTK_BLACK_BOX_INTERFACE(RescaleSlopeIntercept,bbtk::AtomicBlackBox);
22 // Don't edit this file. This file is generated from xml description..
24 BBTK_DECLARE_INPUT(In,vtkImageData*);
25 BBTK_DECLARE_INPUT(Type,int);
26 BBTK_DECLARE_INPUT(A,double);
27 BBTK_DECLARE_INPUT(B,double);
28 BBTK_DECLARE_INPUT(OutputFormat,std::string);
29 BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
30 BBTK_PROCESS(Process);
34 vtkImageData* imageoutput;
37 // Don't edit this file. This file is generated from xml description..
41 BBTK_BEGIN_DESCRIBE_BLACK_BOX(RescaleSlopeIntercept,bbtk::AtomicBlackBox);
42 BBTK_NAME("RescaleSlopeIntercept");
43 BBTK_AUTHOR("eduardo.davila at creatis.insa-lyon.fr");
44 BBTK_DESCRIPTION("Rescale Slope Intercept (see Type input descriptio)");
45 BBTK_CATEGORY("filter");
46 BBTK_INPUT(RescaleSlopeIntercept,In,"Image input",vtkImageData*,"");
47 BBTK_INPUT(RescaleSlopeIntercept,Type,"type of operation: 0 (default) SlopeIntercept np=p*A+B, 1 Invert, 2 Redimension A=newMin B=newMax, 3 InvertRedimension A=newMin B=newMax",int,"");
48 BBTK_INPUT(RescaleSlopeIntercept,A,"(1 default) see Type description",double,"");
49 BBTK_INPUT(RescaleSlopeIntercept,B,"(0 default) see Type description",double,"");
50 BBTK_INPUT(RescaleSlopeIntercept,OutputFormat,"Image output format: SAME (default), VTK_BIT, VTK_CHAR, VTK_SIGNED_CHAR, VTK_UNSIGNED_CHAR VTK_SHORT VTK_UNSIGNED_SHORT, VTK_INT, VTK_UNSIGNED_INT, VTK_LONG, VTK_UNSIGNED_LONG, VTK_FLOAT VTK_DOUBLE",std::string,"");
51 BBTK_OUTPUT(RescaleSlopeIntercept,Out,"Image output",vtkImageData*,"");
52 BBTK_END_DESCRIBE_BLACK_BOX(RescaleSlopeIntercept);
54 // Don't edit this file. This file is generated from xml description..
59 #endif // __bbvtkRescaleSlopeIntercept_h_INCLUDED__