]> Creatis software - clitk.git/blobdiff - common/clitkDicomRT_ROI.cxx
GDCM 1.x compatibility
[clitk.git] / common / clitkDicomRT_ROI.cxx
index 75fc8e97fdbc517bdc61da7dc5b60bd672d9ffe9..98f9f59d1519bd0c8e5a99ca8ae631c3b8d0a1fa 100644 (file)
@@ -242,7 +242,7 @@ void clitk::DicomRT_ROI::Read(std::map<int, std::string> & rois, gdcm::SQItem *
 
 
 //--------------------------------------------------------------------
-void clitk::DicomRT_ROI::SetImage(vvImage * image)
+void clitk::DicomRT_ROI::SetImage(vvImage::Pointer image)
 {
   mImage = image;
 }
@@ -338,7 +338,7 @@ void clitk::DicomRT_ROI::UpdateDicomItem()
 #endif
 
 //--------------------------------------------------------------------
-void clitk::DicomRT_ROI::SetFromBinaryImage(vvImage * image, int n,
+void clitk::DicomRT_ROI::SetFromBinaryImage(vvImage::Pointer image, int n,
                                             std::string name,
                                             std::vector<double> color, 
                                             std::string filename)