]> Creatis software - clitk.git/blobdiff - common/vvImageReader.h
Into ImageArithm GUI in vv, add other operations
[clitk.git] / common / vvImageReader.h
index 2f1de53537794d937e16c4770ff8828eeddeddd5..6f3dbc3d0f3e4573f3fe6886f862c4e278dcf78a 100644 (file)
@@ -36,6 +36,8 @@ public:
   MERGEDWITHTIME,
   VECTORFIELD,
   VECTORFIELDWITHTIME,
+  VECTORPIXELIMAGE,
+  VECTORPIXELIMAGEWITHTIME,
   UNDEFINEDIMAGETYPE
   } LoadedImageType;
 
@@ -57,6 +59,7 @@ public:
   }
 
   void SetSlice(unsigned int i) { mSlice = i; }
+  void SetPatientCoordinateSystem(bool patientCoordinateSystem);
 
   //====================================================================
   // Main function
@@ -85,12 +88,15 @@ protected:
   //====================================================================
   template<class InputPixelType, unsigned int VImageDimension>
   void UpdateWithDimAndInputPixelType();
+  template<class InputPixelType, unsigned int VImageDimension>
+  void UpdateWithDimAndInputVectorPixelType();
   ///Input dimension and pixel type
   int mDim;
+  bool mPatientCoordinateSystem;
   std::string mInputPixelType;
 
   //====================================================================
-  void ReadNkiImageTransform();
+//  void ReadNkiImageTransform();
   void ReadMatImageTransform();
 private:
   vvImageReader();