#include <iostream>
#include <string>
#include <vtkImageData.h>
+#include <vtkSmartPointer.h>
+#include <vtkExtractVOI.h>
#include "image3DDequeUR.h"
-typedef Image3DDequeUR IDequeType;
-typedef RegionStructUR RegionSType;
-typedef vtkImageData ImageType;
-
class ManagerUR {
+public:
+ typedef Image3DDequeUR IDequeType;
+ typedef RegionStructUR RegionSType;
+ typedef vtkSmartPointer<vtkImageData> VTKImageDataPointerType;
+ typedef vtkSmartPointer<vtkExtractVOI> VTKExtractVOIPointerType;
+ typedef std::string StringType;
public:
ManagerUR();
virtual ~ManagerUR();
virtual void Redo();
virtual void SetUndoImage(const RegionSType& region);
virtual void SetRedoImage(const RegionSType& region);
-private:
+protected:
virtual void DrawUR(ImageInfoUR imageInfo);
};