Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkScalarBarOverlay.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 QmitkScalarBarOverlay_h
14
#define QmitkScalarBarOverlay_h
15
16
#include <
MitkQtOverlaysExports.h
>
17
18
// MITK-Stuff
19
#include "
QmitkOverlay.h
"
20
#include "
mitkCommon.h
"
21
#include "
mitkPropertyList.h
"
22
#include <
QmitkScalarBar.h
>
23
30
class
MITKQTOVERLAYS_EXPORT
QmitkScalarBarOverlay
:
public
QmitkOverlay
31
{
32
Q_OBJECT
33
34
public
:
38
QmitkScalarBarOverlay
(
const
char
*
id
);
39
43
~
QmitkScalarBarOverlay
()
override
;
44
54
void
GenerateData
(
mitk::PropertyList::Pointer
)
override
;
55
56
QSize
GetNeededSize
()
override
;
57
58
protected
:
67
void
GetProperties(
mitk::PropertyList::Pointer
);
68
69
void
SetupCallback(
mitk::BaseProperty::Pointer
prop);
70
71
void
SetScaleFactor();
73
QmitkScalarBar
*
m_ScalarBar
;
74
75
mitk::BaseProperty::Pointer
m_ObservedProperty
;
76
77
mitk::PropertyList::Pointer
m_PropertyList
;
78
unsigned
long
m_ObserverTag
;
79
};
80
81
#endif
QmitkScalarBar.h
MitkQtOverlaysExports.h
QmitkScalarBarOverlay::m_ScalarBar
QmitkScalarBar * m_ScalarBar
QWidget internally representing the TextOverlay.
Definition:
QmitkScalarBarOverlay.h:73
QmitkOverlay
Abstract base class for all overlay-objects in MITK.
Definition:
QmitkOverlay.h:49
itk::SmartPointer< Self >
QmitkScalarBar
Definition:
QmitkScalarBar.h:22
QmitkScalarBarOverlay::m_PropertyList
mitk::PropertyList::Pointer m_PropertyList
Definition:
QmitkScalarBarOverlay.h:77
QmitkScalarBarOverlay::m_ObservedProperty
mitk::BaseProperty::Pointer m_ObservedProperty
Definition:
QmitkScalarBarOverlay.h:75
mitkPropertyList.h
mitkCommon.h
QmitkScalarBarOverlay::m_ObserverTag
unsigned long m_ObserverTag
Definition:
QmitkScalarBarOverlay.h:78
MITKQTOVERLAYS_EXPORT
#define MITKQTOVERLAYS_EXPORT
Definition:
MitkQtOverlaysExports.h:15
QmitkOverlay.h
QmitkOverlay::GenerateData
virtual void GenerateData(mitk::PropertyList::Pointer)
abstract method to internally setup the overlay
Definition:
QmitkOverlay.h:92
QmitkOverlay::GetNeededSize
virtual QSize GetNeededSize()=0
QmitkScalarBarOverlay
object representing a text that is drawn as an overlay
Definition:
QmitkScalarBarOverlay.h:30
src
MITK
Modules
QtOverlays
QmitkScalarBarOverlay.h
Generated on Mon Dec 23 2024 02:13:23 for Medical Imaging Interaction Toolkit by
1.8.17