7 #include "QVTKInteractor.h" 38 typedef QWidget Superclass;
41 pqQVTKWidget(QWidget* parent =
nullptr, Qt::WindowFlags f = Qt::WindowFlags{});
42 pqQVTKWidget(QWidget* parentObject, Qt::WindowFlags f,
bool isStereo);
43 ~pqQVTKWidget()
override;
59 vtkTypeUInt32 getProxyId();
68 void notifyQApplication(QMouseEvent*);
76 QVTKInteractor* interactor()
const;
79 void setEnableHiDPI(
bool flag);
80 void setCustomDevicePixelRatio(
double cdpr);
81 double effectiveDevicePixelRatio()
const;
82 void setViewSize(
int width,
int height);
88 QWidget* renderWidget()
const;
97 void setCursorCustom(
const QCursor& cursor);
98 QCursor cursorCustom()
const;
102 void paintMousePointer(
int x,
int y);
105 void prepareContextForRendering();
111 #if PARAVIEW_USING_QVTKOPENGLSTEREOWIDGET 112 void resizeEvent(QResizeEvent* evt)
override;
116 Q_DISABLE_COPY(pqQVTKWidget)
119 QString SizePropertyName;
vtkSMSession is the default ParaView session.
proxy for a VTK object(s) on a server