X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageContour.h;h=66473d37320063b456d9481c379f32e9f77d0476;hb=2462405ada0fb899d56bf6d4fc9f2e0c15935cb9;hp=d93a3f343b29ffbe1e0339903b935fc30984a1fd;hpb=0d2c2b622e94b353cef04e5bd39d9f8de7b0d6a7;p=clitk.git diff --git a/vv/vvImageContour.h b/vv/vvImageContour.h index d93a3f3..66473d3 100644 --- a/vv/vvImageContour.h +++ b/vv/vvImageContour.h @@ -40,7 +40,7 @@ class vvImageContour void ShowActors(); void SetColor(double r, double g, double b); void SetLineWidth(double w); - void SetImage(vvImage::Pointer image); + void SetImage(vvImage * image); void SetPreserveMemoryModeEnabled(bool b); protected: @@ -51,13 +51,13 @@ class vvImageContour int mPreviousTSlice; double mPreviousValue; bool mHiddenImageIsUsed; - vvImage::Pointer mHiddenImage; + vvImage * mHiddenImage; bool mDisplayModeIsPreserveMemory; // For preserveMemory mode - std::vector mClipperList; - std::vector mSquaresList; - std::vector mSquaresActorList; + std::vector > mClipperList; + std::vector > mSquaresList; + std::vector > mSquaresActorList; // For fast cache mode int mPreviousSlice; @@ -70,7 +70,8 @@ class vvImageContour void UpdateWithFastCacheMode(); void CreateNewActor(vtkActor ** actor, vtkMarchingSquares ** squares, - vtkImageClip ** clipper, int numImage); + vtkImageClip ** clipper, + int numImage); void UpdateActor(vtkActor * actor, vtkMarchingSquares * squares, vtkImageClip * clipper,