X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FvvImageReader.h;h=6f3dbc3d0f3e4573f3fe6886f862c4e278dcf78a;hb=73f0ab806cbb168db4d09908a714f8b7a662ee21;hp=a646a01384cbfb9c675d71e89502bcea1e9516c1;hpb=aca83815bbe3946ec5656569751f22c1c9c6620d;p=clitk.git diff --git a/common/vvImageReader.h b/common/vvImageReader.h index a646a01..6f3dbc3 100644 --- a/common/vvImageReader.h +++ b/common/vvImageReader.h @@ -35,6 +35,9 @@ public: IMAGEWITHTIME, MERGEDWITHTIME, VECTORFIELD, + VECTORFIELDWITHTIME, + VECTORPIXELIMAGE, + VECTORPIXELIMAGEWITHTIME, UNDEFINEDIMAGETYPE } LoadedImageType; @@ -56,6 +59,7 @@ public: } void SetSlice(unsigned int i) { mSlice = i; } + void SetPatientCoordinateSystem(bool patientCoordinateSystem); //==================================================================== // Main function @@ -84,12 +88,15 @@ protected: //==================================================================== template void UpdateWithDimAndInputPixelType(); + template + void UpdateWithDimAndInputVectorPixelType(); ///Input dimension and pixel type int mDim; + bool mPatientCoordinateSystem; std::string mInputPixelType; //==================================================================== - void ReadNkiImageTransform(); +// void ReadNkiImageTransform(); void ReadMatImageTransform(); private: vvImageReader();