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");
95 int len = std::strlen(gddfname);
97 G4Exception(
"G4GMocrenFileViewer::G4GMocrenFileViewer(*)",
99 "Invalid length of the GDD file name");
116 G4cout <<
"***** G4GMocrenFileViewer::SetView(): No effects" <<
G4endl;
129 G4cout <<
"***** G4GMocrenFileViewer::ClearView (): No effects " <<
G4endl;
146 G4cout <<
"***** G4GMocrenFileViewer::DrawView () " <<
G4endl;
166 G4cout <<
"***** G4GMocrenFileViewer::ShowView () " <<
G4endl;
191 int len = std::strlen(gddfname);
195 "Invalid length of the GDD file name");
char kG4GddViewerInvocation[64]
virtual ~G4GMocrenFileViewer()
G4GMocrenFileViewer(G4GMocrenFileSceneHandler &scene, G4GMocrenMessenger &messenger, const G4String &name="")
static Verbosity GetVerbosity()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GMocrenFileSceneHandler & kSceneHandler
G4GLOB_DLL std::ostream G4cout
const char * GetGddFileName()