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