NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
QmitkCreatePolygonModelAction.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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 #ifndef QmitkCreatePolygonModelAction_h
17 #define QmitkCreatePolygonModelAction_h
18 
19 // Parent classes
20 #include <QObject>
21 #include <mitkIContextMenuAction.h>
22 
23 // Data members
24 #include <mitkDataNode.h>
25 
26 class QmitkCreatePolygonModelAction : public QObject, public mitk::IContextMenuAction
27 {
28  Q_OBJECT
29  Q_INTERFACES(mitk::IContextMenuAction)
30 
31 public:
34 
35  // IContextMenuAction
36  void Run(const QList<mitk::DataNode::Pointer> &selectedNodes);
37  void SetDataStorage(mitk::DataStorage *dataStorage);
38  void SetSmoothed(bool smoothed);
39  void SetDecimated(bool decimated);
40  void SetFunctionality(berry::QtViewPart *functionality);
41 
43 
44 private:
47 
48  mitk::DataStorage::Pointer m_DataStorage;
49  bool m_IsSmoothed;
50  bool m_IsDecimated;
51 };
52 
53 #endif
void SetDataStorage(mitk::DataStorage *dataStorage)
Definition: QmitkCreatePolygonModelAction.cxx:145
Definition: QmitkCreatePolygonModelAction.h:26
~QmitkCreatePolygonModelAction()
Definition: QmitkCreatePolygonModelAction.cxx:37
void SetFunctionality(berry::QtViewPart *functionality)
Definition: QmitkCreatePolygonModelAction.cxx:160
QmitkCreatePolygonModelAction()
Definition: QmitkCreatePolygonModelAction.cxx:33
void OnSurfaceCalculationDone()
Definition: QmitkCreatePolygonModelAction.cxx:140
void SetSmoothed(bool smoothed)
Definition: QmitkCreatePolygonModelAction.cxx:150
void Run(const QList< mitk::DataNode::Pointer > &selectedNodes)
Definition: QmitkCreatePolygonModelAction.cxx:41
void SetDecimated(bool decimated)
Definition: QmitkCreatePolygonModelAction.cxx:155