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