#include <SVTK_RenderWindowInteractor.h>

Public Slots | |
| virtual void | show () |
| Need for initial contents display on Win32. More... | |
| virtual void | polish () |
| To implement final initialization, just before the widget is displayed. More... | |
| virtual void | resize (int w, int h) |
| To adjust widget and vtkRenderWindow size. More... | |
Public Member Functions | |
| QVTK_RenderWindowInteractor (QWidget *theParent, const char *theName) | |
| ~QVTK_RenderWindowInteractor () | |
| virtual void | Initialize (vtkGenericRenderWindowInteractor *theDevice) |
| To initialize by vtkGenericRenderWindowInteractor instance. More... | |
| vtkGenericRenderWindowInteractor * | GetDevice () |
| vtkRenderWindow * | getRenderWindow () |
| virtual void | InvokeEvent (unsigned long theEvent, void *theCallData) |
| Just to simplify usage of its device (vtkGenericRenderWindowInteractor) More... | |
| virtual QPaintEngine * | paintEngine () const |
| Get paint engine for the scene. More... | |
Protected Member Functions | |
| virtual void | paintEvent (QPaintEvent *) |
| virtual void | resizeEvent (QResizeEvent *) |
| virtual void | mouseMoveEvent (QMouseEvent *) |
| virtual void | mousePressEvent (QMouseEvent *) |
| virtual void | mouseReleaseEvent (QMouseEvent *) |
| virtual void | mouseDoubleClickEvent (QMouseEvent *) |
| virtual void | wheelEvent (QWheelEvent *) |
| virtual void | keyPressEvent (QKeyEvent *) |
| virtual void | keyReleaseEvent (QKeyEvent *) |
| virtual void | enterEvent (QEvent *) |
| virtual void | leaveEvent (QEvent *) |
| virtual void | contextMenuEvent (QContextMenuEvent *e) |
| virtual void | focusInEvent (QFocusEvent *) |
| virtual void | focusOutEvent (QFocusEvent *) |
| virtual bool | nativeEvent (const QByteArray &, void *, long *) |
| To handle native events (from such devices as SpaceMouse) More... | |
Protected Attributes | |
| vtkSmartPointer< vtkRenderWindow > | myRenderWindow |
| vtkSmartPointer< vtkGenericRenderWindowInteractor > | myDevice |
Implements Qt based vtkRenderWindowInteractor. The class inherits QWidget class in order to be possible process Qt events. It invokes corresponding VTK events through usage of its device - a vtkGenericRenderWindowInteractor. Also, it creates, initialize and holds vtkRenderWindow instance.
| QVTK_RenderWindowInteractor::QVTK_RenderWindowInteractor | ( | QWidget * | theParent, |
| const char * | theName | ||
| ) |
Constructor
References myRenderWindow.
| QVTK_RenderWindowInteractor::~QVTK_RenderWindowInteractor | ( | ) |
Destructor
References SVTK_SpaceMouseXCB::close(), SVTK_SpaceMouseXCB::getInstance(), and SVTK_SpaceMouse::isSpaceMouseOn().
|
protectedvirtual |
Custom context menu event handler
|
protectedvirtual |
Custom enter event handler
References FOCUS_UNDER_MOUSE, and GetDevice().
|
protectedvirtual |
Reimplemented from QWidget in order to set window - receiver of space mouse events.
References SVTK_SpaceMouseXCB::getInstance(), SVTK_SpaceMouseXCB::initialize(), SVTK_SpaceMouse::isSpaceMouseOn(), and SVTK_SpaceMouseXCB::setWindow().
|
protectedvirtual |
Reimplemented from QWidget in order to set window - receiver of space mouse events.
References SVTK_SpaceMouseXCB::getInstance(), SVTK_SpaceMouse::isSpaceMouseOn(), and SVTK_SpaceMouseXCB::setWindow().
| vtkGenericRenderWindowInteractor * QVTK_RenderWindowInteractor::GetDevice | ( | ) |
References myDevice.
| vtkRenderWindow * QVTK_RenderWindowInteractor::getRenderWindow | ( | ) |
References myRenderWindow.
|
virtual |
To initialize by vtkGenericRenderWindowInteractor instance.
To initialize by vtkGenericRenderWindowInteractor instance
References GetDevice(), getRenderWindow(), and myDevice.
|
virtual |
Just to simplify usage of its device (vtkGenericRenderWindowInteractor)
Just to simplify usage of its device (vtkGenericRenderWindowInteractor)
References GetDevice().
|
protectedvirtual |
Custom key press event handler
Reimplemented in SVTK_RenderWindowInteractor.
References GetDevice().
|
protectedvirtual |
Custom key release event handler
Reimplemented in SVTK_RenderWindowInteractor.
References GetDevice().
|
protectedvirtual |
Custom leave event handler
References GetDevice().
|
protectedvirtual |
Custom mouse double click event handler
Reimplemented in SVTK_RenderWindowInteractor.
|
protectedvirtual |
Custom mouse move event handler
Reimplemented in SVTK_RenderWindowInteractor.
References GetDevice().
|
protectedvirtual |
Custom mouse press event handler
Reimplemented in SVTK_RenderWindowInteractor.
References GetDevice().
|
protectedvirtual |
Custom mouse release event handler
Reimplemented in SVTK_RenderWindowInteractor.
References GetDevice().
|
protectedvirtual |
To handle native events (from such devices as SpaceMouse)
References SVTK_SpaceMouse::MoveEvent::button, SVTK_SpaceMouse::MoveEvent::data, GetDevice(), SVTK_SpaceMouseXCB::getInstance(), SVTK_SpaceMouse::SpaceButtonPress, SVTK_SpaceMouse::SpaceButtonRelease, SVTK::SpaceMouseButtonEvent, SVTK_SpaceMouse::SpaceMouseMove, and SVTK::SpaceMouseMoveEvent.
|
virtual |
Get paint engine for the scene.
Get paint engine for the scene
|
protectedvirtual |
Custom paint event handler
References GetDevice().
|
virtualslot |
To implement final initialization, just before the widget is displayed.
To implement final initialization, just before the widget is displayed
References GetDevice(), and ViewerTools_ScreenScaling::getPR().
To adjust widget and vtkRenderWindow size.
To adjust widget and vtkRenderWindow size
References GetDevice().
|
protectedvirtual |
Custom resize event handler
References GetDevice(), ViewerTools_ScreenScaling::getPR(), and getRenderWindow().
|
virtualslot |
Need for initial contents display on Win32.
Need for initial contents display on Win32
|
protectedvirtual |
Custom mouse wheel event handler
Reimplemented in SVTK_RenderWindowInteractor.
References GetDevice().
|
protected |
|
protected |