/* * ImageInfo.h * * Created on: Sep 22, 2011 * Author: caceres */ #ifndef IMAGEINFO_H_ #define IMAGEINFO_H_ #include #include #include #include #include #include #include "regionStructUR.h" class ImageInfoUR { private: vtkImageData* m_Image; std::string m_ImageName; RegionStructUR m_Region; bool m_OnMemory; bool m_OnDisk; public: ImageInfoUR(); virtual ~ImageInfoUR(); void SetImageName(const std::string &imgName); void SetRegion(const RegionStructUR ®ion); void SetStatus(const bool& onMemory); void SetImage(vtkImageData* img); void RemoveImageFromMemory(const std::string& gPath); void LoadImageMHDToMemory(const std::string& gPath); void SaveImageAsMHD(const std::string& gPath); void RemoveImageFromDisk(const std::string& gPath); std::string GetImageName(); RegionStructUR GetRegion(); bool GetStatus(); }; #endif /* IMAGEINFO_H_ */