34#ifdef G4VIS_BUILD_DAWN_DRIVER
38#ifndef G4FUKUI_RENDERER_SCENE_HANDLER_HH
39#define G4FUKUI_RENDERER_SCENE_HANDLER_HH
57 G4FukuiRendererSceneHandler (G4FukuiRenderer& system,
const G4String& name =
"");
58 virtual ~G4FukuiRendererSceneHandler ();
112 void FRBeginModeling () ;
113 void FREndModeling () ;
114 G4bool FRIsInModeling () {
return FRflag_in_modeling ; }
116 G4bool IsSavingG4Prim (
void ) {
return flag_saving_g4_prim ; }
117 void BeginSavingG4Prim(
void )
119 if( !IsSavingG4Prim() )
123 flag_saving_g4_prim = true ;
126 void EndSavingG4Prim (
void )
127 {
if( IsSavingG4Prim() ) { SendStr(
FR_END_SAVE ); flag_saving_g4_prim = false ; } }
129 G4FRClientServer& GetPrimDest () {
return fPrimDest ; }
130 G4FukuiRenderer& GetSystem () {
return fSystem ; }
131 void SendBoundingBox (
void );
137 G4bool IsVisible (
void ) ;
138 void SendTransformedCoordinates(
void ) ;
139 void SendPhysVolName (
void ) ;
140 void SendNdiv (
void ) ;
144 void SendStr (
const char* char_string ) ;
145 void SendStrInt(
const char* char_string ,
147 void SendStrInt3(
const char* char_string ,
151 void SendStrInt4(
const char* char_string ,
156 void SendStrDouble(
const char* char_string ,
158 void SendStrDouble2(
const char* char_string ,
161 void SendStrDouble3(
const char* char_string ,
166 void SendStrDouble4(
const char* char_string ,
172 void SendStrDouble5(
const char* char_string ,
179 void SendStrDouble6(
const char* char_string ,
187 void SendStrDouble7(
const char* char_string ,
196 void SendStrDouble11(
const char* char_string ,
209 void SendIntDouble3(
G4int ival ,
213 void SendInt3Str(
G4int ival1 ,
216 const char* char_string );
217 void SendInt4Str(
G4int ival1 ,
221 const char* char_string );
223 void SendStrDouble3Str(
const char* char_string1 ,
227 const char* char_string2 );
229 void SendStrDouble6Str(
const char* char_string1 ,
236 const char* char_string2 );
238 void SendInt (
G4int val );
245 static G4int fSceneIdCount;
247 G4FRClientServer& fPrimDest ;
248 G4bool FRflag_in_modeling ;
257 G4bool flag_saving_g4_prim ;
259 const int COMMAND_BUF_SIZE ;
261 G4int fPrec, fPrec2 ;
const char FR_G4_PRIM_HEADER[]
virtual void BeginModeling()
virtual void ClearTransientStore()
virtual void EndPrimitives()
virtual void EndModeling()
virtual void BeginPrimitives(const G4Transform3D &objectTransformation)
G4VGraphicsSystem & fSystem
virtual void AddSolid(const G4Box &)
virtual void AddCompound(const G4VTrajectory &)
virtual void AddPrimitive(const G4Polyline &)=0