]> 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 #include <vtkImageShiftScale.h>
12 #include <vtkImageChangeInformation.h>
13
14
15
16 namespace bbvtk
17 {
18
19 class bbvtk_EXPORT RescaleSlopeIntercept
20  : 
21    public bbtk::AtomicBlackBox
22 {
23   BBTK_BLACK_BOX_INTERFACE(RescaleSlopeIntercept,bbtk::AtomicBlackBox);
24 //===== 
25 // Don't edit this file. This file is generated from xml description.. 
26 //===== 
27   BBTK_DECLARE_INPUT(In,vtkImageData*);
28   BBTK_DECLARE_INPUT(Type,int);
29   BBTK_DECLARE_INPUT(A,double);
30   BBTK_DECLARE_INPUT(B,double);
31   BBTK_DECLARE_INPUT(OutputFormat,std::string);
32   BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
33   BBTK_PROCESS(Process);
34   void Process();
35         
36         int                                                     outputformat;
37         vtkImageShiftScale                      *filter;
38         vtkImageChangeInformation       *mchange;
39
40 //===== 
41 // Don't edit this file. This file is generated from xml description.. 
42 //===== 
43 };
44
45 BBTK_BEGIN_DESCRIBE_BLACK_BOX(RescaleSlopeIntercept,bbtk::AtomicBlackBox);
46 BBTK_NAME("RescaleSlopeIntercept");
47 BBTK_AUTHOR("eduardo.davila at creatis.insa-lyon.fr");
48 BBTK_DESCRIPTION("Rescale Slope Intercept  (see Type input descriptio)");
49 BBTK_CATEGORY("filter");
50 BBTK_INPUT(RescaleSlopeIntercept,In,"Image input",vtkImageData*,"");
51 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,"");
52 BBTK_INPUT(RescaleSlopeIntercept,A,"(1 default) see Type description",double,"");
53 BBTK_INPUT(RescaleSlopeIntercept,B,"(0 default) see Type description",double,"");
54 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,"");
55 BBTK_OUTPUT(RescaleSlopeIntercept,Out,"Image output",vtkImageData*,"");
56 BBTK_END_DESCRIBE_BLACK_BOX(RescaleSlopeIntercept);
57 //===== 
58 // Don't edit this file. This file is generated from xml description.. 
59 //===== 
60 }
61 // EO namespace bbvtk
62
63 #endif // __bbvtkRescaleSlopeIntercept_h_INCLUDED__
64