34 #if defined (G4VIS_BUILD_DAWN_DRIVER) || defined (G4VIS_USE_DAWN)
37 #ifndef G4FUKUI_RENDERER_HH
38 #define G4FUKUI_RENDERER_HH
53 virtual ~G4FukuiRenderer ();
57 G4FRClientServer& GetPrimDest() {
return fPrimDest ; }
60 enum { IP_UNIX, IP_INET };
61 enum { FR_MAX_PORT_INCR = 10 };
62 G4bool IsUnixDomain()
const {
return (fIPMode == G4FukuiRenderer::IP_UNIX); }
63 G4bool IsInetDomain()
const {
return (fIPMode == G4FukuiRenderer::IP_INET); }
64 void UseInetDomainAuto();
66 void UseBSDUnixDomainAuto();
67 void ConnectPort(
int max_port_incr = FR_MAX_PORT_INCR);
69 G4bool IsGUIMode (
void) {
return flag_use_gui ; }
70 G4bool IsConnected (
void) {
return flag_connected ; }
74 G4FRClientServer fPrimDest ;
79 G4int flag_connected ;
83 #endif //G4VIS_BUILD_DAWN_DRIVER
virtual G4VViewer * CreateViewer(G4VSceneHandler &, const G4String &name)=0
virtual G4VSceneHandler * CreateSceneHandler(const G4String &name)=0