]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbmaracasvisuImageChangeInformation.h
no message
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuImageChangeInformation.h
1 #ifndef __bbcreaMaracasVisuImageChangeInformation_h_INCLUDED__
2 #define __bbcreaMaracasVisuImageChangeInformation_h_INCLUDED__
3 #include "bbtkAtomicBlackBox.h"
4 #include "iostream"
5
6 #include "vtkImageData.h"
7 #include "vtkImageChangeInformation.h"
8
9 namespace bbcreaMaracasVisu
10 {
11
12 class /*BBTK_EXPORT*/ ImageChangeInformation
13  : 
14    public bbtk::AtomicBlackBox
15 {
16   BBTK_BLACK_BOX_INTERFACE(ImageChangeInformation,bbtk::AtomicBlackBox);
17         BBTK_DECLARE_INPUT(In,vtkImageData*);
18         BBTK_DECLARE_INPUT(NewSpacing,std::vector<double>);
19         
20         BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
21   BBTK_PROCESS(Process);
22   void Process();
23
24 private:
25             vtkImageChangeInformation   *mchange;
26
27 };
28
29 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageChangeInformation,bbtk::AtomicBlackBox);
30 BBTK_NAME("ImageChangeInformation");
31 BBTK_AUTHOR("eduardo.davila [at] creatis.insa-lyon.fr");
32 BBTK_DESCRIPTION("vtkImageData change information. Translate extern to 0,0,0");
33         BBTK_CATEGORY("filter");
34         BBTK_INPUT(ImageChangeInformation,In,"Input image",vtkImageData*,"");
35         BBTK_INPUT(ImageChangeInformation,NewSpacing,"New spacing of the image (default: the same spacing of the original image)",std::vector<double>,"");
36         BBTK_OUTPUT(ImageChangeInformation,Out,"Output image",vtkImageData*,"");
37 BBTK_END_DESCRIBE_BLACK_BOX(ImageChangeInformation);
38 }
39 // EO namespace bbcreaMaracasVisu
40
41 #endif // __bbcreaMaracasVisuImageChangeInformation_h_INCLUDED__
42