//--------------------------------------------------------------------
-void clitk::DicomRT_ROI::SetImage(vvImage * image)
+void clitk::DicomRT_ROI::SetImage(vvImage::Pointer image)
{
mImage = image;
}
#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)
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);
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