]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkFromVtk4DToItk4D.cxx
2217 creaVtk Support New Normal Correction of Heart Angles Box
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkFromVtk4DToItk4D.cxx
1         //===== 
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)
3 //===== 
4 #include "bbcreaVtkFromVtk4DToItk4D.h"
5 #include "bbcreaVtkPackage.h"
6
7 #include "vtkImageData.h"
8 #include "itkImage.h"
9
10 namespace bbcreaVtk
11 {
12
13 BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaVtk,FromVtk4DToItk4D)
14 BBTK_BLACK_BOX_IMPLEMENTATION(FromVtk4DToItk4D,bbtk::AtomicBlackBox);
15 //===== 
16 // 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 //===== 
18 void FromVtk4DToItk4D::Process()
19 {
20 printf("EED FromVtk4DToItk4D::Process 1\n ");
21 //EED           creaVtkFromVtk4DToItk4D<vtkImageData*> prs;
22                 creaVtkFromVtk4DToItk4D prs;
23 printf("EED FromVtk4DToItk4D::Process 2\n ");
24                 prs.SetImage4Dvtk(bbGetInputIn());
25 printf("EED FromVtk4DToItk4D::Process 3\n ");
26                 //CT Bug. Cant declare output image in .h
27                 prs.Process();
28 //EED           bbSetOutputOut(  );
29 }
30 //===== 
31 // 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)
32 //===== 
33 void FromVtk4DToItk4D::bbUserSetDefaultValues()
34 {
35 }
36 //===== 
37 // 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)
38 //===== 
39 void FromVtk4DToItk4D::bbUserInitializeProcessing()
40 {
41
42 //  THE INITIALIZATION METHOD BODY :
43 //    Here does nothing 
44 //    but this is where you should allocate the internal/output pointers 
45 //    if any 
46
47   
48 }
49 //===== 
50 // 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)
51 //===== 
52 void FromVtk4DToItk4D::bbUserFinalizeProcessing()
53 {
54
55 //  THE FINALIZATION METHOD BODY :
56 //    Here does nothing 
57 //    but this is where you should desallocate the internal/output pointers 
58 //    if any
59   
60 }
61 }
62 // EO namespace bbcreaVtk
63
64