]> Creatis software - clitk.git/blobdiff - vv/vvMaximumIntensityProjection.h
itkv4 compatibility
[clitk.git] / vv / vvMaximumIntensityProjection.h
index 48051cb552f874d65bf6ea818159538b55b357eb..9d1516483978a52fbdb27fc715557545f6a013cb 100644 (file)
@@ -23,15 +23,18 @@ 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;};
+    bool error;
 
 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