34#ifdef G4VIS_BUILD_VRML_DRIVER
36#ifndef G4VRML2_SCENE_HANDLER_HH
37#define G4VRML2_SCENE_HANDLER_HH
50 enum { MAX_CONNECTION_TRIAL = 10 } ;
54 G4VRML2SceneHandler(G4VRML2& system,
const G4String& name =
"");
55 virtual ~G4VRML2SceneHandler();
103 void VRMLBeginModeling();
104 void VRMLEndModeling();
106 void connectPort(
int max_trial = MAX_CONNECTION_TRIAL );
112 void SendMaterialNode ();
115 void SendMarkerColor (
const G4VMarker& mark ) ;
116 void SendMarkerWorldPosition (
const G4VMarker& mark ) ;
119 void GetMarkerWorldPosition (
const G4VMarker& mark ,
124 G4bool IsPVPickable () {
return fPVPickable ;}
125 void SetPVPickability (
G4bool on_off ) { fPVPickable = on_off ;}
127 G4double GetPVTransparency () {
return fPVTransparency ; }
137 static G4int fSceneIdCount;
virtual void BeginModeling()
virtual void ClearTransientStore()
virtual void EndPrimitives()
virtual void EndModeling()
virtual void BeginPrimitives(const G4Transform3D &objectTransformation)
G4VGraphicsSystem & fSystem
virtual void AddSolid(const G4Box &)
virtual void AddCompound(const G4VTrajectory &)
virtual void AddPrimitive(const G4Polyline &)=0