32 #if defined (G4VIS_BUILD_OPENGL_DRIVER) || defined (G4VIS_USE_OPENGL)
34 #ifndef G4OPENGLIMMEDIATESCENEHANDLER_HH
35 #define G4OPENGLIMMEDIATESCENEHANDLER_HH
40 class G4OpenGLImmediate;
42 class G4OpenGLImmediateSceneHandler:
public G4OpenGLSceneHandler {
47 virtual ~G4OpenGLImmediateSceneHandler ();
48 void BeginPrimitives (
const G4Transform3D& objectTransformation);
49 void EndPrimitives ();
50 void BeginPrimitives2D (
const G4Transform3D& objectTransformation);
51 void EndPrimitives2D ();
52 void BeginModeling ();
56 void AddPrimitive (
const G4Text& text);
68 void ClearTransientStore ();
70 static G4int fSceneIdCount;
72 bool AddPrimitivePreambleInternal(
const G4Visible&
visible,
bool isMarker,
bool isPolyline);