Added code for processing of puzzle-pieces

Code working until now
Commented out other layers in solve.h
Path now in header-file
Small changes to full-puzzle-processing
This commit is contained in:
JRauer
2018-01-26 18:47:41 +01:00
parent c59c72c3fc
commit faeeeb8d71
3 changed files with 71 additions and 16 deletions

View File

@ -3,6 +3,23 @@
#include "../AbstraktionLayer_Base.h"
#ifdef _WIN32
#define PATH_FULL_PUZZLE "..\\..\\..\\puzzle_img\\puzzle1.jpg"
#elif defined __unix__
#define PATH_FULL_PUZZLE "..//..//..//puzzle_img//puzzle1.jpg"
#elif defined __APPLE__
#define PATH_FULL_PUZZLE "..//..//..//puzzle_img//puzzle1.jpg"
#endif
#ifdef _WIN32 //TODO: Code duplicate from AbstractionLayer_1.h
#define PATH "..\\..\\..\\pieces\\%04d.jpg"
#elif defined __unix__
#define PATH "..//..//..//pieces//%04d.jpg"
#elif defined __APPLE__
#define PATH "..//..//..//pieces//%04d.jpg"
#endif
using namespace std;
class AbstractionLayer_SURFFeatures : public AbstractionLayer_Base<AbstractionLayer_SURFFeatures_Properties>