13 #ifndef mitkContourModelInteractor_h
14 #define mitkContourModelInteractor_h
38 itkFactorylessNewMacro(
Self);
62 const float eps = 3.0;
#define MITKSEGMENTATION_EXPORT
virtual void OnMovePoint(StateMachineAction *, InteractionEvent *interactionEvent)
void SetRestrictedArea(mitk::ContourModel *restrictedArea)
void ConnectActionsAndFunctions() override
~ContourModelInteractor() override
virtual bool OnCheckPointClick(const InteractionEvent *interactionEvent)
virtual void OnMoveContour(StateMachineAction *, InteractionEvent *interactionEvent)
virtual void OnFinishEditing(StateMachineAction *, InteractionEvent *interactionEvent)
mitk::ContourModel::Pointer m_RestrictedArea
virtual void OnDeletePoint(StateMachineAction *, InteractionEvent *interactionEvent)
virtual bool IsHovering(const InteractionEvent *interactionEvent)
mitk::Point3D m_lastMousePosition
virtual void OnAddPoint(StateMachineAction *, InteractionEvent *interactionEvent)
mitkClassMacro(ContourModelInteractor, DataInteractor)
ContourModel is a structure of linked vertices defining a contour in 3D space. The vertices are store...
Base class from with interactors that handle DataNodes are to be derived.
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
Find image slices visible on a given plane.
MITKCORE_EXPORT const ScalarType eps