Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Interface for listening to node selections sent via the INodeSelectionService. More...
#include <mitkINodeSelectionListener.h>
Public Member Functions | |
virtual void | OnSelectionReceived (const std::string &context, const std::vector< mitk::DataNode::Pointer > &selection)=0 |
Callback method for received selections. More... | |
Interface for listening to node selections sent via the INodeSelectionService.
To receive node selections, listeners must first subscribe via INodeSelectionService::AddListener().
Definition at line 26 of file mitkINodeSelectionListener.h.
|
pure virtual |
Callback method for received selections.
context | An arbitrary string that sender and receiver agreed upon to establish a connection. |
selection | The sent selection of potentially multiple data nodes. |
Implemented in QmitkAbstractNodeSelectionWidget.