From: David Sarrut Date: Fri, 30 Mar 2012 13:15:50 +0000 (+0200) Subject: Replace * by Pointer X-Git-Tag: v1.3.0~52^2~17 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=cd7a078ee74d0b519cb8263f2ef58ab20f01725a;p=clitk.git Replace * by Pointer --- diff --git a/common/clitkDicomRT_ROI.cxx b/common/clitkDicomRT_ROI.cxx index 75fc8e9..98f9f59 100644 --- a/common/clitkDicomRT_ROI.cxx +++ b/common/clitkDicomRT_ROI.cxx @@ -242,7 +242,7 @@ void clitk::DicomRT_ROI::Read(std::map & 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 color, std::string filename) diff --git a/common/clitkDicomRT_ROI.h b/common/clitkDicomRT_ROI.h index f0be23d..7be25a7 100644 --- a/common/clitkDicomRT_ROI.h +++ b/common/clitkDicomRT_ROI.h @@ -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 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