VTK  9.3.20240327
vtkMedicalImageReader2.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
14 #ifndef vtkMedicalImageReader2_h
15 #define vtkMedicalImageReader2_h
16 
17 #include "vtkIOImageModule.h" // For export macro
18 #include "vtkImageReader2.h"
19 
20 VTK_ABI_NAMESPACE_BEGIN
22 
23 class VTKIOIMAGE_EXPORT vtkMedicalImageReader2 : public vtkImageReader2
24 {
25 public:
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
31 
34  vtkGetObjectMacro(MedicalImageProperties, vtkMedicalImageProperties);
36 
38 
42  virtual void SetPatientName(const char*);
43  virtual const char* GetPatientName();
44  virtual void SetPatientID(const char*);
45  virtual const char* GetPatientID();
46  virtual void SetDate(const char*);
47  virtual const char* GetDate();
48  virtual void SetSeries(const char*);
49  virtual const char* GetSeries();
50  virtual void SetStudy(const char*);
51  virtual const char* GetStudy();
52  virtual void SetImageNumber(const char*);
53  virtual const char* GetImageNumber();
54  virtual void SetModality(const char*);
55  virtual const char* GetModality();
57 
58 protected:
61 
66 
67 private:
69  void operator=(const vtkMedicalImageReader2&) = delete;
70 };
71 
72 VTK_ABI_NAMESPACE_END
73 #endif
Superclass of binary file readers.
a simple class to control print indentation
Definition: vtkIndent.h:108
some medical image properties.
vtkImageReader2 with medical meta data.
virtual const char * GetDate()
For backward compatibility, propagate calls to the MedicalImageProperties object.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetModality(const char *)
For backward compatibility, propagate calls to the MedicalImageProperties object.
virtual void SetPatientID(const char *)
For backward compatibility, propagate calls to the MedicalImageProperties object.
virtual void SetPatientName(const char *)
For backward compatibility, propagate calls to the MedicalImageProperties object.
~vtkMedicalImageReader2() override
static vtkMedicalImageReader2 * New()
virtual void SetStudy(const char *)
For backward compatibility, propagate calls to the MedicalImageProperties object.
virtual const char * GetPatientID()
For backward compatibility, propagate calls to the MedicalImageProperties object.
virtual const char * GetStudy()
For backward compatibility, propagate calls to the MedicalImageProperties object.
virtual const char * GetPatientName()
For backward compatibility, propagate calls to the MedicalImageProperties object.
virtual const char * GetModality()
For backward compatibility, propagate calls to the MedicalImageProperties object.
virtual const char * GetImageNumber()
For backward compatibility, propagate calls to the MedicalImageProperties object.
virtual const char * GetSeries()
For backward compatibility, propagate calls to the MedicalImageProperties object.
virtual void SetSeries(const char *)
For backward compatibility, propagate calls to the MedicalImageProperties object.
vtkMedicalImageProperties * MedicalImageProperties
Medical Image properties.
virtual void SetDate(const char *)
For backward compatibility, propagate calls to the MedicalImageProperties object.
virtual void SetImageNumber(const char *)
For backward compatibility, propagate calls to the MedicalImageProperties object.