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 00046 virtual int CanReadFile(const char* fname); 00047 00049 00050 virtual const char* GetFileExtensions() 00051 { 00052 return ".MR .CT"; 00053 } 00055 00057 00058 virtual const char* GetDescriptiveName() 00059 { 00060 return "GESigna"; 00061 } 00063 00064 protected: 00065 vtkGESignaReader() {}; 00066 ~vtkGESignaReader() {}; 00067 00068 virtual void ExecuteInformation(); 00069 virtual void ExecuteData(vtkDataObject *out); 00070 00071 private: 00072 vtkGESignaReader(const vtkGESignaReader&); // Not implemented. 00073 void operator=(const vtkGESignaReader&); // Not implemented. 00074 }; 00075 #endif 00076 00077