Computer Assisted Medical Intervention Tool Kit  version 5.2
DicomSeries.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * $CAMITK_LICENCE_BEGIN$
3  *
4  * CamiTK - Computer Assisted Medical Intervention ToolKit
5  * (c) 2001-2024 Univ. Grenoble Alpes, CNRS, Grenoble INP - UGA, TIMC, 38000 Grenoble, France
6  *
7  * Visit http://camitk.imag.fr for more information
8  *
9  * This file is part of CamiTK.
10  *
11  * CamiTK is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * CamiTK is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Lesser General Public License version 3 for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public License
21  * version 3 along with CamiTK. If not, see <http://www.gnu.org/licenses/>.
22  *
23  * $CAMITK_LICENCE_END$
24  ****************************************************************************/
25 
26 #ifndef DICOM_SERIES_H
27 #define DICOM_SERIES_H
28 
29 // Qt includes
30 #include <QString>
31 #include <QDate>
32 
45 class DicomSeries {
46 
47 public:
48 
49  DicomSeries();
50 
52  virtual ~DicomSeries() = default;
53 
56  QDate getAcquisitionDate() const;
57  QTime getAcquisitionTime() const;
58  QString getStudyName() const;
59  QString getSeriesName() const;
60  QString getSeriesDescription() const;
61  QString getPatientName() const;
63  std::vector<std::string> getStdFileNames() const;
65 
68  void setAcquisitionDate(QDate date);
69  void setAcquisitionTime(QTime time);
70  void setStudyName(QString name);
71  void setSeriesName(QString name);
72  void setSeriesDescription(QString name);
73  void setPatientName(QString name);
74  void setFileNames(QList<QString> inputFileNames);
75  void setStdFileNames(std::vector<std::string> inputFileNames);
77 
78 
79 private:
80 
82  QDate acquisitionDate;
83 
85  QTime acquisitionTime;
86 
88  QString studyName;
89 
91  QString seriesName;
92 
94  QString seriesDescription;
95 
97  QString patientName;
98 
100  QList<QString> fileNames;
101 
103  std::vector<std::string> stdFileNames;
104 };
105 
106 #endif // DICOM_SERIES_H
107 
DicomSeries is a CamiTK high level class to represent a DICOM SERIES This class encapsulates GDCM obj...
Definition: DicomSeries.h:45
virtual ~DicomSeries()=default
Default Destructor.
void setAcquisitionDate(QDate date)
Definition: DicomSeries.cpp:64
void setAcquisitionTime(QTime time)
Definition: DicomSeries.cpp:67
std::vector< std::string > getStdFileNames() const
Definition: DicomSeries.cpp:59
QList< QString > getFileNames() const
Definition: DicomSeries.cpp:56
void setSeriesName(QString name)
Definition: DicomSeries.cpp:73
QString getPatientName() const
Definition: DicomSeries.cpp:53
void setStdFileNames(std::vector< std::string > inputFileNames)
Definition: DicomSeries.cpp:85
QTime getAcquisitionTime() const
Definition: DicomSeries.cpp:41
void setFileNames(QList< QString > inputFileNames)
Definition: DicomSeries.cpp:82
void setPatientName(QString name)
Definition: DicomSeries.cpp:79
QString getSeriesName() const
Definition: DicomSeries.cpp:47
QString getStudyName() const
Definition: DicomSeries.cpp:44
void setStudyName(QString name)
Definition: DicomSeries.cpp:70
QDate getAcquisitionDate() const
Definition: DicomSeries.cpp:38
void setSeriesDescription(QString name)
Definition: DicomSeries.cpp:76
QString getSeriesDescription() const
Definition: DicomSeries.cpp:50
DicomSeries()
Definition: DicomSeries.cpp:29