]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/imageInfoUR.h
DFCH: Changes in CMakeList (CreaImageIO dependences removed)
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / manualPaint / imageInfoUR.h
1 /*
2  * ImageInfo.h
3  *
4  *  Created on: Sep 22, 2011
5  *      Author: caceres
6  */
7
8 #ifndef IMAGEINFO_H_
9 #define IMAGEINFO_H_
10
11 #include <iostream>
12 #include <string>
13 #include <vtkImageData.h>
14 #include "regionStructUR.h"
15
16 class ImageInfoUR {
17 private:
18         vtkImageData* m_Image;
19         std::string m_ImageName;
20         RegionStructUR m_Region;
21         bool m_OnMemory;
22 public:
23         ImageInfoUR();
24         virtual ~ImageInfoUR();
25         void SetImageName(const std::string &imgName);
26         void SetRegion(const RegionStructUR &region);
27         void SetStatus(const bool& onMemory);
28         void SetImage(vtkImageData* img);
29         std::string GetImageName();
30         RegionStructUR GetRegion();
31         bool GetStatus();
32         void RemoveImageFromMemory();
33 };
34
35 #endif /* IMAGEINFO_H_ */