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