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;
144 #endif //G4VRML2_SCENE_HH
145 #endif //G4VIS_BUILD_VRML_DRIVER