Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
mitkIContextMenuAction.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 mitkIContextMenuAction_H_
17
#define mitkIContextMenuAction_H_
18
19
#include <
berryMacros.h
>
20
#include <
berryQtViewPart.h
>
21
22
#include <vector>
23
#include <
mitkDataNode.h
>
24
#include "
mitkDataStorage.h
"
25
26
class
QmitkStdMultiWidget
;
27
28
namespace
mitk
29
{
37
struct
IContextMenuAction
38
{
39
43
virtual
void
Run
(
const
QList<mitk::DataNode::Pointer>& selectedNodes ) = 0;
44
45
// Setters
46
virtual
void
SetDataStorage
(
mitk::DataStorage
* dataStorage) = 0;
47
virtual
void
SetSmoothed
(
bool
smoothed) = 0;
48
virtual
void
SetDecimated
(
bool
decimated) = 0;
49
virtual
void
SetFunctionality
(
berry::QtViewPart
* functionality) = 0;
50
};
51
}
52
53
Q_DECLARE_INTERFACE(
mitk::IContextMenuAction
,
"org.mitk.datamanager.IContextMenuAction"
)
54
55
#endif // mitkIContextMenuAction_H_
mitkDataStorage.h
mitk::DataStorage
Data management class that handles 'was created by' relations.
Definition:
mitkDataStorage.h:47
berryMacros.h
berryQtViewPart.h
mitk::IContextMenuAction::Run
virtual void Run(const QList< mitk::DataNode::Pointer > &selectedNodes)=0
Executes the action, that linked to the context menu entry.
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
berry::QtViewPart
Definition:
berryQtViewPart.h:36
mitk::IContextMenuAction::SetDataStorage
virtual void SetDataStorage(mitk::DataStorage *dataStorage)=0
mitk::IContextMenuAction
Definition:
mitkIContextMenuAction.h:37
mitkDataNode.h
QmitkStdMultiWidget
Definition:
QmitkStdMultiWidget.h:51
mitk::IContextMenuAction::SetFunctionality
virtual void SetFunctionality(berry::QtViewPart *functionality)=0
mitk::IContextMenuAction::SetDecimated
virtual void SetDecimated(bool decimated)=0
mitk::IContextMenuAction::SetSmoothed
virtual void SetSmoothed(bool smoothed)=0
git
MITK
Plugins
org.mitk.gui.qt.datamanager
src
mitkIContextMenuAction.h
Generated on Fri Feb 3 2017 20:51:59 for Medical Imaging Interaction Toolkit by
1.8.9.1