X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageReader.h;h=b50d66b3be748c51208c537cfc4d001d4957402e;hb=1520bb5daceae6c3a6ec221c60a462a02d5c08ab;hp=99d302ae385a35f3150dd13877c95350fba656dc;hpb=b29f225c9396ca737ce59bdf0d9ef50a6c1e9bc5;p=clitk.git diff --git a/vv/vvImageReader.h b/vv/vvImageReader.h index 99d302a..b50d66b 100644 --- a/vv/vvImageReader.h +++ b/vv/vvImageReader.h @@ -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 mInputFilenames; ///Method used to load the image, see vvConstants.h for definition LoadedImageType mType; + unsigned int mSlice; itk::Command::Pointer mObserver; std::string mLastError;