#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
| 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.
|
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 | ( | ) |
| vtkRenderWindow * QVTK_RenderWindowInteractor::getRenderWindow | ( | ) |
|
virtual |
To initialize by vtkGenericRenderWindowInteractor instance
|
virtual |
Just to simplify usage of its device (vtkGenericRenderWindowInteractor)
|
protectedvirtual |
Custom key press event handler
Reimplemented in SVTK_RenderWindowInteractor.
|
protectedvirtual |
Custom key release event handler
Reimplemented in SVTK_RenderWindowInteractor.
|
protectedvirtual |
Custom leave event handler
|
protectedvirtual |
Custom mouse double click event handler
Reimplemented in SVTK_RenderWindowInteractor.
|
protectedvirtual |
Custom mouse move event handler
Reimplemented in SVTK_RenderWindowInteractor.
|
protectedvirtual |
Custom mouse press event handler
Reimplemented in SVTK_RenderWindowInteractor.
|
protectedvirtual |
Custom mouse release event handler
Reimplemented in SVTK_RenderWindowInteractor.
|
protectedvirtual |
|
virtual |
Get paint engine for the scene
|
protectedvirtual |
Custom paint event handler
|
virtualslot |
To implement final initialization, just before the widget is displayed
|
virtualslot |
To adjust widget and vtkRenderWindow size
|
protectedvirtual |
Custom resize event handler
|
virtualslot |
Need for initial contents display on Win32
|
protectedvirtual |
Custom mouse wheel event handler
Reimplemented in SVTK_RenderWindowInteractor.
|
protected |
|
protected |