|
| | PlanarFigureInteractor () |
| |
| | ~PlanarFigureInteractor () override |
| |
| void | ConnectActionsAndFunctions () override |
| | Overwrite this function to connect actions from StateMachine description with functions. More...
|
| |
| bool | CheckFigurePlaced (const InteractionEvent *interactionEvent) |
| |
| bool | CheckFigureHovering (const InteractionEvent *interactionEvent) |
| |
| bool | CheckControlPointHovering (const InteractionEvent *interactionEvent) |
| |
| bool | CheckSelection (const InteractionEvent *interactionEvent) |
| |
| bool | CheckPointValidity (const InteractionEvent *interactionEvent) |
| |
| bool | CheckFigureFinished (const InteractionEvent *interactionEvent) |
| |
| bool | CheckResetOnPointSelect (const InteractionEvent *interactionEvent) |
| |
| bool | CheckFigureOnRenderingGeometry (const InteractionEvent *interactionEvent) |
| |
| bool | CheckMinimalFigureFinished (const InteractionEvent *interactionEvent) |
| |
| bool | CheckFigureIsExtendable (const InteractionEvent *interactionEvent) |
| |
| bool | CheckFigureIsDeletable (const InteractionEvent *interactionEvent) |
| |
| bool | CheckFigureIsEditable (const InteractionEvent *interactionEvent) |
| |
| bool | CheckContinuousPointsMode (const InteractionEvent *interactionEvent) |
| |
| void | FinalizeFigure (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| void | MoveCurrentPoint (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| void | DeselectPoint (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| void | AddPoint (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| void | AddInitialPoint (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| void | StartHovering (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| void | EndHovering (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| void | DeleteFigure (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| void | PerformPointResetOnSelect (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| void | SetPreviewPointPosition (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| void | HidePreviewPoint (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| void | HideControlPoints (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| void | RemoveSelectedPoint (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| void | RequestContextMenu (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| void | SelectFigure (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| void | SelectPoint (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| void | EndInteraction (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| bool | FilterEvents (InteractionEvent *interactionEvent, DataNode *) override |
| |
| bool | IsMousePositionAcceptableAsNewControlPoint (const mitk::InteractionPositionEvent *positionEvent, const PlanarFigure *) |
| | Used when clicking to determine if a point is too close to the previous point. More...
|
| |
| bool | TransformPositionEventToPoint2D (const InteractionPositionEvent *positionEvent, const PlaneGeometry *planarFigureGeometry, Point2D &point2D) |
| |
| bool | TransformObjectToDisplay (const mitk::Point2D &point2D, mitk::Point2D &displayPoint, const mitk::PlaneGeometry *objectGeometry, const mitk::PlaneGeometry *rendererGeometry, const mitk::BaseRenderer *renderer) const |
| |
| bool | IsPointNearLine (const mitk::Point2D &point, const mitk::Point2D &startPoint, const mitk::Point2D &endPoint, mitk::Point2D &projectedPoint) const |
| | Returns true if the first specified point is in proximity of the line defined the other two point; false otherwise. More...
|
| |
| int | IsPositionOverFigure (const InteractionPositionEvent *positionEvent, PlanarFigure *planarFigure, const PlaneGeometry *planarFigureGeometry, const PlaneGeometry *rendererGeometry, Point2D &pointProjectedOntoLine) const |
| | Returns true if the point contained in the passed event (in display coordinates) is over the planar figure (with a pre-defined tolerance range); false otherwise. More...
|
| |
| int | IsPositionInsideMarker (const InteractionPositionEvent *positionEvent, const PlanarFigure *planarFigure, const PlaneGeometry *planarFigureGeometry, const PlaneGeometry *rendererGeometry, const BaseRenderer *renderer) const |
| | Returns the index of the marker (control point) over which the point contained in the passed event (in display coordinates) currently is; -1 if the point is not over a marker. More...
|
| |
| void | LogPrintPlanarFigureQuantities (const PlanarFigure *planarFigure) |
| |
| void | ConfigurationChanged () override |
| |
| | DataInteractor () |
| |
| | ~DataInteractor () override |
| |
| virtual void | DataNodeChanged () |
| | Is called when a DataNode is initially set or changed To be implemented by sub-classes for initialization code which require a DataNode. More...
|
| |
| virtual void | NotifyStart () |
| | Sends StartInteraction event via the mitk::DataNode. More...
|
| |
| virtual void | NotifyResultReady () |
| | NotifyResultReady Sends ResultReady event via the mitk::DataNode. More...
|
| |
| | EventStateMachine () |
| |
| | ~EventStateMachine () override |
| |
| void | AddActionFunction (const std::string &action, TActionFunctor *functor) |
| |
| void | AddActionFunction (const std::string &action, const ActionFunctionDelegate &delegate) |
| |
| void | AddConditionFunction (const std::string &condition, const ConditionFunctionDelegate &delegate) |
| |
| StateMachineState * | GetCurrentState () const |
| |
| void | ResetToStartState () |
| | ResetToStartState Reset state machine to it initial starting state. More...
|
| |
| virtual bool | CheckCondition (const StateMachineCondition &condition, const InteractionEvent *interactionEvent) |
| |
| virtual void | ExecuteAction (StateMachineAction *action, InteractionEvent *interactionEvent) |
| |
| void | SetMouseCursor (const char *xpm[], int hotspotX, int hotspotY) |
| | Sets the specified mouse cursor. More...
|
| |
| void | ResetMouseCursor () |
| | Resets the mouse cursor to its original state. More...
|
| |
| StateMachineTransition * | GetExecutableTransition (InteractionEvent *event) |
| | Returns the executable transition for the given event. More...
|
| |
Protected Member Functions inherited from mitk::InteractionEventHandler |
| | InteractionEventHandler () |
| |
| | ~InteractionEventHandler () override |
| |
| PropertyList::Pointer | GetAttributes () const |
| |
| std::string | MapToEventVariant (InteractionEvent *interactionEvent) |
| |
Interaction with mitk::PlanarFigure objects via control-points.
Definition at line 57 of file mitkPlanarFigureInteractor.h.