Commit 5b7f7f70 authored by Ahmed's avatar Ahmed

set includes in the right order

parent dceac76f
Pipeline #271346 passed with stage
in 11 minutes and 42 seconds
......@@ -61,8 +61,8 @@ public class CvtColorCommand extends ArgumentNoReturnMathCommand{
newMatrixAccessSymbols.add(new MathMatrixAccessSymbol(stringExpression));
mathMatrixNameExpressionSymbol.getMathMatrixAccessOperatorSymbol().setMathMatrixAccessSymbols(newMatrixAccessSymbols);
bluePrintCPP.addCVIncludeString("ConvHelper");
bluePrintCPP.addCVIncludeString("opencv2/imgproc/imgproc");
bluePrintCPP.addCVIncludeString("ConvHelper");
bluePrint.addMethod(cvtColorHelperMethod);
redefineArmaMat(bluePrintCPP);
redefineInit(bluePrintCPP);
......
......@@ -61,8 +61,8 @@ public class DilateCommand extends ArgumentNoReturnMathCommand{
newMatrixAccessSymbols.add(new MathMatrixAccessSymbol(stringExpression));
mathMatrixNameExpressionSymbol.getMathMatrixAccessOperatorSymbol().setMathMatrixAccessSymbols(newMatrixAccessSymbols);
bluePrintCPP.addCVIncludeString("ConvHelper");
bluePrintCPP.addCVIncludeString("opencv2/imgproc/imgproc");
bluePrintCPP.addCVIncludeString("ConvHelper");
bluePrint.addMethod(dilateHelperMethod);
redefineArmaMat(bluePrintCPP);
redefineInit(bluePrintCPP);
......
......@@ -63,8 +63,8 @@ public class ErodeCommand extends ArgumentNoReturnMathCommand{
mathMatrixNameExpressionSymbol.getMathMatrixAccessOperatorSymbol().setMathMatrixAccessSymbols(newMatrixAccessSymbols);
bluePrintCPP.addCVIncludeString("ConvHelper");
bluePrintCPP.addCVIncludeString("opencv2/imgproc/imgproc");
bluePrintCPP.addCVIncludeString("ConvHelper");
bluePrint.addMethod(erodeHelperMethod);
redefineArmaMat(bluePrintCPP);
redefineInit(bluePrintCPP);
......
......@@ -61,8 +61,8 @@ public class FindContoursCommand extends ArgumentNoReturnMathCommand{
newMatrixAccessSymbols.add(new MathMatrixAccessSymbol(stringExpression));
mathMatrixNameExpressionSymbol.getMathMatrixAccessOperatorSymbol().setMathMatrixAccessSymbols(newMatrixAccessSymbols);
bluePrintCPP.addCVIncludeString("ConvHelper");
bluePrintCPP.addCVIncludeString("opencv2/imgproc/imgproc");
bluePrintCPP.addCVIncludeString("ConvHelper");
bluePrintCPP.addCVIncludeString("vector");
bluePrint.addMethod(findContoursHelperMethod);
redefineArmaMat(bluePrintCPP);
......
......@@ -63,8 +63,8 @@ public class GaussianBlurCommand extends ArgumentNoReturnMathCommand{
newMatrixAccessSymbols.add(new MathMatrixAccessSymbol(stringExpression));
mathMatrixNameExpressionSymbol.getMathMatrixAccessOperatorSymbol().setMathMatrixAccessSymbols(newMatrixAccessSymbols);
bluePrintCPP.addCVIncludeString("ConvHelper");
bluePrintCPP.addCVIncludeString("opencv2/imgproc/imgproc");
bluePrintCPP.addCVIncludeString("ConvHelper");
bluePrint.addMethod(gaussianBlurHelperMethod);
redefineArmaMat(bluePrintCPP);
redefineInit(bluePrintCPP);
......
......@@ -61,8 +61,8 @@ public class InRangeCommand extends ArgumentNoReturnMathCommand{
newMatrixAccessSymbols.add(new MathMatrixAccessSymbol(stringExpression));
mathMatrixNameExpressionSymbol.getMathMatrixAccessOperatorSymbol().setMathMatrixAccessSymbols(newMatrixAccessSymbols);
bluePrintCPP.addCVIncludeString("ConvHelper");
bluePrintCPP.addCVIncludeString("opencv2/core/core");
bluePrintCPP.addCVIncludeString("ConvHelper");
bluePrint.addMethod(inRangeHelperMethod);
redefineArmaMat(bluePrintCPP);
redefineInit(bluePrintCPP);
......
......@@ -65,8 +65,8 @@ public class RectangleCommand extends MathCommand{
mathMatrixNameExpressionSymbol.getMathMatrixAccessOperatorSymbol().setMathMatrixAccessSymbols(newMatrixAccessSymbols);
bluePrintCPP.addCVIncludeString("ConvHelper");
bluePrintCPP.addCVIncludeString("opencv2/imgproc/imgproc");
bluePrintCPP.addCVIncludeString("ConvHelper");
bluePrint.addMethod(rectangleHelperMethod);
redefineArmaMat(bluePrintCPP);
redefineInit(bluePrintCPP);
......
......@@ -4,8 +4,8 @@
#define M_PI 3.14159265358979323846
#endif
#include "armadillo"
#include "ConvHelper.h"
#include <opencv2/imgproc/imgproc.hpp>
#include "ConvHelper.h"
using namespace arma;
using namespace std;
class test_math_cvtColorCommandTest{
......
......@@ -4,8 +4,8 @@
#define M_PI 3.14159265358979323846
#endif
#include "armadillo"
#include "ConvHelper.h"
#include <opencv2/imgproc/imgproc.hpp>
#include "ConvHelper.h"
using namespace arma;
using namespace std;
class test_math_dilateCommandTest{
......
......@@ -4,8 +4,8 @@
#define M_PI 3.14159265358979323846
#endif
#include "armadillo"
#include "ConvHelper.h"
#include <opencv2/imgproc/imgproc.hpp>
#include "ConvHelper.h"
using namespace arma;
using namespace std;
......
......@@ -4,8 +4,8 @@
#define M_PI 3.14159265358979323846
#endif
#include "armadillo"
#include "ConvHelper.h"
#include <opencv2/imgproc/imgproc.hpp>
#include "ConvHelper.h"
#include <vector>
using namespace arma;
using namespace std;
......
......@@ -4,8 +4,8 @@
#define M_PI 3.14159265358979323846
#endif
#include "armadillo"
#include "ConvHelper.h"
#include <opencv2/imgproc/imgproc.hpp>
#include "ConvHelper.h"
using namespace arma;
using namespace std;
class test_math_gaussianBlurCommandTest{
......
......@@ -4,8 +4,8 @@
#define M_PI 3.14159265358979323846
#endif
#include "armadillo"
#include "ConvHelper.h"
#include <opencv2/core/core.hpp>
#include "ConvHelper.h"
using namespace arma;
using namespace std;
class test_math_inRangeCommandTest{
......
......@@ -4,8 +4,8 @@
#define M_PI 3.14159265358979323846
#endif
#include "armadillo"
#include "ConvHelper.h"
#include <opencv2/imgproc/imgproc.hpp>
#include "ConvHelper.h"
using namespace arma;
using namespace std;
class test_math_rectangleCommandTest{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment