added to dispatcher_part2

This commit is contained in:
niko-fhtw 2018-01-19 17:01:52 +01:00
parent c724354efd
commit ddd5d80750

View File

@ -9,6 +9,7 @@
#include "../functions/AbstractionLayers/Layer1/AbstractionLayer_1.h" #include "../functions/AbstractionLayers/Layer1/AbstractionLayer_1.h"
#include "../functions/AbstractionLayers/DestructionPower/DestructionPower.h" #include "../functions/AbstractionLayers/DestructionPower/DestructionPower.h"
#include "../functions/AbstractionLayers/LayerHistogram/AbstractionLayer_Histogram.h"
using namespace std; using namespace std;
@ -46,6 +47,7 @@ public:
createBox(); createp_box(); createBox(); createp_box();
dp.PreProcessing({cols,rows}, nullptr); dp.PreProcessing({cols,rows}, nullptr);
a1.PreProcessing({cols,rows}, &p_myBox); a1.PreProcessing({cols,rows}, &p_myBox);
a3.PreProcessing({cols,rows},&p_myBox);
return true; return true;
} }
@ -53,6 +55,7 @@ public:
DestructionPower dp; DestructionPower dp;
AbstractionLayer_1 a1; AbstractionLayer_1 a1;
AbstractionLayer_Histogram a3;
void removeConstrains(coor removeCoordinates); void removeConstrains(coor removeCoordinates);
void setConstraints(coor setConstraints, Part *constraintPiece); void setConstraints(coor setConstraints, Part *constraintPiece);