]> Creatis software - clitk.git/blobdiff - vv/vvBinaryImageOverlayActor.h
Change the notation style in the fusion legend bar
[clitk.git] / vv / vvBinaryImageOverlayActor.h
index 4437ec1109c0cce6d40729979df87560378ea5fe..9559bc78a0bd1e8952cfcd38df74198cc4440031 100644 (file)
@@ -40,7 +40,7 @@ class vvBinaryImageOverlayActor : public itk::LightObject
   void SetSlicer(vvSlicer * slicer);
   void SetColor(double r, double g, double b);
   void SetOpacity(double d);
-  void SetImage(vvImage * image, double bg, bool modeBG=true);
+  void SetImage(vvImage::Pointer image, double bg, bool modeBG=true);
   void SetDepth(double d) { mDepth = d; }
   void Initialize(bool IsVisible=true);
   void UpdateColor();
@@ -55,7 +55,7 @@ class vvBinaryImageOverlayActor : public itk::LightObject
   int mTSlice;
   int mPreviousTSlice;
   int mPreviousSlice;
-  vvImage * mImage;
+  vvImage::Pointer mImage;
   std::vector<double> mColor;
   double mAlpha;
   double mBackgroundValue;