]> Creatis software - creaRigidRegistration.git/blob - PackRecalage/src/bbPackRecalageDuplicateImageBox.cxx
fe266252db0ed3803716f93a07acd4e781f4fe7d
[creaRigidRegistration.git] / PackRecalage / src / bbPackRecalageDuplicateImageBox.cxx
1 #include "bbPackRecalageDuplicateImageBox.h"
2 #include "bbPackRecalagePackage.h"
3 namespace bbPackRecalage
4 {
5
6 BBTK_ADD_BLACK_BOX_TO_PACKAGE(PackRecalage,DuplicateImageBox)
7 BBTK_BLACK_BOX_IMPLEMENTATION(DuplicateImageBox,bbtk::AtomicBlackBox);
8 void DuplicateImageBox::Process()
9 {
10         vtkImageData *duplicate = vtkImageData::New();
11         bbGetInputIn()->ShallowCopy(duplicate);
12         bbSetOutputOut(duplicate);  
13 }
14 void DuplicateImageBox::bbUserSetDefaultValues()
15 {
16         bbSetInputIn(NULL);   
17         bbSetOutputOut(NULL);
18 }
19 void DuplicateImageBox::bbUserInitializeProcessing()
20 {
21  
22 //  THE INITIALIZATION METHOD BODY : 
23 //    Here does nothing  
24 //    but this is where you should allocate the internal/output pointers  
25 //    if any  
26  
27   
28 }
29 void DuplicateImageBox::bbUserFinalizeProcessing()
30 {
31  
32 //  THE FINALIZATION METHOD BODY : 
33 //    Here does nothing  
34 //    but this is where you should desallocate the internal/output pointers  
35 //    if any 
36   
37 }
38 }
39 // EO namespace bbPackRecalage
40
41