13 #ifndef mitkBoundingShapeInteractor_h
14 #define mitkBoundingShapeInteractor_h
27 #pragma GCC visibility push(default)
29 #pragma GCC visibility pop
42 itkFactorylessNewMacro(
Self);
125 void EnableOriginalInteraction();
130 void DisableOriginalInteraction();
#define MITKBOUNDINGSHAPE_EXPORT
Basic interaction methods for mitk::GeometryData.
virtual void DeselectHandles(StateMachineAction *, InteractionEvent *interactionEvent)
Deselects all Handles at the end of interaction.
virtual void SelectHandle(StateMachineAction *, InteractionEvent *)
Called if the mouse pointer is over one of the handles indicated by a color change.
void DataNodeChanged() override
Called when a DataNode has been set/changed.
virtual bool CheckOverObject(const InteractionEvent *)
Checks if the mouse pointer is over the object.
mitkClassMacro(BoundingShapeInteractor, DataInteractor)
void SetDataNode(DataNode *dataNode) override
BoundingShapeInteractor()
void HandlePositionChanged(const InteractionEvent *interactionEvent, Point3D ¢er)
void SetRotationEnabled(bool rotationEnabled)
virtual void DeselectObject(StateMachineAction *, InteractionEvent *)
Called if the mouse pointer leaves the area of the object.
~BoundingShapeInteractor() override
virtual void SelectObject(StateMachineAction *, InteractionEvent *)
Called if the mouse pointer is over the object indicated by a color change.
virtual bool CheckOverHandles(const InteractionEvent *interactionEvent)
Checks if the mouse pointer is over one of the assigned handles.
bool InitMembers(InteractionEvent *interactionEvent)
Initializes member variables.
virtual void InitInteraction(StateMachineAction *, InteractionEvent *interactionEvent)
Initializes the movement, stores starting position.
virtual void RestoreNodeProperties()
Restore default properties of bounding box and handles.
virtual void TranslateObject(StateMachineAction *, InteractionEvent *)
Performs a translation of the object relative to the mouse movement.
virtual void ScaleObject(StateMachineAction *, InteractionEvent *)
Performs a object shape change by influencing the scaling of the initial bounding box.
void ConnectActionsAndFunctions() override
Base class from with interactors that handle DataNodes are to be derived.
Class for nodes of the DataTree.
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
Find image slices visible on a given plane.
itkEventMacroDeclaration(BoundingShapeInteractionEvent, itk::AnyEvent)