X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FimageUndoRedo%2FimageInfoUR.h;fp=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FimageUndoRedo%2FimageInfoUR.h;h=9045e8f113d9afe420d4eb948280694767d4d86f;hb=8185e042f64574ca43bba733ec2158a2aa994220;hp=0000000000000000000000000000000000000000;hpb=dfc9348c40926b0c402e8b285749a24de5e567ce;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/imageUndoRedo/imageInfoUR.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/imageUndoRedo/imageInfoUR.h new file mode 100755 index 0000000..9045e8f --- /dev/null +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/imageUndoRedo/imageInfoUR.h @@ -0,0 +1,42 @@ +/* + * 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_ */