//===== // 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) //===== #ifndef __bbvtkImageProperties_h_INCLUDED__ #define __bbvtkImageProperties_h_INCLUDED__ #include "bbvtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include namespace bbvtk { class bbvtk_EXPORT ImageProperties : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(ImageProperties,bbtk::AtomicBlackBox); //===== // 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) //===== BBTK_DECLARE_INPUT(In,vtkImageData*); BBTK_DECLARE_OUTPUT(Dimension,unsigned int); BBTK_DECLARE_OUTPUT(MinMax,std::vector); BBTK_DECLARE_OUTPUT(Size,std::vector); BBTK_DECLARE_OUTPUT(Spacing,std::vector); BBTK_DECLARE_OUTPUT(TypeName,std::string); BBTK_DECLARE_OUTPUT(Components,int); BBTK_PROCESS(Process); void Process(); //===== // 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) //===== }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageProperties,bbtk::AtomicBlackBox); BBTK_NAME("ImageProperties"); BBTK_AUTHOR("Info-Dev Creatis"); BBTK_DESCRIPTION("Image information Dim, Spc, Type, MinMax"); BBTK_CATEGORY("filter"); BBTK_INPUT(ImageProperties,In,"Input image (vtk)",vtkImageData*,""); BBTK_OUTPUT(ImageProperties,Dimension,"Dimensions 1D 2D 3D",unsigned int,""); BBTK_OUTPUT(ImageProperties,MinMax,"Gray level range min and max",std::vector,""); BBTK_OUTPUT(ImageProperties,Size,"Size of the image",std::vector,""); BBTK_OUTPUT(ImageProperties,Spacing,"Spacing of the image",std::vector,""); BBTK_OUTPUT(ImageProperties,TypeName,"Type format of the image",std::string,""); BBTK_OUTPUT(ImageProperties,Components,"Number of scalar components",int,""); BBTK_END_DESCRIBE_BLACK_BOX(ImageProperties); //===== // 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) //===== } // EO namespace bbvtk #endif // __bbvtkImageProperties_h_INCLUDED__