VTK
|
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 "vtkIOImageModule.h" // For export macro 00029 #include "vtkImageReader2.h" 00030 00031 class vtkMedicalImageProperties; 00032 00033 class VTKIOIMAGE_EXPORT vtkMedicalImageReader2 : public vtkImageReader2 00034 { 00035 public: 00036 static vtkMedicalImageReader2 *New(); 00037 vtkTypeMacro(vtkMedicalImageReader2,vtkImageReader2); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 00041 00042 vtkGetObjectMacro(MedicalImageProperties, vtkMedicalImageProperties); 00044 00046 00048 virtual void SetPatientName(const char*); 00049 virtual const char* GetPatientName(); 00050 virtual void SetPatientID(const char*); 00051 virtual const char* GetPatientID(); 00052 virtual void SetDate(const char*); 00053 virtual const char* GetDate(); 00054 virtual void SetSeries(const char*); 00055 virtual const char* GetSeries(); 00056 virtual void SetStudy(const char*); 00057 virtual const char* GetStudy(); 00058 virtual void SetImageNumber(const char*); 00059 virtual const char* GetImageNumber(); 00060 virtual void SetModality(const char*); 00061 virtual const char* GetModality(); 00063 00064 protected: 00065 vtkMedicalImageReader2(); 00066 ~vtkMedicalImageReader2(); 00067 00069 vtkMedicalImageProperties *MedicalImageProperties; 00070 00071 private: 00072 vtkMedicalImageReader2(const vtkMedicalImageReader2&); // Not implemented. 00073 void operator=(const vtkMedicalImageReader2&); // Not implemented. 00074 }; 00075 00076 #endif