#include "bbcreaVtk_EXPORT.h"
#include "bbtkAtomicBlackBox.h"
#include "iostream"
+
#include "vtkImageData.h"
#include <vector>
-#include "itkImage.h"
+//#include "itkImage.h"
+#include "creaVtkFromVtk4DToItk4D.h"
namespace bbcreaVtk
{
public bbtk::AtomicBlackBox
{
BBTK_BLACK_BOX_INTERFACE(FromVtk4DToItk4D,bbtk::AtomicBlackBox);
-
BBTK_DECLARE_INPUT(In,std::vector<vtkImageData*> );
- //Bug. Image type doesn't work.
- //BBTK_DECLARE_OUTPUT(Out,std::vector<itk::Image< unsigned char > >);
+ BBTK_DECLARE_OUTPUT(Out, Image4DType::Pointer );
BBTK_PROCESS(Process);
void Process();
};
BBTK_BEGIN_DESCRIBE_BLACK_BOX(FromVtk4DToItk4D,bbtk::AtomicBlackBox);
-BBTK_NAME("FromVtk4DToItk4D");
-BBTK_AUTHOR("Carlos Torres");
-BBTK_DESCRIPTION("carlos.torres@creatis.insa-lyon.fr -");
-BBTK_CATEGORY("empty");
-BBTK_INPUT(FromVtk4DToItk4D,In,"Vtk image 4D",std::vector<vtkImageData*>,"");
-//BBTK_OUTPUT(FromVtk4DToItk4D,Out,"Itk image 4D",std::vector<itk::Image< unsigned char > >,"");
+ BBTK_NAME("FromVtk4DToItk4D");
+ BBTK_AUTHOR("Carlos Torres");
+ BBTK_DESCRIPTION("carlos.torres@creatis.insa-lyon.fr -");
+ BBTK_CATEGORY("empty");
+
+ BBTK_INPUT(FromVtk4DToItk4D,In,"Vtk image 4D",std::vector<vtkImageData*>,"");
+
+ BBTK_OUTPUT(FromVtk4DToItk4D,Out,"Itk image 4D", Image4DType::Pointer ,"");
+
BBTK_END_DESCRIBE_BLACK_BOX(FromVtk4DToItk4D);
}