ImFusion C++ SDK 4.4.0
ImFusion::SliceManipulator Class Reference

#include <ImFusion/GUI/SliceManipulator.h>

Interaction for slices. More...

Inheritance diagram for ImFusion::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 ImFusion::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 ImFusion::Manipulator
void notifyListeners (void *eventData)

Member Function Documentation

◆ setOtherSlices()

void ImFusion::SliceManipulator::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 ImFusion::SliceManipulator::sceneEvent ( QEvent * event,
const GlView & view )
overridevirtual

Modify the slice based on the mouse events.

Implements ImFusion::Manipulator.


The documentation for this class was generated from the following file:
  • ImFusion/GUI/SliceManipulator.h
Search Tab / S to search, Esc to close