|
|
#include <VisionX/vision_algorithms/HandLocalizationWithFingertips/Visualization/OIFwdKinematicsInterface.h>
Public Member Functions | |
| void | expandFileNodes () |
| bool | getPath (std::string name, SoPath *&p, SoNode *r=NULL) |
| bool | getTranslation (SbVec3f &translation, SoPath *p) |
| void | initviewer () |
| bool | isInitialized () |
| OIFwdKinematicsInterface (std::string filename="") | |
| The constructor of the OIFwdKinematicsInterface class. More... | |
| void | run () |
| bool | setJointAngle (SoPath *p, float angle) |
| void | update () |
| virtual | ~OIFwdKinematicsInterface () |
| The virtual destructor of the OIFwdKinematicsInterface class. More... | |
Public Attributes | |
| float | m_fFocalLengthY |
| SoPerspectiveCamera * | m_pCamera |
| SoSeparator * | m_pDavidsRoot |
| SoDirectionalLight * | m_pLight |
| SoOffscreenRenderer * | m_pOffscreenRenderer |
| SbViewportRegion * | m_pViewportRegion |
Protected Member Functions | |
| virtual bool | buildScenery () |
| The virtual method OIFwdKinematicsInterface::buildScenery() is used to create a scenegraph. More... | |
| bool | readSceneryFromFile () |
| This method tries to read the scenegraph from the file OIFwdKinematicsInterface::sceneryFilename and stores it in OIFwdKinematicsInterface::root. More... | |
Protected Attributes | |
| SoSeparator * | root |
Definition at line 60 of file OIFwdKinematicsInterface.h.
| OIFwdKinematicsInterface | ( | std::string | filename = "" | ) |
The constructor of the OIFwdKinematicsInterface class.
It initializes OIFwdKinematicsInterface::root with NULL, the OIFwdKinematicsInterface::sceneryFilename with the
| filename | and initializes the OIFwdKinematicsInterface::window variable. |
| int | argc the argument count passed into the main method |
| char | **argv the argument array passed into the main method |
| std::string | filename the file getting opened by OIFwdKinematicsInterface::readSceneryFromFile(). Default value is an empty string. |
Definition at line 138 of file OIFwdKinematicsInterface.cpp.
|
virtual |
The virtual destructor of the OIFwdKinematicsInterface class.
Definition at line 153 of file OIFwdKinematicsInterface.cpp.
|
protectedvirtual |
The virtual method OIFwdKinematicsInterface::buildScenery() is used to create a scenegraph.
If you want to create your own scenegraph just override this method. Otherwise it reads the scenegraph stored in the file OIFwdKinematicsInterface::sceneryFilename.
Definition at line 406 of file OIFwdKinematicsInterface.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void expandFileNodes | ( | ) |
Definition at line 455 of file OIFwdKinematicsInterface.cpp.
Here is the caller graph for this function:| bool getPath | ( | std::string | name, |
| SoPath *& | p, | ||
| SoNode * | r = NULL |
||
| ) |
Definition at line 299 of file OIFwdKinematicsInterface.cpp.
Here is the caller graph for this function:| bool getTranslation | ( | SbVec3f & | translation, |
| SoPath * | p | ||
| ) |
Definition at line 327 of file OIFwdKinematicsInterface.cpp.
Here is the caller graph for this function:| void initviewer | ( | ) |
Definition at line 195 of file OIFwdKinematicsInterface.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool isInitialized | ( | ) |
Definition at line 540 of file OIFwdKinematicsInterface.cpp.
Here is the caller graph for this function:
|
protected |
This method tries to read the scenegraph from the file OIFwdKinematicsInterface::sceneryFilename and stores it in OIFwdKinematicsInterface::root.
Definition at line 419 of file OIFwdKinematicsInterface.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void run | ( | ) |
| bool setJointAngle | ( | SoPath * | p, |
| float | angle | ||
| ) |
Definition at line 358 of file OIFwdKinematicsInterface.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void update | ( | ) |
Definition at line 170 of file OIFwdKinematicsInterface.cpp.
Here is the caller graph for this function:| float m_fFocalLengthY |
Definition at line 81 of file OIFwdKinematicsInterface.h.
| SoPerspectiveCamera* m_pCamera |
Definition at line 77 of file OIFwdKinematicsInterface.h.
| SoSeparator* m_pDavidsRoot |
Definition at line 79 of file OIFwdKinematicsInterface.h.
| SoDirectionalLight* m_pLight |
Definition at line 78 of file OIFwdKinematicsInterface.h.
| SoOffscreenRenderer* m_pOffscreenRenderer |
Definition at line 80 of file OIFwdKinematicsInterface.h.
| SbViewportRegion* m_pViewportRegion |
Definition at line 76 of file OIFwdKinematicsInterface.h.
|
protected |
This is the root node of the scenegraph which gets rendered.
You can create a new node in the OIFwdKinematicsInterface::buildScenery() method because it gets referenced and unreferenced in the OIFwdKinematicsInterface::run() method.
Definition at line 87 of file OIFwdKinematicsInterface.h.