From 7796a2830d81113f3e359f55bb546fa9eb7b286a Mon Sep 17 00:00:00 2001 From: ctorres Date: Tue, 26 Nov 2013 15:43:35 +0100 Subject: [PATCH] 2187 BBTK Feature New Normal New feature creaVtk --- .../src/bbcreaVtkUnMosaicVectorVtkImageData.h | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 bbtk_creaVtk_PKG/src/bbcreaVtkUnMosaicVectorVtkImageData.h diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkUnMosaicVectorVtkImageData.h b/bbtk_creaVtk_PKG/src/bbcreaVtkUnMosaicVectorVtkImageData.h new file mode 100644 index 0000000..abe3d9f --- /dev/null +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkUnMosaicVectorVtkImageData.h @@ -0,0 +1,47 @@ +#ifndef __bbcreaVtkUnMosaicVectorVtkImageData_h_INCLUDED__ +#define __bbcreaVtkUnMosaicVectorVtkImageData_h_INCLUDED__ +#include "bbcreaVtk_EXPORT.h" +#include "bbtkAtomicBlackBox.h" +#include "iostream" + +#include "vtkImageData.h" +namespace bbcreaVtk +{ + +class bbcreaVtk_EXPORT UnMosaicVectorVtkImageData + : + public bbtk::AtomicBlackBox +{ + BBTK_BLACK_BOX_INTERFACE(UnMosaicVectorVtkImageData,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,std::vector); + BBTK_DECLARE_INPUT (NbImagesPerRow,int); + BBTK_DECLARE_INPUT (NbImagesInMosaic,int); + BBTK_DECLARE_OUTPUT(Out,std::vector); + 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(UnMosaicVectorVtkImageData,bbtk::AtomicBlackBox); +BBTK_NAME("UnMosaicVectorVtkImageData"); +BBTK_AUTHOR("carlos torres"); +BBTK_DESCRIPTION("No Description."); +BBTK_CATEGORY("empty"); +BBTK_INPUT(UnMosaicVectorVtkImageData,In,"2D image list",std::vector,""); +BBTK_INPUT(UnMosaicVectorVtkImageData,NbImagesPerRow,"Nb of Images Per Row ",int,""); +BBTK_INPUT(UnMosaicVectorVtkImageData,NbImagesInMosaic,"Nb of Images In Mosaic ",int,""); +BBTK_OUTPUT(UnMosaicVectorVtkImageData,Out,"3D image Vector",std::vector,""); +BBTK_END_DESCRIBE_BLACK_BOX(UnMosaicVectorVtkImageData); +//===== +// 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 bbcreaVtk + +#endif // __bbcreaVtkUnMosaicVectorVtkImageData_h_INCLUDED__ + -- 2.47.1