]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkRescaleSlopeIntercept.h
no message
[bbtk.git] / packages / vtk / src / bbvtkRescaleSlopeIntercept.h
1 //===== 
2 // Don't edit this file. This file is generated from xml description.. 
3 //===== 
4 #ifndef __bbvtkRescaleSlopeIntercept_h_INCLUDED__
5 #define __bbvtkRescaleSlopeIntercept_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkImageData.h"
11
12
13 namespace bbvtk
14 {
15
16 class bbvtk_EXPORT RescaleSlopeIntercept
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(RescaleSlopeIntercept,bbtk::AtomicBlackBox);
21 //===== 
22 // Don't edit this file. This file is generated from xml description.. 
23 //===== 
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);
31   void Process();
32         
33         int outputformat;
34         vtkImageData* imageoutput;
35         
36 //===== 
37 // Don't edit this file. This file is generated from xml description.. 
38 //===== 
39 };
40
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);
53 //===== 
54 // Don't edit this file. This file is generated from xml description.. 
55 //===== 
56 }
57 // EO namespace bbvtk
58
59 #endif // __bbvtkRescaleSlopeIntercept_h_INCLUDED__
60