VTK  9.7.1
Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
QVTKInteractorAdapter Class Reference

#include <QVTKInteractorAdapter.h>

Inheritance diagram for QVTKInteractorAdapter:
[legend]

Public Member Functions

 QVTKInteractorAdapter (QObject *parent=nullptr)
 
 ~QVTKInteractorAdapter () override
 
void SetEnableTouchEventProcessing (bool val)
 
bool GetEnableTouchEventProcessing () const
 
void SetDevicePixelRatio (float ratio, vtkRenderWindowInteractor *iren=nullptr)
 
float GetDevicePixelRatio ()
 
virtual bool ProcessEvent (QEvent *e, vtkRenderWindowInteractor *iren)
 

Protected Attributes

int AccumulatedDelta
 
bool EnableTouchEventProcessing = true
 
float DevicePixelRatio
 

Static Protected Attributes

static const double DevicePixelRatioTolerance
 

Detailed Description

Definition at line 30 of file QVTKInteractorAdapter.h.

Constructor & Destructor Documentation

QVTKInteractorAdapter::QVTKInteractorAdapter ( QObject *  parent = nullptr)
QVTKInteractorAdapter::~QVTKInteractorAdapter ( )
override

Member Function Documentation

void QVTKInteractorAdapter::SetEnableTouchEventProcessing ( bool  val)
bool QVTKInteractorAdapter::GetEnableTouchEventProcessing ( ) const
inline

Definition at line 45 of file QVTKInteractorAdapter.h.

void QVTKInteractorAdapter::SetDevicePixelRatio ( float  ratio,
vtkRenderWindowInteractor *  iren = nullptr 
)
float QVTKInteractorAdapter::GetDevicePixelRatio ( )
inline

Definition at line 50 of file QVTKInteractorAdapter.h.

virtual bool QVTKInteractorAdapter::ProcessEvent ( QEvent *  e,
vtkRenderWindowInteractor *  iren 
)
virtual

Reimplemented in QQuickVTKInteractorAdapter.

Member Data Documentation

int QVTKInteractorAdapter::AccumulatedDelta
protected

Definition at line 58 of file QVTKInteractorAdapter.h.

bool QVTKInteractorAdapter::EnableTouchEventProcessing = true
protected

Definition at line 59 of file QVTKInteractorAdapter.h.

float QVTKInteractorAdapter::DevicePixelRatio
protected

Definition at line 60 of file QVTKInteractorAdapter.h.

const double QVTKInteractorAdapter::DevicePixelRatioTolerance
staticprotected

Definition at line 61 of file QVTKInteractorAdapter.h.


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