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();
111 void VRMLBeginModeling();
112 void VRMLEndModeling();
114 void connectPort(
int max_trial = MAX_CONNECTION_TRIAL );
120 void SendMaterialNode ();
123 void SendMarkerColor (
const G4VMarker& mark ) ;
124 void SendMarkerWorldPosition (
const G4VMarker& mark ) ;
127 void GetMarkerWorldPosition (
const G4VMarker& mark ,
132 G4bool IsPVPickable () {
return fPVPickable ;}
133 void SetPVPickability (
G4bool on_off ) { fPVPickable = on_off ;}
135 G4double GetPVTransparency () {
return fPVTransparency ; }
145 static G4int fSceneIdCount;
152 #endif //G4VRML2_SCENE_HH
153 #endif //G4VIS_BUILD_VRML_DRIVER
virtual void AddSolid(const G4Box &)
virtual void BeginModeling()
virtual void BeginPrimitives(const G4Transform3D &objectTransformation)
virtual void AddPrimitive(const G4Polyline &)=0
virtual void EndModeling()
virtual void EndPrimitives()
virtual void AddCompound(const G4VTrajectory &)
virtual void ClearTransientStore()
G4VGraphicsSystem & fSystem