Allink
v0.1
|
00001 #ifndef DRIMAGE_H 00002 #define DRIMAGE_H 00003 00004 #include <Matematica.h> 00005 #include <VarData.h> 00006 #ifdef USE_PNG 00007 #include <pngwriter.h> 00009 class DrImage{ 00010 private: 00012 double **data; 00014 double **data1; 00016 int NWidth; 00018 int NHeight; 00020 int NFile; 00022 char **FileList; 00024 pngwriter *ImageIn; 00025 public: 00027 DrImage(int argc,char **argv); 00029 ~DrImage(); 00031 void Load(char *FName); 00033 void ReLoad(char *FName); 00035 void Load2(char *FName); 00037 void Write(char *FName); 00039 void BackFold(int Shift); 00041 void Gravity(); 00043 void Ising(); 00045 void Shear(); 00047 void Rotor(); 00049 void Gauss(); 00051 void Mirror(); 00053 void Difference(); 00055 void Cut(); 00057 void ConvMatrix(); 00059 void Transpose(); 00061 void EffectOnDataR(double *data2,int l,int w,int h,int ws,int hs,int NSquare); 00063 void EffectOnDataT(double *data2,int l,int w,int h,int ws,int hs,int NSquare); 00065 void EffectOnDataM(double *data2,int l,int w,int h,int ws,int hs,int NSquare); 00067 void LennardJones(); 00069 void Fourier(); 00071 void SlitScan(); 00072 }; 00073 #endif //USE_PNG 00074 #endif //DRIMAGE_H