]> Creatis software - clitk.git/blobdiff - common/clitkDicomRT_ROI.h
Use smart pointers for vvSlicers
[clitk.git] / common / clitkDicomRT_ROI.h
index d69ec1e9461100f161e3efaed1e05a5374797149..b05b9d65e9a51bd70a81ecba65683becff3eeccd 100644 (file)
@@ -69,7 +69,7 @@ protected:
   int mNumber;
   std::vector<double> mColor;
   std::vector<DicomRT_Contour::Pointer> mListOfContours;
-  vtkPolyData * mMesh;
+  vtkSmartPointer<vtkPolyData> mMesh;
   bool mMeshIsUpToDate;
   vvImage::Pointer mImage;
   double mBackgroundValue;