6 #include "vvSlicerManager.h"
9 class QXmlStreamWriter;
11 class QTreeWidgetItem;
17 virtual ~vvSaveState();
19 virtual void Run(vvMainWindow* vvWindow, const std::string& file);
27 void SaveImage(const QTreeWidgetItem* item, int index);
28 void SaveFusion(const QTreeWidgetItem* item, const vvSlicerManager* slicerManager);
29 void SaveOverlay(const QTreeWidgetItem* item, const vvSlicerManager* slicerManager);
30 void SaveVector(const QTreeWidgetItem* item);
32 std::auto_ptr<QXmlStreamWriter> m_XmlWriter;
33 std::auto_ptr<QFile> m_File;
34 vvMainWindow* m_Window;
37 #endif // VVSAVESTATE_H