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 =========================================================================*/ 00034 #ifndef __vtkGESignaReader_h 00035 #define __vtkGESignaReader_h 00036 00037 #include "vtkMedicalImageReader2.h" 00038 00039 class VTK_IO_EXPORT vtkGESignaReader : public vtkMedicalImageReader2 00040 { 00041 public: 00042 static vtkGESignaReader *New(); 00043 vtkTypeRevisionMacro(vtkGESignaReader,vtkMedicalImageReader2); 00044 virtual void PrintSelf(ostream& os, vtkIndent indent); 00045 00047 virtual int CanReadFile(const char* fname); 00048 00050 00051 virtual const char* GetFileExtensions() 00052 { 00053 return ".MR .CT"; 00054 } 00056 00058 00059 virtual const char* GetDescriptiveName() 00060 { 00061 return "GESigna"; 00062 } 00064 00065 protected: 00066 vtkGESignaReader() {}; 00067 ~vtkGESignaReader() {}; 00068 00069 virtual void ExecuteInformation(); 00070 virtual void ExecuteData(vtkDataObject *out); 00071 00072 private: 00073 vtkGESignaReader(const vtkGESignaReader&); // Not implemented. 00074 void operator=(const vtkGESignaReader&); // Not implemented. 00075 }; 00076 #endif 00077 00078