X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageContour.h;h=d7cf62cc4db8eb6578996168f16bee03502b7cc6;hb=000ac5b867a708575268c7c823db4fcbe727c2d6;hp=ad1143dd963399ca01319dbc382e78da529fe1e2;hpb=163fa80ef3873595f3e3cf75fb03e53536d1a6ee;p=clitk.git diff --git a/vv/vvImageContour.h b/vv/vvImageContour.h index ad1143d..d7cf62c 100644 --- a/vv/vvImageContour.h +++ b/vv/vvImageContour.h @@ -40,13 +40,15 @@ class vvImageContour void showActors(); void setColor(double r, double g, double b); void setImage(vvImage::Pointer image); - void setPreserveModeEnabled(bool b); + void setPreserveMemoryModeEnabled(bool b); protected: vvSlicer * mSlicer; int mSlice; int mTSlice; double mValue; + int mPreviousTSlice; + double mPreviousValue; bool mHiddenImageIsUsed; vvImage::Pointer mHiddenImage; bool mDisplayModeIsPreserveMemory; @@ -67,11 +69,11 @@ class vvImageContour void updateWithFastCacheMode(); void createNewActor(vtkActor ** actor, vtkMarchingSquares ** squares, - vtkImageClip ** clipper); + vtkImageClip ** clipper, int numImage); void updateActor(vtkActor * actor, vtkMarchingSquares * squares, vtkImageClip * clipper, - int threshold, int orientation, int slice); + double threshold, int orientation, int slice); void createActor(int orientation, int slice); int computeCurrentOrientation();