From: bharath Date: Thu, 12 Aug 2010 09:00:53 +0000 (+0000) Subject: used vtkSmartPointer X-Git-Tag: v1.2.0~433 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=0cace02fba5ca83add8dbf179cc7dd835bd43a5e;p=clitk.git used vtkSmartPointer --- 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);