00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkMedicalImageReader2.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 =========================================================================*/ 00025 #ifndef __vtkMedicalImageReader2_h 00026 #define __vtkMedicalImageReader2_h 00027 00028 #include "vtkImageReader2.h" 00029 00030 class vtkMedicalImageProperties; 00031 00032 class VTK_IO_EXPORT vtkMedicalImageReader2 : public vtkImageReader2 00033 { 00034 public: 00035 static vtkMedicalImageReader2 *New(); 00036 vtkTypeMacro(vtkMedicalImageReader2,vtkImageReader2); 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00040 00041 vtkGetObjectMacro(MedicalImageProperties, vtkMedicalImageProperties); 00043 00045 00047 virtual void SetPatientName(const char*); 00048 virtual const char* GetPatientName(); 00049 virtual void SetPatientID(const char*); 00050 virtual const char* GetPatientID(); 00051 virtual void SetDate(const char*); 00052 virtual const char* GetDate(); 00053 virtual void SetSeries(const char*); 00054 virtual const char* GetSeries(); 00055 virtual void SetStudy(const char*); 00056 virtual const char* GetStudy(); 00057 virtual void SetImageNumber(const char*); 00058 virtual const char* GetImageNumber(); 00059 virtual void SetModality(const char*); 00060 virtual const char* GetModality(); 00062 00063 protected: 00064 vtkMedicalImageReader2(); 00065 ~vtkMedicalImageReader2(); 00066 00068 vtkMedicalImageProperties *MedicalImageProperties; 00069 00070 private: 00071 vtkMedicalImageReader2(const vtkMedicalImageReader2&); // Not implemented. 00072 void operator=(const vtkMedicalImageReader2&); // Not implemented. 00073 }; 00074 00075 #endif