]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkFromVtk4DToItk4D.cxx~
2187 BBTK Feature New Normal New feature creaVtk
[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 #include "creaVtkFromVtk4DToItk4D.h"
7 #include "vtkImageData.h"
8 #include "itkImage.h"
9 namespace bbcreaVtk
10 {
11
12 BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaVtk,FromVtk4DToItk4D)
13 BBTK_BLACK_BOX_IMPLEMENTATION(FromVtk4DToItk4D,bbtk::AtomicBlackBox);
14 //===== 
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)
16 //===== 
17 void FromVtk4DToItk4D::Process()
18 {
19                 creaVtkFromVtk4DToItk4D<vtkImageData*> prs;
20                 prs.SetImage4Dvtk(bbGetInputIn());
21                 //bbSetOutputOut(prs.Process());
22 }
23 //===== 
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)
25 //===== 
26 void FromVtk4DToItk4D::bbUserSetDefaultValues()
27 {
28 }
29 //===== 
30 // 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)
31 //===== 
32 void FromVtk4DToItk4D::bbUserInitializeProcessing()
33 {
34
35 //  THE INITIALIZATION METHOD BODY :
36 //    Here does nothing 
37 //    but this is where you should allocate the internal/output pointers 
38 //    if any 
39
40   
41 }
42 //===== 
43 // 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)
44 //===== 
45 void FromVtk4DToItk4D::bbUserFinalizeProcessing()
46 {
47
48 //  THE FINALIZATION METHOD BODY :
49 //    Here does nothing 
50 //    but this is where you should desallocate the internal/output pointers 
51 //    if any
52   
53 }
54 }
55 // EO namespace bbcreaVtk
56
57