00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkGESignaReader.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00049 #ifndef __vtkGESignaReader_h 00050 #define __vtkGESignaReader_h 00051 00052 #include "vtkMedicalImageReader2.h" 00053 00054 class VTK_IO_EXPORT vtkGESignaReader : public vtkMedicalImageReader2 00055 { 00056 public: 00057 static vtkGESignaReader *New(); 00058 vtkTypeRevisionMacro(vtkGESignaReader,vtkMedicalImageReader2); 00059 virtual void PrintSelf(ostream& os, vtkIndent indent); 00060 00061 virtual int CanReadFile(const char* fname); 00062 00064 00065 virtual const char* GetFileExensions() 00066 { 00067 return ".MR .CT"; 00068 } 00070 00072 00073 virtual const char* GetDescriptiveName() 00074 { 00075 return "GESigna"; 00076 } 00078 00079 protected: 00080 vtkGESignaReader() {}; 00081 ~vtkGESignaReader() {}; 00082 00083 virtual void ExecuteInformation(); 00084 virtual void ExecuteData(vtkDataObject *out); 00085 00086 private: 00087 vtkGESignaReader(const vtkGESignaReader&); // Not implemented. 00088 void operator=(const vtkGESignaReader&); // Not implemented. 00089 }; 00090 #endif 00091 00092