]> Creatis software - clitk.git/blobdiff - vv/vvSlicer.h
correctly reading contour colours for GDCM 2.x
[clitk.git] / vv / vvSlicer.h
index 71f7ece7e4ecbe22e75fab3406a143d11d8ad5b6..9a750e14d69a6db41596d143e4d3ff30c33b9fae 100644 (file)
@@ -101,11 +101,10 @@ public:
   int GetTSlice();
   int GetFusionTSlice();
   int GetOverlayTSlice();
+  int GetMaxCurrentTSlice();
   ///Reimplemented from vtkImageViewer2 to add polydata support
   void SetSlice(int s);
-  int GetTMax() {
-    return (unsigned int)mImage->GetVTKImages().size() - 1;
-  }
+  int GetTMax();
 
   void SetOpacity(double s);
   void SetRenderWindow(int orientation, vtkRenderWindow * rw);