Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
QmitkSemanticRelationsUIHelper.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef QMITKSEMANTICRELATIONSUIHELPER_H
14
#define QMITKSEMANTICRELATIONSUIHELPER_H
15
16
// semantic relations ui module
17
#include "
MitkSemanticRelationsUIExports.h
"
18
19
// mitk core
20
#include <
mitkDataNode.h
>
21
22
// qt
23
#include <QPixmap>
24
28
namespace
QmitkSemanticRelationsUIHelper
29
{
30
/*
31
* @brief Generates a QPixmap of a DICOM image.
32
*
33
* The center sagittal image slice is extracted and used as the thumbnail image.
34
*
35
* @par dataNode The data node that holds the image data.
36
*/
37
MITKSEMANTICRELATIONSUI_EXPORT
QPixmap
GetPixmapFromImageNode
(
const
mitk::DataNode
* dataNode);
38
39
}
// namespace QmitkSemanticRelationsUIHelper
40
41
#endif // QMITKSEMANTICRELATIONSUIHELPER_H
mitkDataNode.h
MITKSEMANTICRELATIONSUI_EXPORT
#define MITKSEMANTICRELATIONSUI_EXPORT
Definition:
MitkSemanticRelationsUIExports.h:15
QmitkSemanticRelationsUIHelper
Provides a helper function to generate a pixmap from a given image node.
Definition:
QmitkSemanticRelationsUIHelper.h:28
QmitkSemanticRelationsUIHelper::GetPixmapFromImageNode
MITKSEMANTICRELATIONSUI_EXPORT QPixmap GetPixmapFromImageNode(const mitk::DataNode *dataNode)
Definition:
QmitkSemanticRelationsUIHelper.cpp:25
MitkSemanticRelationsUIExports.h
mitk::DataNode
Class for nodes of the DataTree.
Definition:
mitkDataNode.h:57
Source
Modules
SemanticRelationsUI
include
QmitkSemanticRelationsUIHelper.h
Generated on Thu Mar 12 2020 10:24:12 for Medical Imaging Interaction Toolkit by
1.8.13