Commit 2791387e authored by Ahmed's avatar Ahmed

add isCVMathCommand function to MathCommand

parent 326f3df8
......@@ -66,4 +66,7 @@ public abstract class MathCommand {
return false;
}
public boolean isCVMathCommand(){
return false;
}
}
......@@ -34,6 +34,11 @@ public class CvtColorCommand extends ArgumentReturnMathCommand{
}
}
@Override
public boolean isCVMathCommand(){
return true;
}
public void convertUsingOctaveBackend(MathExpressionSymbol mathExpressionSymbol, BluePrint bluePrint) {
Log.error("No implementation for Octave Backend");
}
......
......@@ -33,6 +33,11 @@ public class DilateCommand extends ArgumentReturnMathCommand{
}
}
@Override
public boolean isCVMathCommand(){
return true;
}
public void convertUsingOctaveBackend(MathExpressionSymbol mathExpressionSymbol, BluePrint bluePrint) {
Log.error("No implementation for Octave Backend");
}
......
......@@ -33,6 +33,11 @@ public class ErodeCommand extends ArgumentReturnMathCommand{
}
}
@Override
public boolean isCVMathCommand(){
return true;
}
public void convertUsingOctaveBackend(MathExpressionSymbol mathExpressionSymbol, BluePrint bluePrint) {
Log.error("No implementation for Octave Backend");
}
......@@ -97,4 +102,6 @@ public class ErodeCommand extends ArgumentReturnMathCommand{
}
};
}
}
......@@ -34,6 +34,11 @@ public class FindContoursCommand extends ArgumentReturnMathCommand{
}
}
@Override
public boolean isCVMathCommand(){
return true;
}
public void convertUsingOctaveBackend(MathExpressionSymbol mathExpressionSymbol, BluePrint bluePrint) {
Log.error("No implementation for Octave Backend");
}
......
......@@ -34,6 +34,11 @@ public class GaussianBlurCommand extends ArgumentReturnMathCommand{
}
}
@Override
public boolean isCVMathCommand(){
return true;
}
public void convertUsingOctaveBackend(MathExpressionSymbol mathExpressionSymbol, BluePrint bluePrint) {
Log.error("No implementation for Octave Backend");
}
......
......@@ -33,6 +33,11 @@ public class InRangeCommand extends ArgumentReturnMathCommand{
}
}
@Override
public boolean isCVMathCommand(){
return true;
}
public void convertUsingOctaveBackend(MathExpressionSymbol mathExpressionSymbol, BluePrint bluePrint) {
Log.error("No implementation for Octave Backend");
}
......
......@@ -34,6 +34,11 @@ public class ThresholdCommand extends MathCommand{
}
}
@Override
public boolean isCVMathCommand(){
return true;
}
public void convertUsingOctaveBackend(MathExpressionSymbol mathExpressionSymbol, BluePrint bluePrint) {
Log.error("No implementation for Octave Backend");
}
......
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