VTK  9.2.20230603
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 
32 VTK_ABI_NAMESPACE_BEGIN
34 
35 class VTKIOIMAGE_EXPORT vtkMedicalImageReader2 : public vtkImageReader2
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
43 
46  vtkGetObjectMacro(MedicalImageProperties, vtkMedicalImageProperties);
48 
50 
54  virtual void SetPatientName(const char*);
55  virtual const char* GetPatientName();
56  virtual void SetPatientID(const char*);
57  virtual const char* GetPatientID();
58  virtual void SetDate(const char*);
59  virtual const char* GetDate();
60  virtual void SetSeries(const char*);
61  virtual const char* GetSeries();
62  virtual void SetStudy(const char*);
63  virtual const char* GetStudy();
64  virtual void SetImageNumber(const char*);
65  virtual const char* GetImageNumber();
66  virtual void SetModality(const char*);
67  virtual const char* GetModality();
69 
70 protected:
73 
78 
79 private:
81  void operator=(const vtkMedicalImageReader2&) = delete;
82 };
83 
84 VTK_ABI_NAMESPACE_END
85 #endif
Superclass of binary file readers.
a simple class to control print indentation
Definition: vtkIndent.h:120
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.