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 #include "bbcreaVtkFromVtk4DToItk4D.h"
5 #include "bbcreaVtkPackage.h"
6 #include "creaVtkFromVtk4DToItk4D.h"
7 #include "vtkImageData.h"
12 BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaVtk,FromVtk4DToItk4D)
13 BBTK_BLACK_BOX_IMPLEMENTATION(FromVtk4DToItk4D,bbtk::AtomicBlackBox);
15 // 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)
17 void FromVtk4DToItk4D::Process()
19 creaVtkFromVtk4DToItk4D<vtkImageData*> prs;
20 prs.SetImage4Dvtk(bbGetInputIn());
21 bbSetOutputOut(prs.Process());
24 // 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)
26 void FromVtk4DToItk4D::bbUserSetDefaultValues()
29 // SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX
30 // Here we initialize the input 'In' to 0
35 // 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 void FromVtk4DToItk4D::bbUserInitializeProcessing()
40 // THE INITIALIZATION METHOD BODY :
42 // but this is where you should allocate the internal/output pointers
48 // 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)
50 void FromVtk4DToItk4D::bbUserFinalizeProcessing()
53 // THE FINALIZATION METHOD BODY :
55 // but this is where you should desallocate the internal/output pointers
60 // EO namespace bbcreaVtk