]> Creatis software - clitk.git/blobdiff - common/vvImageReader.h
Moved vvImageReader and vvImageWriter to clitkCommon for use in tools. Removed vvCons...
[clitk.git] / common / vvImageReader.h
similarity index 92%
rename from vv/vvImageReader.h
rename to common/vvImageReader.h
index cbe7d1607e62b63c1bca49cdaeb93fd8cf8ed909..2056880c0e567015c4dec4fa405d551c461568da 100644 (file)
 #define vvImageReader_H
 #include <string>
 #include <vector>
-#include <QThread>
 
 #include "itkCommand.h"
 #include "vvImage.h"
-#include "vvConstants.h"
 
-class vvImageReader : public itk::LightObject, public QThread {
+class vvImageReader : public itk::LightObject {
 
 public:
+  //Image types
+  typedef enum _IMAGETYPE {
+  IMAGE = 20,
+  DICOM,
+  MERGED,
+  SLICED,
+  IMAGEWITHTIME,
+  MERGEDWITHTIME,
+  VECTORFIELD,
+  UNDEFINEDIMAGETYPE
+  } LoadedImageType;
+
   typedef vvImageReader Self;
   typedef itk::SmartPointer<Self> Pointer;
   itkNewMacro(Self);
@@ -52,7 +62,6 @@ public:
   void Update(int dim, std::string InputPixelType, LoadedImageType type);
 
 protected:
-  void run();
   //====================================================================
   std::vector<std::string> mInputFilenames;
   ///Method used to load the image, see vvConstants.h for definition