QtDcmImage.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 QTDCMIMAGE_H_
21 #define QTDCMIMAGE_H_
22 
23 #include <QtGui>
24 
25 class QtDcmSerie;
26 
34 {
35 
36 public:
40  QtDcmImage();
41 
45  virtual ~QtDcmImage();
46 
52  QString id() const;
58  void setId ( const QString & id );
59 
65  QString filename() const;
66 
72  void setFilename ( const QString & filename );
73 
80  QtDcmSerie serie() const;
81 
88  void setSerie ( const QtDcmSerie & serie );
89 
90 private:
91  class Private;
92  Private * d;
93 };
94 
95 #endif /* QTDCMIMAGE_H_ */
This class is a representation of a dicom serie.
Definition: QtDcmSerie.h:34
QString id() const
Id getter.
Definition: QtDcmImage.cpp:40
virtual ~QtDcmImage()
Default destructor.
Definition: QtDcmImage.cpp:35
QtDcmSerie serie() const
Parent serie getter.
Definition: QtDcmImage.cpp:60
void setFilename(const QString &filename)
Image filename setter.
Definition: QtDcmImage.cpp:55
QString filename() const
Image filename getter.
Definition: QtDcmImage.cpp:50
This class is a representation of a dicom image.
Definition: QtDcmImage.h:33
QtDcmImage()
Default constructor.
Definition: QtDcmImage.cpp:33
void setSerie(const QtDcmSerie &serie)
Parent serie setter.
Definition: QtDcmImage.cpp:65
void setId(const QString &id)
Id setter.
Definition: QtDcmImage.cpp:45