32 #ifndef pqQVTKWidget_h 33 #define pqQVTKWidget_h 35 #include "QVTKInteractor.h" 61 typedef QWidget Superclass;
64 pqQVTKWidget(QWidget* parent =
nullptr, Qt::WindowFlags f = Qt::WindowFlags{});
65 pqQVTKWidget(QWidget* parentObject, Qt::WindowFlags f,
bool isStereo);
66 ~pqQVTKWidget()
override;
82 vtkTypeUInt32 getProxyId();
91 void notifyQApplication(QMouseEvent*);
99 QVTKInteractor* interactor()
const;
102 void setEnableHiDPI(
bool flag);
103 void setCustomDevicePixelRatio(
double cdpr);
104 double effectiveDevicePixelRatio()
const;
105 void setViewSize(
int width,
int height);
108 void paintMousePointer(
int x,
int y);
111 void prepareContextForRendering();
117 #if PARAVIEW_USING_QVTKOPENGLSTEREOWIDGET 118 void resizeEvent(QResizeEvent* evt)
override;
122 Q_DISABLE_COPY(pqQVTKWidget)
125 QString SizePropertyName;
vtkSMSession is the default ParaView session.
proxy for a VTK object(s) on a server