X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageReader.h;h=b50d66b3be748c51208c537cfc4d001d4957402e;hb=1520bb5daceae6c3a6ec221c60a462a02d5c08ab;hp=72d7708711e2fda11e14ae6d74bb1ff4ed18b399;hpb=1a9df303827cc1ecccfe7deb5a300100e6c71978;p=clitk.git diff --git a/vv/vvImageReader.h b/vv/vvImageReader.h index 72d7708..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; @@ -76,6 +78,7 @@ protected: //==================================================================== void ReadNkiImageTransform(); + void ReadMatImageTransform(); private: vvImage::Pointer mImage;