Adaption of FreeCAD to QuarterWidget

-removes all soqtviewer references
-create a quarter adaptor class which implements missing functionality
-adopts freecad code to make use of SoRenderManager and changed View3DInventorViewer  interface
This commit is contained in:
Stefan Tröger
2014-07-19 15:18:14 +02:00
committed by wmayer
parent e1265c874d
commit 72cab0c002
74 changed files with 1855 additions and 1180 deletions

View File

@@ -47,8 +47,6 @@
#include "View3DInventorExamples.h"
#include <Inventor/SbPlane.h>
#include <Inventor/Qt/SoQt.h>
#include <Inventor/Qt/viewers/SoQtExaminerViewer.h>
#include <Inventor/SoDB.h>
#include <Inventor/actions/SoSearchAction.h>
#include <Inventor/manips/SoPointLightManip.h>
@@ -266,24 +264,6 @@ void Texture3D(SoSeparator * root)
root->addChild(planeTCoords);
SoFaceSet * planeFS = new SoFaceSet;
root->addChild(planeFS);
/*
SoQtExaminerViewer * renderarea = new SoQtExaminerViewer( window );
renderarea->setSceneGraph( root );
renderarea->setBackgroundColor( SbColor( 0.0f, 0.2f, 0.3f ) );
renderarea->setTitle(argv[0]);
renderarea->setIconTitle(argv[0]);
renderarea->viewAll();
renderarea->show();
SoQt::show(window);
SoQt::mainLoop();
delete renderarea;
root->unref();
return 0;
*/
}
// *************************************************************************