]> Creatis software - creaRigidRegistration.git/blob - PackRecalage/src/bbPackRecalageCalculateVectorBox.cxx
Added to library TransformLib.
[creaRigidRegistration.git] / PackRecalage / src / bbPackRecalageCalculateVectorBox.cxx
1 #include "bbPackRecalageCalculateVectorBox.h"
2 #include "bbPackRecalagePackage.h"
3 namespace bbPackRecalage
4 {
5
6 BBTK_ADD_BLACK_BOX_TO_PACKAGE(PackRecalage,CalculateVectorBox)
7 BBTK_BLACK_BOX_IMPLEMENTATION(CalculateVectorBox,bbtk::AtomicBlackBox);
8 void CalculateVectorBox::Process()
9 {
10  
11 // THE MAIN PROCESSING METHOD BODY 
12 //   Here we simply set the input 'In' value to the output 'Out' 
13 //   And print out the output value 
14 // INPUT/OUTPUT ACCESSORS ARE OF THE FORM : 
15 //    void bbSet{Input|Output}NAME(const TYPE&) 
16 //    const TYPE& bbGet{Input|Output}NAME() const  
17 //    Where : 
18 //    * NAME is the name of the input/output 
19 //      (the one provided in the attribute 'name' of the tag 'input') 
20 //    * TYPE is the C++ type of the input/output 
21 //      (the one provided in the attribute 'type' of the tag 'input') 
22     //bbSetOutputOut( bbGetInputIn() ); 
23     //std::cout << "Output value = " <<bbGetOutputOut() << std::endl; 
24   
25 }
26 void CalculateVectorBox::bbUserSetDefaultValues()
27 {
28  
29 //  SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX  
30 //    Here we initialize the input 'In' to 0 
31    //bbSetInputIn(0); 
32   
33 }
34 void CalculateVectorBox::bbUserInitializeProcessing()
35 {
36  
37 //  THE INITIALIZATION METHOD BODY : 
38 //    Here does nothing  
39 //    but this is where you should allocate the internal/output pointers  
40 //    if any  
41  
42   
43 }
44 void CalculateVectorBox::bbUserFinalizeProcessing()
45 {
46  
47 //  THE FINALIZATION METHOD BODY : 
48 //    Here does nothing  
49 //    but this is where you should desallocate the internal/output pointers  
50 //    if any 
51   
52 }
53 }
54 // EO namespace bbPackRecalage
55
56