|
| | mitkClassMacro (AffineBaseDataInteractor3D, DataInteractor) |
| |
| Pointer | Clone () const |
| |
| void | SetDataNode (DataNode *node) override |
| | Set the DataNode for this interactor. More...
|
| |
| void | TranslateGeometry (mitk::Vector3D translate, mitk::BaseGeometry *geometry) |
| | Translate the given geometry by the specified vector. More...
|
| |
| void | RotateGeometry (mitk::ScalarType angle, int rotationaxis, mitk::BaseGeometry *geometry) |
| | Rotate the given geometry around one of its principal axes. More...
|
| |
| void | ScaleGeometry (mitk::Point3D newScale, mitk::BaseGeometry *geometry) |
| | Scale the given geometry by the specified factors. More...
|
| |
| mitk::BaseGeometry * | GetUpdatedTimeGeometry (mitk::InteractionEvent *interactionEvent) |
| | Retrieve the geometry for the current time step from the interaction event. More...
|
| |
| | mitkClassMacro (DataInteractor, EventStateMachine) |
| |
| Pointer | Clone () const |
| |
| DataNode * | GetDataNode () const |
| | Get the DataNode associated with this interactor. More...
|
| |
| int | GetLayer () const |
| | Get the rendering layer of the associated DataNode. More...
|
| |
| ProcessEventMode | GetMode () const |
| | Get the current event processing mode from the state machine's current state. More...
|
| |
| | mitkClassMacro (EventStateMachine, InteractionEventHandler) |
| |
| bool | LoadStateMachine (const std::string &filename, const us::Module *module=nullptr) |
| | Load a state machine pattern from an XML resource file. More...
|
| |
| bool | HandleEvent (InteractionEvent *event, DataNode *dataNode) |
| | Process an incoming interaction event. More...
|
| |
| void | EnableUndo (bool enable) |
| | Enable or disable the undo mechanism for this state machine. More...
|
| |
| void | EnableInteraction (bool enable) |
| | Enable or disable the state machine. More...
|
| |
Public Member Functions inherited from mitk::InteractionEventHandler |
| | mitkClassMacroItkParent (InteractionEventHandler, itk::Object) |
| |
| bool | SetEventConfig (const std::string &filename, const us::Module *module=nullptr) |
| | Loads a configuration from an XML resource. More...
|
| |
| bool | SetEventConfig (const EventConfig &config) |
| | Loads a configuration from an EventConfig object. More...
|
| |
| EventConfig | GetEventConfig () const |
| | Returns the current configuration. More...
|
| |
| bool | AddEventConfig (const std::string &filename, const us::Module *module=nullptr) |
| | This method extends the configuration. More...
|
| |
| bool | AddEventConfig (const EventConfig &config) |
| | This method extends the configuration. The configuration from the EventConfig object is loaded and only the ones conflicting are replaced by the new one. This way several configurations can be combined. More...
|
| |
|
| | AffineBaseDataInteractor3D () |
| |
| | ~AffineBaseDataInteractor3D () override |
| |
| void | ConnectActionsAndFunctions () override |
| |
| void | DataNodeChanged () override |
| |
| virtual bool | CheckOverObject (const InteractionEvent *) |
| |
| virtual void | SelectObject (StateMachineAction *, InteractionEvent *) |
| |
| virtual void | DeselectObject (StateMachineAction *, InteractionEvent *) |
| |
| virtual void | InitTranslate (StateMachineAction *, InteractionEvent *) |
| |
| virtual void | InitRotate (StateMachineAction *, InteractionEvent *) |
| |
| virtual void | TranslateObject (StateMachineAction *, InteractionEvent *) |
| |
| virtual void | RotateObject (StateMachineAction *, InteractionEvent *) |
| |
| virtual void | ScaleObject (StateMachineAction *, InteractionEvent *) |
| |
| virtual void | TranslateUpKey (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| virtual void | TranslateDownKey (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| virtual void | TranslateLeftKey (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| virtual void | TranslateRightKey (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| virtual void | TranslateUpModifierKey (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| virtual void | TranslateDownModifierKey (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| virtual void | RotateUpKey (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| virtual void | RotateDownKey (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| virtual void | RotateLeftKey (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| virtual void | RotateRightKey (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| virtual void | RotateUpModifierKey (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| virtual void | RotateDownModifierKey (StateMachineAction *, InteractionEvent *interactionEvent) |
| |
| virtual void | ScaleDownKey (mitk::StateMachineAction *, mitk::InteractionEvent *interactionEvent) |
| |
| virtual void | ScaleUpKey (mitk::StateMachineAction *, mitk::InteractionEvent *interactionEvent) |
| |
| virtual void | RestoreNodeProperties () |
| |
| bool | InitMembers (InteractionEvent *interactionEvent) |
| | InitMembers convenience method to avoid code duplication between InitRotate() and InitTranslate(). More...
|
| |
| | DataInteractor () |
| |
| | ~DataInteractor () override |
| |
| 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, 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) |
| |
| virtual bool | FilterEvents (InteractionEvent *interactionEvent, DataNode *dataNode) |
| |
| 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) |
| |
| virtual void | ConfigurationChanged () |
| |
Affine interaction with mitk::BaseGeometry.
Provides translation, rotation, and scaling of data objects in 3D render windows via mouse and keyboard interaction. The interactor is driven by a state machine pattern and supports configurable step sizes through DataNode properties.
Relevant DataNode properties:
- "AffineBaseDataInteractor3D.Translation Step Size" (float, default 1.0)
- "AffineBaseDataInteractor3D.Rotation Step Size" (float, default 1.0)
- "AffineBaseDataInteractor3D.Scale Step Size" (float, default 0.1)
- "AffineBaseDataInteractor3D.Anchor Point X/Y/Z" (float, default 0.0)
- See also
- DataInteractor, AffineImageCropperInteractor
Definition at line 54 of file mitkAffineBaseDataInteractor3D.h.