Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# IO/vtkMedicalImageReader2.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkMedicalImageReader2.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 =========================================================================*/
    00041 #ifndef __vtkMedicalImageReader2_h
    00042 #define __vtkMedicalImageReader2_h
    00043
    00044 #include "vtkImageReader2.h"
    00045
    00046
    00047 class VTK_IO_EXPORT vtkMedicalImageReader2 : public vtkImageReader2
    00048 {
    00049 public:
    00050   static vtkMedicalImageReader2 *New();
    00051   vtkTypeRevisionMacro(vtkMedicalImageReader2,vtkImageReader2);
    00052   void PrintSelf(ostream& os, vtkIndent indent);
    00053
    00055
    00056   vtkSetStringMacro(PatientName);
    00057   vtkGetStringMacro(PatientName);
    00058   vtkSetStringMacro(PatientID);
    00059   vtkGetStringMacro(PatientID);
    00060   vtkSetStringMacro(Date);
    00061   vtkGetStringMacro(Date);
    00062   vtkSetStringMacro(Series);
    00063   vtkGetStringMacro(Series);
    00064   vtkSetStringMacro(Study);
    00065   vtkGetStringMacro(Study);
    00066   vtkSetStringMacro(ImageNumber);
    00067   vtkGetStringMacro(ImageNumber);
    00069
    00070 protected:
    00071   vtkMedicalImageReader2();
    00072   ~vtkMedicalImageReader2();
    00073
    00074   // store header info
    00075   char *PatientName;
    00076   char *PatientID;
    00077   char *Date;
    00078   char *ImageNumber;
    00079   char *Study;
    00080   char *Series;
    00081
    00082 private:
    00083   vtkMedicalImageReader2(const vtkMedicalImageReader2&); // Not implemented.
    00084   void operator=(const vtkMedicalImageReader2&); // Not implemented.
    00085 };
    00086
    00087 #endif