Fixed text file permissions
[snark14.git] / tools / Display / image.hpp
1 /** @file image.hpp
2     @package snark14Display
3     @author Bruno M. Carvalho and Deniz Sarioz
4     licensed under (open-source) QPL v1.0
5     which accompanies this distribution in the file QPL
6 */
7
8 #ifndef IMAGE_H
9 #define IMAGE_H
10
11 // #include "variables.hpp"
12
13 class Snarkimage {
14 public:
15     Snarkimage( int imagenumber, DIGDataFormat format );
16     Snarkimage();
17     ~Snarkimage();
18     void readImage( int imagenumber, DIGDataFormat format );
19     double** getImage();
20     double getMin();
21     double getMax();
22     bool isLoaded();
23
24     double **image;
25     double max;
26     double min;
27     bool isloaded;
28     DIGDataFormat fileformat;
29 private:
30     double** matrix(int  nrl,int nrh,int ncl,int nch);
31 };
32
33 #endif // IMAGE_H