From 0cace02fba5ca83add8dbf179cc7dd835bd43a5e Mon Sep 17 00:00:00 2001 From: bharath Date: Thu, 12 Aug 2010 09:00:53 +0000 Subject: [PATCH] used vtkSmartPointer --- common/vvImage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/vvImage.h b/common/vvImage.h index 07987c7..29573cd 100644 --- a/common/vvImage.h +++ b/common/vvImage.h @@ -42,7 +42,7 @@ public : void SetImage(std::vector images); void AddImage(vtkImageData* image); const std::vector& GetVTKImages(); - vtkImageData* GetFirstVTKImageData(); + vtkSmartPointer GetFirstVTKImageData(); int GetNumberOfDimensions() const; int GetNumberOfSpatialDimensions(); void GetScalarRange(double* range); -- 2.47.1