15 #ifndef QVTKRenderWindowAdapter_h 
   16 #define QVTKRenderWindowAdapter_h 
   37 #include "vtkGUISupportQtModule.h"  
   41 #include <QScopedPointer>  
   53   using Superclass = QObject;
 
   94   static QSurfaceFormat defaultFormat(
bool stereo_capable = 
false);
 
   99   QOpenGLContext* context() 
const;
 
  119   void resize(
int width, 
int height);
 
  127     unsigned int targetId, 
int targetAttachement, 
const QRect& targetRect, 
bool left = 
true);
 
  128   bool blitLeftEye(
unsigned int targetId, 
int targetAttachement, 
const QRect& targetRect)
 
  130     return this->blit(targetId, targetAttachement, targetRect, 
true);
 
  132   bool blitRightEye(
unsigned int targetId, 
int targetAttachement, 
const QRect& targetRect)
 
  134     return this->blit(targetId, targetAttachement, targetRect, 
false);
 
  142   bool handleEvent(QEvent* evt);
 
  163   void setEnableHiDPI(
bool value);
 
  171   void setUnscaledDPI(
int value);
 
  175   void contextAboutToBeDestroyed();
 
  183   QScopedPointer<QVTKInternals> Internals;
 
  185   QCursor DefaultCursor;