X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FvvImageReader.h;h=6f3dbc3d0f3e4573f3fe6886f862c4e278dcf78a;hb=85d87a4260fedf7ce53875ebd8654787a2dd941c;hp=06cf8c4bbc99c191c88e5d81b9ae18e921f69eea;hpb=765020625fbc092d283e221e36c83e60a1844cb7;p=clitk.git diff --git a/common/vvImageReader.h b/common/vvImageReader.h index 06cf8c4..6f3dbc3 100644 --- a/common/vvImageReader.h +++ b/common/vvImageReader.h @@ -35,6 +35,9 @@ public: IMAGEWITHTIME, MERGEDWITHTIME, VECTORFIELD, + VECTORFIELDWITHTIME, + VECTORPIXELIMAGE, + VECTORPIXELIMAGEWITHTIME, UNDEFINEDIMAGETYPE } LoadedImageType; @@ -42,6 +45,8 @@ public: typedef itk::SmartPointer Pointer; itkNewMacro(Self); + const std::vector& GetInputFilenames(){return mInputFilenames;} + void SetInputFilename(const std::string & filename); void SetInputFilenames(const std::vector & filenames); @@ -54,6 +59,7 @@ public: } void SetSlice(unsigned int i) { mSlice = i; } + void SetPatientCoordinateSystem(bool patientCoordinateSystem); //==================================================================== // Main function @@ -82,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();