VTK  9.6.1
QQuickVTKInteractorAdapter Class Reference

Interactor that handles relaying custom QML handler events to VTK. More...

#include <QQuickVTKInteractorAdapter.h>

Inheritance diagram for QQuickVTKInteractorAdapter:
[legend]
Collaboration diagram for QQuickVTKInteractorAdapter:
[legend]

Public Member Functions

 QQuickVTKInteractorAdapter (QObject *parent=nullptr)
bool ProcessEvent (QEvent *e, vtkRenderWindowInteractor *iren) override
Public Member Functions inherited from QVTKInteractorAdapter
 QVTKInteractorAdapter (QObject *parent=nullptr)
 ~QVTKInteractorAdapter () override
void SetEnableTouchEventProcessing (bool val)
bool GetEnableTouchEventProcessing () const
void SetDevicePixelRatio (float ratio, vtkRenderWindowInteractor *iren=nullptr)
float GetDevicePixelRatio ()

Additional Inherited Members

Protected Attributes inherited from QVTKInteractorAdapter
int AccumulatedDelta
bool EnableTouchEventProcessing = true
float DevicePixelRatio
Static Protected Attributes inherited from QVTKInteractorAdapter
static const double DevicePixelRatioTolerance

Detailed Description

Interactor that handles relaying custom QML handler events to VTK.

Handles translating the QQuickVTKPinchEvent::QQuickVTKPinch events to VTK events such that:

For more information on QQuickVTKPinchEvent, refer to QQuickVTKItem documentation.

See also
QQuickVTKItem::pinchHandlerTranslate, QQuickVTKItem::pinchHandlerScale, QQuickVTKItem::pinchHandlerRotate,
QQuickVTKPinchEvent

Definition at line 36 of file QQuickVTKInteractorAdapter.h.

Constructor & Destructor Documentation

◆ QQuickVTKInteractorAdapter()

QQuickVTKInteractorAdapter::QQuickVTKInteractorAdapter ( QObject * parent = nullptr)

Member Function Documentation

◆ ProcessEvent()

bool QQuickVTKInteractorAdapter::ProcessEvent ( QEvent * e,
vtkRenderWindowInteractor * iren )
overridevirtual

Reimplemented from QVTKInteractorAdapter.


The documentation for this class was generated from the following file: