34 #ifdef G4VIS_BUILD_VRML_DRIVER
36 #ifndef G4VRML2_SCENE_HANDLER_HH
37 #define G4VRML2_SCENE_HANDLER_HH
50 enum { MAX_CONNECTION_TRIAL = 10 } ;
55 virtual ~G4VRML2SceneHandler();
102 void VRMLBeginModeling();
103 void VRMLEndModeling();
105 void connectPort(
int max_trial = MAX_CONNECTION_TRIAL );
111 void SendMaterialNode ();
114 void SendMarkerColor (
const G4VMarker& mark ) ;
115 void SendMarkerWorldPosition (
const G4VMarker& mark ) ;
118 void GetMarkerWorldPosition (
const G4VMarker& mark ,
123 G4bool IsPVPickable () {
return fPVPickable ;}
124 void SetPVPickability (
G4bool on_off ) { fPVPickable = on_off ;}
126 G4double GetPVTransparency () {
return fPVTransparency ; }
136 static G4int fSceneIdCount;
143 #endif //G4VRML2_SCENE_HH
144 #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 &)
system("rm -rf dna.root")
virtual void ClearTransientStore()
G4VGraphicsSystem & fSystem