26 #ifdef G4VIS_BUILD_OIX_DRIVER
40 G4OpenInventorXtExaminerViewerMessenger*
41 G4OpenInventorXtExaminerViewerMessenger::fpInstance = 0;
43 G4OpenInventorXtExaminerViewerMessenger*
46 if (!fpInstance) fpInstance =
new G4OpenInventorXtExaminerViewerMessenger;
51 G4OpenInventorXtExaminerViewerMessenger::
52 G4OpenInventorXtExaminerViewerMessenger()
57 fpDirectory->SetGuidance(
"G4OpenInventorXtExaminerViewer commands.");
60 fpCommandPathLookahead->SetGuidance(
"Look-ahead for flying along a path.");
61 fpCommandPathLookahead->SetParameterName(
"npoints", omitable =
false);
62 fpCommandPathLookahead->SetRange(
"npoints > 0");
65 G4OpenInventorXtExaminerViewerMessenger::
66 ~G4OpenInventorXtExaminerViewerMessenger()
68 delete fpCommandPathLookahead;
72 void G4OpenInventorXtExaminerViewerMessenger::
81 "G4OpenInventorXtExaminerViewerMessenger::SetNewValue: "
82 "No current viewer." <<
G4endl <<
83 "Use /vis/open, or similar, to get one." <<
G4endl;
92 "G4OpenInventorXtExaminerViewerMessenger::SetNewValue:" <<
G4endl <<
93 "Current viewer is not of type OIXE." <<
G4endl <<
94 "Use /vis/viewer/select or /vis/open." <<
G4endl;
98 if (command == fpCommandPathLookahead) {
100 fpCommandPathLookahead->GetNewIntValue(newValue);