1 #ifndef __bbcreaMaracasVisuImageChangeInformation_h_INCLUDED__
2 #define __bbcreaMaracasVisuImageChangeInformation_h_INCLUDED__
3 #include "bbtkAtomicBlackBox.h"
6 #include "vtkImageData.h"
7 #include "vtkImageChangeInformation.h"
9 namespace bbcreaMaracasVisu
12 class /*BBTK_EXPORT*/ ImageChangeInformation
14 public bbtk::AtomicBlackBox
16 BBTK_BLACK_BOX_INTERFACE(ImageChangeInformation,bbtk::AtomicBlackBox);
17 BBTK_DECLARE_INPUT(In,vtkImageData*);
18 BBTK_DECLARE_INPUT(NewSpacing,std::vector<double>);
20 BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
21 BBTK_PROCESS(Process);
25 vtkImageChangeInformation *mchange;
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);
39 // EO namespace bbcreaMaracasVisu
41 #endif // __bbcreaMaracasVisuImageChangeInformation_h_INCLUDED__