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::vector<float> newX2;
19 newX2.push_back((float)bbGetInputPointsX2()[0]);
22 void CalculateVectorBox::bbUserSetDefaultValues()
25 // SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX
26 // Here we initialize the input 'In' to 0
28 std::vector<std::string> nuevo("","");
29 bbSetInputLabels1(nuevo);*/
31 void CalculateVectorBox::bbUserInitializeProcessing()
34 // THE INITIALIZATION METHOD BODY :
36 // but this is where you should allocate the internal/output pointers
41 void CalculateVectorBox::bbUserFinalizeProcessing()
44 // THE FINALIZATION METHOD BODY :
46 // but this is where you should desallocate the internal/output pointers
51 // EO namespace bbPackRecalage