Medical Imaging Interaction Toolkit  2024.06.00
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 
31 {
32  Q_OBJECT
33 
34 public:
38  QmitkScalarBarOverlay(const char *id);
39 
43  ~QmitkScalarBarOverlay() override;
44 
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();
74 
76 
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