33 #ifdef G4VIS_BUILD_DAWN_DRIVER
37 #ifndef G4FUKUI_RENDERER_SCENE_HANDLER_HH
38 #define G4FUKUI_RENDERER_SCENE_HANDLER_HH
48 class G4FukuiRenderer;
57 virtual ~G4FukuiRendererSceneHandler ();
122 void FRBeginModeling () ;
123 void FREndModeling () ;
124 G4bool FRIsInModeling () {
return FRflag_in_modeling ; }
126 G4bool IsSavingG4Prim (
void ) {
return flag_saving_g4_prim ; }
127 void BeginSavingG4Prim(
void )
129 if( !IsSavingG4Prim() )
133 flag_saving_g4_prim =
true ;
136 void EndSavingG4Prim (
void )
137 {
if( IsSavingG4Prim() ) { SendStr(
FR_END_SAVE ); flag_saving_g4_prim =
false ; } }
139 G4FRClientServer& GetPrimDest () {
return fPrimDest ; }
140 G4FukuiRenderer& GetSystem () {
return fSystem ; }
141 void SendBoundingBox (
void );
147 G4bool IsVisible (
void ) ;
148 void SendTransformedCoordinates(
void ) ;
149 void SendPhysVolName (
void ) ;
150 void SendNdiv (
void ) ;
154 void SendStr (
const char* char_string ) ;
155 void SendStrInt(
const char* char_string ,
157 void SendStrInt3(
const char* char_string ,
161 void SendStrInt4(
const char* char_string ,
166 void SendStrDouble(
const char* char_string ,
168 void SendStrDouble2(
const char* char_string ,
171 void SendStrDouble3(
const char* char_string ,
176 void SendStrDouble4(
const char* char_string ,
182 void SendStrDouble5(
const char* char_string ,
189 void SendStrDouble6(
const char* char_string ,
197 void SendStrDouble7(
const char* char_string ,
206 void SendStrDouble11(
const char* char_string ,
219 void SendIntDouble3(
G4int ival ,
223 void SendInt3Str(
G4int ival1 ,
226 const char* char_string );
227 void SendInt4Str(
G4int ival1 ,
231 const char* char_string );
233 void SendStrDouble3Str(
const char* char_string1 ,
237 const char* char_string2 );
239 void SendStrDouble6Str(
const char* char_string1 ,
246 const char* char_string2 );
248 void SendInt (
G4int val );
255 static G4int fSceneIdCount;
257 G4FRClientServer& fPrimDest ;
258 G4bool FRflag_in_modeling ;
267 G4bool flag_saving_g4_prim ;
269 const int COMMAND_BUF_SIZE ;
271 G4int fPrec, fPrec2 ;
276 #endif //G4VIS_BUILD_DAWN_DRIVER