VTK  9.1.0
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
34class VTKIOIMAGE_EXPORT vtkMedicalImageReader2 : public vtkImageReader2
35{
36public:
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
69protected:
72
77
78private:
80 void operator=(const vtkMedicalImageReader2&) = delete;
81};
82
83#endif
Superclass of binary file readers.
a simple class to control print indentation
Definition: vtkIndent.h:113
some medical image properties.
vtkImageReader2 with medical meta data.
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
virtual const char * GetPatientName()
For backward compatibility, propagate calls to the MedicalImageProperties object.
virtual void SetStudy(const char *)
For backward compatibility, propagate calls to the MedicalImageProperties object.
static vtkMedicalImageReader2 * New()
virtual const char * GetImageNumber()
For backward compatibility, propagate calls to the MedicalImageProperties object.
virtual const char * GetPatientID()
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 const char * GetModality()
For backward compatibility, propagate calls to the MedicalImageProperties object.
virtual void SetImageNumber(const char *)
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 * GetSeries()
For backward compatibility, propagate calls to the MedicalImageProperties object.
virtual const char * GetDate()
For backward compatibility, propagate calls to the MedicalImageProperties object.