#include <urdf2graspit/MarkerSelector.h>#include <urdf2inventor/IVHelpers.h>#include <Inventor/SoDB.h>#include <Inventor/SoInput.h>#include <Inventor/nodes/SoPerspectiveCamera.h>#include <Inventor/Qt/viewers/SoQtExaminerViewer.h>#include <Inventor/events/SoMouseButtonEvent.h>#include <Inventor/SoPickedPoint.h>#include <Inventor/nodes/SoMatrixTransform.h>#include <Inventor/nodes/SoEventCallback.h>#include <Inventor/nodes/SoCone.h>#include <Inventor/nodes/SoSphere.h>#include <Inventor/nodes/SoMaterial.h>#include <Inventor/nodes/SoCoordinate3.h>#include <Inventor/actions/SoSearchAction.h>#include <Inventor/details/SoFaceDetail.h>#include <vector>#include <map>#include <fstream>#include <iostream>#include <sstream>#include <string>#include <algorithm>#include <ros/ros.h>
Go to the source code of this file.
Defines | |
| #define | MARKER_SCANF "contact_marker_%i_%s" |
| #define | VISUAL_SCANF "_visual_%i_%s" |
Functions | |
| bool | getTransform (const SoPath *p, unsigned int fromIdx, unsigned int toIdx, urdf2inventor::EigenTransform &transform) |
| #define MARKER_SCANF "contact_marker_%i_%s" |
string used for sscanf to find a marker along with its number
Definition at line 269 of file MarkerSelector.cpp.
| #define VISUAL_SCANF "_visual_%i_%s" |
string which is used for sscanf to extract following information form an SoNode: the name of the link, and the nubmer of the visual. This sscanf should get first an int (visual number), then a string (link name). it should fail for all nodes except those which contain the visual mesh.
Definition at line 264 of file MarkerSelector.cpp.
| bool getTransform | ( | const SoPath * | p, |
| unsigned int | fromIdx, | ||
| unsigned int | toIdx, | ||
| urdf2inventor::EigenTransform & | transform | ||
| ) |
Gets the transform along the path from fromIdx to toIdx
Definition at line 177 of file MarkerSelector.cpp.