33#ifdef G4VIS_BUILD_VRML_DRIVER
35#ifndef G4VRML2_SCENE_HANDLER_HH
36#define G4VRML2_SCENE_HANDLER_HH
49 enum { MAX_CONNECTION_TRIAL = 10 } ;
53 G4VRML2SceneHandler(G4VRML2& system,
const G4String& name =
"");
54 virtual ~G4VRML2SceneHandler();
113 void VRMLBeginModeling();
114 void VRMLEndModeling();
116 void connectPort(
int max_trial = MAX_CONNECTION_TRIAL );
122 void SendMaterialNode ();
125 void SendMarkerColor (
const G4VMarker& mark ) ;
126 void SendMarkerWorldPosition (
const G4VMarker& mark ) ;
129 void GetMarkerWorldPosition (
const G4VMarker& mark ,
134 G4bool IsPVPickable () {
return fPVPickable ;}
135 void SetPVPickability (
G4bool on_off ) { fPVPickable = on_off ;}
137 G4double GetPVTransparency () {
return fPVTransparency ; }
147 static G4int fSceneIdCount;
virtual void BeginModeling()
virtual void ClearTransientStore()
virtual void EndPrimitives()
virtual void EndModeling()
virtual void BeginPrimitives(const G4Transform3D &objectTransformation=G4Transform3D())
G4VGraphicsSystem & fSystem
virtual void AddSolid(const G4Box &)
virtual void AddCompound(const G4VTrajectory &)
virtual void AddPrimitive(const G4Polyline &)=0