Fraxinus  18.10
An IGT application
cxDICOMThumbnailGenerator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Library: CTK
4 
5  Copyright (c) German Cancer Research Center,
6  Division of Medical and Biological Informatics
7 
8  Licensed under the Apache License, Version 2.0 (the "License");
9  you may not use this file except in compliance with the License.
10  You may obtain a copy of the License at
11 
12  http://www.apache.org/licenses/LICENSE-2.0.txt
13 
14  Unless required by applicable law or agreed to in writing, software
15  distributed under the License is distributed on an "AS IS" BASIS,
16  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  See the License for the specific language governing permissions and
18  limitations under the License.
19 
20 =========================================================================*/
21 
22 #ifndef __ctkDICOMThumbnailGenerator_h
23 #define __ctkDICOMThumbnailGenerator_h
24 
25 #include "org_custusx_dicom_Export.h"
26 
27 // CTK includes
28 #include "ctkDICOMWidgetsExport.h"
29 #include "ctkDICOMAbstractThumbnailGenerator.h"
30 
31 class DicomImage;
32 
33 namespace cx
34 {
35 class ctkDICOMThumbnailGeneratorPrivate;
36 
41 class org_custusx_dicom_EXPORT ctkDICOMThumbnailGenerator : public ctkDICOMAbstractThumbnailGenerator
42 {
43  Q_OBJECT
44 public:
47  explicit ctkDICOMThumbnailGenerator(QObject* parent = 0);
48  virtual ~ctkDICOMThumbnailGenerator();
49 
50  virtual bool generateThumbnail(DicomImage* dcmImage, const QString& path );
51 
52 protected:
53  QScopedPointer<ctkDICOMThumbnailGeneratorPrivate> d_ptr;
54 
55 private:
56  Q_DECLARE_PRIVATE(ctkDICOMThumbnailGenerator);
57  Q_DISABLE_COPY(ctkDICOMThumbnailGenerator);
58 };
59 
60 } // namespace cx
61 
62 
63 #endif
QScopedPointer< ctkDICOMThumbnailGeneratorPrivate > d_ptr
Namespace for all CustusX production code.