33#if defined (G4VIS_BUILD_DAWN_DRIVER) || defined (G4VIS_USE_DAWN)
36#ifndef G4FUKUI_RENDERER_HH
37#define G4FUKUI_RENDERER_HH
52 virtual ~G4FukuiRenderer ();
56 G4FRClientServer& GetPrimDest() {
return fPrimDest ; }
59 enum { IP_UNIX, IP_INET };
60 enum { FR_MAX_PORT_INCR = 10 };
61 G4bool IsUnixDomain()
const {
return (fIPMode == G4FukuiRenderer::IP_UNIX); }
62 G4bool IsInetDomain()
const {
return (fIPMode == G4FukuiRenderer::IP_INET); }
63 void UseInetDomainAuto();
65 void UseBSDUnixDomainAuto();
66 void ConnectPort(
int max_port_incr = FR_MAX_PORT_INCR);
68 G4bool IsGUIMode (
void) {
return flag_use_gui ; }
69 G4bool IsConnected (
void) {
return flag_connected ; }
73 G4FRClientServer fPrimDest ;
78 G4int flag_connected ;
virtual G4VViewer * CreateViewer(G4VSceneHandler &, const G4String &name)=0
virtual G4VSceneHandler * CreateSceneHandler(const G4String &name)=0