13 #ifndef mitkDataInteractor_h
14 #define mitkDataInteractor_h
71 itkFactorylessNewMacro(Self);
Base class for interactors that operate on DataNodes.
virtual void NotifyResultReady()
NotifyResultReady Sends ResultReady event via the mitk::DataNode.
ProcessEventMode GetMode() const
Get the current event processing mode from the state machine's current state.
static const std::string IntEnterWidget
Internal signal name indicating the pointer entered the widget area.
mitkClassMacro(DataInteractor, EventStateMachine)
DataNode * GetDataNode() const
Get the DataNode associated with this interactor.
virtual void SetDataNode(DataNode *dataNode)
Set the DataNode that this interactor operates on.
static const std::string IntLeaveWidget
Internal signal name indicating the pointer left the widget area.
virtual void DataNodeChanged()
Is called when a DataNode is initially set or changed To be implemented by sub-classes for initializa...
~DataInteractor() override
int GetLayer() const
Get the rendering layer of the associated DataNode.
static const std::string IntDeactivateMe
Internal signal name to request deactivation of this interactor.
virtual void NotifyStart()
Sends StartInteraction event via the mitk::DataNode.
void ConnectActionsAndFunctions() override
Overwrite this function to connect actions from StateMachine description with functions.
Central node class of the MITK data tree, associating a data object with properties and mappers.
Provides state machine functionality for DataInteractors.
A weak pointer that observes an itk::Object without preventing its deletion.
Find image slices visible on a given plane.
itkEventMacroDeclaration(BoundingShapeInteractionEvent, itk::AnyEvent)