X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageContour.h;h=aa786bfa575a74cea1498dff8a0e806c77fddef8;hb=HEAD;hp=2c92abb07551028e6d0794dd99379ee2ceb6ec6f;hpb=9bbc85952f563dc766b73a864a5ccc0da5a6a654;p=clitk.git diff --git a/vv/vvImageContour.h b/vv/vvImageContour.h index 2c92abb..aa786bf 100644 --- a/vv/vvImageContour.h +++ b/vv/vvImageContour.h @@ -41,9 +41,10 @@ public: void ShowActors(); void SetColor(double r, double g, double b); void SetLineWidth(double w); - void SetImage(vvImage * image); + void SetImage(vvImage::Pointer image); void SetPreserveMemoryModeEnabled(bool b); - void SetDepth(double d) { mDepth = d; } + void SetDepth(double d); + void RemoveActors(); protected: vvSlicer * mSlicer; @@ -53,7 +54,7 @@ protected: int mPreviousTSlice; double mPreviousValue; bool mHiddenImageIsUsed; - vvImage * mHiddenImage; + vvImage::Pointer mHiddenImage; bool mDisplayModeIsPreserveMemory; double mDepth;