Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
Medical Imaging Interaction Toolkit
QmitkDataNodeTextureInterpolationAction.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 QMITKDATANODETEXTUREINTERPOLATIONACTION_H
14 #define QMITKDATANODETEXTUREINTERPOLATIONACTION_H
15 
17 
19 
20 // qt
21 #include <QAction>
22 
24 {
25  Q_OBJECT
26 
27 public:
28 
30  QmitkDataNodeTextureInterpolationAction(QWidget* parent, berry::IWorkbenchPartSite* workbenchPartSite);
31 
32  void InitializeWithDataNode(const mitk::DataNode* dataNode) override;
33 
34 private Q_SLOTS:
35 
36  void OnActionChanged();
37  void OnActionToggled(bool);
38 
39 protected:
40 
41  void InitializeAction() override;
42 
43 };
44 
45 #endif // QMITKDATANODETEXTUREINTERPOLATIONACTION_H
virtual void InitializeAction()=0
virtual void InitializeWithDataNode(const mitk::DataNode *)
Class for nodes of the DataTree.
Definition: mitkDataNode.h:57