QtDcmStudy.h
Go to the documentation of this file.
1 /*
2  QtDcm is a C++ Qt based library for communication and conversion of Dicom images.
3  Copyright (C) 2011 Alexandre Abadie <Alexandre.Abadie@univ-rennes1.fr>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License as published by the Free Software Foundation; either
8  version 2.1 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with this library; if not, write to the Free Software
17  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19 
20 #ifndef QTDCMSTUDY_H_
21 #define QTDCMSTUDY_H_
22 
23 #include <QtGui>
24 #include <QList>
25 
26 class QtDcmPatient;
27 class QtDcmSerie;
28 
34 {
35 public:
39  QtDcmStudy();
40 
44  virtual ~QtDcmStudy();
45 
51  QString id() const;
52 
58  void setId ( const QString & id );
59 
65  QString description() const;
66 
72  void setDescription ( const QString & description );
73 
79  QDate date() const;
80 
86  void setDate ( const QDate & date );
87 
93  QString time() const;
94 
100  void setTime ( const QString & time );
101 
108  QList<QtDcmSerie> series() const;
109 
116  void setSeries ( const QList<QtDcmSerie> & series );
117 
124  QtDcmPatient patient() const;
125 
132  void setPatient ( const QtDcmPatient & patient );
133 
137  void addSerie ( const QtDcmSerie & serie );
138 
142  void removeSerie ( int index );
143 
144 private:
145  class Private;
146  Private * d;
147 };
148 
149 #endif /* QTDCMSTUDY_H_ */
This class is a representation of a dicom serie.
Definition: QtDcmSerie.h:34
void setTime(const QString &time)
Study time setter.
Definition: QtDcmStudy.cpp:77
QtDcmStudy()
Default constructor.
Definition: QtDcmStudy.cpp:35
QtDcmPatient patient() const
Patient getter.
Definition: QtDcmStudy.cpp:92
QString description() const
Study description getter.
Definition: QtDcmStudy.cpp:52
void setId(const QString &id)
Study Id setter.
Definition: QtDcmStudy.cpp:47
void setDescription(const QString &description)
Study description setter.
Definition: QtDcmStudy.cpp:57
This class is a representation of a dicom patient.
Definition: QtDcmPatient.h:31
virtual ~QtDcmStudy()
Default destructor.
Definition: QtDcmStudy.cpp:37
void removeSerie(int index)
Remove serie at position index.
Definition: QtDcmStudy.cpp:107
QString id() const
Study Id getter.
Definition: QtDcmStudy.cpp:42
QString time() const
Study time getter.
Definition: QtDcmStudy.cpp:72
void setPatient(const QtDcmPatient &patient)
Patient setter.
Definition: QtDcmStudy.cpp:97
void setDate(const QDate &date)
Study date setter.
Definition: QtDcmStudy.cpp:67
This class is representation of a Dicom study.
Definition: QtDcmStudy.h:33
QList< QtDcmSerie > series() const
List of series in the study getter.
Definition: QtDcmStudy.cpp:82
void addSerie(const QtDcmSerie &serie)
Add serie in the list.
Definition: QtDcmStudy.cpp:102
QDate date() const
Study date getter.
Definition: QtDcmStudy.cpp:62
void setSeries(const QList< QtDcmSerie > &series)
List of series in the study setter.
Definition: QtDcmStudy.cpp:87