Go to the documentation of this file.
25 #include <Inventor/Qt/SoQt.h>
26 #include <Inventor/Qt/viewers/SoQtExaminerViewer.h>
27 #define SO_WINDOW QWidget*
28 #define SO_PLATFORM SoQt
29 #define SO_EXAMINER_VIEWER SoQtExaminerViewer
31 #include <Inventor/Qt/SoQt.h>
32 #include <Inventor/Qt/viewers/SoQtExaminerViewer.h>
33 #define SO_WINDOW QWidget*
34 #define SO_PLATFORM SoQt
35 #define SO_EXAMINER_VIEWER SoQtExaminerViewer
38 #include <Inventor/SbLinear.h>
39 #include <Inventor/nodes/SoSeparator.h>
40 #include <qapplication.h>
43 #ifdef HAVE_COLLISION_DET
44 #include <Inventor/SoInteraction.h>
45 #include <Inventor/collision/SoIntersectionDetectionAction.h>
49 #include <Inventor/nodes/SoPerspectiveCamera.h>
50 #include <Inventor/nodes/SoDirectionalLight.h>
51 #include <Inventor/SoOffscreenRenderer.h>
70 bool getPath(std::string name, SoPath*& p, SoNode* r = NULL);
89 #ifdef HAVE_COLLISION_DET
90 static SoIntersectionDetectionAction::Resp OIFwdKinematicsInterface::intersectionCB(
void* closure,
91 const SoIntersectingPrimitive* pr1,
92 const SoIntersectingPrimitive* pr2);
99 QApplication* iQApplication;
100 std::string sceneryFilename;
105 #ifdef HAVE_COLLISION_DET
106 SoIntersectionDetectionAction* ida;
SoPerspectiveCamera * m_pCamera
OIFwdKinematicsInterface(std::string filename="")
The constructor of the OIFwdKinematicsInterface class.
bool getPath(std::string name, SoPath *&p, SoNode *r=NULL)
bool getTranslation(SbVec3f &translation, SoPath *p)
SoSeparator * m_pDavidsRoot
SoOffscreenRenderer * m_pOffscreenRenderer
bool readSceneryFromFile()
This method tries to read the scenegraph from the file OIFwdKinematicsInterface::sceneryFilename and ...
virtual ~OIFwdKinematicsInterface()
The virtual destructor of the OIFwdKinematicsInterface class.
SoDirectionalLight * m_pLight
virtual bool buildScenery()
The virtual method OIFwdKinematicsInterface::buildScenery() is used to create a scenegraph.
double angle(const Point &a, const Point &b, const Point &c)
bool setJointAngle(SoPath *p, float angle)
SbViewportRegion * m_pViewportRegion
#define SO_EXAMINER_VIEWER