1 #include "bbPackRecalageCalculateVectorBox.h"
2 #include "bbPackRecalagePackage.h"
6 namespace bbPackRecalage
9 BBTK_ADD_BLACK_BOX_TO_PACKAGE(PackRecalage,CalculateVectorBox)
10 BBTK_BLACK_BOX_IMPLEMENTATION(CalculateVectorBox,bbtk::AtomicBlackBox);
11 void CalculateVectorBox::Process()
14 if(bbGetInputLabels1()[0].compare("") != 0)
16 //std::vector<float> newX1;
17 //newX1.push_back((float)bbGetInputPointsX1()[0]);
18 std::cout << "Points for first vector: " << bbGetInputPointsX1()[0] << " " << bbGetInputPointsX1()[1] << std::endl;
19 //std::vector<float> newX2;
20 //newX2.push_back((float)bbGetInputPointsX2()[0]);
23 void CalculateVectorBox::bbUserSetDefaultValues()
26 // SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX
27 // Here we initialize the input 'In' to 0
29 std::vector<std::string> nuevo("","");
30 bbSetInputLabels1(nuevo);*/
32 void CalculateVectorBox::bbUserInitializeProcessing()
35 // THE INITIALIZATION METHOD BODY :
37 // but this is where you should allocate the internal/output pointers
42 void CalculateVectorBox::bbUserFinalizeProcessing()
45 // THE FINALIZATION METHOD BODY :
47 // but this is where you should desallocate the internal/output pointers
52 // EO namespace bbPackRecalage