]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkFromVtk4DToItk4D.cxx
2178 creaVtk Bug New High Error in creaVtkFromVtk4DToItk4 box output.
[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                 //Bug. Cant declare output image in .h
22                 //bbSetOutputOut(prs.Process());
23 }
24 //===== 
25 // 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 //===== 
27 void FromVtk4DToItk4D::bbUserSetDefaultValues()
28 {
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::bbUserInitializeProcessing()
34 {
35
36 //  THE INITIALIZATION METHOD BODY :
37 //    Here does nothing 
38 //    but this is where you should allocate the internal/output pointers 
39 //    if any 
40
41   
42 }
43 //===== 
44 // 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)
45 //===== 
46 void FromVtk4DToItk4D::bbUserFinalizeProcessing()
47 {
48
49 //  THE FINALIZATION METHOD BODY :
50 //    Here does nothing 
51 //    but this is where you should desallocate the internal/output pointers 
52 //    if any
53   
54 }
55 }
56 // EO namespace bbcreaVtk
57
58