QtDcmSerie.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 
21 #ifndef QTDCMSERIE_H_
22 #define QTDCMSERIE_H_
23 
24 #include <QtGui>
25 
26 class QtDcmSeriePrivate;
27 class QtDcmStudy;
28 class QtDcmImage;
29 
35 {
36 public:
40  QtDcmSerie();
41 
45  virtual ~QtDcmSerie();
46 
52  QString id() const;
53 
59  void setId ( const QString & id );
60 
66  QString date() const;
67 
73  void setDate ( const QString & date );
74 
80  QString description() const;
81 
87  void setDescription ( const QString & description );
88 
95  QList<QtDcmImage> images() const;
96 
103  void setImages ( const QList<QtDcmImage> & images );
104 
111  QtDcmStudy study() const;
112 
119  void setStudy ( const QtDcmStudy & study );
120 
121 private:
122  class Private;
123  Private * d;
124 };
125 
126 #endif /* QTDCMSERIE_H_ */
This class is a representation of a dicom serie.
Definition: QtDcmSerie.h:34
QString id() const
Serie Id getter.
Definition: QtDcmSerie.cpp:43
QtDcmSerie()
Default constructor.
Definition: QtDcmSerie.cpp:36
void setId(const QString &id)
Serie Id setter.
Definition: QtDcmSerie.cpp:48
void setDescription(const QString &description)
Serie description setter.
Definition: QtDcmSerie.cpp:68
virtual ~QtDcmSerie()
Default destructor.
Definition: QtDcmSerie.cpp:38
QString date() const
Serie date getter.
Definition: QtDcmSerie.cpp:53
QtDcmStudy study() const
Parent study getter.
Definition: QtDcmSerie.cpp:83
QString description() const
Serie description getter.
Definition: QtDcmSerie.cpp:63
This class is a representation of a dicom image.
Definition: QtDcmImage.h:33
void setImages(const QList< QtDcmImage > &images)
Image list setter.
Definition: QtDcmSerie.cpp:78
void setDate(const QString &date)
Serie date setter.
Definition: QtDcmSerie.cpp:58
void setStudy(const QtDcmStudy &study)
Parent study setter.
Definition: QtDcmSerie.cpp:88
This class is representation of a Dicom study.
Definition: QtDcmStudy.h:33
QList< QtDcmImage > images() const
Image list getter.
Definition: QtDcmSerie.cpp:73