13 #ifndef mitkSinglePointDataInteractor_h
14 #define mitkSinglePointDataInteractor_h
16 #include <itkObject.h>
17 #include <itkObjectFactory.h>
18 #include <itkSmartPointer.h>
40 itkFactorylessNewMacro(Self);
Base class for all interaction events in MITK.
Implementation of the PointSetInteractor.
Implementation of the single point interaction.
mitkClassMacro(SinglePointDataInteractor, PointSetDataInteractor)
virtual void SetMaxPoints(unsigned int maxNumber=0)
Overridden to enforce a maximum of one point.
void DataNodeChanged() override
Called when the data node changes.
SinglePointDataInteractor()
~SinglePointDataInteractor() override
void AddPoint(StateMachineAction *, InteractionEvent *event) override
Add or move the single point at the given coordinates.
Represents an action that is executed after a certain event in the state machine mechanism.
Find image slices visible on a given plane.