39 G4OpenInventorXtExaminerViewerMessenger::fpInstance = 0;
49G4OpenInventorXtExaminerViewerMessenger::
50 G4OpenInventorXtExaminerViewerMessenger()
55 fpDirectory->
SetGuidance(
"G4OpenInventorXtExaminerViewer commands.");
58 fpCommandPathLookahead->
SetGuidance(
"Look-ahead for flying along a path.");
60 fpCommandPathLookahead->
SetRange(
"npoints > 0");
66 delete fpCommandPathLookahead;
79 "G4OpenInventorXtExaminerViewerMessenger::SetNewValue: "
80 "No current viewer." <<
G4endl <<
81 "Use /vis/open, or similar, to get one." <<
G4endl;
90 "G4OpenInventorXtExaminerViewerMessenger::SetNewValue:" <<
G4endl <<
91 "Current viewer is not of type OIXE." <<
G4endl <<
92 "Use /vis/viewer/select or /vis/open." <<
G4endl;
96 if (command == fpCommandPathLookahead) {
99 if (lookahead > 0) pViewer->pathLookahead = lookahead;
G4GLOB_DLL std::ostream G4cout
void SetNewValue(G4UIcommand *, G4String)
static G4OpenInventorXtExaminerViewerMessenger * GetInstance()
~G4OpenInventorXtExaminerViewerMessenger()
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
void SetGuidance(const char *aGuidance)
void SetRange(const char *rs)
G4VViewer * GetCurrentViewer() const
static G4VisManager * GetInstance()