00001 #ifndef __IMAGECALCULATOR_H 00002 #define __IMAGECALCULATOR_H 00003 00004 #include "ImageInterface.h" 00005 #include "ImageShapeFinder.h" 00006 #include "ImageArithmaticCube.h" 00007 00024 class ImageCalculator{ 00025 00026 public: 00027 00033 ImageCalculator(GLIMSProject *proj); 00034 00039 ~ImageCalculator(); 00040 00042 int algorithm ; 00043 void setAlgorithm (int choice) { 00044 algorithm = choice ; 00045 } 00046 00052 void calculate(std::string eq); 00053 00062 void calculate(std::string eq, int lineStyle); 00063 00068 void testDriver(); 00069 00070 00071 protected: 00072 GLIMSProject *mProj;//the project 00073 ImageInterface *mImage;//an interface to the image associated 00074 00075 00076 }; 00077 00078 #endif 00079