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"
virtual G4VSolid * CreateSectionSolid()
virtual void EndPrimitives()
virtual void ProcessScene()
virtual void PreAddSolid(const G4Transform3D &objectTransformation, const G4VisAttributes &)
virtual void BeginPrimitives(const G4Transform3D &objectTransformation)
virtual void EndPrimitives2D()
virtual void BeginPrimitives2D(const G4Transform3D &objectTransformation)
virtual G4VSolid * CreateCutawaySolid()
virtual void AddSolid(const G4Box &)
virtual void AddCompound(const G4VTrajectory &)
virtual void AddPrimitive(const G4Polyline &)=0