]> Creatis software - clitk.git/blobdiff - vv/vvMaximumIntensityProjection.h
better manage resizing roi tool
[clitk.git] / vv / vvMaximumIntensityProjection.h
index 6da17f0f52658b5bc04510fa83f57bfef31367e0..8f3770123d18816d8d180485d43efc3a9347d3d7 100644 (file)
@@ -23,7 +23,7 @@ class vvSlicerManager;
 class vvMaximumIntensityProjection
 {
 public:
-    vvMaximumIntensityProjection() {};
+    vvMaximumIntensityProjection(): mDimension(0) {};
     ///Computes the MIP image on the given vvImage
     void Compute(vvSlicerManager*);
     vvImage::Pointer GetOutput() {return mOutputImage;};
@@ -33,6 +33,9 @@ protected:
     template<class PixelType,int Dim> void Update_WithDimAndPixelType(vvImage::Pointer);
     template<class PixelType> void Update_WithPixelType(vvImage::Pointer);
     vvImage::Pointer mOutputImage;
+    //Dimension along which to compute the MIP
+    unsigned int mDimension;
+  vvSlicerManager * mCurrentSlicerManager;
 };
 
 #endif