]> Creatis software - clitk.git/blobdiff - vv/vvMaximumIntensityProjection.h
itkv4 compatibility
[clitk.git] / vv / vvMaximumIntensityProjection.h
index 6da17f0f52658b5bc04510fa83f57bfef31367e0..9d1516483978a52fbdb27fc715557545f6a013cb 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,8 @@ 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;
 };
 
 #endif