28#if defined (G4VIS_BUILD_QT3D_DRIVER) || defined (G4VIS_USE_QT3D)
30#ifndef G4QT3DVIEWER_HH
31#define G4QT3DVIEWER_HH
39class G4Qt3DViewer:
public G4VViewer,
public Qt3DExtras::Qt3DWindow
43 G4Qt3DViewer(G4Qt3DSceneHandler&,
const G4String& name);
44 virtual ~G4Qt3DViewer();
51 void SwitchToVisSubThread();
52 void SwitchToMasterThread();
56 void KernelVisitDecision ();
59 void keyPressEvent (QKeyEvent*);
60 void keyReleaseEvent (QKeyEvent*);
61 void mouseDoubleClickEvent(QMouseEvent*);
62 void mouseMoveEvent (QMouseEvent*);
63 void mousePressEvent (QMouseEvent*);
64 void mouseReleaseEvent (QMouseEvent*);
65 void wheelEvent (QWheelEvent*);
68 G4Qt3DSceneHandler& fQt3DSceneHandler;
75 G4double fMousePressedX, fMousePressedY;
virtual void DrawView()=0
virtual void FinishView()
virtual void ClearView()=0