X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageContour.h;h=12bb2dcca7c065a77577377fad238bdafc97159e;hb=1e4c81a5ad6b3cf7e769835b40619090f558a62f;hp=ad1143dd963399ca01319dbc382e78da529fe1e2;hpb=163fa80ef3873595f3e3cf75fb03e53536d1a6ee;p=clitk.git diff --git a/vv/vvImageContour.h b/vv/vvImageContour.h index ad1143d..12bb2dc 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,7 +69,7 @@ class vvImageContour void updateWithFastCacheMode(); void createNewActor(vtkActor ** actor, vtkMarchingSquares ** squares, - vtkImageClip ** clipper); + vtkImageClip ** clipper, int numImage); void updateActor(vtkActor * actor, vtkMarchingSquares * squares, vtkImageClip * clipper,