13 #ifndef QMITKDATANODECONTEXTMENU_H 14 #define QMITKDATANODECONTEXTMENU_H 58 void SetSurfaceDecimation(
bool surfaceDecimation);
60 void SetSelectedNodes(
const QList<mitk::DataNode::Pointer>& selectedNodes);
64 void OnContextMenuRequested(
const QPoint& pos);
65 void OnExtensionPointActionTriggered(QAction* action);
69 using DescriptorActionListType = std::vector<std::pair<QmitkNodeDescriptor*, QAction*>>;
70 using ConfigurationElementsType = std::map<QAction*, berry::IConfigurationElement::Pointer>;
72 void InitNodeDescriptors();
73 void InitDefaultActions();
74 void InitExtensionPointActions();
75 void InitServiceActions();
77 void AddColorAction(QWidgetAction* colorAction);
78 void AddDescriptorActionList(DescriptorActionListType& descriptorActionList);
81 QList<QAction*> GetActions(
const QList<mitk::DataNode::Pointer>& nodes);
88 QList<mitk::DataNode::Pointer> m_SelectedNodes;
91 DescriptorActionListType m_DescriptorActionList;
94 ConfigurationElementsType m_ConfigElements;
133 bool m_SurfaceDecimation;
136 #endif // QMITKDATANODECONTEXTMENU_H
Data management class that handles 'was created by' relations.
Decorator class for mitk::DataNode.
Organizes the rendering process.
mitk::DataStorage::Pointer m_DataStorage
Class for nodes of the DataTree.