X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageReader.h;h=b50d66b3be748c51208c537cfc4d001d4957402e;hb=de0c500755f798a2ff44bbda3269b9c6c5e065e8;hp=702af66dc18777bfb04eb15d890410bfa7b8b056;hpb=0b7c9b1e1215634b02cbd38d4e4ba101d6111ba8;p=clitk.git diff --git a/vv/vvImageReader.h b/vv/vvImageReader.h index 702af66..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; @@ -74,6 +76,9 @@ protected: int mDim; std::string mInputPixelType; + //==================================================================== + void ReadNkiImageTransform(); + void ReadMatImageTransform(); private: vvImage::Pointer mImage;