ImFusion SDK 4.3
SliceManipulator Class Reference

#include <ImFusion/GUI/SliceManipulator.h>

Interaction for slices. More...

+ Inheritance diagram for SliceManipulator:

Detailed Description

Interaction for slices.

Public Member Functions

 SliceManipulator (GlSlice *slice, InteractiveView *view)
 
InteractiveViewview () 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)
 

Member Function Documentation

◆ setOtherSlices()

void setOtherSlices ( GlSlice * s1,
GlSlice * s2 )
inline

Optional slice to use for defining the center of rotation.

Set whether rotation should be applied to other slices after interaction finishes

◆ sceneEvent()

bool sceneEvent ( QEvent * event,
const GlView & view )
overridevirtual

Modify the slice based on the mouse events.

Implements Manipulator.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close