]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkFromVtk4DToItk4D.cxx
2178 creaVtk Bug New High Error in creaVtkFromVtk4DToItk4 box output.
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkFromVtk4DToItk4D.cxx
index 4a79770af6c49d674d9a12b197d409e644969255..52ddeab5c97c9a0a10f8f0f2bcc313c1fa720f2a 100644 (file)
@@ -1,11 +1,12 @@
-//===== 
+       //===== 
 // 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)
 //===== 
 #include "bbcreaVtkFromVtk4DToItk4D.h"
 #include "bbcreaVtkPackage.h"
-#include "creaVtkFromVtk4DToItk4D.h"
+
 #include "vtkImageData.h"
 #include "itkImage.h"
+
 namespace bbcreaVtk
 {
 
@@ -16,10 +17,15 @@ BBTK_BLACK_BOX_IMPLEMENTATION(FromVtk4DToItk4D,bbtk::AtomicBlackBox);
 //===== 
 void FromVtk4DToItk4D::Process()
 {
-               creaVtkFromVtk4DToItk4D<vtkImageData*> prs;
+printf("EED FromVtk4DToItk4D::Process 1\n ");
+//EED          creaVtkFromVtk4DToItk4D<vtkImageData*> prs;
+               creaVtkFromVtk4DToItk4D prs;
+printf("EED FromVtk4DToItk4D::Process 2\n ");
                prs.SetImage4Dvtk(bbGetInputIn());
-               //Bug. Cant declare output image in .h
-               //bbSetOutputOut(prs.Process());
+printf("EED FromVtk4DToItk4D::Process 3\n ");
+               //CT Bug. Cant declare output image in .h
+               prs.Process();
+//EED          bbSetOutputOut(  );
 }
 //===== 
 // 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)