![]() |
ImFusion SDK 4.3
|
#include <ImFusion/GUI/SliceManipulator.h>
Interaction for slices. More...
Inheritance diagram for SliceManipulator:Interaction for slices.
Public Member Functions | |
| SliceManipulator (GlSlice *slice, InteractiveView *view) | |
| InteractiveView * | view () const |
| Access the view of the manipulator. | |
| void | setOtherSlices (GlSlice *s1, GlSlice *s2) |
| Optional slice to use for defining the center of rotation. | |
| void | setRotateAll (bool flag) |
| void | reset () |
| bool | sceneEvent (QEvent *event, const GlView &view) override |
| Modify the slice based on the mouse events. | |
| bool | rotating () const |
| Return whether active mode is rotation. | |
Public Member Functions inherited from Manipulator | |
| void | addListener (ManipulatorListener *listener) |
| void | removeListener (const ManipulatorListener *listener) |
| virtual bool | requiresFocus () |
| Derived classes that need priority scene events can override this. | |
| virtual void | openContextMenu (QPoint pos, QPoint globalPos, Qt::KeyboardModifiers modifiers) |
| GUI::EventResult | handleInputEvent (const GUI::InputEvent &event, const GUI::View &view) override |
| This function is called by sources of input events in order to dispatch them to the handlers. | |
Additional Inherited Members | |
Protected Member Functions inherited from Manipulator | |
| void | notifyListeners (void *eventData) |
Optional slice to use for defining the center of rotation.
Set whether rotation should be applied to other slices after interaction finishes
|
overridevirtual |
Modify the slice based on the mouse events.
Implements Manipulator.