]> Creatis software - clitk.git/commitdiff
Replace * by Pointer
authorDavid Sarrut <david.sarrut@gmail.com>
Fri, 30 Mar 2012 13:15:50 +0000 (15:15 +0200)
committerDavid Sarrut <david.sarrut@gmail.com>
Fri, 30 Mar 2012 13:15:50 +0000 (15:15 +0200)
common/clitkDicomRT_ROI.cxx
common/clitkDicomRT_ROI.h

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)
index f0be23d74e47777647dc6714cf512415ec2193a9..7be25a76a00bd74c62ef29062661bcce5ed5c254 100644 (file)
@@ -35,7 +35,7 @@ public:
   itkNewMacro(Self);
 
   void Print(std::ostream & os = std::cout) const;
-  void SetFromBinaryImage(vvImage * image, int n, 
+  void SetFromBinaryImage(vvImage::Pointer image, int n, 
         std::string name, 
         std::vector<double> color, 
         std::string filename);
@@ -56,7 +56,7 @@ public:
   double GetForegroundValueLabelImage() const;
   void SetForegroundValueLabelImage(double bg);
   
-  void SetImage(vvImage * im);
+  void SetImage(vvImage::Pointer im);
   DicomRT_Contour* GetContour(int n);
 
   // Compute a vtk mesh from the dicom contours