78 fFlagDestOpen( false )
91 if ( getenv(
"G4VRMLFILE_MAX_FILE_NUM" ) != NULL ) {
93 sscanf( getenv(
"G4VRMLFILE_MAX_FILE_NUM"),
"%d", &
fMaxFileNum ) ;
105 #if defined DEBUG_FR_SCENE
113 #define G4VRML1SCENEHANDLER G4VRML1FileSceneHandler
114 #define IS_CONNECTED this->isConnected()
117 #undef G4VRML1SCENEHANDLER
135 if( i == MAX_FILE_INDEX )
138 G4cout <<
"===========================================" <<
G4endl;
139 G4cout <<
"WARNING MESSAGE from VRML1FILE driver: " <<
G4endl;
140 G4cout <<
" This file name is the final one in the " <<
G4endl;
141 G4cout <<
" automatic updation of the output file name." <<
G4endl;
142 G4cout <<
" You may overwrite existing files, i.e. " <<
G4endl;
144 G4cout <<
"===========================================" <<
G4endl;
149 if( i >= 0 && i <= 9 ) {
172 G4cout <<
"===========================================" <<
G4endl;
174 G4cout <<
"Maximum number of files in the destination directory: " << fMaxFileNum <<
G4endl;
175 G4cout <<
" (Customizable with the environment variable: G4VRMLFILE_MAX_FILE_NUM) " <<
G4endl;
176 G4cout <<
"===========================================" <<
G4endl;
202 G4cout <<
" Set an environmental variable " ;
204 G4cout <<
" if you want to visualize the generated VRML file" <<
G4endl;
210 (void) system( command );
G4VRML1FileSceneHandler(G4VRML1File &system, const G4String &name="")
const int DEFAULT_MAX_WRL_FILE_NUM
const char ENV_VRML_VIEWER[]
const char VRMLFILE_DEST_DIR[]
char fVRMLFileDestDir[256]
G4GLOB_DLL std::ostream G4cout
const char NO_VRML_VIEWER[]
static Verbosity GetVerbosity()
const char WRL_FILE_HEADER[]
static G4int fSceneIdCount
virtual ~G4VRML1FileSceneHandler()
const char DEFAULT_WRL_FILE_NAME[]