29 #ifndef HookEventProcState_H
30 #define HookEventProcState_H 1
48 #ifndef G4OPENINVENTORXTEXAMINERVIEWER_HH
49 #define G4OPENINVENTORXTEXAMINERVIEWER_HH
54 #include <Inventor/SbLinear.h>
55 #include <Inventor/nodes/SoLineSet.h>
56 #include <Inventor/nodes/SoEventCallback.h>
57 #include <Inventor/Xt/viewers/SoXtExaminerViewer.h>
58 #include <Inventor/events/SoKeyboardEvent.h>
87 const char *
name = NULL,
89 SoXtFullViewer::BuildFlag flag = BUILD_ALL,
97 void addButton(Widget menu, std::string
name, XtCallbackProc);
121 SoXtFullViewer::BuildFlag flag,
131 void moveCamera(
float dist = 0,
bool lookdown =
false);
173 static void mouseoverCB(
void *aThis, SoEventCallback *eventCB);
174 static void pickingCB(
void *aThis, SoEventCallback *eventCB);
224 float sqrlen(
const SbVec3f&);