Computer Assited Medical Intervention Tool Kit  version 4.1
DicomSerie.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * $CAMITK_LICENCE_BEGIN$
3  *
4  * CamiTK - Computer Assisted Medical Intervention ToolKit
5  * (c) 2001-2018 Univ. Grenoble Alpes, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
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 DICOMSERIE_H
27 #define DICOMSERIE_H
28 
29 // Qt includes
30 #include <QString>
31 #include <QDate>
32 
33 // C++ includes
34 #include <vector>
35 
36 
49 class DicomSerie {
50 
51 public:
52 
53  DicomSerie();
54 
56  virtual ~DicomSerie() = default;
57 
60  QDate getAcquisitionDate() const;
61  QTime getAcquisitionTime() const;
62  QString getStudyName() const;
63  QString getSerieName() const;
64  QString getSerieDescription() 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 setSerieName(QString name);
76  void setSerieDescription(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 
87 
90 
92  QString studyName;
93 
95  QString serieName;
96 
99 
101  QString patientName;
102 
104  QList<QString> fileNames;
105 
107  std::vector<std::string> stdFileNames;
108 };
109 
110 #endif // DICOMSERIE_H
111 
QString getSerieName() const
Definition: DicomSerie.cpp:47
QList< QString > getFileNames() const
Definition: DicomSerie.cpp:56
std::vector< std::string > getStdFileNames() const
Definition: DicomSerie.cpp:59
QString getStudyName() const
Definition: DicomSerie.cpp:44
QDate acquisitionDate
Acquisition date of the SERIES.
Definition: DicomSerie.h:86
QString serieName
Name of this SERIES.
Definition: DicomSerie.h:95
void setStudyName(QString name)
Definition: DicomSerie.cpp:70
void setFileNames(QList< QString > inputFileNames)
Definition: DicomSerie.cpp:82
DicomSerie is a CamiTK high level class to represent a DICOM SERIES This class encapsulates GDCM obje...
Definition: DicomSerie.h:49
QString getPatientName() const
Definition: DicomSerie.cpp:53
std::vector< std::string > stdFileNames
The image file names associated to this SERIES (std list, for GDCM API)
Definition: DicomSerie.h:107
QString patientName
Name of the patient.
Definition: DicomSerie.h:101
QTime getAcquisitionTime() const
Definition: DicomSerie.cpp:41
void setSerieName(QString name)
Definition: DicomSerie.cpp:73
QTime acquisitionTime
Acquisition time of the SERIES.
Definition: DicomSerie.h:89
void setAcquisitionTime(QTime time)
Definition: DicomSerie.cpp:67
void setSerieDescription(QString name)
Definition: DicomSerie.cpp:76
void setPatientName(QString name)
Definition: DicomSerie.cpp:79
QDate getAcquisitionDate() const
Definition: DicomSerie.cpp:38
QString studyName
Name of the STUDY this SERIES belongs to.
Definition: DicomSerie.h:92
QList< QString > fileNames
The image file names associated to this SERIES.
Definition: DicomSerie.h:104
QString serieDescription
Description of this SERIES (sometime more readable than the SERIES name itself).
Definition: DicomSerie.h:98
DicomSerie()
Definition: DicomSerie.cpp:29
void setAcquisitionDate(QDate date)
Definition: DicomSerie.cpp:64
QString getSerieDescription() const
Definition: DicomSerie.cpp:50
void setStdFileNames(std::vector< std::string > inputFileNames)
Definition: DicomSerie.cpp:85
virtual ~DicomSerie()=default
Default Destructor.