34 #ifdef G4VIS_BUILD_DAWN_DRIVER
38 #ifndef G4FUKUI_RENDERER_SCENE_HANDLER_HH
39 #define G4FUKUI_RENDERER_SCENE_HANDLER_HH
49 class G4FukuiRenderer;
57 G4FukuiRendererSceneHandler (G4FukuiRenderer& system,
const G4String&
name =
"");
58 virtual ~G4FukuiRendererSceneHandler ();
111 void FRBeginModeling () ;
112 void FREndModeling () ;
113 G4bool FRIsInModeling () {
return FRflag_in_modeling ; }
115 G4bool IsSavingG4Prim (
void ) {
return flag_saving_g4_prim ; }
116 void BeginSavingG4Prim(
void )
118 if( !IsSavingG4Prim() )
122 flag_saving_g4_prim = true ;
125 void EndSavingG4Prim (
void )
126 {
if( IsSavingG4Prim() ) { SendStr(
FR_END_SAVE ); flag_saving_g4_prim = false ; } }
128 G4FRClientServer& GetPrimDest () {
return fPrimDest ; }
129 G4FukuiRenderer& GetSystem () {
return fSystem ; }
130 void SendBoundingBox (
void );
136 G4bool IsVisible (
void ) ;
137 void SendTransformedCoordinates(
void ) ;
138 void SendPhysVolName (
void ) ;
139 void SendNdiv (
void ) ;
143 void SendStr (
const char* char_string ) ;
144 void SendStrInt(
const char* char_string ,
146 void SendStrInt3(
const char* char_string ,
150 void SendStrInt4(
const char* char_string ,
155 void SendStrDouble(
const char* char_string ,
157 void SendStrDouble2(
const char* char_string ,
160 void SendStrDouble3(
const char* char_string ,
165 void SendStrDouble4(
const char* char_string ,
171 void SendStrDouble5(
const char* char_string ,
178 void SendStrDouble6(
const char* char_string ,
186 void SendStrDouble7(
const char* char_string ,
195 void SendStrDouble11(
const char* char_string ,
208 void SendIntDouble3(
G4int ival ,
212 void SendInt3Str(
G4int ival1 ,
215 const char* char_string );
216 void SendInt4Str(
G4int ival1 ,
220 const char* char_string );
222 void SendStrDouble3Str(
const char* char_string1 ,
226 const char* char_string2 );
228 void SendStrDouble6Str(
const char* char_string1 ,
235 const char* char_string2 );
237 void SendInt (
G4int val );
244 static G4int fSceneIdCount;
246 G4FRClientServer& fPrimDest ;
247 G4bool FRflag_in_modeling ;
256 G4bool flag_saving_g4_prim ;
258 const int COMMAND_BUF_SIZE ;
260 G4int fPrec, fPrec2 ;
265 #endif //G4VIS_BUILD_DAWN_DRIVER
virtual void AddSolid(const G4Box &)
virtual void BeginModeling()
virtual void BeginPrimitives(const G4Transform3D &objectTransformation)
const char FR_G4_PRIM_HEADER[]
virtual void AddPrimitive(const G4Polyline &)=0
virtual void EndModeling()
virtual void EndPrimitives()
virtual void AddCompound(const G4VTrajectory &)
virtual void ClearTransientStore()
G4VGraphicsSystem & fSystem