35 #define G4GMocrenFile_STRUCTURE_PRIORITY 1.
64 :
G4VViewer (sceneHandler, sceneHandler.IncrementViewCount (), name),
65 kSceneHandler (sceneHandler)
69 if( getenv(
"G4GMocrenFile_VIEWER" ) != NULL ) {
70 char * env = getenv(
"G4GMocrenFile_VIEWER" );
71 int len = std::strlen(env);
73 G4Exception(
"G4GMocrenFileViewer::G4GMocrenFileViewer(*)",
75 "Invalid length of string set in G4GMocrenFile_VIEWER");
91 int len = std::strlen(gddfname);
93 G4Exception(
"G4GMocrenFileViewer::G4GMocrenFileViewer(*)",
95 "Invalid length of the GDD file name");
111 G4cout <<
"***** G4GMocrenFileViewer::SetView(): No effects" <<
G4endl;
124 G4cout <<
"***** G4GMocrenFileViewer::ClearView (): No effects " <<
G4endl;
141 G4cout <<
"***** G4GMocrenFileViewer::DrawView () " <<
G4endl;
161 G4cout <<
"***** G4GMocrenFileViewer::ShowView () " <<
G4endl;
183 int len = std::strlen(gddfname);
187 "Invalid length of the GDD file name");
char kG4GddViewerInvocation[64]
G4GMocrenFileViewer(G4GMocrenFileSceneHandler &scene, G4GMocrenMessenger &messenger, const G4String &name="")
G4GLOB_DLL std::ostream G4cout
G4GMocrenFileSceneHandler & kSceneHandler
const char * GetGddFileName()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static Verbosity GetVerbosity()
virtual ~G4GMocrenFileViewer()