Medical Imaging Interaction Toolkit
2023.04.00
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
MitkSemanticRelationsUIExports.h
MITKSEMANTICRELATIONSUI_EXPORT
#define MITKSEMANTICRELATIONSUI_EXPORT
Definition:
MitkSemanticRelationsUIExports.h:15
QmitkSemanticRelationsUIHelper::GetPixmapFromImageNode
MITKSEMANTICRELATIONSUI_EXPORT QPixmap GetPixmapFromImageNode(const mitk::DataNode *dataNode)
mitkDataNode.h
QmitkSemanticRelationsUIHelper
Provides a helper function to generate a pixmap from a given image node.
Definition:
QmitkSemanticRelationsUIHelper.h:28
mitk::DataNode
Class for nodes of the DataTree.
Definition:
mitkDataNode.h:63
src
MITK
Modules
SemanticRelationsUI
include
QmitkSemanticRelationsUIHelper.h
Generated on Wed May 17 2023 16:26:14 for Medical Imaging Interaction Toolkit by
1.8.17