34 #ifdef G4VIS_BUILD_DAWN_DRIVER
38 #ifndef G4FUKUI_RENDERER_SCENE_HANDLER_HH
39 #define G4FUKUI_RENDERER_SCENE_HANDLER_HH
49 class G4FukuiRenderer;
58 virtual ~G4FukuiRendererSceneHandler ();
120 void FRBeginModeling () ;
121 void FREndModeling () ;
122 G4bool FRIsInModeling () {
return FRflag_in_modeling ; }
124 G4bool IsSavingG4Prim (
void ) {
return flag_saving_g4_prim ; }
125 void BeginSavingG4Prim(
void )
127 if( !IsSavingG4Prim() )
131 flag_saving_g4_prim = true ;
134 void EndSavingG4Prim (
void )
135 {
if( IsSavingG4Prim() ) { SendStr(
FR_END_SAVE ); flag_saving_g4_prim = false ; } }
137 G4FRClientServer& GetPrimDest () {
return fPrimDest ; }
138 G4FukuiRenderer& GetSystem () {
return fSystem ; }
139 void SendBoundingBox (
void );
145 G4bool IsVisible (
void ) ;
146 void SendTransformedCoordinates(
void ) ;
147 void SendPhysVolName (
void ) ;
148 void SendNdiv (
void ) ;
152 void SendStr (
const char* char_string ) ;
153 void SendStrInt(
const char* char_string ,
155 void SendStrInt3(
const char* char_string ,
159 void SendStrInt4(
const char* char_string ,
164 void SendStrDouble(
const char* char_string ,
166 void SendStrDouble2(
const char* char_string ,
169 void SendStrDouble3(
const char* char_string ,
174 void SendStrDouble4(
const char* char_string ,
180 void SendStrDouble5(
const char* char_string ,
187 void SendStrDouble6(
const char* char_string ,
195 void SendStrDouble7(
const char* char_string ,
204 void SendStrDouble11(
const char* char_string ,
217 void SendIntDouble3(
G4int ival ,
221 void SendInt3Str(
G4int ival1 ,
224 const char* char_string );
225 void SendInt4Str(
G4int ival1 ,
229 const char* char_string );
231 void SendStrDouble3Str(
const char* char_string1 ,
235 const char* char_string2 );
237 void SendStrDouble6Str(
const char* char_string1 ,
244 const char* char_string2 );
246 void SendInt (
G4int val );
253 static G4int fSceneIdCount;
255 G4FRClientServer& fPrimDest ;
256 G4bool FRflag_in_modeling ;
265 G4bool flag_saving_g4_prim ;
267 const int COMMAND_BUF_SIZE ;
269 G4int fPrec, fPrec2 ;
274 #endif //G4VIS_BUILD_DAWN_DRIVER
system("rm -rf microbeam.root")
virtual void BeginPrimitives(const G4Transform3D &objectTransformation)
virtual void ClearTransientStore()
G4VGraphicsSystem & fSystem
virtual void AddCompound(const G4VTrajectory &)
virtual void BeginModeling()
virtual void EndModeling()
virtual void AddSolid(const G4Box &)
virtual void AddPrimitive(const G4Polyline &)=0
const char FR_G4_PRIM_HEADER[]
virtual void EndPrimitives()