]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkImage3DVector.cxx
New functionality, obtain an 3D image vector from an image.
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkImage3DVector.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 "bbcreaVtkImage3DVector.h"
5 #include "bbcreaVtkPackage.h"
6 #include "creaVtkIma3DVector.h"
7 #include "vtkImageData.h"
8
9 namespace bbcreaVtk
10 {
11
12 BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaVtk,Image3DVector)
13 BBTK_BLACK_BOX_IMPLEMENTATION(Image3DVector,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 Image3DVector::Process()
18 {
19
20                 creaVtkIma3DVector cvtkc;
21                 bbSetOutputOut( cvtkc.Ima3DVectorM ((unsigned int)bbGetInputNbImagesPerRow(), (unsigned int)bbGetInputNbImagesInMosaic(), bbGetInputIn() ) );
22   
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 Image3DVector::bbUserSetDefaultValues()
28 {
29
30                 bbSetInputNbImagesPerRow(0);
31                 bbSetInputNbImagesInMosaic(0);
32
33 }
34 //===== 
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)
36 //===== 
37 void Image3DVector::bbUserInitializeProcessing()
38 {
39
40 //  THE INITIALIZATION METHOD BODY :
41 //    Here does nothing 
42 //    but this is where you should allocate the internal/output pointers 
43 //    if any 
44
45   
46 }
47 //===== 
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)
49 //===== 
50 void Image3DVector::bbUserFinalizeProcessing()
51 {
52
53 //  THE FINALIZATION METHOD BODY :
54 //    Here does nothing 
55 //    but this is where you should desallocate the internal/output pointers 
56 //    if any
57   
58 }
59 }
60 // EO namespace bbcreaVtk
61
62