35 #define G4GMocrenFile_STRUCTURE_PRIORITY 1.
64 :
G4VViewer (sceneHandler, sceneHandler.IncrementViewCount (), name),
65 kSceneHandler (sceneHandler),
69 std::strncpy( kG4GddViewer,
"gMocren", 7);
70 if( getenv(
"G4GMocrenFile_VIEWER" ) != NULL ) {
71 char * env = getenv(
"G4GMocrenFile_VIEWER" );
72 std::strncpy( kG4GddViewer, env, std::strlen(env));
77 if ( !std::strcmp( kG4GddViewer,
"NONE" ) ) {
80 kG4GddViewerInvocation[0] =
'\0';
83 std::strncpy( kG4GddViewerInvocation, kG4GddViewer, std::strlen(kG4GddViewer));
84 std::strncat( kG4GddViewerInvocation,
" ", 1);
86 std::strncat( kG4GddViewerInvocation, gddfname, std::strlen(gddfname) );
100 G4cout <<
"***** G4GMocrenFileViewer::SetView(): No effects" <<
G4endl;
113 G4cout <<
"***** G4GMocrenFileViewer::ClearView (): No effects " <<
G4endl;
119 kSceneHandler.kFlagInModeling =
false;
130 G4cout <<
"***** G4GMocrenFileViewer::DrawView () " <<
G4endl;
150 G4cout <<
"***** G4GMocrenFileViewer::ShowView () " <<
G4endl;
163 if ( !strcmp( kG4GddViewer,
"NONE" ) ) {
165 kG4GddViewerInvocation[0] =
'\0';
169 std::strncpy( kG4GddViewerInvocation, kG4GddViewer, std::strlen(kG4GddViewer));
170 std::strncat( kG4GddViewerInvocation,
" ", 1);
172 std::strncat( kG4GddViewerInvocation, gddfname, std::strlen(gddfname));