From cd7a078ee74d0b519cb8263f2ef58ab20f01725a Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Fri, 30 Mar 2012 15:15:50 +0200 Subject: [PATCH] Replace * by Pointer --- common/clitkDicomRT_ROI.cxx | 4 ++-- common/clitkDicomRT_ROI.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.47.1