29 #ifdef G4VIS_BUILD_OIQT_DRIVER
34 #include <Inventor/Qt/SoQt.h>
41 G4OpenInventorQt::G4OpenInventorQt()
51 G4cout <<
"G4OpenInventorQt: SETINTERACTORMANAGER " << G4SoQt::getInstance()
53 SetInteractorManager(G4SoQt::getInstance());
54 G4cout <<
"G4OpenInventorQt: GETINTERACTORMANAGER " << GetInteractorManager()
90 QWidget* mainWin = (QWidget*)(GetInteractorManager()->GetMainInteractor());
91 G4cout <<
"OpenInventorQt: OBTAINED SoQt main window " << mainWin <<
G4endl;
93 G4cout <<
"SoQt::getTopLevelWidget()" << SoQt::getTopLevelWidget() <<
G4endl;
101 G4OpenInventorQt::~G4OpenInventorQt()
109 G4OpenInventorSceneHandler* pScene = (G4OpenInventorSceneHandler*)&scene;
110 return new G4OpenInventorQtViewer(*pScene, name);