NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
PropagateSegmentationAlongTimeAction.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  KMaps: An image processing toolkit for DCE-MRI analysis developed
4  at the Molecular Imaging Center at University of Torino.
5 
6  See: http://www.cim.unito.it
7 
8  Author: Miklos Espak <espakm@gmail.com>
9 
10  Copyright (c) Miklos Espak
11  All Rights Reserved.
12 
13  This software is distributed WITHOUT ANY WARRANTY; without even
14  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  PURPOSE. See the above copyright notices for more information.
16 
17  ============================================================================*/
18 
19 #ifndef PropagateSegmentationAlongTimeAction_h
20 #define PropagateSegmentationAlongTimeAction_h
21 
22 #include <mitkIContextMenuAction.h>
23 
24 #include <QObject>
25 
26 class PropagateSegmentationAlongTimeAction: public QObject, public mitk::IContextMenuAction
27 {
28  Q_OBJECT
29  Q_INTERFACES(mitk::IContextMenuAction)
30 
31  public:
32 
35 
36  //interface methods
37  void Run(const QList<mitk::DataNode::Pointer>& selectedNodes);
38  void SetDataStorage(mitk::DataStorage* dataStorage);
39  void SetStdMultiWidget(QmitkStdMultiWidget *stdMultiWidget);
40  void SetSmoothed(bool smoothed);
41  void SetDecimated(bool decimated);
42  void SetFunctionality(berry::QtViewPart* functionality);
43 
44  protected:
45 
46  typedef std::vector<mitk::DataNode*> NodeList;
47 
48  mitk::DataStorage::Pointer m_DataStorage;
49 };
50 
51 #endif // PROPAGATESEGMENTATIONALONGTIMEACTION_H
void Run(const QList< mitk::DataNode::Pointer > &selectedNodes)
Definition: PropagateSegmentationAlongTimeAction.cxx:70
PropagateSegmentationAlongTimeAction()
Definition: PropagateSegmentationAlongTimeAction.cxx:62
std::vector< mitk::DataNode * > NodeList
Definition: PropagateSegmentationAlongTimeAction.h:46
void SetStdMultiWidget(QmitkStdMultiWidget *stdMultiWidget)
Definition: PropagateSegmentationAlongTimeAction.cxx:100
void SetDecimated(bool decimated)
Definition: PropagateSegmentationAlongTimeAction.cxx:110
void SetDataStorage(mitk::DataStorage *dataStorage)
Definition: PropagateSegmentationAlongTimeAction.cxx:96
void SetFunctionality(berry::QtViewPart *functionality)
Definition: PropagateSegmentationAlongTimeAction.cxx:115
Definition: PropagateSegmentationAlongTimeAction.h:26
mitk::DataStorage::Pointer m_DataStorage
Definition: PropagateSegmentationAlongTimeAction.h:48
void SetSmoothed(bool smoothed)
Definition: PropagateSegmentationAlongTimeAction.cxx:105
virtual ~PropagateSegmentationAlongTimeAction()
Definition: PropagateSegmentationAlongTimeAction.cxx:66