34 #ifdef G4VIS_BUILD_OPENGL_DRIVER
36 #ifndef G4OPENGLSCENEHANDLER_HH
37 #define G4OPENGLSCENEHANDLER_HH
51 friend class G4OpenGLViewer;
63 void AddPrimitivesCircle (
const std::vector <G4VMarker>&);
64 void AddPrimitivesSquare (
const std::vector <G4VMarker>&);
87 G4int GetEventsDrawInterval() {
return fEventsDrawInterval;}
88 void SetEventsDrawInterval(
G4int interval) {fEventsDrawInterval = interval;}
95 virtual ~G4OpenGLSceneHandler ();
101 void ClearAndDestroyAtts();
104 std::map<GLuint, G4AttHolder*> fPickMap;
107 void ScaledFlush () ;
109 G4int fEventsDrawInterval;
111 G4int fEventsWaitingToBeFlushed;
116 G4bool fSecondPassForTransparencyRequested;
117 G4bool fSecondPassForTransparency;
119 G4bool fThirdPassForNonHiddenMarkersRequested;
120 G4bool fThirdPassForNonHiddenMarkers;
122 static const GLubyte fStippleMaskHashed [128];
125 #include "G4OpenGLSceneHandler.icc"