2 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
4 #ifndef __bbvtkImageVtkProperties_h_INCLUDED__
5 #define __bbvtkImageVtkProperties_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
9 #include <vtkImageData.h>
15 class bbvtk_EXPORT ImageVtkProperties
17 public bbtk::AtomicBlackBox
19 BBTK_BLACK_BOX_INTERFACE(ImageVtkProperties,bbtk::AtomicBlackBox);
21 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
23 BBTK_DECLARE_INPUT(In,vtkImageData*);
24 BBTK_DECLARE_OUTPUT(Dimension,unsigned int);
25 BBTK_DECLARE_OUTPUT(MinMax,std::vector<float>);
26 BBTK_DECLARE_OUTPUT(Size,std::vector<int>);
27 BBTK_DECLARE_OUTPUT(Spacing,std::vector<float>);
28 BBTK_DECLARE_OUTPUT(TypeName,std::string);
29 BBTK_DECLARE_OUTPUT(Components,int);
30 BBTK_PROCESS(Process);
33 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
37 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageVtkProperties,bbtk::AtomicBlackBox);
38 BBTK_NAME("ImageVtkProperties");
39 BBTK_AUTHOR("Info-Dev Creatis");
40 BBTK_DESCRIPTION("Image information Dim, Spc, Type, MinMax");
41 BBTK_CATEGORY("filter");
42 BBTK_INPUT(ImageVtkProperties,In,"Input image (vtk)",vtkImageData*,"");
43 BBTK_OUTPUT(ImageVtkProperties,Dimension,"Dimensions 1D 2D 3D",unsigned int,"");
44 BBTK_OUTPUT(ImageVtkProperties,MinMax,"Gray level range min and max",std::vector<float>,"");
45 BBTK_OUTPUT(ImageVtkProperties,Size,"Size of the image",std::vector<int>,"");
46 BBTK_OUTPUT(ImageVtkProperties,Spacing,"Spacing of the image",std::vector<float>,"");
47 BBTK_OUTPUT(ImageVtkProperties,TypeName,"Type format of the image",std::string,"");
48 BBTK_OUTPUT(ImageVtkProperties,Components,"Number of scalar components",int,"");
49 BBTK_END_DESCRIBE_BLACK_BOX(ImageVtkProperties);
51 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
56 #endif // __bbvtkImageVtkProperties_h_INCLUDED__