VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkGESignaReader.h 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 "vtkIOImageModule.h" // For export macro 00038 #include "vtkMedicalImageReader2.h" 00039 00040 class VTKIOIMAGE_EXPORT vtkGESignaReader : public vtkMedicalImageReader2 00041 { 00042 public: 00043 static vtkGESignaReader *New(); 00044 vtkTypeMacro(vtkGESignaReader,vtkMedicalImageReader2); 00045 virtual void PrintSelf(ostream& os, vtkIndent indent); 00046 00048 virtual int CanReadFile(const char* fname); 00049 00051 00052 virtual const char* GetFileExtensions() 00053 { 00054 return ".MR .CT"; 00055 } 00057 00059 00060 virtual const char* GetDescriptiveName() 00061 { 00062 return "GESigna"; 00063 } 00065 00066 protected: 00067 vtkGESignaReader() {} 00068 ~vtkGESignaReader() {} 00069 00070 virtual void ExecuteInformation(); 00071 virtual void ExecuteDataWithInformation(vtkDataObject *out, vtkInformation* outInfo); 00072 00073 private: 00074 vtkGESignaReader(const vtkGESignaReader&); // Not implemented. 00075 void operator=(const vtkGESignaReader&); // Not implemented. 00076 }; 00077 #endif 00078 00079