]> Creatis software - clitk.git/blobdiff - common/clitkDicomRT_ROI.h
GDCM 1.x compatibility
[clitk.git] / common / clitkDicomRT_ROI.h
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