Computer Assited Medical Intervention Tool Kit  version 5.0
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-2021 Univ. Grenoble Alpes, CNRS, Grenoble INP, 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 
33 // C++ includes
34 #include <vector>
35 
36 
49 class DicomSeries {
50 
51 public:
52 
53  DicomSeries();
54 
56  virtual ~DicomSeries() = default;
57 
60  QDate getAcquisitionDate() const;
61  QTime getAcquisitionTime() const;
62  QString getStudyName() const;
63  QString getSeriesName() const;
64  QString getSeriesDescription() const;
65  QString getPatientName() const;
66  QList<QString> getFileNames() const;
67  std::vector<std::string> getStdFileNames() const;
69 
72  void setAcquisitionDate(QDate date);
73  void setAcquisitionTime(QTime time);
74  void setStudyName(QString name);
75  void setSeriesName(QString name);
76  void setSeriesDescription(QString name);
77  void setPatientName(QString name);
78  void setFileNames(QList<QString> inputFileNames);
79  void setStdFileNames(std::vector<std::string> inputFileNames);
81 
82 
83 private:
84 
86  QDate acquisitionDate;
87 
89  QTime acquisitionTime;
90 
92  QString studyName;
93 
95  QString seriesName;
96 
98  QString seriesDescription;
99 
101  QString patientName;
102 
104  QList<QString> fileNames;
105 
107  std::vector<std::string> stdFileNames;
108 };
109 
110 #endif // DICOM_SERIES_H
111 
DicomSeries::getPatientName
QString getPatientName() const
Definition: DicomSeries.cpp:53
DicomSeries::studyName
QString studyName
Name of the STUDY this SERIES belongs to.
Definition: DicomSeries.h:115
DicomSeries::fileNames
QList< QString > fileNames
The image file names associated to this SERIES.
Definition: DicomSeries.h:127
DicomSeries::setPatientName
void setPatientName(QString name)
Definition: DicomSeries.cpp:79
DicomSeries::getStudyName
QString getStudyName() const
Definition: DicomSeries.cpp:44
DicomSeries::patientName
QString patientName
Name of the patient.
Definition: DicomSeries.h:124
DicomSeries::stdFileNames
std::vector< std::string > stdFileNames
The image file names associated to this SERIES (std list, for GDCM API)
Definition: DicomSeries.h:130
DicomSeries::DicomSeries
DicomSeries()
Definition: DicomSeries.cpp:29
DicomSeries::setStudyName
void setStudyName(QString name)
Definition: DicomSeries.cpp:70
DicomSeries::~DicomSeries
virtual ~DicomSeries()=default
Default Destructor.
DicomSeries::seriesName
QString seriesName
Name of this SERIES.
Definition: DicomSeries.h:118
DicomSeries::getSeriesName
QString getSeriesName() const
Definition: DicomSeries.cpp:47
DicomSeries::getStdFileNames
std::vector< std::string > getStdFileNames() const
Definition: DicomSeries.cpp:59
DicomSeries::getSeriesDescription
QString getSeriesDescription() const
Definition: DicomSeries.cpp:50
DicomSeries.h
DicomSeries::seriesDescription
QString seriesDescription
Description of this SERIES (sometime more readable than the SERIES name itself).
Definition: DicomSeries.h:121
DicomSeries::getAcquisitionDate
QDate getAcquisitionDate() const
Definition: DicomSeries.cpp:38
DicomSeries::setAcquisitionTime
void setAcquisitionTime(QTime time)
Definition: DicomSeries.cpp:67
DicomSeries::setFileNames
void setFileNames(QList< QString > inputFileNames)
Definition: DicomSeries.cpp:82
DicomSeries::acquisitionTime
QTime acquisitionTime
Acquisition time of the SERIES.
Definition: DicomSeries.h:112
DicomSeries::getFileNames
QList< QString > getFileNames() const
Definition: DicomSeries.cpp:56
DicomSeries::getAcquisitionTime
QTime getAcquisitionTime() const
Definition: DicomSeries.cpp:41
DicomSeries::setStdFileNames
void setStdFileNames(std::vector< std::string > inputFileNames)
Definition: DicomSeries.cpp:85
DicomSeries::setAcquisitionDate
void setAcquisitionDate(QDate date)
Definition: DicomSeries.cpp:64
DicomSeries::setSeriesDescription
void setSeriesDescription(QString name)
Definition: DicomSeries.cpp:76
DicomSeries::acquisitionDate
QDate acquisitionDate
Acquisition date of the SERIES.
Definition: DicomSeries.h:109
DicomSeries
DicomSeries is a CamiTK high level class to represent a DICOM SERIES This class encapsulates GDCM obj...
Definition: DicomSeries.h:49
DicomSeries::setSeriesName
void setSeriesName(QString name)
Definition: DicomSeries.cpp:73