00001 #ifndef ImageSuperClasses_H 00002 #define ImageSuperClasses_H 00003 00004 namespace puma2 { 00005 00006 class Image { 00007 protected: 00015 void setupImageBaseVariables(); 00016 protected: 00024 double mValueRangeMinimum; 00025 00033 double mValueRangeMaximum; 00034 00035 public: 00039 Image(); 00040 00044 virtual ~Image(); 00045 00053 virtual double getElementTypeMinimum() const = 0; 00054 00060 virtual double getElementTypeMaximum() const = 0; 00061 00064 void setValueRangeMinimum(double value) { mValueRangeMinimum = value; }; 00067 void setValueRangeMaximum(double value) { mValueRangeMaximum = value; }; 00069 double getValueRangeMinimum() const { return mValueRangeMinimum; }; 00071 double getValueRangeMaximum() const { return mValueRangeMaximum; }; 00072 00077 void readFromFile(const char * fileName); 00078 00084 void writeToFile(const char * fileName) const; 00085 }; 00086 00087 } 00088 00089 00090 #endif