// // ******************************************************************** // * DISCLAIMER * // * * // * The following disclaimer summarizes all the specific disclaimers * // * of contributors to this software. The specific disclaimers,which * // * govern, are listed with their locations in: * // * http://cern.ch/geant4/license * // * * // * Neither the authors of this software system, nor their employing * // * institutes,nor the agencies providing financial support for this * // * work make any representation or warranty, express or implied, * // * regarding this software system or assume any liability for its * // * use. * // * * // * This code implementation is the intellectual property of the * // * GEANT4 collaboration. * // * By copying, distributing or modifying the Program (or any work * // * based on the Program) you indicate your acceptance of this * // * statement, and all its terms. * // ******************************************************************** // // // $Id: G4OpenGLWin32Viewer.hh,v 1.6 2002/10/24 15:28:05 johna Exp $ // GEANT4 tag $Name: geant4-05-00 $ // // // G4OpenGLWin32Viewer : Class to provide WindowsNT specific // functionality for OpenGL in GEANT4 #ifdef G4VIS_BUILD_OPENGLWIN32_DRIVER #ifndef G4OPENGLWIN32VIEWER_HH #define G4OPENGLWIN32VIEWER_HH #include "G4VViewer.hh" #include "G4OpenGLSceneHandler.hh" #include "globals.hh" //Win32 includes? #include #include #include class G4OpenGLSceneHandler; class G4OpenGLWin32Viewer: virtual public G4OpenGLViewer { public: G4OpenGLWin32Viewer (G4OpenGLSceneHandler& scene); virtual ~G4OpenGLWin32Viewer (); void FinishView (); protected: void GetWin32Connection (); void CreateGLWin32Context (); virtual void CreateMainWindow (); G4int WinSize_x, WinSize_y; }; #endif #endif