VTK
vtkMedicalImageReader2.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMedicalImageReader2.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
26 #ifndef vtkMedicalImageReader2_h
27 #define vtkMedicalImageReader2_h
28 
29 #include "vtkIOImageModule.h" // For export macro
30 #include "vtkImageReader2.h"
31 
33 
34 class VTKIOIMAGE_EXPORT vtkMedicalImageReader2 : public vtkImageReader2
35 {
36 public:
37  static vtkMedicalImageReader2 *New();
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
45  vtkGetObjectMacro(MedicalImageProperties, vtkMedicalImageProperties);
47 
49 
53  virtual void SetPatientName(const char*);
54  virtual const char* GetPatientName();
55  virtual void SetPatientID(const char*);
56  virtual const char* GetPatientID();
57  virtual void SetDate(const char*);
58  virtual const char* GetDate();
59  virtual void SetSeries(const char*);
60  virtual const char* GetSeries();
61  virtual void SetStudy(const char*);
62  virtual const char* GetStudy();
63  virtual void SetImageNumber(const char*);
64  virtual const char* GetImageNumber();
65  virtual void SetModality(const char*);
66  virtual const char* GetModality();
68 
69 protected:
71  ~vtkMedicalImageReader2() override;
72 
77 
78 private:
80  void operator=(const vtkMedicalImageReader2&) = delete;
81 };
82 
83 #endif
static vtkImageReader2 * New()
vtkMedicalImageProperties * MedicalImageProperties
Medical Image properties.
a simple class to control print indentation
Definition: vtkIndent.h:39
Superclass of binary file readers.
vtkImageReader2 with medical meta data.
some medical image properties.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.