]> Creatis software - clitk.git/blobdiff - vv/vvImageReader.h
Attempt to remove some leaks. DicomRT_Contour, DicomRT_ROI and DicomRT_StructureSet...
[clitk.git] / vv / vvImageReader.h
index 99d302ae385a35f3150dd13877c95350fba656dc..b50d66b3be748c51208c537cfc4d001d4957402e 100644 (file)
@@ -42,12 +42,13 @@ public:
         return mLastError;
     }
 
+    void SetSlice(unsigned int i) { mSlice = i; }
+
     //====================================================================
     // Main function
     void Update();
     void Update(LoadedImageType type);
     void Update(int dim, std::string InputPixelType, LoadedImageType type);
-    //void Extract(int dim, std::string InputPixelType, int slice);
 
 protected:
     void run();
@@ -55,6 +56,7 @@ protected:
     std::vector<std::string> mInputFilenames;
     ///Method used to load the image, see vvConstants.h for definition
     LoadedImageType mType;
+    unsigned int mSlice;
     itk::Command::Pointer mObserver;
 
     std::string mLastError;